/* Media Page Styles */
.media-block {
    padding: 20px 0;
}

.media-block .col-md-4 {
    margin-bottom: 30px;
}

.media-block a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.media-block img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: subtleFloat 6s ease-in-out infinite;
}

/* Subtle floating animation */
@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Hover glow effect */
.media-block a:hover img {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6),
        0 0 50px rgba(247, 147, 30, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    animation-play-state: paused;
}

/* Stagger the animation for each image */
.media-block .col-md-4:nth-child(1) img {
    animation-delay: 0s;
}

.media-block .col-md-4:nth-child(2) img {
    animation-delay: 0.5s;
}

.media-block .col-md-4:nth-child(3) img {
    animation-delay: 1s;
}

.media-block .col-md-4:nth-child(4) img {
    animation-delay: 1.5s;
}

.media-block .col-md-4:nth-child(5) img {
    animation-delay: 2s;
}

.media-block .col-md-4:nth-child(6) img {
    animation-delay: 2.5s;
}

/* Press Release Grid Styles */
.press_release_grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.press-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.press-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(237, 58, 64, 0.15);
    border-color: rgba(237, 58, 64, 0.1);
}

.press-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
    background-color: #f9f9f9;
}

.press-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.press-card:hover .press-card-img img {
    transform: scale(1.05);
}

.press-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-date {
    font-size: 13px;
    font-weight: 600;
    color: #ed3a40;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.press-title {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.press-card:hover .press-title {
    color: #ed3a40;
}

.press-content {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .media-block .col-md-4 {
        margin-bottom: 20px;
    }

    @keyframes subtleFloat {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-5px);
        }
    }
}