/* =========================================================
   NEWS & TAQWIM
   PAGE-SPECIFIC CSS
========================================================= */

:root {
    --nt-primary: #29439a;
    --nt-primary-dark: #1f347e;
    --nt-gold: #c99b32;
    --nt-text: #29406f;
    --nt-muted: #64748b;
    --nt-light: #f5f8fc;
    --nt-border: #e3e9f2;
    --nt-white: #ffffff;
    --nt-shadow: 0 15px 40px rgba(32, 54, 104, 0.10);
}


/* =========================================================
   HERO
========================================================= */

.resource-hero {
    position: relative;
    overflow: hidden;

    padding: 170px 0 110px;

    background:
        linear-gradient(
            135deg,
            #29439a 0%,
            #3754aa 55%,
            #20357e 100%
        );

    color: var(--nt-white);
}


.resource-hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    opacity: .12;
}


.resource-circle-1 {
    width: 420px;
    height: 420px;

    top: -190px;
    right: -100px;

    background: #ffffff;
}


.resource-circle-2 {
    width: 280px;
    height: 280px;

    bottom: -150px;
    left: -80px;

    background: #ffffff;
}


.resource-hero .container {
    position: relative;
    z-index: 2;
}


.page-kicker {
    display: inline-block;

    margin-bottom: 15px;

    font-size: .78rem;
    font-weight: 800;

    letter-spacing: .18em;
    text-transform: uppercase;

    color: #f4d77b;
}


.resource-hero h1 {
    margin: 0;

    font-size: clamp(2.7rem, 6vw, 5rem);

    font-weight: 800;

    line-height: 1.05;

    color: #ffffff !important;
}

.resource-hero h1 span {
    color: #f4d77b !important;
}


.resource-hero p {
    max-width: 720px;

    margin: 25px auto 0;

    font-size: 1.05rem;

    line-height: 1.8;

    color: rgba(255,255,255,.88);
}


.hero-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.news-section,
.resource-section {
    padding: 100px 0;
}


.news-section {
    background: #ffffff;
}


.resource-section {
    background: var(--nt-light);
}


.section-tag {
    display: inline-block;

    margin-bottom: 12px;

    font-size: .76rem;

    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;

    color: var(--nt-gold);
}


.news-section h2,
.resource-section h2 {
    margin-bottom: 16px;

    color: var(--nt-primary);

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;
}


.news-section .col-lg-7 > p,
.resource-section .col-lg-7 > p {
    color: var(--nt-muted);

    line-height: 1.8;
}


/* =========================================================
   NEWS CARDS
========================================================= */

.news-card {
    height: 100%;

    overflow: hidden;

    background: var(--nt-white);

    border: 1px solid var(--nt-border);

    border-radius: 22px;

    box-shadow: var(--nt-shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.news-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 22px 50px rgba(32, 54, 104, 0.15);
}


.news-card-image {
    height: 190px;

    overflow: hidden;
}


.news-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #edf2ff,
            #f8f9fc
        );

    color: var(--nt-primary);

    font-size: 3rem;
}


.news-card-body {
    padding: 26px;
}


.news-date {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 12px;

    color: var(--nt-gold);

    font-size: .75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.news-card h3 {
    margin-bottom: 12px;

    color: var(--nt-primary);

    font-size: 1.25rem;

    font-weight: 750;
}


.news-card p {
    margin-bottom: 20px;

    color: var(--nt-muted);

    line-height: 1.7;
}


.news-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--nt-primary);

    font-weight: 700;

    text-decoration: none;

    transition: gap .2s ease;
}


.news-link:hover {
    color: var(--nt-primary-dark);

    gap: 12px;
}


/* =========================================================
   TAQWIM DOCUMENT
========================================================= */

.featured-document {
    display: grid;

    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 28px;

    padding: 32px;

    background: #ffffff;

    border: 1px solid var(--nt-border);

    border-radius: 24px;

    box-shadow: var(--nt-shadow);
}


.featured-document-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #edf2ff;

    color: var(--nt-primary);

    font-size: 1.8rem;
}


.document-status {
    display: inline-block;

    margin-bottom: 8px;

    color: #3b8a5a;

    font-size: .72rem;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.featured-document-content h3 {
    margin-bottom: 8px;

    color: var(--nt-primary);

    font-size: 1.35rem;

    font-weight: 800;
}


.featured-document-content p {
    margin-bottom: 14px;

    color: var(--nt-muted);

    line-height: 1.6;
}


.document-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    color: var(--nt-muted);

    font-size: .82rem;
}


.document-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.document-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-adni-primary {
    background: var(--nt-primary);

    border-color: var(--nt-primary);

    color: #ffffff;
}


.btn-adni-primary:hover {
    background: var(--nt-primary-dark);

    border-color: var(--nt-primary-dark);

    color: #ffffff;
}


.btn-outline-adni {
    border: 1px solid var(--nt-primary);

    color: var(--nt-primary);
}


.btn-outline-adni:hover {
    background: var(--nt-primary);

    color: #ffffff;
}


/* =========================================================
   ADMISSION CTA
========================================================= */

.admission-cta-section {
    padding: 100px 0;

    background: #ffffff;
}


.admission-cta {
    position: relative;

    overflow: hidden;

    padding: 65px 30px;

    text-align: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #29439a,
            #20357e
        );

    color: #ffffff;

    box-shadow: 0 20px 50px rgba(32, 54, 104, .18);
}


.admission-cta .cta-icon {
    margin-bottom: 16px;

    font-size: 2rem;

    color: #f4d77b;
}


.admission-cta > span {
    display: block;

    margin-bottom: 10px;

    color: #f4d77b;

    font-size: .78rem;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.admission-cta h2 {
    margin-bottom: 15px;

    font-size: clamp(1.9rem, 4vw, 3rem);

    font-weight: 800;

    color: #ffffff !important;
}


.admission-cta p {
    max-width: 650px;

    margin: 0 auto 28px;

    color: rgba(255,255,255,.85);

    line-height: 1.8;
}


.btn-adni-gold {
    background: #d1a438;

    border-color: #d1a438;

    color: #ffffff;
}


.btn-adni-gold:hover {
    background: #b88e27;

    border-color: #b88e27;

    color: #ffffff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .resource-hero {
        padding: 150px 0 90px;
    }

    .featured-document {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .featured-document-icon {
        margin: 0 auto;
    }

    .document-meta,
    .document-actions {
        justify-content: center;
    }

}


@media (max-width: 575.98px) {

    .news-section,
    .resource-section,
    .admission-cta-section {
        padding: 75px 0;
    }

    .resource-hero {
        padding: 135px 0 80px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .featured-document {
        padding: 25px 20px;
    }

    .document-actions {
        flex-direction: column;
    }

    .document-actions .btn {
        width: 100%;
    }

}