/* Membership Application Form */

.single-news-page {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 0 80px;
}


/* Back Button */

.single-news-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    color: #07345d;
    background: rgba(7, 52, 93, .06);

    border: 1px solid rgba(7, 52, 93, .10);

    border-radius: 40px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: .35s ease;
}

.single-news-back:hover {
    color: #ffffff;
    background: #07345d;
    transform: translateX(-4px);
}


/* Main Card */

.single-news-card {
    max-width: 1050px;
    margin: auto;

    background: #ffffff;

    border-radius: 40px;

    overflow: hidden;

    border: 1px solid rgba(7, 52, 93, .08);

    box-shadow:
        0 25px 70px rgba(7, 52, 93, .12);

    animation: newsCardAppear .8s ease both;
}


/* Image */

.single-news-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.single-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 1s ease;
}

.single-news-card:hover .single-news-image img {
    transform: scale(1.04);
}


/* Image Overlay */

.single-news-media-icons {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    background: linear-gradient(
        to bottom,
        rgba(4, 28, 52, .05),
        rgba(4, 28, 52, .25)
    );
}


/* Media Icon */

.single-media-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: rgba(5, 45, 80, .72);

    border: 1px solid rgba(255, 255, 255, .45);

    backdrop-filter: blur(12px);

    font-size: 25px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .25);

    animation: mediaFloat 2.2s ease-in-out infinite;
}


/* Content */

.single-news-content {
    padding: 50px 65px 60px;
}


/* Meta */

.single-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 25px;
}

.single-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 14px;

    border-radius: 30px;

    color: #607080;

    background: #f4f7fa;

    font-size: 13px;

    animation: fadeUp .7s ease both;
}

.single-news-meta i {
    color: #07345d;
}


/* Title */

.single-news-title {
    margin-bottom: 22px;

    color: #082c4d;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.2;

    font-weight: 700;

    animation: fadeUp .8s ease both;
}


/* Summary */

.single-news-summary {
    max-width: 850px;

    margin-bottom: 35px;

    color: #697887;

    font-size: 17px;

    line-height: 1.9;

    animation: fadeUp 1s ease both;
}


/* Video */

.single-news-video {
    margin: 40px 0;

    animation: fadeUp 1s ease both;
}

.single-video-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;

    color: #082c4d;

    font-size: 17px;
}

.single-video-heading span {
    color: #ffffff;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #07345d;
}

.single-video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 28px;

    background: #061f38;

    box-shadow:
        0 20px 45px rgba(7, 52, 93, .18);
}

.single-video-frame iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* Text */

.single-news-text {
    color: #394b5b;

    font-size: 16px;

    line-height: 2;

    animation: fadeUp 1.1s ease both;
}

.single-news-text p {
    margin-bottom: 20px;
}


/* Source */

.single-news-source {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 45px;
    padding: 18px 20px;

    background: rgba(7, 52, 93, .045);

    border: 1px solid rgba(7, 52, 93, .08);

    border-radius: 25px;
}

.source-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: #07345d;

    border-radius: 16px;

    font-size: 18px;
}

.source-information {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.source-information small {
    color: #8995a1;
    font-size: 12px;
}

.source-information a,
.source-information strong {
    color: #082c4d;

    font-size: 14px;

    text-decoration: none;
}

.source-information a:hover {
    text-decoration: underline;
}


/* Footer */

.single-news-footer {
    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid rgba(7, 52, 93, .08);
}

.single-news-return {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #07345d;

    font-weight: 700;

    text-decoration: none;

    transition: .3s ease;
}

.single-news-return:hover {
    transform: translateX(-5px);
}


/* Animations */

@keyframes newsCardAppear {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes mediaFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


/* Responsive */

@media (max-width: 768px) {

    .single-news-page {
        padding-top: 25px;
    }

    .single-news-card {
        border-radius: 25px;
    }

    .single-news-image {
        height: 300px;
    }

    .single-news-content {
        padding: 35px 25px 40px;
    }

    .single-news-title {
        font-size: 30px;
    }

    .single-news-summary {
        font-size: 15px;
    }

    .single-media-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

}