/* =====================================================
   RESOURCE GUIDES
   ===================================================== */

.hero-resource {

    padding-bottom: 80px;

}

.resource-content {

    max-width: 860px;

    margin: 0 auto;

    padding: 80px 30px;

}

.resource-content p {

    font-size: 18px;
    line-height: 1.9;
    color: color: rgba(255, 255, 255, .72);
    ;

    margin-bottom: 28px;

}

.resource-content .section-title {

    margin-top: 70px;
    margin-bottom: 30px;

}

.resource-image {

    margin: 70px 0;

    text-align: center;

}

.resource-image img {

    width: 100%;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, .35);

}

.resource-callout {

    margin: 60px 0;
    padding: 32px;

    background: #131d30;

    border: 1px solid rgba(255, 255, 255, .08);

    border-left: 4px solid #10b981;

    border-radius: 16px;
}

.resource-callout strong {

    display: block;

    color: #ffffff;

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 18px;
}

.resource-callout p {

    margin: 0;

    color: rgba(255, 255, 255, .78);

    line-height: 1.9;
}

.resource-list {

    list-style: none;

    padding: 0;

    margin: 40px 0;

}

.resource-list li {

    position: relative;

    padding-left: 32px;

    margin-bottom: 18px;

    color: color: rgba(255, 255, 255, .72);
    ;

    line-height: 1.7;

}

.resource-list li::before {

    content: "\f00c";

    font-family: "Font Awesome 6 Free";

    font-weight: 900;

    color: #22c55e;

    position: absolute;

    left: 0;

}

/* -------------------------------------- Contents  */

/* =====================================================
   RESOURCE PAGE LAYOUT
   ===================================================== */

.resource-layout {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 220px minmax(0, 860px);
    justify-content: center;
    gap: 56px;
    align-items: start;
}

.resource-content {
    width: 100%;
    max-width: 860px;
    margin: 0;
    padding: 80px 0;
    min-width: 0;
}



.resource-toc {
    position: sticky;
    top: 96px;
    padding: 80px 0;

}

.resource-toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 0;
}

.resource-toc-title {
    display: block;
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.resource-toc a {
    padding: 8px 12px;
    border-left: 2px solid #e2e8f0;
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
}


.resource-toc a:hover {
    color: #0f172a;
}




.resource-toc a.active {
    color: #0f172a;
    border-left-color: #10b981;
    background: rgba(16, 185, 129, .06);
}



.resource-content {
    width: 100%;
    max-width: 860px;
    margin: 0;
    padding: 80px 0;
    min-width: 0;
}

.resource-section {
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}


.resource-faq-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.resource-faq-item {
    padding: 22px 24px;
    background: #fbfcfe;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #10b981;
    border-radius: 10px;
    margin-bottom: 14px;
}

.resource-faq-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.4;
}

.resource-faq-item p {
    margin: 0;
}

.resource-faq-item:hover {
    border-color: #cbd5e1;
    border-left-color: #059669;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

@media (max-width: 900px) {
    .resource-layout {
        width: min(100% - 32px, 860px);
        display: block;
    }

    .resource-toc {
        position: static;
        padding: 48px 0 0;
    }

    .resource-toc nav {
        padding: 20px;
        /* background: #131d30;
        border: 1px solid rgba(255, 255, 255, .08); */
        border-radius: 14px;
    }

    .resource-content {
        padding-top: 48px;
    }
}


/* ==========================================================
   RESOURCE META
========================================================== */

.resource-meta {
    max-width: 1180px;
    margin: 0 auto 3px;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 28px;

    white-space: nowrap;
    overflow-x: auto;

    font-size: 14px;
    color: #64748b;

    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
}

.resource-meta::-webkit-scrollbar {
    display: none;
}

.resource-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
    font-weight: 500;
}

.resource-meta-item i {
    width: 16px;
    text-align: center;
    color: #10b981;
    font-size: 14px;
}

.resource-meta-item span {
    line-height: 1;
}

@media (max-width: 768px) {

    .resource-meta {
        padding: 18px 20px 0;
        gap: 20px;
        font-size: 13px;
    }

}