
/* ===================================
   RESOURCE HERO
   =================================== */

.resource-hero {

    position: relative;

    min-height: 85vh;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.resource-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center right;

}

.resource-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,8,14,.94) 0%,
            rgba(5,8,14,.85) 25%,
            rgba(5,8,14,.55) 50%,
            rgba(5,8,14,.15) 70%,
            rgba(5,8,14,0) 100%
        );

}

.resource-hero .container {

    position: relative;

    z-index: 2;

}

.resource-hero-content {

    max-width: 720px;

    padding-top: 70px;

}

/* ===================================
   HERO TYPOGRAPHY
   =================================== */

.resource-tag {

    display: inline-block;

    margin-bottom: 24px;

    color: var(--accent);

    font-size: .85rem;

    font-weight: var(--fw-bold);

    letter-spacing: .18em;

    text-transform: uppercase;

}

.resource-hero h1 {

    color: white;

    font-size: clamp(3.5rem, 5vw, 5.5rem);

    line-height: 1.05;

    margin-bottom: 30px;

    max-width: 620px;

}

.resource-hero p {

    color: rgba(255,255,255,.85);

    font-size: 1.2rem;

    line-height: 1.8;

    max-width: 620px;

}

.hero-meta {

    margin-top: 24px;

    color: rgba(255,255,255,.65);

    font-size: .95rem;

}

/* ===================================
   INTRO SECTION
   =================================== */

.resource-intro {

    padding: 90px 0 30px;

    background: white;

}

.resource-intro .container {

    max-width: 900px;

}

.intro-lead {

    font-size: 1.35rem;

    line-height: 1.8;

    color: var(--text-main);

    font-weight: 500;

}

/* ===================================
   ARTICLE CONTENT
   =================================== */

.resource-content {

    background: white;

    padding: 30px 0 120px;

}

.resource-content .container {

    max-width: 900px;

}

.resource-content p {

    font-size: 1.12rem;

    line-height: 1.9;

    color: var(--text-muted);

    margin-bottom: 24px;

}

.resource-content h2 {

    font-size: clamp(2.2rem,4vw,3.2rem);

    line-height: 1.15;

    margin-top: 90px;

    margin-bottom: 24px;

    color: var(--text-main);

}

.resource-content h3 {

    font-size: 1.5rem;

    margin-top: 50px;

    margin-bottom: 18px;

    color: var(--text-main);

}

.resource-content ul,
.resource-content ol {

    padding-left: 28px;

    margin: 24px 0;

}

.resource-content li {

    font-size: 1.08rem;

    line-height: 1.8;

    margin-bottom: 10px;

    color: var(--text-muted);

}

/* ===================================
   EXAMPLE / HIGHLIGHT BOXES
   =================================== */

.example-box,
.highlight-box {

    margin: 50px 0;

    padding: 36px;

    background: #f8f8f8;

    border-left: 4px solid var(--accent);

    border-radius: 16px;

}

.example-box h3,
.highlight-box h3 {

    margin-top: 0;

}

/* ===================================
   CONCLUSION BOX
   =================================== */

.conclusion-box {

    margin-top: 90px;

    padding: 40px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(247,147,26,.08),
            rgba(247,147,26,.02)
        );

    border: 1px solid rgba(247,147,26,.15);

}

.conclusion-box h2 {

    margin-top: 0;

}

/* ===================================
   CTA SECTION
   =================================== */

.resource-cta {

    padding: 120px 0;

    text-align: center;

    background: white;

}

.resource-cta .container {

    max-width: 850px;

}

.resource-cta h2 {

    margin-bottom: 24px;

}

.resource-cta p {

    font-size: 1.15rem;

    line-height: 1.8;

    color: var(--text-muted);

    margin-bottom: 40px;

}

.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 34px;

    border-radius: 12px;

    background: var(--accent);

    color: white;

    text-decoration: none;

    font-weight: var(--fw-semibold);

    transition: .25s ease;

}

.cta-button:hover {

    transform: translateY(-2px);

    background: var(--accent-hover);

}

/* ===================================
   MOBILE
   =================================== */

@media (max-width: 768px) {

    .resource-hero {

        min-height: 75vh;

    }

    .resource-hero-image {

        object-position: 70% center;

    }

    .resource-hero h1 {

        font-size: 2.8rem;

    }

    .resource-hero p {

        font-size: 1.05rem;

    }

    .intro-lead {

        font-size: 1.15rem;

    }

    .resource-content h2 {

        font-size: 2rem;

    }

    .resource-content p,
    .resource-content li {

        font-size: 1rem;

    }

}

/* ===================================
   TAKEAWAYS
=================================== */

.takeaways {

    padding: 120px 0;

    background: #f5f7fa;

}

.takeaways .container {

    max-width: 1100px;

}

.takeaways-header {

    max-width: 800px;

    margin: 0 auto 70px;

    text-align: center;

}

.takeaways-header h2 {

    margin-bottom: 20px;

}

.takeaways-header p {

    font-size: 1.1rem;

    line-height: 1.9;

    color: #5f6875;

}

.takeaways-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

}

.takeaway-card {

    background: white;

    border: 1px solid #e7ebef;

    border-radius: 20px;

    padding: 28px;

    font-size: 1.05rem;

    line-height: 1.8;

    transition: 0.3s ease;

}

.takeaway-card:hover {

    transform: translateY(-4px);

}

@media (max-width: 768px) {

    .takeaways {

        padding: 80px 0;

    }

    .takeaways-grid {

        grid-template-columns: 1fr;

    }

}

/* ===================================
   RELATED RESOURCES
=================================== */

.related-resources {

    padding: 120px 0;

    background: #ffffff;

}

.related-header {

    max-width: 800px;

    margin: 0 auto 70px;

    text-align: center;

}

.related-header h2 {

    margin-bottom: 20px;

}

.related-header p {

    font-size: 1.1rem;

    line-height: 1.9;

    color: #5f6875;

}

.related-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.related-card {

    display: block;

    text-decoration: none;

    background: #ffffff;

    border: 1px solid #e7ebef;

    border-radius: 24px;

    padding: 36px;

    transition: all 0.3s ease;

}

.related-card:hover {

    transform: translateY(-6px);

    border-color: var(--accent);

}

.related-card h3 {

    color: #1f2328;

    margin-bottom: 16px;

    font-size: 1.35rem;

    line-height: 1.35;

}

.related-card p {

    color: #5f6875;

    line-height: 1.8;

    margin: 0;

}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 992px) {

    .related-grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 768px) {

    .related-resources {

        padding: 80px 0;

    }

}