/* =========================================================
   RESOURCES HUB
========================================================= */

.resource-home-page {
    --resource-heading: #1a1a1a;
    --resource-subheading: #3d3d3d;
    --resource-text: #6b6b6b;
    --resource-caption: #929292;
    --resource-primary: #0f6e56;
    --resource-primary-dark: #094e3d;
    --resource-accent: #e07a3f;
    --resource-yellow: #f4c95d;
    --resource-light: #f5f8f6;
    --resource-border: #dfe8e3;
    --resource-white: #ffffff;

    overflow: hidden;
    color: var(--resource-text);
    background: var(--resource-white);
}

.resource-home-page *,
.resource-home-page *::before,
.resource-home-page *::after {
    box-sizing: border-box;
}

.resource-home-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Breadcrumb */

.resource-breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--resource-border);
}

.resource-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--resource-caption);
    font-size: 11px;
}

.resource-breadcrumb a {
    color: var(--resource-text);
}

.resource-breadcrumb a:hover {
    color: var(--resource-primary);
}

.resource-breadcrumb i {
    font-size: 8px;
}

.resource-breadcrumb span {
    color: var(--resource-primary);
    font-weight: 700;
}


/* Hero */

.resource-hero {
    padding: 82px 0 92px;
}

.resource-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, 0.9fr);
    align-items: center;
    gap: 72px;
}

.resource-eyebrow,
.resource-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--resource-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.resource-eyebrow::before,
.resource-section-label::before {
    width: 24px;
    height: 2px;
    background: var(--resource-accent);
    content: "";
}

.resource-hero h1 {
    max-width: 730px;
    margin: 18px 0 20px;
    color: var(--resource-heading);
    font-size: clamp(42px, 5.4vw, 72px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.resource-hero h1 span {
    color: var(--resource-primary);
}

.resource-hero-content > p {
    max-width: 650px;
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
}

.resource-hero-actions,
.resource-final-actions {
    display: flex;
    gap: 11px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.resource-primary-button,
.resource-secondary-button,
.resource-outline-button,
.resource-blog-button,
.resource-final-light-button,
.resource-final-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-primary-button {
    border: 1px solid var(--resource-primary);
    background: var(--resource-primary);
    color: #ffffff;
}

.resource-secondary-button,
.resource-outline-button {
    border: 1px solid var(--resource-border);
    background: #ffffff;
    color: var(--resource-heading);
}

.resource-primary-button:hover,
.resource-secondary-button:hover,
.resource-outline-button:hover {
    transform: translateY(-2px);
}

.resource-primary-button:hover {
    background: var(--resource-primary-dark);
    color: #ffffff;
}

.resource-secondary-button:hover,
.resource-outline-button:hover {
    border-color: var(--resource-primary);
    color: var(--resource-primary);
}

.resource-hero-stats {
    display: flex;
    margin-top: 43px;
}

.resource-hero-stats > div {
    min-width: 125px;
    padding: 0 24px;
    border-right: 1px solid var(--resource-border);
}

.resource-hero-stats > div:first-child {
    padding-left: 0;
}

.resource-hero-stats > div:last-child {
    border-right: 0;
}

.resource-hero-stats strong,
.resource-hero-stats span {
    display: block;
}

.resource-hero-stats strong {
    color: var(--resource-heading);
    font-size: 22px;
    font-weight: 800;
}

.resource-hero-stats span {
    margin-top: 5px;
    color: var(--resource-caption);
    font-size: 9px;
}

.resource-visual-main {
    position: relative;
    padding: 42px;
    border: 1px solid rgb(15 110 86 / 14%);
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgb(255 255 255 / 96%),
            rgb(237 246 241 / 96%)
        );
    box-shadow: 0 30px 80px rgb(31 65 49 / 12%);
}

.resource-visual-main::after {
    position: absolute;
    top: 34px;
    right: 35px;
    width: 86px;
    height: 86px;
    border: 1px dashed rgb(15 110 86 / 28%);
    border-radius: 50%;
    content: "";
}

.resource-visual-badge {
    color: var(--resource-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 35px 0 28px;
    border-radius: 23px;
    background: var(--resource-primary);
    color: #ffffff;
    font-size: 31px;
    box-shadow: 0 16px 30px rgb(15 110 86 / 24%);
}

.resource-visual-main h2 {
    margin: 0;
    color: var(--resource-heading);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-visual-main p {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.75;
}

.resource-visual-tags {
    display: flex;
    gap: 8px;
    margin-top: 27px;
    flex-wrap: wrap;
}

.resource-visual-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid var(--resource-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--resource-subheading);
    font-size: 9px;
    font-weight: 700;
}


/* Shared sections */

.resource-navigation-section,
.resource-video-section,
.resource-story-section,
.resource-testimonial-section,
.resource-guide-section,
.resource-faq-section,
.resource-download-section {
    padding: 90px 0;
}

.resource-video-section,
.resource-testimonial-section,
.resource-faq-section {
    background: var(--resource-light);
}

.resource-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 35px;
}

.resource-section-header h2,
.resource-centered-header h2,
.resource-faq-layout > header h2 {
    margin: 9px 0 0;
    color: var(--resource-heading);
    font-size: clamp(29px, 3.6vw, 45px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.resource-section-header > p {
    max-width: 430px;
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
}

.resource-header-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--resource-primary);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}


/* Resource category grid */

.resource-category-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.resource-category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--resource-border);
    border-radius: 15px;
    background: #ffffff;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.resource-category-card:hover {
    border-color: var(--resource-primary);
    box-shadow: 0 16px 42px rgb(24 60 43 / 9%);
    transform: translateY(-3px);
}

.resource-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    border-radius: 14px;
    background: #eaf2ee;
    color: var(--resource-primary);
    font-size: 21px;
    flex: 0 0 auto;
}

.resource-category-card > div {
    min-width: 0;
    flex: 1;
}

.resource-category-card small {
    color: var(--resource-caption);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-category-card h3 {
    margin: 5px 0 6px;
    color: var(--resource-heading);
    font-size: 16px;
    font-weight: 800;
}

.resource-category-card p {
    margin: 0;
    font-size: 9px;
    line-height: 1.55;
}

.resource-category-card > i {
    color: var(--resource-primary);
    flex: 0 0 auto;
}


/* Video cards */

.resource-video-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.resource-video-card {
    overflow: hidden;
    border: 1px solid var(--resource-border);
    border-radius: 17px;
    background: #ffffff;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.resource-video-card:hover {
    box-shadow: 0 22px 55px rgb(24 60 43 / 10%);
    transform: translateY(-4px);
}

.resource-video-thumbnail {
    position: relative;
    display: block;
    height: 225px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-video-card:hover img {
    transform: scale(1.04);
}

.resource-video-placeholder,
.resource-story-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            circle at 30% 20%,
            rgb(244 201 93 / 30%),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #edf5f1,
            #dbe8e1
        );
    color: var(--resource-primary);
    font-size: 44px;
}

.resource-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    border: 5px solid rgb(255 255 255 / 34%);
    border-radius: 50%;
    background: #ffffff;
    color: var(--resource-primary);
    font-size: 24px;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
}

.resource-video-duration,
.resource-featured-badge {
    position: absolute;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
}

.resource-video-duration {
    right: 13px;
    bottom: 13px;
    padding: 6px 9px;
    background: rgb(0 0 0 / 76%);
    color: #ffffff;
}

.resource-featured-badge {
    top: 13px;
    left: 13px;
    padding: 6px 10px;
    background: var(--resource-accent);
    color: #ffffff;
}

.resource-video-content {
    padding: 23px;
}

.resource-card-category {
    color: var(--resource-primary);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-video-content h3,
.resource-story-content h3,
.resource-guide-card h3 {
    margin: 9px 0 9px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.resource-video-content h3 a,
.resource-story-content h3 a,
.resource-guide-card h3 a {
    color: var(--resource-heading);
}

.resource-video-content p {
    min-height: 58px;
    margin: 0;
    font-size: 10px;
    line-height: 1.7;
}

.resource-video-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--resource-border);
}

.resource-video-content footer > span {
    color: var(--resource-caption);
    font-size: 8px;
}

.resource-video-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 9px;
    background: var(--resource-primary);
    color: #ffffff;
}


/* Customer stories */

.resource-story-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.resource-story-card {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.9fr)
        minmax(0, 1.1fr);
    overflow: hidden;
    min-height: 350px;
    border: 1px solid var(--resource-border);
    border-radius: 18px;
}

.resource-story-image {
    display: block;
    overflow: hidden;
    background: #e2ebe6;
}

.resource-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-story-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 29px;
}

.resource-story-content > p {
    margin: 0;
    font-size: 10px;
    line-height: 1.75;
}

.resource-story-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 25px;
}

.resource-story-customer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    background: var(--resource-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.resource-story-customer strong,
.resource-story-customer small {
    display: block;
}

.resource-story-customer strong {
    color: var(--resource-heading);
    font-size: 10px;
}

.resource-story-customer small {
    margin-top: 3px;
    color: var(--resource-caption);
    font-size: 8px;
}


/* Testimonials */

.resource-centered-header {
    max-width: 690px;
    margin: 0 auto 42px;
    text-align: center;
}

.resource-centered-header
.resource-section-label::before {
    display: none;
}

.resource-centered-header p {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.75;
}

.resource-testimonial-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-testimonial-card {
    padding: 28px;
    border: 1px solid var(--resource-border);
    border-radius: 17px;
    background: #ffffff;
}

.resource-testimonial-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #e4a521;
    font-size: 11px;
}

.resource-testimonial-rating span {
    margin-left: 6px;
    color: var(--resource-heading);
    font-size: 9px;
    font-weight: 800;
}

.resource-testimonial-card blockquote {
    min-height: 120px;
    margin: 22px 0;
    color: var(--resource-subheading);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.resource-testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid var(--resource-border);
}

.resource-customer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--resource-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.resource-customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-customer-avatar + div strong,
.resource-customer-avatar + div small {
    display: block;
}

.resource-customer-avatar + div strong {
    color: var(--resource-heading);
    font-size: 10px;
}

.resource-customer-avatar + div small {
    margin-top: 4px;
    color: var(--resource-caption);
    font-size: 8px;
}

.resource-section-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* Guide cards */

.resource-guide-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.resource-guide-card {
    display: grid;
    grid-template-columns:
        145px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--resource-border);
    border-radius: 15px;
}

.resource-guide-card > a {
    display: block;
    min-height: 180px;
    background: #e4ede8;
}

.resource-guide-card > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-guide-card > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--resource-primary);
    font-size: 34px;
}

.resource-guide-card > div {
    padding: 24px;
}

.resource-guide-card small {
    color: var(--resource-primary);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-guide-card p {
    margin: 0;
    font-size: 9px;
    line-height: 1.7;
}


/* FAQs */

.resource-faq-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.62fr)
        minmax(0, 1.38fr);
    align-items: start;
    gap: 80px;
}

.resource-faq-layout > header h2 {
    margin-top: 12px;
}

.resource-faq-layout > header p {
    margin: 17px 0 25px;
    font-size: 11px;
    line-height: 1.8;
}

.resource-faq-list {
    border-top: 1px solid var(--resource-border);
}

.resource-faq-item {
    border-bottom: 1px solid var(--resource-border);
}

.resource-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    color: var(--resource-heading);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.resource-faq-item summary::-webkit-details-marker {
    display: none;
}

.resource-faq-item summary i {
    transition: transform 180ms ease;
}

.resource-faq-item[open] summary i {
    transform: rotate(45deg);
}

.resource-faq-item > div {
    padding: 0 36px 22px 0;
    font-size: 10px;
    line-height: 1.8;
}

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


/* Downloads */

.resource-download-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.resource-download-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--resource-primary)!important;
    border-radius: 14px;
}

.resource-download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--resource-primary);
    font-size: 21px;
}

.resource-download-card > div {
    min-width: 0;
    flex: 1;
}

.resource-download-card small {
    color: var(--resource-primary);
    font-size: 8px;
    font-weight: 800;
}

.resource-download-card h3 {
    margin: 4px 0 5px;
    color: var(--resource-heading);
    font-size: 13px;
}

.resource-download-card p {
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
}

.resource-download-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: var(--resource-primary);
    color: #ffffff;
}


/* Blog promotion */

.resource-blog-promotion {
    padding: 0 0 90px;
}

.resource-blog-promotion-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 34px;
    border: 1px solid var(--resource-border);
    border-radius: 18px;
    background: var(--resource-light);
}

.resource-blog-promotion-inner > div {
    display: flex;
    align-items: center;
    gap: 19px;
}

.resource-blog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--resource-primary);
    color: #ffffff;
    font-size: 24px;
    flex: 0 0 auto;
}

.resource-blog-promotion small {
    color: var(--resource-primary);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-blog-promotion h2 {
    margin: 5px 0 6px;
    color: var(--resource-heading);
    font-size: 22px;
    font-weight: 800;
}

.resource-blog-promotion p {
    max-width: 690px;
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
}

.resource-blog-button {
    border: 1px solid var(--resource-primary);
    background: var(--resource-primary);
    color: #ffffff;
    flex: 0 0 auto;
}

.resource-blog-button:hover {
    background: var(--resource-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}


/* Final CTA */

.resource-final-cta {
    padding: 0 0 90px;
}

.resource-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 52px;
    border-radius: 22px;
    background:
        var(--resource-primary);
}

.resource-final-cta-inner > div:first-child {
    max-width: 710px;
}

.resource-final-cta-inner > div:first-child > span {
    color: var(--resource-yellow);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-final-cta h2 {
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 3.5vw, 43px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.04em;
}

.resource-final-cta p {
    margin: 0;
    color: rgb(255 255 255 / 73%);
    font-size: 11px;
    line-height: 1.8;
}

.resource-final-actions {
    margin-top: 0;
    flex: 0 0 auto;
}

.resource-final-light-button {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--resource-primary);
}

.resource-final-outline-button {
    border: 1px solid rgb(255 255 255 / 48%);
    color: #ffffff;
}

.resource-final-light-button:hover,
.resource-final-outline-button:hover {
    transform: translateY(-2px);
}

.resource-final-outline-button:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--resource-primary);
}





/* video page */


/* =========================================================
   RESOURCE VIDEO LIST
   Uses the existing global .site-page-hero design.
========================================================= */

.resource-video-page {
    --rv-heading: #1a1a1a;
    --rv-subheading: #3d3d3d;
    --rv-text: #6b6b6b;
    --rv-caption: #929292;
    --rv-primary: #0f6e56;
    --rv-primary-dark: #094e3d;
    --rv-accent: #e07a3f;
    --rv-yellow: #f4c95d;
    --rv-light: #f5f8f6;
    --rv-border: #dfe8e3;

    overflow: hidden;
    color: var(--rv-text);
}

.resource-video-page *,
.resource-video-page *::before,
.resource-video-page *::after {
    box-sizing: border-box;
}

.resource-video-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Breadcrumb */

.resource-page-breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid var(--rv-border);
    background: #ffffff;
}

.resource-page-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rv-caption);
    font-size: 11px;
    font-weight: 600;
    flex-wrap: wrap;
}

.resource-page-breadcrumb a {
    color: var(--rv-text);
}

.resource-page-breadcrumb a:hover {
    color: var(--rv-primary);
}

.resource-page-breadcrumb i {
    font-size: 8px;
}

.resource-page-breadcrumb span {
    color: var(--rv-primary);
    font-weight: 800;
}


/* Existing site hero content only */

.resource-video-hero-content {
    max-width: 780px;
}

.resource-video-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rv-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-video-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rv-accent);
    content: "";
}

.resource-video-hero-content h1 {
    max-width: 760px;
    margin: 14px 0 15px;
    color: var(--rv-heading);
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-video-hero-content > p {
    max-width: 680px;
    margin: 0;
    color: var(--rv-text);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-video-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-video-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rv-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 76%);
    color: var(--rv-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Filter */

.resource-video-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-video-filter-form {
    display: grid;
    grid-template-columns:
        minmax(210px, 0.7fr)
        minmax(260px, 1.2fr)
        minmax(190px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-video-filter-heading span,
.resource-video-filter-heading strong {
    display: block;
}

.resource-video-filter-heading span {
    color: var(--rv-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-video-filter-heading strong {
    margin-top: 4px;
    color: var(--rv-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-video-search-field,
.resource-video-category-field {
    position: relative;
}

.resource-video-search-field > i,
.resource-video-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rv-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-video-search-field input,
.resource-video-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rv-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rv-light);
    color: var(--rv-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-video-search-field input:focus,
.resource-video-category-field select:focus {
    border-color: var(--rv-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-video-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rv-primary);
    border-radius: 9px;
    background: var(--rv-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.resource-video-clear-filter {
    color: var(--rv-primary);
    font-size: 10px;
    font-weight: 800;
}


/* Shared headings */

.resource-featured-video-section,
.resource-video-list-section,
.resource-video-benefit-section {
    padding: 76px 0;
}

.resource-video-list-section {
    background: var(--rv-light);
}

.resource-list-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-list-section-header > div > span {
    color: var(--rv-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-list-section-header h2 {
    margin: 7px 0 0;
    color: var(--rv-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-list-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured video */

.resource-featured-video {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(340px, 0.7fr);
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--rv-border);
    border-radius: 19px;
    background: #ffffff;
}

.resource-featured-video-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-video-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-video:hover img {
    transform: scale(1.025);
}

.resource-video-list-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background:
        linear-gradient(
            145deg,
            #eaf2ee,
            #d9e7df
        );
    color: var(--rv-primary);
    font-size: 44px;
}

.resource-featured-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border: 5px solid rgb(255 255 255 / 32%);
    border-radius: 50%;
    background: #ffffff;
    color: var(--rv-primary);
    font-size: 28px;
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 35px rgb(0 0 0 / 20%);
}

.resource-list-duration,
.resource-list-featured-badge {
    position: absolute;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
}

.resource-list-duration {
    right: 14px;
    bottom: 14px;
    padding: 6px 9px;
    background: rgb(0 0 0 / 75%);
    color: #ffffff;
}

.resource-list-featured-badge {
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    background: var(--rv-accent);
    color: #ffffff;
}

.resource-featured-video-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-featured-video-labels {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.resource-featured-video-labels span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eaf2ee;
    color: var(--rv-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-featured-video-labels
.resource-video-featured-label {
    background: #fff0e8;
    color: var(--rv-accent);
}

.resource-featured-video-labels
.resource-video-latest-label {
    background: #fff8df;
    color: #9a7312;
}

.resource-featured-video-content h2 {
    margin: 16px 0 13px;
    color: var(--rv-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-video-content h2 a {
    color: inherit;
}

.resource-featured-video-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-featured-video-details {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.resource-featured-video-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rv-caption);
    font-size: 9px;
    font-weight: 700;
}

.resource-video-primary-button,
.resource-video-secondary-button,
.resource-video-final-light,
.resource-video-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-video-primary-button {
    margin-top: 24px;
    border: 1px solid var(--rv-primary);
    background: var(--rv-primary);
    color: #ffffff;
}

.resource-video-primary-button:hover {
    background: var(--rv-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.resource-video-secondary-button {
    border: 1px solid var(--rv-border);
    background: #ffffff;
    color: var(--rv-heading);
}


/* Video grid */

.resource-video-list-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-video-list-card {
    overflow: hidden;
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-video-list-card:hover {
    border-color: rgb(15 110 86 / 38%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-video-list-media {
    position: relative;
    display: block;
    height: 215px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-video-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-video-list-card:hover img {
    transform: scale(1.035);
}

.resource-video-list-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    border: 4px solid rgb(255 255 255 / 28%);
    border-radius: 50%;
    background: #ffffff;
    color: var(--rv-primary);
    font-size: 22px;
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 27px rgb(0 0 0 / 17%);
}

.resource-video-list-content {
    padding: 21px;
}

.resource-video-list-category {
    color: var(--rv-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-video-list-content h3 {
    margin: 8px 0 8px;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-video-list-content h3 a {
    color: var(--rv-heading);
}

.resource-video-list-content > p {
    min-height: 54px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-video-list-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--rv-border);
}

.resource-video-list-content footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rv-caption);
    font-size: 8px;
    font-weight: 650;
}

.resource-video-list-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rv-primary);
    color: #ffffff;
}

.resource-video-pagination {
    margin-top: 34px;
}


/* Empty results */

.resource-video-empty-state,
.resource-video-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 370px;
    padding: 45px 20px;
    text-align: center;
}

.resource-video-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rv-primary);
    font-size: 27px;
}

.resource-video-empty-state h3 {
    margin: 19px 0 7px;
    color: var(--rv-heading);
    font-size: 21px;
    font-weight: 850;
}

.resource-video-empty-state p,
.resource-video-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-video-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-video-empty-state
.resource-video-primary-button {
    margin-top: 0;
}

.resource-video-single-result > i {
    color: var(--rv-primary);
    font-size: 30px;
}

.resource-video-single-result strong {
    margin: 12px 0 6px;
    color: var(--rv-heading);
    font-size: 14px;
    font-weight: 850;
}


/* Benefits */

.resource-video-benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.resource-video-benefit-grid article {
    padding: 27px;
    border: 1px solid var(--rv-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-video-benefit-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rv-primary);
    font-size: 18px;
}

.resource-video-benefit-grid h3 {
    margin: 17px 0 8px;
    color: var(--rv-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-video-benefit-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Final CTA */

.resource-video-final-cta {
    padding: 0 0 76px;
}

.resource-video-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rv-primary);
}

.resource-video-final-inner > div:first-child {
    max-width: 690px;
}

.resource-video-final-inner > div:first-child > span {
    color: var(--rv-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-video-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-video-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-video-final-inner > div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-video-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rv-primary);
}

.resource-video-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-video-final-light:hover,
.resource-video-final-outline:hover {
    transform: translateY(-2px);
}

.resource-video-final-outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--rv-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-video-filter-form {
        grid-template-columns:
            minmax(190px, 0.7fr)
            minmax(230px, 1fr)
            minmax(170px, 0.7fr)
            auto;
    }

    .resource-video-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-video-list-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-video-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-video-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-video {
        grid-template-columns: 1fr;
    }

    .resource-featured-video-media {
        min-height: 390px;
    }

    .resource-video-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-video-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-video-hero-content h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-video-hero-content > p {
        font-size: 12px;
    }

    .resource-video-filter-section {
        margin-top: -18px;
    }

    .resource-video-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-video-filter-heading {
        grid-column: auto;
    }

    .resource-video-filter-form button {
        width: 100%;
    }

    .resource-video-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-video-section,
    .resource-video-list-section,
    .resource-video-benefit-section {
        padding: 58px 0;
    }

    .resource-list-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-video-media {
        min-height: 260px;
    }

    .resource-featured-video-content {
        padding: 25px 21px;
    }

    .resource-video-list-grid,
    .resource-video-benefit-grid {
        grid-template-columns: 1fr;
    }

    .resource-video-list-content > p {
        min-height: auto;
    }

    .resource-video-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-video-primary-button,
    .resource-video-secondary-button {
        width: 100%;
    }

    .resource-video-final-cta {
        padding-bottom: 58px;
    }

    .resource-video-final-inner {
        padding: 31px 22px;
    }

    .resource-video-final-inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-video-final-light,
    .resource-video-final-outline {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .resource-video-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-featured-video-media {
        min-height: 230px;
    }

    .resource-video-list-media {
        height: 205px;
    }
}



/* video details */

/* =========================================================
   RESOURCE VIDEO DETAIL
   The global .site-page-hero controls hero backgrounds
   and decorative pseudo-elements.
========================================================= */

.resource-video-detail-page {
    --rvd-heading: #1a1a1a;
    --rvd-subheading: #3d3d3d;
    --rvd-text: #6b6b6b;
    --rvd-caption: #929292;
    --rvd-primary: #0f6e56;
    --rvd-primary-dark: #094e3d;
    --rvd-accent: #e07a3f;
    --rvd-yellow: #f4c95d;
    --rvd-light: #f5f8f6;
    --rvd-border: #dfe8e3;

    overflow: hidden;
    color: var(--rvd-text);
}

.resource-video-detail-page *,
.resource-video-detail-page *::before,
.resource-video-detail-page *::after {
    box-sizing: border-box;
}

.resource-video-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content */

.resource-video-detail-hero {
    max-width: 850px;
}

.resource-video-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-video-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rvd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 70%);
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-video-detail-labels
.resource-video-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rvd-accent);
}

.resource-video-detail-hero h1 {
    max-width: 830px;
    margin: 14px 0 14px;
    color: var(--rvd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-video-detail-hero > p {
    max-width: 710px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-video-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-video-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rvd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-video-detail-meta i {
    color: var(--rvd-primary);
}


/* Player */

.resource-video-player-section {
    padding: 70px 0;
}

.resource-video-player-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(310px, 0.6fr);
    align-items: start;
    gap: 31px;
}

.resource-video-player-card {
    overflow: hidden;
    border: 1px solid var(--rvd-border);
    border-radius: 18px;
    background: #0b1511;
    box-shadow: 0 20px 55px rgb(21 53 39 / 10%);
}

.resource-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.resource-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.resource-video-external-player {
    position: relative;
    min-height: 500px;
}

.resource-video-external-player > img,
.resource-video-detail-placeholder {
    width: 100%;
    height: 500px;
}

.resource-video-external-player > img {
    object-fit: cover;
}

.resource-video-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            145deg,
            #173d31,
            #081f18
        );
    color: rgb(255 255 255 / 35%);
    font-size: 70px;
}

.resource-video-external-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 26%);
}

.resource-video-external-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 6px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    background: #ffffff;
    color: var(--rvd-primary);
    font-size: 30px;
    box-shadow: 0 17px 40px rgb(0 0 0 / 24%);
}

.resource-video-detail-sidebar {
    padding: 29px;
    border: 1px solid var(--rvd-border);
    border-radius: 17px;
    background: var(--rvd-light);
}

.resource-video-sidebar-label {
    color: var(--rvd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-video-detail-sidebar h2 {
    margin: 8px 0 13px;
    color: var(--rvd-heading);
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.resource-video-sidebar-description {
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-video-sidebar-description p {
    margin: 0 0 10px;
}

.resource-video-detail-sidebar dl {
    margin: 23px 0 0;
    padding: 0;
    border-top: 1px solid var(--rvd-border);
}

.resource-video-detail-sidebar dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rvd-border);
}

.resource-video-detail-sidebar dt {
    color: var(--rvd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-video-detail-sidebar dd {
    margin: 0;
    color: var(--rvd-heading);
    font-size: 9px;
    font-weight: 800;
    text-align: right;
}

.resource-video-sidebar-actions {
    display: grid;
    gap: 8px;
    margin-top: 21px;
}

.resource-video-watch-external,
.resource-video-copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 14px;
    border-radius: 9px;
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}

.resource-video-watch-external {
    border: 1px solid var(--rvd-primary);
    background: var(--rvd-primary);
    color: #ffffff;
}

.resource-video-watch-external:hover {
    background: var(--rvd-primary-dark);
    color: #ffffff;
}

.resource-video-copy-link {
    border: 1px solid var(--rvd-border);
    background: #ffffff;
    color: var(--rvd-heading);
}


/* Promotion */

.resource-video-detail-promotion {
    padding: 0 0 70px;
}

.resource-video-detail-promotion-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--rvd-border);
    border-radius: 17px;
    background: var(--rvd-light);
}

.resource-video-promotion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: var(--rvd-primary);
    color: #ffffff;
    font-size: 22px;
    flex: 0 0 auto;
}

.resource-video-detail-promotion-inner > div {
    min-width: 0;
    flex: 1;
}

.resource-video-detail-promotion small {
    color: var(--rvd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-video-detail-promotion h2 {
    margin: 5px 0 6px;
    color: var(--rvd-heading);
    font-size: 19px;
    font-weight: 850;
}

.resource-video-detail-promotion p {
    max-width: 680px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.65;
}

.resource-video-detail-promotion-inner > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    background: var(--rvd-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    flex: 0 0 auto;
}


/* Related videos */

.resource-related-video-section {
    padding: 70px 0;
    background: var(--rvd-light);
}

.resource-related-video-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-video-detail-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rvd-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Responsive */

@media (max-width: 980px) {
    .resource-video-player-layout {
        grid-template-columns: 1fr;
    }

    .resource-video-detail-sidebar {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(260px, 0.45fr);
        gap: 25px;
    }

    .resource-video-detail-sidebar
    .resource-video-sidebar-label,
    .resource-video-detail-sidebar h2,
    .resource-video-detail-sidebar
    .resource-video-sidebar-description {
        grid-column: 1;
    }

    .resource-video-detail-sidebar dl,
    .resource-video-sidebar-actions {
        grid-column: 2;
    }

    .resource-video-detail-sidebar dl {
        grid-row: 1 / span 3;
        margin-top: 0;
    }

    .resource-related-video-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .resource-video-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-video-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-video-player-section,
    .resource-related-video-section {
        padding: 55px 0;
    }

    .resource-video-external-player,
    .resource-video-external-player > img,
    .resource-video-detail-placeholder {
        min-height: 250px;
        height: 250px;
    }

    .resource-video-detail-sidebar {
        display: block;
        padding: 23px;
    }

    .resource-video-detail-sidebar dl {
        margin-top: 22px;
    }

    .resource-video-detail-promotion {
        padding-bottom: 55px;
    }

    .resource-video-detail-promotion-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px;
    }

    .resource-video-detail-promotion-inner > a {
        width: 100%;
    }

    .resource-related-video-grid {
        grid-template-columns: 1fr;
    }
}




/* testimonals */

/* =========================================================
   RESOURCE TESTIMONIAL LIST
   Global .site-page-hero controls the hero design.
========================================================= */

.resource-testimonial-page {
    --rt-heading: #1a1a1a;
    --rt-subheading: #3d3d3d;
    --rt-text: #6b6b6b;
    --rt-caption: #929292;
    --rt-primary: #0f6e56;
    --rt-primary-dark: #094e3d;
    --rt-accent: #e07a3f;
    --rt-yellow: #f4c95d;
    --rt-star: #dfdb17;
    --rt-light: #f5f8f6;
    --rt-border: #dfe8e3;

    overflow: hidden;
    color: var(--rt-text);
}

.resource-testimonial-page *,
.resource-testimonial-page *::before,
.resource-testimonial-page *::after {
    box-sizing: border-box;
}

.resource-testimonial-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content only */

.resource-testimonial-hero-content {
    max-width: 800px;
}

.resource-testimonial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rt-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-testimonial-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rt-accent);
    content: "";
}

.resource-testimonial-hero-content h1 {
    max-width: 790px;
    margin: 14px 0 15px;
    color: var(--rt-heading);
    font-size: clamp(32px, 4.2vw, 51px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-testimonial-hero-content > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-testimonial-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-testimonial-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rt-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rt-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-testimonial-hero-meta
.bi-star-fill {
    color: var(--rt-star);
}


/* Filter */

.resource-testimonial-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-testimonial-filter-form {
    display: grid;
    grid-template-columns:
        minmax(210px, 0.75fr)
        minmax(270px, 1.25fr)
        minmax(180px, 0.65fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rt-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-testimonial-filter-heading span,
.resource-testimonial-filter-heading strong {
    display: block;
}

.resource-testimonial-filter-heading span {
    color: var(--rt-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-testimonial-filter-heading strong {
    margin-top: 4px;
    color: var(--rt-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-testimonial-search-field,
.resource-testimonial-rating-field {
    position: relative;
}

.resource-testimonial-search-field > i,
.resource-testimonial-rating-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rt-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-testimonial-search-field input,
.resource-testimonial-rating-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rt-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rt-light);
    color: var(--rt-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-testimonial-search-field input:focus,
.resource-testimonial-rating-field select:focus {
    border-color: var(--rt-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-testimonial-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rt-primary);
    border-radius: 9px;
    background: var(--rt-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-testimonial-clear-filter {
    color: var(--rt-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Summary */

.resource-testimonial-summary-section {
    padding: 55px 0 30px;
}

.resource-testimonial-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--rt-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-testimonial-summary-grid article {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 90px;
    padding: 18px;
    border-right: 1px solid var(--rt-border);
}

.resource-testimonial-summary-grid article:last-child {
    border-right: 0;
}

.resource-testimonial-summary-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #eaf2ee;
    color: var(--rt-primary);
    font-size: 16px;
    flex: 0 0 auto;
}

.resource-testimonial-summary-grid
article:first-child > span {
    background: #fff8df;
    color: var(--rt-star);
}

.resource-testimonial-summary-grid small,
.resource-testimonial-summary-grid strong {
    display: block;
}

.resource-testimonial-summary-grid small {
    color: var(--rt-caption);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-testimonial-summary-grid strong {
    margin-top: 4px;
    color: var(--rt-heading);
    font-size: 16px;
    font-weight: 850;
}

.resource-testimonial-summary-grid strong em {
    color: var(--rt-caption);
    font-size: 9px;
    font-style: normal;
}


/* Shared headings */

.resource-featured-testimonial-section,
.resource-testimonial-list-section,
.resource-testimonial-trust-section {
    padding: 70px 0;
}

.resource-testimonial-list-section {
    background: var(--rt-light);
}

.resource-testimonial-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-testimonial-section-header
> div > span {
    color: var(--rt-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-testimonial-section-header h2 {
    margin: 7px 0 0;
    color: var(--rt-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-testimonial-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured testimonial */

.resource-featured-testimonial {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);
    overflow: hidden;
    border: 1px solid var(--rt-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-review-content {
    position: relative;
    padding: 45px;
}

.resource-featured-quote-mark {
    position: absolute;
    top: 25px;
    right: 32px;
    color: rgb(15 110 86 / 10%);
    font-size: 75px;
}

.resource-featured-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--rt-star);
    font-size: 13px;
}

.resource-featured-rating strong {
    margin-left: 8px;
    color: var(--rt-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-featured-review-content blockquote {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 28px 0;
    color: var(--rt-subheading);
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 750;
    line-height: 1.65;
}

.resource-featured-project {
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 500px;
    padding-top: 20px;
    border-top: 1px solid var(--rt-border);
}

.resource-featured-project > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #eaf2ee;
    color: var(--rt-primary);
}

.resource-featured-project small,
.resource-featured-project strong {
    display: block;
}

.resource-featured-project small {
    color: var(--rt-caption);
    font-size: 8px;
    font-weight: 700;
}

.resource-featured-project strong {
    margin-top: 3px;
    color: var(--rt-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-featured-customer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rt-primary);
    color: #ffffff;
    text-align: center;
}

.resource-featured-customer-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 105px;
    height: 105px;
    border: 5px solid rgb(255 255 255 / 22%);
    border-radius: 50%;
    background: #ffffff;
    color: var(--rt-primary);
    font-size: 36px;
    font-weight: 850;
}

.resource-featured-customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-featured-customer-label {
    margin-top: 20px;
    color: var(--rt-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-featured-customer h3 {
    margin: 7px 0 5px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
}

.resource-featured-customer > p {
    margin: 0;
    color: rgb(255 255 255 / 72%);
    font-size: 9px;
    font-weight: 650;
}

.resource-featured-customer-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    color: rgb(255 255 255 / 80%);
    font-size: 9px;
    font-weight: 650;
}

.resource-featured-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 21px;
    padding: 7px 10px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
}


/* Testimonial cards */

.resource-testimonial-list-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-testimonial-list-card {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 25px;
    border: 1px solid var(--rt-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-testimonial-list-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.resource-testimonial-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--rt-star);
    font-size: 10px;
}

.resource-testimonial-card-rating strong {
    margin-left: 6px;
    color: var(--rt-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-testimonial-card-top > span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff0e8;
    color: var(--rt-accent);
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-testimonial-list-card blockquote {
    margin: 23px 0;
    color: var(--rt-subheading);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.8;
}

.resource-testimonial-project-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--rt-light);
    color: var(--rt-primary);
    font-size: 8px;
    font-weight: 750;
}

.resource-testimonial-list-card footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--rt-border);
}

.resource-testimonial-customer-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--rt-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-testimonial-customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-testimonial-list-card
footer > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.resource-testimonial-list-card
footer strong,
.resource-testimonial-list-card
footer small {
    display: block;
}

.resource-testimonial-list-card
footer strong {
    color: var(--rt-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-testimonial-list-card
footer small {
    overflow: hidden;
    margin-top: 3px;
    color: var(--rt-caption);
    font-size: 8px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resource-testimonial-list-card
footer > i {
    color: rgb(15 110 86 / 16%);
    font-size: 25px;
}

.resource-testimonial-pagination {
    margin-top: 34px;
}


/* Empty state */

.resource-testimonial-empty-state,
.resource-testimonial-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 45px 20px;
    text-align: center;
}

.resource-testimonial-empty-state > span,
.resource-testimonial-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rt-primary);
    font-size: 27px;
}

.resource-testimonial-empty-state h3,
.resource-testimonial-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rt-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-testimonial-empty-state p,
.resource-testimonial-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-testimonial-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-testimonial-primary-button,
.resource-testimonial-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-testimonial-primary-button {
    background: var(--rt-primary);
    color: #ffffff;
}

.resource-testimonial-secondary-button {
    border: 1px solid var(--rt-border);
    background: #ffffff;
    color: var(--rt-heading);
}


/* Trust */

.resource-testimonial-centered-header {
    max-width: 690px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-testimonial-centered-header > span {
    color: var(--rt-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-testimonial-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rt-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-testimonial-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-testimonial-trust-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.resource-testimonial-trust-grid article {
    padding: 27px;
    border: 1px solid var(--rt-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-testimonial-trust-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rt-primary);
    font-size: 18px;
}

.resource-testimonial-trust-grid h3 {
    margin: 17px 0 8px;
    color: var(--rt-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-testimonial-trust-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Final CTA */

.resource-testimonial-final-cta {
    padding: 0 0 70px;
}

.resource-testimonial-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rt-primary);
}

.resource-testimonial-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-testimonial-final-inner
> div:first-child > span {
    color: var(--rt-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-testimonial-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-testimonial-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-testimonial-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-testimonial-final-light,
.resource-testimonial-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-testimonial-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rt-primary);
}

.resource-testimonial-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-testimonial-final-light:hover,
.resource-testimonial-final-outline:hover {
    transform: translateY(-2px);
}

.resource-testimonial-final-outline:hover {
    background: #ffffff;
    color: var(--rt-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-testimonial-filter-form {
        grid-template-columns:
            minmax(190px, 0.75fr)
            minmax(230px, 1fr)
            minmax(160px, 0.65fr)
            auto;
    }

    .resource-testimonial-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-testimonial-list-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-testimonial-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-testimonial-summary-grid
    article:nth-child(2) {
        border-right: 0;
    }

    .resource-testimonial-summary-grid
    article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--rt-border);
    }

    .resource-featured-testimonial {
        grid-template-columns: 1fr;
    }

    .resource-testimonial-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-testimonial-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-testimonial-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-testimonial-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-testimonial-hero-content h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-testimonial-hero-content > p {
        font-size: 12px;
    }

    .resource-testimonial-filter-section {
        margin-top: -18px;
    }

    .resource-testimonial-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-testimonial-filter-heading {
        grid-column: auto;
    }

    .resource-testimonial-filter-form button {
        width: 100%;
    }

    .resource-testimonial-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-testimonial-section,
    .resource-testimonial-list-section,
    .resource-testimonial-trust-section {
        padding: 55px 0;
    }

    .resource-testimonial-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-review-content {
        padding: 29px 23px;
    }

    .resource-featured-review-content blockquote {
        font-size: 17px;
    }

    .resource-featured-customer {
        padding: 32px 23px;
    }

    .resource-testimonial-list-grid,
    .resource-testimonial-trust-grid {
        grid-template-columns: 1fr;
    }

    .resource-testimonial-list-card {
        min-height: auto;
    }

    .resource-testimonial-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-testimonial-primary-button,
    .resource-testimonial-secondary-button {
        width: 100%;
    }

    .resource-testimonial-final-cta {
        padding-bottom: 55px;
    }

    .resource-testimonial-final-inner {
        padding: 31px 22px;
    }

    .resource-testimonial-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-testimonial-final-light,
    .resource-testimonial-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-testimonial-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-testimonial-summary-grid {
        grid-template-columns: 1fr;
    }

    .resource-testimonial-summary-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--rt-border);
    }

    .resource-testimonial-summary-grid
    article:last-child {
        border-bottom: 0;
    }
}



/*FAQ*/

/* =========================================================
   RESOURCE FAQ LIST
   Global .site-page-hero controls hero backgrounds
   and decorative pseudo-elements.
========================================================= */

.resource-faq-page {
    --rf-heading: #1a1a1a;
    --rf-subheading: #3d3d3d;
    --rf-text: #6b6b6b;
    --rf-caption: #929292;
    --rf-primary: #0f6e56;
    --rf-primary-dark: #094e3d;
    --rf-accent: #e07a3f;
    --rf-yellow: #f4c95d;
    --rf-light: #f5f8f6;
    --rf-border: #dfe8e3;

    overflow: hidden;
    color: var(--rf-text);
}

.resource-faq-page *,
.resource-faq-page *::before,
.resource-faq-page *::after {
    box-sizing: border-box;
}

.resource-faq-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content only */

.resource-faq-hero-content {
    max-width: 800px;
}

.resource-faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rf-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-faq-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rf-accent);
    content: "";
}

.resource-faq-hero-content h1 {
    max-width: 780px;
    margin: 14px 0 15px;
    color: var(--rf-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-faq-hero-content > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-faq-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-faq-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rf-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rf-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Search filter */

.resource-faq-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-faq-filter-form {
    display: grid;
    grid-template-columns:
        minmax(210px, 0.75fr)
        minmax(290px, 1.25fr)
        minmax(200px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rf-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-faq-filter-heading span,
.resource-faq-filter-heading strong {
    display: block;
}

.resource-faq-filter-heading span {
    color: var(--rf-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-faq-filter-heading strong {
    margin-top: 4px;
    color: var(--rf-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-faq-search-field,
.resource-faq-category-field {
    position: relative;
}

.resource-faq-search-field > i,
.resource-faq-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rf-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-faq-search-field input,
.resource-faq-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rf-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rf-light);
    color: var(--rf-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-faq-search-field input:focus,
.resource-faq-category-field select:focus {
    border-color: var(--rf-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-faq-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rf-primary);
    border-radius: 9px;
    background: var(--rf-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-faq-clear-filter {
    color: var(--rf-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Category navigation */

.resource-faq-category-section {
    padding: 45px 0 20px;
}

.resource-faq-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-faq-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rf-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-faq-category-scroll > a:hover,
.resource-faq-category-scroll > a.active {
    border-color: var(--rf-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-faq-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rf-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-faq-category-scroll strong,
.resource-faq-category-scroll small {
    display: block;
}

.resource-faq-category-scroll strong {
    color: var(--rf-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-faq-category-scroll small {
    margin-top: 3px;
    color: var(--rf-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Shared section headings */

.resource-featured-faq-section,
.resource-faq-list-page-section,
.resource-faq-support-section {
    padding: 70px 0;
}

.resource-faq-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-faq-section-header
> div > span {
    color: var(--rf-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-faq-section-header h2 {
    margin: 7px 0 0;
    color: var(--rf-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-faq-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured FAQ */

.resource-featured-faq-card {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        minmax(240px, 0.36fr);
    align-items: start;
    gap: 25px;
    padding: 35px;
    border: 1px solid var(--rf-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    border-radius: 17px;
    background: var(--rf-primary);
    color: #ffffff;
    font-size: 24px;
}

.resource-featured-faq-content > span {
    color: var(--rf-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-faq-content h2 {
    margin: 8px 0 14px;
    color: var(--rf-heading);
    font-size: clamp(21px, 2.7vw, 31px);
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.resource-featured-faq-content > div {
    font-size: 11px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-featured-faq-content > div p {
    margin: 0 0 10px;
}

.resource-featured-faq-side {
    padding: 22px;
    border-radius: 14px;
    background: var(--rf-light);
}

.resource-featured-faq-side > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rf-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-featured-faq-side > p {
    margin: 14px 0 18px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.65;
}

.resource-featured-faq-side > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--rf-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
}


/* Main FAQ list */

.resource-faq-list-page-section {
    background: var(--rf-light);
}

.resource-faq-page-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.34fr);
    align-items: start;
    gap: 34px;
}

.resource-faq-page-list {
    border-top: 1px solid var(--rf-border);
}

.resource-faq-page-item {
    border-bottom: 1px solid var(--rf-border);
    background: transparent;
}

.resource-faq-page-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}

.resource-faq-page-item summary::-webkit-details-marker {
    display: none;
}

.resource-faq-page-item summary > div {
    min-width: 0;
}

.resource-faq-page-item summary
> div > span {
    display: block;
    margin-bottom: 6px;
    color: var(--rf-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-faq-page-item summary
> div > strong {
    display: block;
    color: var(--rf-heading);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.resource-faq-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--rf-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--rf-primary);
    flex: 0 0 auto;
}

.resource-faq-toggle-icon i {
    transition: transform 180ms ease;
}

.resource-faq-page-item[open]
.resource-faq-toggle-icon {
    border-color: var(--rf-primary);
    background: var(--rf-primary);
    color: #ffffff;
}

.resource-faq-page-item[open]
.resource-faq-toggle-icon i {
    transform: rotate(45deg);
}

.resource-faq-page-answer {
    max-width: 850px;
    padding: 0 58px 23px 0;
    color: var(--rf-text);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.85;
}

.resource-faq-page-answer p {
    margin: 0 0 10px;
}

.resource-faq-pagination {
    margin-top: 33px;
}


/* Help sidebar */

.resource-faq-help-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-faq-help-card {
    padding: 27px;
    border-radius: 17px;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgb(244 201 93 / 25%),
            transparent 27%
        ),
        var(--rf-primary);
    color: #ffffff;
}

.resource-faq-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    border-radius: 14px;
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
    font-size: 21px;
}

.resource-faq-help-label {
    display: block;
    margin-top: 22px;
    color: var(--rf-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-faq-help-card h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.resource-faq-help-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-faq-help-actions {
    display: grid;
    gap: 8px;
    margin-top: 21px;
}

.resource-faq-help-primary,
.resource-faq-help-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    padding: 10px 13px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-faq-help-primary {
    background: #ffffff;
    color: var(--rf-primary);
}

.resource-faq-help-secondary {
    border: 1px solid rgb(255 255 255 / 35%);
    color: #ffffff;
}

.resource-faq-contact-card {
    padding: 23px;
    border: 1px solid var(--rf-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-faq-contact-card > span {
    color: var(--rf-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-faq-contact-card ul {
    display: grid;
    gap: 10px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.resource-faq-contact-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rf-subheading);
    font-size: 9px;
    font-weight: 700;
}

.resource-faq-contact-card li i {
    color: var(--rf-primary);
}


/* Empty results */

.resource-faq-empty-state,
.resource-faq-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 340px;
    padding: 45px 20px;
    text-align: center;
}

.resource-faq-empty-state > span,
.resource-faq-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 19px;
    background: #e6efea;
    color: var(--rf-primary);
    font-size: 25px;
}

.resource-faq-empty-state h3,
.resource-faq-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rf-heading);
    font-size: 19px;
    font-weight: 850;
}

.resource-faq-empty-state p,
.resource-faq-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-faq-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-faq-primary-button,
.resource-faq-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-faq-primary-button {
    background: var(--rf-primary);
    color: #ffffff;
}

.resource-faq-secondary-button {
    border: 1px solid var(--rf-border);
    background: #ffffff;
    color: var(--rf-heading);
}


/* Support section */

.resource-faq-centered-header {
    max-width: 690px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-faq-centered-header > span {
    color: var(--rf-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-faq-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rf-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-faq-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-faq-support-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.resource-faq-support-grid article {
    padding: 27px;
    border: 1px solid var(--rf-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-faq-support-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rf-primary);
    font-size: 18px;
}

.resource-faq-support-grid h3 {
    margin: 17px 0 8px;
    color: var(--rf-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-faq-support-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Final CTA */

.resource-faq-final-cta {
    padding: 0 0 70px;
}

.resource-faq-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rf-primary);
}

.resource-faq-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-faq-final-inner
> div:first-child > span {
    color: var(--rf-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-faq-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-faq-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-faq-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-faq-final-light,
.resource-faq-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-faq-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rf-primary);
}

.resource-faq-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-faq-final-light:hover,
.resource-faq-final-outline:hover {
    transform: translateY(-2px);
}

.resource-faq-final-outline:hover {
    background: #ffffff;
    color: var(--rf-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-faq-filter-form {
        grid-template-columns:
            minmax(190px, 0.75fr)
            minmax(240px, 1fr)
            minmax(180px, 0.7fr)
            auto;
    }

    .resource-faq-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-faq-page-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(250px, 0.36fr);
    }
}

@media (max-width: 900px) {
    .resource-faq-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-faq-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-faq-card {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }

    .resource-featured-faq-side {
        grid-column: 1 / -1;
    }

    .resource-faq-page-layout {
        grid-template-columns: 1fr;
    }

    .resource-faq-help-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-faq-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-faq-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-faq-hero-content h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-faq-hero-content > p {
        font-size: 12px;
    }

    .resource-faq-filter-section {
        margin-top: -18px;
    }

    .resource-faq-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-faq-filter-heading {
        grid-column: auto;
    }

    .resource-faq-filter-form button {
        width: 100%;
    }

    .resource-faq-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-faq-section,
    .resource-faq-list-page-section,
    .resource-faq-support-section {
        padding: 55px 0;
    }

    .resource-faq-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-faq-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .resource-featured-faq-side {
        grid-column: auto;
    }

    .resource-faq-page-answer {
        padding-right: 0;
    }

    .resource-faq-help-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-faq-support-grid {
        grid-template-columns: 1fr;
    }

    .resource-faq-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-faq-primary-button,
    .resource-faq-secondary-button {
        width: 100%;
    }

    .resource-faq-final-cta {
        padding-bottom: 55px;
    }

    .resource-faq-final-inner {
        padding: 31px 22px;
    }

    .resource-faq-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-faq-final-light,
    .resource-faq-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-faq-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-faq-category-scroll > a {
        min-width: 180px;
    }

    .resource-faq-page-item summary
    > div > strong {
        font-size: 12px;
    }
}


/* =========================================================
   CUSTOMER STORY LIST
   Global .site-page-hero controls the hero background
   and decorative pseudo-elements.
========================================================= */

.resource-story-list-page {
    --rsl-heading: #1a1a1a;
    --rsl-subheading: #3d3d3d;
    --rsl-text: #6b6b6b;
    --rsl-caption: #929292;
    --rsl-primary: #0f6e56;
    --rsl-primary-dark: #094e3d;
    --rsl-accent: #e07a3f;
    --rsl-yellow: #f4c95d;
    --rsl-light: #f5f8f6;
    --rsl-border: #dfe8e3;

    overflow: hidden;
    color: var(--rsl-text);
}

.resource-story-list-page *,
.resource-story-list-page *::before,
.resource-story-list-page *::after {
    box-sizing: border-box;
}

.resource-story-list-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content */

.resource-story-list-hero {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.resource-story-list-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rsl-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-story-list-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rsl-accent);
    content: "";
}

.resource-story-list-hero h1 {
    max-width: 800px;
    margin: 14px 0 15px;
    color: var(--rsl-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-story-list-hero > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-story-list-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-story-list-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rsl-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rsl-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Search and filters */

.resource-story-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-story-filter-form {
    display: grid;
    grid-template-columns:
        minmax(210px, 0.75fr)
        minmax(280px, 1.25fr)
        minmax(200px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rsl-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-story-filter-heading span,
.resource-story-filter-heading strong {
    display: block;
}

.resource-story-filter-heading span {
    color: var(--rsl-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-story-filter-heading strong {
    margin-top: 4px;
    color: var(--rsl-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-story-search-field,
.resource-story-category-field {
    position: relative;
}

.resource-story-search-field > i,
.resource-story-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rsl-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-story-search-field input,
.resource-story-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rsl-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rsl-light);
    color: var(--rsl-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-story-search-field input:focus,
.resource-story-category-field select:focus {
    border-color: var(--rsl-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-story-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rsl-primary);
    border-radius: 9px;
    background: var(--rsl-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-story-clear-filter {
    color: var(--rsl-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Categories */

.resource-story-category-section {
    padding: 45px 0 20px;
}

.resource-story-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-story-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rsl-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-story-category-scroll > a:hover,
.resource-story-category-scroll > a.active {
    border-color: var(--rsl-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-story-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rsl-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-story-category-scroll strong,
.resource-story-category-scroll small {
    display: block;
}

.resource-story-category-scroll strong {
    color: var(--rsl-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-story-category-scroll small {
    margin-top: 3px;
    color: var(--rsl-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Shared headings */

.resource-featured-story-section,
.resource-story-results-section,
.resource-story-journey-section {
    padding: 70px 0;
}

.resource-story-results-section {
    background: var(--rsl-light);
}

.resource-story-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-story-section-header > div > span {
    color: var(--rsl-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-section-header h2 {
    margin: 7px 0 0;
    color: var(--rsl-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-story-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured story */

.resource-featured-story-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(350px, 0.85fr);
    overflow: hidden;
    min-height: 490px;
    border: 1px solid var(--rsl-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-story-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-story-card:hover
.resource-featured-story-media img {
    transform: scale(1.025);
}

.resource-story-list-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    background:
        radial-gradient(
            circle at 30% 20%,
            rgb(244 201 93 / 28%),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #edf5f1,
            #dbe8e1
        );
    color: var(--rsl-primary);
    font-size: 48px;
}

.resource-story-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--rsl-accent);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-featured-story-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-story-list-category {
    color: var(--rsl-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-story-content h2 {
    margin: 12px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-story-content h2 a {
    color: var(--rsl-heading);
}

.resource-featured-story-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-story-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 23px;
}

.resource-featured-story-customer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--rsl-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
}

.resource-featured-story-customer strong,
.resource-featured-story-customer small {
    display: block;
}

.resource-featured-story-customer strong {
    color: var(--rsl-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-featured-story-customer small {
    margin-top: 3px;
    color: var(--rsl-caption);
    font-size: 8px;
    font-weight: 650;
}

.resource-featured-story-project {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 19px;
    padding: 13px;
    border-radius: 10px;
    background: var(--rsl-light);
}

.resource-featured-story-project > i {
    color: var(--rsl-primary);
}

.resource-featured-story-project small,
.resource-featured-story-project strong {
    display: block;
}

.resource-featured-story-project small {
    color: var(--rsl-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-story-project strong {
    margin-top: 3px;
    color: var(--rsl-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--rsl-border);
}

.resource-featured-story-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rsl-caption);
    font-size: 8px;
    font-weight: 650;
}

.resource-featured-story-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rsl-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Story cards */

.resource-story-list-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-story-list-card {
    overflow: hidden;
    border: 1px solid var(--rsl-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-story-list-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-story-list-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-story-list-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-story-list-card:hover
.resource-story-list-media img {
    transform: scale(1.035);
}

.resource-story-list-content {
    padding: 22px;
}

.resource-story-list-labels {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.resource-story-list-labels span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eaf2ee;
    color: var(--rsl-primary);
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-story-list-labels span + span {
    background: #fff0e8;
    color: var(--rsl-accent);
}

.resource-story-list-content h3 {
    margin: 11px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-story-list-content h3 a {
    color: var(--rsl-heading);
}

.resource-story-list-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-story-project-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding: 10px 11px;
    border-radius: 9px;
    background: var(--rsl-light);
    color: var(--rsl-primary);
    font-size: 8px;
    font-weight: 750;
}

.resource-story-list-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rsl-border);
}

.resource-story-list-customer {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.resource-story-list-customer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--rsl-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-story-list-customer strong,
.resource-story-list-customer small {
    display: block;
}

.resource-story-list-customer strong {
    color: var(--rsl-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-story-list-customer small {
    margin-top: 3px;
    color: var(--rsl-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-story-list-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rsl-primary);
    color: #ffffff;
    flex: 0 0 auto;
}

.resource-story-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-story-empty-state,
.resource-story-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-story-empty-state > span,
.resource-story-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rsl-primary);
    font-size: 27px;
}

.resource-story-empty-state h3,
.resource-story-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rsl-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-story-empty-state p,
.resource-story-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-story-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-story-primary-button,
.resource-story-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-story-primary-button {
    background: var(--rsl-primary);
    color: #ffffff;
}

.resource-story-secondary-button {
    border: 1px solid var(--rsl-border);
    background: #ffffff;
    color: var(--rsl-heading);
}


/* Customer journey */

.resource-story-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-story-centered-header > span {
    color: var(--rsl-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rsl-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-story-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-story-journey-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-story-journey-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rsl-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-story-journey-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-story-journey-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rsl-primary);
    font-size: 18px;
}

.resource-story-journey-grid h3 {
    margin: 17px 0 8px;
    color: var(--rsl-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-story-journey-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Final CTA */

.resource-story-final-cta {
    padding: 0 0 70px;
}

.resource-story-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rsl-primary);
}

.resource-story-final-inner > div:first-child {
    max-width: 690px;
}

.resource-story-final-inner
> div:first-child > span {
    color: var(--rsl-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-story-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-story-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-story-final-light,
.resource-story-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-story-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rsl-primary);
}

.resource-story-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-story-final-light:hover,
.resource-story-final-outline:hover {
    transform: translateY(-2px);
}

.resource-story-final-outline:hover {
    background: #ffffff;
    color: var(--rsl-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-story-filter-form {
        grid-template-columns:
            minmax(190px, 0.75fr)
            minmax(235px, 1fr)
            minmax(180px, 0.7fr)
            auto;
    }

    .resource-story-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-story-list-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-story-journey-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-story-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-story-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-story-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-story-media {
        min-height: 380px;
    }

    .resource-story-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-story-list-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-story-list-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-story-list-hero > p {
        font-size: 12px;
    }

    .resource-story-filter-section {
        margin-top: -18px;
    }

    .resource-story-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-story-filter-heading {
        grid-column: auto;
    }

    .resource-story-filter-form button {
        width: 100%;
    }

    .resource-story-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-story-section,
    .resource-story-results-section,
    .resource-story-journey-section {
        padding: 55px 0;
    }

    .resource-story-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-story-media {
        min-height: 270px;
    }

    .resource-featured-story-content {
        padding: 27px 22px;
    }

    .resource-featured-story-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-story-list-grid,
    .resource-story-journey-grid {
        grid-template-columns: 1fr;
    }

    .resource-story-list-content > p {
        min-height: auto;
    }

    .resource-story-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-story-primary-button,
    .resource-story-secondary-button {
        width: 100%;
    }

    .resource-story-final-cta {
        padding-bottom: 55px;
    }

    .resource-story-final-inner {
        padding: 31px 22px;
    }

    .resource-story-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-story-final-light,
    .resource-story-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-story-list-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-story-category-scroll > a {
        min-width: 180px;
    }

    .resource-story-list-media {
        height: 210px;
    }
}




/* =========================================================
   CUSTOMER STORY DETAIL
   Global .site-page-hero controls hero backgrounds
   and decorative pseudo-elements.
========================================================= */

.resource-story-detail-page {
    --rsd-heading: #1a1a1a;
    --rsd-subheading: #3d3d3d;
    --rsd-text: #6b6b6b;
    --rsd-caption: #929292;
    --rsd-primary: #0f6e56;
    --rsd-primary-dark: #094e3d;
    --rsd-accent: #e07a3f;
    --rsd-yellow: #f4c95d;
    --rsd-light: #f5f8f6;
    --rsd-border: #dfe8e3;

    overflow: hidden;
    color: var(--rsd-text);
}

.resource-story-detail-page *,
.resource-story-detail-page *::before,
.resource-story-detail-page *::after {
    box-sizing: border-box;
}

.resource-story-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content only */

.resource-story-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.resource-story-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-story-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rsd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rsd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-story-detail-labels
.resource-story-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rsd-accent);
}

.resource-story-detail-hero h1 {
    max-width: 840px;
    margin: 14px 0 14px;
    color: var(--rsd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-story-detail-hero > p {
    max-width: 730px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-story-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-story-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rsd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-story-detail-meta i {
    color: var(--rsd-primary);
}


/* Cover and customer summary */

.resource-story-detail-intro {
    padding: 68px 0;
}

.resource-story-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    align-items: stretch;
    gap: 28px;
}

.resource-story-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--rsd-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-story-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.resource-story-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
    background:
        radial-gradient(
            circle at 75% 22%,
            rgb(244 201 93 / 28%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rsd-primary);
    text-align: center;
}

.resource-story-detail-placeholder i {
    font-size: 63px;
}

.resource-story-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-story-detail-cover-label {
    position: absolute;
    bottom: 17px;
    left: 17px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-story-customer-summary {
    padding: 30px;
    border: 1px solid var(--rsd-border);
    border-radius: 18px;
    background: var(--rsd-light);
}

.resource-story-summary-label,
.resource-story-sidebar-label {
    display: block;
    color: var(--rsd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-summary-profile {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 21px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rsd-border);
}

.resource-story-summary-profile > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background: var(--rsd-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-story-summary-profile h2 {
    margin: 0;
    color: var(--rsd-heading);
    font-size: 17px;
    font-weight: 850;
}

.resource-story-summary-profile p {
    margin: 4px 0 0;
    color: var(--rsd-caption);
    font-size: 8px;
    font-weight: 650;
}

.resource-story-customer-summary dl {
    margin: 21px 0 0;
}

.resource-story-customer-summary dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rsd-border);
}

.resource-story-customer-summary dt {
    color: var(--rsd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-story-customer-summary dd {
    margin: 0;
    color: var(--rsd-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-story-copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rsd-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rsd-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* Story article */

.resource-story-article-section {
    padding: 72px 0;
    background: var(--rsd-light);
}

.resource-story-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-story-article-content {
    padding: 40px;
    border: 1px solid var(--rsd-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-story-article-content > header > span {
    color: var(--rsd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-article-content > header h2 {
    margin: 8px 0 22px;
    color: var(--rsd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-story-rich-content {
    color: var(--rsd-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-story-rich-content p {
    margin: 0 0 20px;
}

.resource-story-rich-content p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rsd-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-story-article-footer {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 33px;
    padding-top: 23px;
    border-top: 1px solid var(--rsd-border);
}

.resource-story-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rsd-light);
}

.resource-story-article-footer span,
.resource-story-article-footer strong {
    display: block;
}

.resource-story-article-footer span {
    color: var(--rsd-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-story-article-footer strong {
    margin-top: 4px;
    color: var(--rsd-heading);
    font-size: 9px;
    font-weight: 850;
}


/* Story sidebar */

.resource-story-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-story-related-project-card,
.resource-story-consultation-card,
.resource-story-support-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-story-related-project-card {
    border: 1px solid var(--rsd-border);
    background: #ffffff;
}

.resource-story-consultation-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rsd-primary);
    color: #ffffff;
}

.resource-story-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rsd-primary);
    font-size: 19px;
}

.resource-story-consultation-card
.resource-story-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-story-related-project-card h2,
.resource-story-consultation-card h2 {
    margin: 7px 0 9px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-story-related-project-card h2 {
    color: var(--rsd-heading);
}

.resource-story-consultation-card h2 {
    color: #ffffff;
}

.resource-story-related-project-card > p,
.resource-story-consultation-card > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-story-consultation-card
.resource-story-sidebar-label {
    color: var(--rsd-yellow);
}

.resource-story-consultation-card > p {
    color: rgb(255 255 255 / 74%);
}

.resource-story-related-project-card > div {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--rsd-primary);
    font-size: 8px;
    font-weight: 800;
}

.resource-story-consultation-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rsd-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-story-support-card {
    border: 1px solid var(--rsd-border);
    background: #ffffff;
}

.resource-story-support-card > span {
    color: var(--rsd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-story-support-card ul {
    display: grid;
    gap: 10px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.resource-story-support-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rsd-subheading);
    font-size: 9px;
    font-weight: 700;
}

.resource-story-support-card li i {
    color: var(--rsd-primary);
}


/* Journey stages */

.resource-story-detail-journey {
    padding: 72px 0;
}

.resource-story-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-story-detail-centered-header > span {
    color: var(--rsd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rsd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-story-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-story-detail-journey-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-story-detail-journey-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rsd-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-story-detail-journey-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-story-detail-journey-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rsd-primary);
    font-size: 18px;
}

.resource-story-detail-journey-grid h3 {
    margin: 17px 0 8px;
    color: var(--rsd-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-story-detail-journey-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Related stories */

.resource-story-related-section {
    padding: 72px 0;
    background: var(--rsd-light);
}

.resource-story-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-story-detail-section-header
> div > span {
    color: var(--rsd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-story-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rsd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-story-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rsd-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}

.resource-story-related-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.resource-story-related-card {
    overflow: hidden;
    border: 1px solid var(--rsd-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        box-shadow 170ms ease;
}

.resource-story-related-card:hover {
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-story-related-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-story-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.resource-story-related-card:hover
.resource-story-related-image img {
    transform: scale(1.035);
}

.resource-story-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rsd-primary);
    font-size: 43px;
}

.resource-story-related-content {
    padding: 21px;
}

.resource-story-related-content > span {
    color: var(--rsd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-story-related-content h3 {
    margin: 8px 0 8px;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-story-related-content h3 a {
    color: var(--rsd-heading);
}

.resource-story-related-content > p {
    min-height: 53px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-story-related-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--rsd-border);
}

.resource-story-related-content footer strong,
.resource-story-related-content footer small {
    display: block;
}

.resource-story-related-content footer strong {
    color: var(--rsd-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-story-related-content footer small {
    margin-top: 3px;
    color: var(--rsd-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-story-related-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rsd-primary);
    color: #ffffff;
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-story-detail-journey-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-story-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-story-detail-intro-grid,
    .resource-story-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-story-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-story-support-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .resource-story-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-story-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-story-detail-intro,
    .resource-story-article-section,
    .resource-story-detail-journey,
    .resource-story-related-section {
        padding: 55px 0;
    }

    .resource-story-detail-cover,
    .resource-story-detail-cover > img,
    .resource-story-detail-placeholder {
        min-height: 290px;
    }

    .resource-story-customer-summary {
        padding: 23px;
    }

    .resource-story-article-content {
        padding: 27px 22px;
    }

    .resource-story-rich-content {
        font-size: 11px;
    }

    .resource-story-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-story-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-story-support-card {
        grid-column: auto;
    }

    .resource-story-detail-journey-grid,
    .resource-story-related-grid {
        grid-template-columns: 1fr;
    }

    .resource-story-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .resource-story-related-content > p {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .resource-story-detail-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-story-detail-cover,
    .resource-story-detail-cover > img,
    .resource-story-detail-placeholder {
        min-height: 245px;
    }

    .resource-story-summary-profile {
        align-items: flex-start;
    }
}





/* =========================================================
   MATERIAL GUIDE DETAIL
   Global .site-page-hero controls the hero background
   and decorative pseudo-elements.
========================================================= */

.resource-material-detail-page {
    --rmd-heading: #1a1a1a;
    --rmd-subheading: #3d3d3d;
    --rmd-text: #6b6b6b;
    --rmd-caption: #929292;
    --rmd-primary: #0f6e56;
    --rmd-primary-dark: #094e3d;
    --rmd-accent: #e07a3f;
    --rmd-yellow: #f4c95d;
    --rmd-light: #f5f8f6;
    --rmd-border: #dfe8e3;

    overflow: hidden;
    color: var(--rmd-text);
}

.resource-material-detail-page *,
.resource-material-detail-page *::before,
.resource-material-detail-page *::after {
    box-sizing: border-box;
}

.resource-material-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content */

.resource-material-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.resource-material-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-material-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rmd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-material-detail-labels
.resource-material-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rmd-accent);
}

.resource-material-detail-hero h1 {
    max-width: 850px;
    margin: 14px 0;
    color: var(--rmd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-material-detail-hero > p {
    max-width: 730px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-material-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-material-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-material-detail-meta i {
    color: var(--rmd-primary);
}


/* Cover and guide summary */

.resource-material-detail-intro {
    padding: 68px 0;
}

.resource-material-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    align-items: stretch;
    gap: 28px;
}

.resource-material-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--rmd-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-material-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.resource-material-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
    background:
        radial-gradient(
            circle at 75% 22%,
            rgb(244 201 93 / 29%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rmd-primary);
    text-align: center;
}

.resource-material-detail-placeholder i {
    font-size: 64px;
}

.resource-material-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-material-detail-cover-badge {
    position: absolute;
    bottom: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-material-detail-summary {
    padding: 30px;
    border: 1px solid var(--rmd-border);
    border-radius: 18px;
    background: var(--rmd-light);
}

.resource-material-detail-summary-label,
.resource-material-sidebar-label {
    display: block;
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-detail-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 21px;
    border-radius: 15px;
    background: var(--rmd-primary);
    color: #ffffff;
    font-size: 22px;
}

.resource-material-detail-summary h2 {
    margin: 18px 0 9px;
    color: var(--rmd-heading);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.resource-material-detail-summary > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-material-detail-summary dl {
    margin: 22px 0 0;
}

.resource-material-detail-summary dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rmd-border);
}

.resource-material-detail-summary dt {
    color: var(--rmd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-material-detail-summary dd {
    margin: 0;
    color: var(--rmd-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-material-copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rmd-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rmd-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* Article */

.resource-material-article-section {
    padding: 72px 0;
    background: var(--rmd-light);
}

.resource-material-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(285px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-material-article-content {
    padding: 40px;
    border: 1px solid var(--rmd-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-material-article-content
> header > span {
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-article-content
> header h2 {
    margin: 8px 0 23px;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-material-rich-content {
    color: var(--rmd-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-material-rich-content p {
    margin: 0 0 20px;
}

.resource-material-rich-content
p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rmd-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-material-article-footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--rmd-border);
}

.resource-material-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rmd-light);
}

.resource-material-article-footer span,
.resource-material-article-footer strong {
    display: block;
}

.resource-material-article-footer span {
    color: var(--rmd-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-material-article-footer strong {
    margin-top: 4px;
    color: var(--rmd-heading);
    font-size: 9px;
    font-weight: 850;
}


/* Sticky sidebar */

.resource-material-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-material-checklist-card,
.resource-material-consultation-card,
.resource-material-contact-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-material-checklist-card {
    border: 1px solid var(--rmd-border);
    background: #ffffff;
}

.resource-material-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rmd-primary);
    font-size: 19px;
}

.resource-material-checklist-card h2,
.resource-material-consultation-card h2 {
    margin: 7px 0 13px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-material-checklist-card h2 {
    color: var(--rmd-heading);
}

.resource-material-checklist-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-material-checklist-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.55;
}

.resource-material-checklist-card li i {
    margin-top: 2px;
    color: var(--rmd-primary);
}

.resource-material-consultation-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rmd-primary);
    color: #ffffff;
}

.resource-material-consultation-card
.resource-material-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-material-consultation-card
.resource-material-sidebar-label {
    color: var(--rmd-yellow);
}

.resource-material-consultation-card h2 {
    color: #ffffff;
}

.resource-material-consultation-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-material-consultation-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-material-contact-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--rmd-border);
    background: #ffffff;
}

.resource-material-contact-card > span {
    margin-bottom: 3px;
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-material-contact-card > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 700;
    word-break: break-word;
}

.resource-material-contact-card i {
    color: var(--rmd-primary);
}


/* Decision factors */

.resource-material-factor-section {
    padding: 72px 0;
}

.resource-material-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-material-detail-centered-header > span {
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-material-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-material-factor-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-material-factor-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rmd-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-material-factor-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-material-factor-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rmd-primary);
    font-size: 18px;
}

.resource-material-factor-grid h3 {
    margin: 17px 0 8px;
    color: var(--rmd-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-material-factor-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Related guides */

.resource-material-related-section {
    padding: 72px 0;
    background: var(--rmd-light);
}

.resource-material-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-material-detail-section-header
> div > span {
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-material-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-material-factor-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-material-article-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-material-detail-intro-grid,
    .resource-material-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-material-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-material-contact-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .resource-material-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-material-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-material-detail-intro,
    .resource-material-article-section,
    .resource-material-factor-section,
    .resource-material-related-section {
        padding: 55px 0;
    }

    .resource-material-detail-cover,
    .resource-material-detail-cover > img,
    .resource-material-detail-placeholder {
        min-height: 290px;
    }

    .resource-material-detail-summary {
        padding: 23px;
    }

    .resource-material-article-content {
        padding: 27px 22px;
    }

    .resource-material-rich-content {
        font-size: 11px;
    }

    .resource-material-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-material-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-material-contact-card {
        grid-column: auto;
    }

    .resource-material-factor-grid {
        grid-template-columns: 1fr;
    }

    .resource-material-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }
}

@media (max-width: 480px) {
    .resource-material-detail-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-material-detail-cover,
    .resource-material-detail-cover > img,
    .resource-material-detail-placeholder {
        min-height: 245px;
    }

    .resource-material-detail-labels {
        align-items: flex-start;
        flex-direction: column;
    }
}





/* =========================================================
   BUYING GUIDE LIST
   Global .site-page-hero controls hero backgrounds
   and decorative pseudo-elements.
========================================================= */

.resource-buying-guide-page {
    --rbg-heading: #1a1a1a;
    --rbg-subheading: #3d3d3d;
    --rbg-text: #6b6b6b;
    --rbg-caption: #929292;
    --rbg-primary: #0f6e56;
    --rbg-primary-dark: #094e3d;
    --rbg-accent: #e07a3f;
    --rbg-yellow: #f4c95d;
    --rbg-light: #f5f8f6;
    --rbg-border: #dfe8e3;

    overflow: hidden;
    color: var(--rbg-text);
}

.resource-buying-guide-page *,
.resource-buying-guide-page *::before,
.resource-buying-guide-page *::after {
    box-sizing: border-box;
}

.resource-buying-guide-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content only */

.resource-buying-guide-hero {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.resource-buying-guide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rbg-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-buying-guide-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rbg-accent);
    content: "";
}

.resource-buying-guide-hero h1 {
    max-width: 810px;
    margin: 14px 0 15px;
    color: var(--rbg-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-buying-guide-hero > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-buying-guide-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-buying-guide-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rbg-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rbg-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Search and filters */

.resource-buying-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-buying-filter-form {
    display: grid;
    grid-template-columns:
        minmax(200px, 0.7fr)
        minmax(280px, 1.25fr)
        minmax(190px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rbg-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-buying-filter-heading span,
.resource-buying-filter-heading strong {
    display: block;
}

.resource-buying-filter-heading span {
    color: var(--rbg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-buying-filter-heading strong {
    margin-top: 4px;
    color: var(--rbg-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-buying-search-field,
.resource-buying-category-field {
    position: relative;
}

.resource-buying-search-field > i,
.resource-buying-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rbg-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-buying-search-field input,
.resource-buying-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rbg-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rbg-light);
    color: var(--rbg-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-buying-search-field input:focus,
.resource-buying-category-field select:focus {
    border-color: var(--rbg-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-buying-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rbg-primary);
    border-radius: 9px;
    background: var(--rbg-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-buying-clear-filter {
    color: var(--rbg-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Categories */

.resource-buying-category-section {
    padding: 45px 0 20px;
}

.resource-buying-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-buying-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rbg-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-buying-category-scroll > a:hover,
.resource-buying-category-scroll > a.active {
    border-color: var(--rbg-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-buying-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rbg-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-buying-category-scroll strong,
.resource-buying-category-scroll small {
    display: block;
}

.resource-buying-category-scroll strong {
    color: var(--rbg-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-buying-category-scroll small {
    margin-top: 3px;
    color: var(--rbg-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Shared headings */

.resource-featured-buying-section,
.resource-buying-results-section,
.resource-buying-process-section,
.resource-buying-mistake-section {
    padding: 70px 0;
}

.resource-buying-results-section,
.resource-buying-mistake-section {
    background: var(--rbg-light);
}

.resource-buying-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-buying-section-header
> div > span {
    color: var(--rbg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-section-header h2 {
    margin: 7px 0 0;
    color: var(--rbg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured guide */

.resource-featured-buying-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, 0.88fr);
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--rbg-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-buying-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-buying-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-buying-card:hover
.resource-featured-buying-media > img {
    transform: scale(1.025);
}

.resource-buying-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background:
        radial-gradient(
            circle at 28% 20%,
            rgb(244 201 93 / 30%),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rbg-primary);
}

.resource-buying-placeholder i {
    font-size: 60px;
}

.resource-buying-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-buying-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--rbg-accent);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-featured-buying-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-buying-category-label {
    color: var(--rbg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-buying-content h2 {
    margin: 11px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-buying-content h2 a {
    color: var(--rbg-heading);
}

.resource-featured-buying-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-buying-points {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-buying-points > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rbg-light);
}

.resource-featured-buying-points
> div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rbg-primary);
    flex: 0 0 auto;
}

.resource-featured-buying-points small,
.resource-featured-buying-points strong {
    display: block;
}

.resource-featured-buying-points small {
    color: var(--rbg-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-buying-points strong {
    margin-top: 2px;
    color: var(--rbg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-buying-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rbg-border);
}

.resource-buying-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.resource-buying-author > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--rbg-primary);
    color: #ffffff;
}

.resource-buying-author small,
.resource-buying-author strong {
    display: block;
}

.resource-buying-author small {
    color: var(--rbg-caption);
    font-size: 7px;
    font-weight: 700;
}

.resource-buying-author strong {
    margin-top: 2px;
    color: var(--rbg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-buying-content
footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rbg-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Buying guide cards */

.resource-buying-guide-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-buying-guide-card {
    overflow: hidden;
    border: 1px solid var(--rbg-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-buying-guide-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-buying-card-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-buying-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-buying-guide-card:hover
.resource-buying-card-media > img {
    transform: scale(1.035);
}

.resource-buying-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rbg-primary);
    font-size: 46px;
}

.resource-buying-card-featured {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--rbg-accent);
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-buying-card-content {
    padding: 22px;
}

.resource-buying-card-category {
    color: var(--rbg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-buying-card-content h3 {
    margin: 10px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-buying-card-content h3 a {
    color: var(--rbg-heading);
}

.resource-buying-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-buying-card-info {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-buying-card-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rbg-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-buying-card-info i {
    color: var(--rbg-primary);
}

.resource-buying-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rbg-border);
}

.resource-buying-card-content
footer > span {
    color: var(--rbg-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-buying-card-content
footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rbg-primary);
    color: #ffffff;
}

.resource-buying-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-buying-empty-state,
.resource-buying-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-buying-empty-state > span,
.resource-buying-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rbg-primary);
    font-size: 27px;
}

.resource-buying-empty-state h3,
.resource-buying-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rbg-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-buying-empty-state p,
.resource-buying-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-buying-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-buying-primary-button,
.resource-buying-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-buying-primary-button {
    background: var(--rbg-primary);
    color: #ffffff;
}

.resource-buying-secondary-button {
    border: 1px solid var(--rbg-border);
    background: #ffffff;
    color: var(--rbg-heading);
}


/* Buying process */

.resource-buying-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-buying-centered-header > span {
    color: var(--rbg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rbg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-process-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-buying-process-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rbg-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-buying-process-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-buying-process-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rbg-primary);
    font-size: 18px;
}

.resource-buying-process-grid h3 {
    margin: 17px 0 8px;
    color: var(--rbg-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-buying-process-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Buying mistakes */

.resource-buying-mistake-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-buying-mistake-heading > span {
    color: var(--rbg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-mistake-heading h2 {
    margin: 8px 0 12px;
    color: var(--rbg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-mistake-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-mistake-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-buying-mistake-list article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 21px;
    border: 1px solid var(--rbg-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-buying-mistake-list
article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0e8;
    color: var(--rbg-accent);
    font-size: 12px;
    flex: 0 0 auto;
}

.resource-buying-mistake-list h3 {
    margin: 0 0 6px;
    color: var(--rbg-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-buying-mistake-list p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Final CTA */

.resource-buying-final-cta {
    padding: 0 0 70px;
}

.resource-buying-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rbg-primary);
}

.resource-buying-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-buying-final-inner
> div:first-child > span {
    color: var(--rbg-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-buying-final-light,
.resource-buying-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-buying-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rbg-primary);
}

.resource-buying-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-buying-final-light:hover,
.resource-buying-final-outline:hover {
    transform: translateY(-2px);
}

.resource-buying-final-outline:hover {
    background: #ffffff;
    color: var(--rbg-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-buying-filter-form {
        grid-template-columns:
            minmax(180px, 0.7fr)
            minmax(230px, 1fr)
            minmax(170px, 0.7fr)
            auto;
    }

    .resource-buying-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-buying-guide-grid,
    .resource-buying-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-buying-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-buying-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-buying-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-buying-media {
        min-height: 380px;
    }

    .resource-buying-mistake-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-buying-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-buying-guide-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-buying-guide-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-buying-guide-hero > p {
        font-size: 12px;
    }

    .resource-buying-filter-section {
        margin-top: -18px;
    }

    .resource-buying-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-buying-filter-heading {
        grid-column: auto;
    }

    .resource-buying-filter-form button {
        width: 100%;
    }

    .resource-buying-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-buying-section,
    .resource-buying-results-section,
    .resource-buying-process-section,
    .resource-buying-mistake-section {
        padding: 55px 0;
    }

    .resource-buying-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-buying-media,
    .resource-buying-placeholder {
        min-height: 270px;
    }

    .resource-featured-buying-content {
        padding: 27px 22px;
    }

    .resource-featured-buying-content footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-buying-guide-grid,
    .resource-buying-process-grid,
    .resource-buying-mistake-list {
        grid-template-columns: 1fr;
    }

    .resource-buying-card-content > p {
        min-height: auto;
    }

    .resource-buying-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-buying-primary-button,
    .resource-buying-secondary-button {
        width: 100%;
    }

    .resource-buying-final-cta {
        padding-bottom: 55px;
    }

    .resource-buying-final-inner {
        padding: 31px 22px;
    }

    .resource-buying-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-buying-final-light,
    .resource-buying-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-buying-guide-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-buying-category-scroll > a {
        min-width: 180px;
    }

    .resource-buying-card-media {
        height: 210px;
    }
}





/* =========================================================
   BUYING GUIDE DETAIL
   The existing .site-page-hero controls the hero background
   and decorative pseudo-elements.
========================================================= */

.resource-buying-detail-page {
    --rbd-heading: #1a1a1a;
    --rbd-subheading: #3d3d3d;
    --rbd-text: #6b6b6b;
    --rbd-caption: #929292;
    --rbd-primary: #0f6e56;
    --rbd-primary-dark: #094e3d;
    --rbd-accent: #e07a3f;
    --rbd-yellow: #f4c95d;
    --rbd-light: #f5f8f6;
    --rbd-border: #dfe8e3;

    /*
     * Aliases allow the related-guide cards from the
     * buying-guide listing page to be reused safely.
     */
    --rbg-heading: var(--rbd-heading);
    --rbg-subheading: var(--rbd-subheading);
    --rbg-text: var(--rbd-text);
    --rbg-caption: var(--rbd-caption);
    --rbg-primary: var(--rbd-primary);
    --rbg-primary-dark: var(--rbd-primary-dark);
    --rbg-accent: var(--rbd-accent);
    --rbg-yellow: var(--rbd-yellow);
    --rbg-light: var(--rbd-light);
    --rbg-border: var(--rbd-border);

    overflow: hidden;
    color: var(--rbd-text);
}

.resource-buying-detail-page *,
.resource-buying-detail-page *::before,
.resource-buying-detail-page *::after {
    box-sizing: border-box;
}

.resource-buying-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.resource-buying-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 870px;
}

.resource-buying-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-buying-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rbd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-buying-detail-labels
.resource-buying-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rbd-accent);
}

.resource-buying-detail-hero h1 {
    max-width: 860px;
    margin: 14px 0;
    color: var(--rbd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-buying-detail-hero > p {
    max-width: 740px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-buying-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-buying-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rbd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-buying-detail-meta i {
    color: var(--rbd-primary);
}


/* =========================================================
   COVER AND SUMMARY
========================================================= */

.resource-buying-detail-intro {
    padding: 68px 0;
}

.resource-buying-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    align-items: stretch;
    gap: 28px;
}

.resource-buying-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--rbd-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-buying-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.resource-buying-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
    background:
        radial-gradient(
            circle at 75% 22%,
            rgb(244 201 93 / 29%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rbd-primary);
    text-align: center;
}

.resource-buying-detail-placeholder i {
    font-size: 64px;
}

.resource-buying-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-buying-detail-cover-label {
    position: absolute;
    bottom: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-buying-detail-summary {
    padding: 30px;
    border: 1px solid var(--rbd-border);
    border-radius: 18px;
    background: var(--rbd-light);
}

.resource-buying-detail-summary-label,
.resource-buying-sidebar-label {
    display: block;
    color: var(--rbd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-detail-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 21px;
    border-radius: 15px;
    background: var(--rbd-primary);
    color: #ffffff;
    font-size: 22px;
}

.resource-buying-detail-summary h2 {
    margin: 18px 0 9px;
    color: var(--rbd-heading);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.resource-buying-detail-summary > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-detail-summary dl {
    margin: 22px 0 0;
}

.resource-buying-detail-summary dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rbd-border);
}

.resource-buying-detail-summary dt {
    color: var(--rbd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-buying-detail-summary dd {
    margin: 0;
    color: var(--rbd-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-buying-copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rbd-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rbd-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* =========================================================
   ARTICLE
========================================================= */

.resource-buying-article-section {
    padding: 72px 0;
    background: var(--rbd-light);
}

.resource-buying-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(285px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-buying-article-content {
    padding: 40px;
    border: 1px solid var(--rbd-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-buying-article-content
> header > span {
    color: var(--rbd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-article-content
> header h2 {
    margin: 8px 0 23px;
    color: var(--rbd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-buying-rich-content {
    color: var(--rbd-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-buying-rich-content p {
    margin: 0 0 20px;
}

.resource-buying-rich-content
p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rbd-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-buying-article-footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--rbd-border);
}

.resource-buying-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rbd-light);
}

.resource-buying-article-footer span,
.resource-buying-article-footer strong {
    display: block;
}

.resource-buying-article-footer span {
    color: var(--rbd-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-buying-article-footer strong {
    margin-top: 4px;
    color: var(--rbd-heading);
    font-size: 9px;
    font-weight: 850;
}


/* =========================================================
   STICKY SIDEBAR
========================================================= */

.resource-buying-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-buying-checklist-card,
.resource-buying-budget-card,
.resource-buying-consultation-card,
.resource-buying-contact-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-buying-checklist-card,
.resource-buying-budget-card,
.resource-buying-contact-card {
    border: 1px solid var(--rbd-border);
    background: #ffffff;
}

.resource-buying-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rbd-primary);
    font-size: 19px;
}

.resource-buying-checklist-card h2,
.resource-buying-budget-card h2,
.resource-buying-consultation-card h2 {
    margin: 7px 0 13px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-buying-checklist-card h2,
.resource-buying-budget-card h2 {
    color: var(--rbd-heading);
}

.resource-buying-checklist-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-buying-checklist-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rbd-subheading);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.55;
}

.resource-buying-checklist-card li i {
    margin-top: 2px;
    color: var(--rbd-primary);
}

.resource-buying-budget-card > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-consultation-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rbd-primary);
    color: #ffffff;
}

.resource-buying-consultation-card
.resource-buying-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-buying-consultation-card
.resource-buying-sidebar-label {
    color: var(--rbd-yellow);
}

.resource-buying-consultation-card h2 {
    color: #ffffff;
}

.resource-buying-consultation-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-consultation-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-buying-contact-card {
    display: grid;
    gap: 10px;
}

.resource-buying-contact-card > span {
    margin-bottom: 3px;
    color: var(--rbd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-buying-contact-card > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rbd-subheading);
    font-size: 9px;
    font-weight: 700;
    word-break: break-word;
}

.resource-buying-contact-card i {
    color: var(--rbd-primary);
}


/* =========================================================
   DECISION FACTORS
========================================================= */

.resource-buying-factor-section {
    padding: 72px 0;
}

.resource-buying-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-buying-detail-centered-header > span {
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rbd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-factor-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-buying-factor-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rbd-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-buying-factor-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-buying-factor-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rbd-primary);
    font-size: 18px;
}

.resource-buying-factor-grid h3 {
    margin: 17px 0 8px;
    color: var(--rbd-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-buying-factor-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* =========================================================
   COMMON MISTAKES
========================================================= */

.resource-buying-detail-mistakes {
    padding: 72px 0;
    background: var(--rbd-light);
}

.resource-buying-detail-mistake-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-buying-detail-mistake-heading > span {
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-detail-mistake-heading h2 {
    margin: 8px 0 12px;
    color: var(--rbd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-detail-mistake-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-detail-mistake-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-buying-detail-mistake-list article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 21px;
    border: 1px solid var(--rbd-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-buying-detail-mistake-list
article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0e8;
    color: var(--rbd-accent);
    font-size: 12px;
    flex: 0 0 auto;
}

.resource-buying-detail-mistake-list h3 {
    margin: 0 0 6px;
    color: var(--rbd-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-buying-detail-mistake-list p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* =========================================================
   RELATED GUIDES
========================================================= */

.resource-buying-related-section {
    padding: 72px 0;
}

.resource-buying-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-buying-detail-section-header
> div > span {
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rbd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rbd-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* =========================================================
   FINAL CTA
========================================================= */

.resource-buying-detail-final-cta {
    padding: 0 0 70px;
}

.resource-buying-detail-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rbd-primary);
}

.resource-buying-detail-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-buying-detail-final-inner
> div:first-child > span {
    color: var(--rbd-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-buying-detail-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-buying-detail-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-buying-detail-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-buying-detail-final-light,
.resource-buying-detail-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-buying-detail-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rbd-primary);
}

.resource-buying-detail-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-buying-detail-final-light:hover,
.resource-buying-detail-final-outline:hover {
    transform: translateY(-2px);
}

.resource-buying-detail-final-outline:hover {
    background: #ffffff;
    color: var(--rbd-primary);
}






/* =========================================================
   INTERIOR TIP LIST
   Existing .site-page-hero controls the background
   and decorative pseudo-elements.
========================================================= */

.resource-interior-tip-page {
    --rit-heading: #1a1a1a;
    --rit-subheading: #3d3d3d;
    --rit-text: #6b6b6b;
    --rit-caption: #929292;
    --rit-primary: #0f6e56;
    --rit-primary-dark: #094e3d;
    --rit-accent: #e07a3f;
    --rit-yellow: #f4c95d;
    --rit-light: #f5f8f6;
    --rit-border: #dfe8e3;

    overflow: hidden;
    color: var(--rit-text);
}

.resource-interior-tip-page *,
.resource-interior-tip-page *::before,
.resource-interior-tip-page *::after {
    box-sizing: border-box;
}

.resource-interior-tip-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.resource-interior-tip-hero {
    position: relative;
    z-index: 2;
    max-width: 830px;
}

.resource-interior-tip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rit-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-interior-tip-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rit-accent);
    content: "";
}

.resource-interior-tip-hero h1 {
    max-width: 810px;
    margin: 14px 0 15px;
    color: var(--rit-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-interior-tip-hero > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-interior-tip-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-interior-tip-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rit-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rit-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* =========================================================
   SEARCH AND FILTER
========================================================= */

.resource-interior-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-interior-filter-form {
    display: grid;
    grid-template-columns:
        minmax(200px, 0.7fr)
        minmax(280px, 1.25fr)
        minmax(190px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rit-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-interior-filter-heading span,
.resource-interior-filter-heading strong {
    display: block;
}

.resource-interior-filter-heading span {
    color: var(--rit-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-interior-filter-heading strong {
    margin-top: 4px;
    color: var(--rit-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-interior-search-field,
.resource-interior-category-field {
    position: relative;
}

.resource-interior-search-field > i,
.resource-interior-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rit-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-interior-search-field input,
.resource-interior-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rit-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rit-light);
    color: var(--rit-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-interior-search-field input:focus,
.resource-interior-category-field select:focus {
    border-color: var(--rit-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-interior-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rit-primary);
    border-radius: 9px;
    background: var(--rit-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-interior-clear-filter {
    color: var(--rit-primary);
    font-size: 10px;
    font-weight: 850;
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.resource-interior-category-section {
    padding: 45px 0 20px;
}

.resource-interior-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-interior-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rit-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-interior-category-scroll > a:hover,
.resource-interior-category-scroll > a.active {
    border-color: var(--rit-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-interior-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rit-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-interior-category-scroll strong,
.resource-interior-category-scroll small {
    display: block;
}

.resource-interior-category-scroll strong {
    color: var(--rit-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-interior-category-scroll small {
    margin-top: 3px;
    color: var(--rit-caption);
    font-size: 8px;
    font-weight: 650;
}


/* =========================================================
   SECTION HEADERS
========================================================= */

.resource-featured-interior-section,
.resource-interior-results-section,
.resource-interior-room-section,
.resource-interior-apply-section {
    padding: 70px 0;
}

.resource-interior-results-section,
.resource-interior-apply-section {
    background: var(--rit-light);
}

.resource-interior-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-interior-section-header
> div > span {
    color: var(--rit-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-section-header h2 {
    margin: 7px 0 0;
    color: var(--rit-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* =========================================================
   FEATURED TIP
========================================================= */

.resource-featured-interior-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, 0.88fr);
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--rit-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-interior-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-interior-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-interior-card:hover
.resource-featured-interior-media > img {
    transform: scale(1.025);
}

.resource-interior-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background:
        radial-gradient(
            circle at 28% 20%,
            rgb(244 201 93 / 30%),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rit-primary);
}

.resource-interior-placeholder i {
    font-size: 60px;
}

.resource-interior-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-interior-featured-badge,
.resource-interior-category-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-interior-featured-badge {
    top: 16px;
    left: 16px;
    background: var(--rit-accent);
}

.resource-interior-category-badge {
    bottom: 16px;
    left: 16px;
    background: rgb(15 110 86 / 92%);
    backdrop-filter: blur(8px);
}

.resource-featured-interior-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-interior-content-label {
    color: var(--rit-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-interior-content h2 {
    margin: 11px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-interior-content h2 a {
    color: var(--rit-heading);
}

.resource-featured-interior-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-interior-benefits {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-interior-benefits > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rit-light);
}

.resource-featured-interior-benefits
> div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rit-primary);
    flex: 0 0 auto;
}

.resource-featured-interior-benefits small,
.resource-featured-interior-benefits strong {
    display: block;
}

.resource-featured-interior-benefits small {
    color: var(--rit-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-interior-benefits strong {
    margin-top: 2px;
    color: var(--rit-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-interior-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rit-border);
}

.resource-interior-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.resource-interior-author > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--rit-primary);
    color: #ffffff;
}

.resource-interior-author small,
.resource-interior-author strong {
    display: block;
}

.resource-interior-author small {
    color: var(--rit-caption);
    font-size: 7px;
    font-weight: 700;
}

.resource-interior-author strong {
    margin-top: 2px;
    color: var(--rit-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-interior-content
footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rit-primary);
    font-size: 9px;
    font-weight: 850;
}


/* =========================================================
   TIP CARDS
========================================================= */

.resource-interior-tip-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-interior-tip-card {
    overflow: hidden;
    border: 1px solid var(--rit-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-interior-tip-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-interior-card-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-interior-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-interior-tip-card:hover
.resource-interior-card-media > img {
    transform: scale(1.035);
}

.resource-interior-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rit-primary);
    font-size: 46px;
}

.resource-interior-card-featured {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--rit-accent);
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-interior-card-content {
    padding: 22px;
}

.resource-interior-card-category {
    color: var(--rit-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-interior-card-content h3 {
    margin: 10px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-interior-card-content h3 a {
    color: var(--rit-heading);
}

.resource-interior-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-interior-card-info {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-interior-card-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rit-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-interior-card-info i {
    color: var(--rit-primary);
}

.resource-interior-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rit-border);
}

.resource-interior-card-content
footer > span {
    color: var(--rit-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-interior-card-content
footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rit-primary);
    color: #ffffff;
}

.resource-interior-pagination {
    margin-top: 34px;
}


/* =========================================================
   EMPTY STATES
========================================================= */

.resource-interior-empty-state,
.resource-interior-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-interior-empty-state > span,
.resource-interior-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rit-primary);
    font-size: 27px;
}

.resource-interior-empty-state h3,
.resource-interior-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rit-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-interior-empty-state p,
.resource-interior-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-interior-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-interior-primary-button,
.resource-interior-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-interior-primary-button {
    background: var(--rit-primary);
    color: #ffffff;
}

.resource-interior-secondary-button {
    border: 1px solid var(--rit-border);
    background: #ffffff;
    color: var(--rit-heading);
}


/* =========================================================
   ROOM GUIDANCE
========================================================= */

.resource-interior-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-interior-centered-header > span {
    color: var(--rit-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rit-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-room-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-interior-room-grid article {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--rit-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-interior-room-grid
article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rit-primary);
    font-size: 18px;
}

.resource-interior-room-grid h3 {
    margin: 17px 0 8px;
    color: var(--rit-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-interior-room-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-interior-room-grid a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--rit-primary);
    font-size: 9px;
    font-weight: 850;
}


/* =========================================================
   APPLY TIPS
========================================================= */

.resource-interior-apply-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-interior-apply-heading > span {
    color: var(--rit-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-apply-heading h2 {
    margin: 8px 0 12px;
    color: var(--rit-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-apply-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-apply-steps {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-interior-apply-steps article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 21px;
    border: 1px solid var(--rit-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-interior-apply-steps
article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--rit-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-interior-apply-steps h3 {
    margin: 0 0 6px;
    color: var(--rit-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-interior-apply-steps p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* =========================================================
   FINAL CTA
========================================================= */

.resource-interior-final-cta {
    padding: 0 0 70px;
}

.resource-interior-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rit-primary);
}

.resource-interior-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-interior-final-inner
> div:first-child > span {
    color: var(--rit-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-interior-final-light,
.resource-interior-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-interior-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rit-primary);
}

.resource-interior-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-interior-final-light:hover,
.resource-interior-final-outline:hover {
    transform: translateY(-2px);
}

.resource-interior-final-outline:hover {
    background: #ffffff;
    color: var(--rit-primary);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .resource-interior-filter-form {
        grid-template-columns:
            minmax(180px, 0.7fr)
            minmax(230px, 1fr)
            minmax(170px, 0.7fr)
            auto;
    }

    .resource-interior-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-interior-tip-grid,
    .resource-interior-room-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-interior-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-interior-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-interior-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-interior-media {
        min-height: 380px;
    }

    .resource-interior-apply-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-interior-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-interior-tip-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-interior-tip-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-interior-tip-hero > p {
        font-size: 12px;
    }

    .resource-interior-filter-section {
        margin-top: -18px;
    }

    .resource-interior-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-interior-filter-heading {
        grid-column: auto;
    }

    .resource-interior-filter-form button {
        width: 100%;
    }

    .resource-interior-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-interior-section,
    .resource-interior-results-section,
    .resource-interior-room-section,
    .resource-interior-apply-section {
        padding: 55px 0;
    }

    .resource-interior-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-interior-media,
    .resource-interior-placeholder {
        min-height: 270px;
    }

    .resource-featured-interior-content {
        padding: 27px 22px;
    }

    .resource-featured-interior-content footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-interior-tip-grid,
    .resource-interior-room-grid,
    .resource-interior-apply-steps {
        grid-template-columns: 1fr;
    }

    .resource-interior-card-content > p {
        min-height: auto;
    }

    .resource-interior-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-interior-primary-button,
    .resource-interior-secondary-button {
        width: 100%;
    }

    .resource-interior-final-cta {
        padding-bottom: 55px;
    }

    .resource-interior-final-inner {
        padding: 31px 22px;
    }

    .resource-interior-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-interior-final-light,
    .resource-interior-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-interior-tip-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-interior-category-scroll > a {
        min-width: 180px;
    }

    .resource-interior-card-media {
        height: 210px;
    }
}




/* =========================================================
   INTERIOR TIP DETAIL
   Existing .site-page-hero controls the hero background
   and decorative pseudo-elements.
========================================================= */

.resource-interior-tip-detail-page {
    --rid-heading: #1a1a1a;
    --rid-subheading: #3d3d3d;
    --rid-text: #6b6b6b;
    --rid-caption: #929292;
    --rid-primary: #0f6e56;
    --rid-primary-dark: #094e3d;
    --rid-accent: #e07a3f;
    --rid-yellow: #f4c95d;
    --rid-light: #f5f8f6;
    --rid-border: #dfe8e3;

    /* Required by the reused related-tip cards. */
    --rit-heading: var(--rid-heading);
    --rit-subheading: var(--rid-subheading);
    --rit-text: var(--rid-text);
    --rit-caption: var(--rid-caption);
    --rit-primary: var(--rid-primary);
    --rit-primary-dark: var(--rid-primary-dark);
    --rit-accent: var(--rid-accent);
    --rit-yellow: var(--rid-yellow);
    --rit-light: var(--rid-light);
    --rit-border: var(--rid-border);

    overflow: hidden;
    color: var(--rid-text);
}

.resource-interior-tip-detail-page *,
.resource-interior-tip-detail-page *::before,
.resource-interior-tip-detail-page *::after {
    box-sizing: border-box;
}

.resource-interior-tip-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content */

.resource-interior-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.resource-interior-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-interior-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rid-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-interior-detail-labels
.resource-interior-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rid-accent);
}

.resource-interior-detail-hero h1 {
    max-width: 870px;
    margin: 14px 0;
    color: var(--rid-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-interior-detail-hero > p {
    max-width: 750px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-interior-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-interior-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rid-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-interior-detail-meta i {
    color: var(--rid-primary);
}


/* Cover and overview */

.resource-interior-detail-intro {
    padding: 68px 0;
}

.resource-interior-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    align-items: stretch;
    gap: 28px;
}

.resource-interior-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--rid-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-interior-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.resource-interior-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
    background:
        radial-gradient(
            circle at 76% 22%,
            rgb(244 201 93 / 29%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rid-primary);
    text-align: center;
}

.resource-interior-detail-placeholder i {
    font-size: 64px;
}

.resource-interior-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-interior-detail-cover-label {
    position: absolute;
    bottom: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-interior-detail-overview {
    padding: 30px;
    border: 1px solid var(--rid-border);
    border-radius: 18px;
    background: var(--rid-light);
}

.resource-interior-detail-overview-label,
.resource-interior-sidebar-label {
    display: block;
    color: var(--rid-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 21px;
    border-radius: 15px;
    background: var(--rid-primary);
    color: #ffffff;
    font-size: 22px;
}

.resource-interior-detail-overview h2 {
    margin: 18px 0 9px;
    color: var(--rid-heading);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.resource-interior-detail-overview > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-overview dl {
    margin: 22px 0 0;
}

.resource-interior-detail-overview dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rid-border);
}

.resource-interior-detail-overview dt {
    color: var(--rid-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-interior-detail-overview dd {
    margin: 0;
    color: var(--rid-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-interior-detail-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rid-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rid-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* Main article */

.resource-interior-detail-article-section {
    padding: 72px 0;
    background: var(--rid-light);
}

.resource-interior-detail-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(285px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-interior-detail-article {
    padding: 40px;
    border: 1px solid var(--rid-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-interior-detail-article
> header > span {
    color: var(--rid-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-article
> header h2 {
    margin: 8px 0 23px;
    color: var(--rid-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-interior-detail-rich-content {
    color: var(--rid-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-interior-detail-rich-content p {
    margin: 0 0 20px;
}

.resource-interior-detail-rich-content
p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rid-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-interior-detail-article-footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--rid-border);
}

.resource-interior-detail-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rid-light);
}

.resource-interior-detail-article-footer span,
.resource-interior-detail-article-footer strong {
    display: block;
}

.resource-interior-detail-article-footer span {
    color: var(--rid-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-interior-detail-article-footer strong {
    margin-top: 4px;
    color: var(--rid-heading);
    font-size: 9px;
    font-weight: 850;
}


/* Sidebar */

.resource-interior-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-interior-detail-checklist,
.resource-interior-detail-measure-card,
.resource-interior-detail-consult-card,
.resource-interior-detail-contact-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-interior-detail-checklist,
.resource-interior-detail-measure-card,
.resource-interior-detail-contact-card {
    border: 1px solid var(--rid-border);
    background: #ffffff;
}

.resource-interior-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rid-primary);
    font-size: 19px;
}

.resource-interior-detail-checklist h2,
.resource-interior-detail-measure-card h2,
.resource-interior-detail-consult-card h2 {
    margin: 7px 0 13px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-interior-detail-checklist h2,
.resource-interior-detail-measure-card h2 {
    color: var(--rid-heading);
}

.resource-interior-detail-checklist ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-interior-detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rid-subheading);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.55;
}

.resource-interior-detail-checklist li i {
    margin-top: 2px;
    color: var(--rid-primary);
}

.resource-interior-detail-measure-card p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-consult-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rid-primary);
    color: #ffffff;
}

.resource-interior-detail-consult-card
.resource-interior-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-interior-detail-consult-card
.resource-interior-sidebar-label {
    color: var(--rid-yellow);
}

.resource-interior-detail-consult-card h2 {
    color: #ffffff;
}

.resource-interior-detail-consult-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-consult-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-interior-detail-contact-card {
    display: grid;
    gap: 10px;
}

.resource-interior-detail-contact-card > span {
    margin-bottom: 3px;
    color: var(--rid-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-interior-detail-contact-card > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rid-subheading);
    font-size: 9px;
    font-weight: 700;
    word-break: break-word;
}

.resource-interior-detail-contact-card i {
    color: var(--rid-primary);
}


/* Planning framework */

.resource-interior-detail-framework {
    padding: 72px 0;
}

.resource-interior-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-interior-detail-centered-header > span {
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rid-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-framework-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-interior-detail-framework-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rid-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-interior-detail-framework-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-interior-detail-framework-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rid-primary);
    font-size: 18px;
}

.resource-interior-detail-framework-grid h3 {
    margin: 17px 0 8px;
    color: var(--rid-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-interior-detail-framework-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Mistakes */

.resource-interior-detail-mistakes {
    padding: 72px 0;
    background: var(--rid-light);
}

.resource-interior-detail-mistake-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-interior-detail-mistake-heading > span {
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-mistake-heading h2 {
    margin: 8px 0 12px;
    color: var(--rid-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-detail-mistake-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-mistake-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-interior-detail-mistake-list article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 21px;
    border: 1px solid var(--rid-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-interior-detail-mistake-list
article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0e8;
    color: var(--rid-accent);
    font-size: 12px;
    flex: 0 0 auto;
}

.resource-interior-detail-mistake-list h3 {
    margin: 0 0 6px;
    color: var(--rid-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-interior-detail-mistake-list p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Related tips */

.resource-interior-detail-related {
    padding: 72px 0;
}

.resource-interior-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-interior-detail-section-header
> div > span {
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rid-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rid-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* Final CTA */

.resource-interior-detail-final-cta {
    padding: 0 0 70px;
}

.resource-interior-detail-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rid-primary);
}

.resource-interior-detail-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-interior-detail-final-inner
> div:first-child > span {
    color: var(--rid-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-interior-detail-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-interior-detail-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-interior-detail-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-interior-detail-final-light,
.resource-interior-detail-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-interior-detail-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rid-primary);
}

.resource-interior-detail-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-interior-detail-final-light:hover,
.resource-interior-detail-final-outline:hover {
    transform: translateY(-2px);
}

.resource-interior-detail-final-outline:hover {
    background: #ffffff;
    color: var(--rid-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-interior-detail-framework-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-interior-detail-article-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-interior-detail-intro-grid,
    .resource-interior-detail-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-interior-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-interior-detail-contact-card {
        grid-column: 1 / -1;
    }

    .resource-interior-detail-mistake-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-interior-detail-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-interior-tip-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-interior-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-interior-detail-intro,
    .resource-interior-detail-article-section,
    .resource-interior-detail-framework,
    .resource-interior-detail-mistakes,
    .resource-interior-detail-related {
        padding: 55px 0;
    }

    .resource-interior-detail-cover,
    .resource-interior-detail-cover > img,
    .resource-interior-detail-placeholder {
        min-height: 290px;
    }

    .resource-interior-detail-overview {
        padding: 23px;
    }

    .resource-interior-detail-article {
        padding: 27px 22px;
    }

    .resource-interior-detail-rich-content {
        font-size: 11px;
    }

    .resource-interior-detail-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-interior-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-interior-detail-contact-card {
        grid-column: auto;
    }

    .resource-interior-detail-framework-grid,
    .resource-interior-detail-mistake-list {
        grid-template-columns: 1fr;
    }

    .resource-interior-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .resource-interior-detail-final-cta {
        padding-bottom: 55px;
    }

    .resource-interior-detail-final-inner {
        padding: 31px 22px;
    }

    .resource-interior-detail-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-interior-detail-final-light,
    .resource-interior-detail-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-interior-detail-meta,
    .resource-interior-detail-labels {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-interior-detail-cover,
    .resource-interior-detail-cover > img,
    .resource-interior-detail-placeholder {
        min-height: 245px;
    }

    .resource-interior-detail-overview
    dl > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .resource-interior-detail-overview dd {
        text-align: left;
    }
}






/* =========================================================
   VASTU TIP LIST
   Existing .site-page-hero controls its own background
   and decorative pseudo-elements.
========================================================= */

.resource-vastu-tip-page {
    --rvt-heading: #1a1a1a;
    --rvt-subheading: #3d3d3d;
    --rvt-text: #6b6b6b;
    --rvt-caption: #929292;
    --rvt-primary: #0f6e56;
    --rvt-primary-dark: #094e3d;
    --rvt-accent: #e07a3f;
    --rvt-yellow: #f4c95d;
    --rvt-light: #f5f8f6;
    --rvt-border: #dfe8e3;

    overflow: hidden;
    color: var(--rvt-text);
}

.resource-vastu-tip-page *,
.resource-vastu-tip-page *::before,
.resource-vastu-tip-page *::after {
    box-sizing: border-box;
}

.resource-vastu-tip-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero */

.resource-vastu-tip-hero {
    position: relative;
    z-index: 2;
    max-width: 830px;
}

.resource-vastu-tip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rvt-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-vastu-tip-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rvt-accent);
    content: "";
}

.resource-vastu-tip-hero h1 {
    max-width: 810px;
    margin: 14px 0 15px;
    color: var(--rvt-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-vastu-tip-hero > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-vastu-tip-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-vastu-tip-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rvt-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rvt-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Search and filtering */

.resource-vastu-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-vastu-filter-form {
    display: grid;
    grid-template-columns:
        minmax(200px, 0.7fr)
        minmax(280px, 1.25fr)
        minmax(190px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rvt-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-vastu-filter-heading span,
.resource-vastu-filter-heading strong {
    display: block;
}

.resource-vastu-filter-heading span {
    color: var(--rvt-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-vastu-filter-heading strong {
    margin-top: 4px;
    color: var(--rvt-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-vastu-search-field,
.resource-vastu-category-field {
    position: relative;
}

.resource-vastu-search-field > i,
.resource-vastu-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rvt-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-vastu-search-field input,
.resource-vastu-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rvt-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rvt-light);
    color: var(--rvt-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-vastu-search-field input:focus,
.resource-vastu-category-field select:focus {
    border-color: var(--rvt-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-vastu-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rvt-primary);
    border-radius: 9px;
    background: var(--rvt-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-vastu-clear-filter {
    color: var(--rvt-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Categories */

.resource-vastu-category-section {
    padding: 45px 0 16px;
}

.resource-vastu-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-vastu-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rvt-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-vastu-category-scroll > a:hover,
.resource-vastu-category-scroll > a.active {
    border-color: var(--rvt-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-vastu-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rvt-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-vastu-category-scroll strong,
.resource-vastu-category-scroll small {
    display: block;
}

.resource-vastu-category-scroll strong {
    color: var(--rvt-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-vastu-category-scroll small {
    margin-top: 3px;
    color: var(--rvt-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Traditional guidance notice */

.resource-vastu-disclaimer-section {
    padding: 17px 0 5px;
}

.resource-vastu-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 19px;
    border: 1px solid #eadcb7;
    border-radius: 12px;
    background: #fffaf0;
}

.resource-vastu-disclaimer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: #f8e9bd;
    color: #88681e;
    flex: 0 0 auto;
}

.resource-vastu-disclaimer strong {
    display: block;
    color: #5b481d;
    font-size: 11px;
    font-weight: 850;
}

.resource-vastu-disclaimer p {
    max-width: 950px;
    margin: 4px 0 0;
    color: #74633b;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Shared section headings */

.resource-featured-vastu-section,
.resource-vastu-results-section,
.resource-vastu-room-section,
.resource-vastu-practical-section {
    padding: 70px 0;
}

.resource-vastu-results-section,
.resource-vastu-practical-section {
    background: var(--rvt-light);
}

.resource-vastu-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-vastu-section-header
> div > span {
    color: var(--rvt-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-section-header h2 {
    margin: 7px 0 0;
    color: var(--rvt-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured tip */

.resource-featured-vastu-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, 0.88fr);
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--rvt-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-vastu-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-vastu-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-vastu-card:hover
.resource-featured-vastu-media > img {
    transform: scale(1.025);
}

.resource-vastu-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background:
        radial-gradient(
            circle at 28% 20%,
            rgb(244 201 93 / 30%),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rvt-primary);
}

.resource-vastu-placeholder i {
    font-size: 60px;
}

.resource-vastu-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-vastu-featured-badge,
.resource-vastu-category-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-vastu-featured-badge {
    top: 16px;
    left: 16px;
    background: var(--rvt-accent);
}

.resource-vastu-category-badge {
    bottom: 16px;
    left: 16px;
    background: rgb(15 110 86 / 92%);
    backdrop-filter: blur(8px);
}

.resource-featured-vastu-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-vastu-content-label {
    color: var(--rvt-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-vastu-content h2 {
    margin: 11px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-vastu-content h2 a {
    color: var(--rvt-heading);
}

.resource-featured-vastu-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-vastu-benefits {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-vastu-benefits > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rvt-light);
}

.resource-featured-vastu-benefits
> div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rvt-primary);
    flex: 0 0 auto;
}

.resource-featured-vastu-benefits small,
.resource-featured-vastu-benefits strong {
    display: block;
}

.resource-featured-vastu-benefits small {
    color: var(--rvt-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-vastu-benefits strong {
    margin-top: 2px;
    color: var(--rvt-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-vastu-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rvt-border);
}

.resource-vastu-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.resource-vastu-author > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--rvt-primary);
    color: #ffffff;
}

.resource-vastu-author small,
.resource-vastu-author strong {
    display: block;
}

.resource-vastu-author small {
    color: var(--rvt-caption);
    font-size: 7px;
    font-weight: 700;
}

.resource-vastu-author strong {
    margin-top: 2px;
    color: var(--rvt-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-vastu-content
footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rvt-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Cards */

.resource-vastu-tip-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-vastu-tip-card {
    overflow: hidden;
    border: 1px solid var(--rvt-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-vastu-tip-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-vastu-card-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-vastu-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-vastu-tip-card:hover
.resource-vastu-card-media > img {
    transform: scale(1.035);
}

.resource-vastu-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rvt-primary);
    font-size: 46px;
}

.resource-vastu-card-featured {
    position: absolute;
    top: 13px;
    left: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--rvt-accent);
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-vastu-card-content {
    padding: 22px;
}

.resource-vastu-card-category {
    color: var(--rvt-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-vastu-card-content h3 {
    margin: 10px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-vastu-card-content h3 a {
    color: var(--rvt-heading);
}

.resource-vastu-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-vastu-card-info {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-vastu-card-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rvt-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-vastu-card-info i {
    color: var(--rvt-primary);
}

.resource-vastu-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rvt-border);
}

.resource-vastu-card-content
footer > span {
    color: var(--rvt-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-vastu-card-content
footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rvt-primary);
    color: #ffffff;
}

.resource-vastu-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-vastu-empty-state,
.resource-vastu-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-vastu-empty-state > span,
.resource-vastu-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rvt-primary);
    font-size: 27px;
}

.resource-vastu-empty-state h3,
.resource-vastu-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rvt-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-vastu-empty-state p,
.resource-vastu-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-vastu-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-vastu-primary-button,
.resource-vastu-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-vastu-primary-button {
    background: var(--rvt-primary);
    color: #ffffff;
}

.resource-vastu-secondary-button {
    border: 1px solid var(--rvt-border);
    background: #ffffff;
    color: var(--rvt-heading);
}


/* Room cards */

.resource-vastu-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-vastu-centered-header > span {
    color: var(--rvt-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rvt-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-room-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-vastu-room-grid article {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--rvt-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-vastu-room-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rvt-primary);
    font-size: 18px;
}

.resource-vastu-room-grid h3 {
    margin: 17px 0 8px;
    color: var(--rvt-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-vastu-room-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-vastu-room-grid a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--rvt-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Practical planning */

.resource-vastu-practical-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-vastu-practical-heading > span {
    color: var(--rvt-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-practical-heading h2 {
    margin: 8px 0 12px;
    color: var(--rvt-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-practical-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-practical-steps {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-vastu-practical-steps article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 21px;
    border: 1px solid var(--rvt-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-vastu-practical-steps article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--rvt-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-vastu-practical-steps h3 {
    margin: 0 0 6px;
    color: var(--rvt-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-vastu-practical-steps p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Final CTA */

.resource-vastu-final-cta {
    padding: 0 0 70px;
}

.resource-vastu-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rvt-primary);
}

.resource-vastu-final-inner > div:first-child {
    max-width: 690px;
}

.resource-vastu-final-inner
> div:first-child > span {
    color: var(--rvt-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-final-inner > div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-vastu-final-light,
.resource-vastu-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-vastu-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rvt-primary);
}

.resource-vastu-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-vastu-final-light:hover,
.resource-vastu-final-outline:hover {
    transform: translateY(-2px);
}

.resource-vastu-final-outline:hover {
    background: #ffffff;
    color: var(--rvt-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-vastu-filter-form {
        grid-template-columns:
            minmax(180px, 0.7fr)
            minmax(230px, 1fr)
            minmax(170px, 0.7fr)
            auto;
    }

    .resource-vastu-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-vastu-tip-grid,
    .resource-vastu-room-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-vastu-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-vastu-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-vastu-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-vastu-media {
        min-height: 380px;
    }

    .resource-vastu-practical-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-vastu-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-vastu-tip-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-vastu-tip-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-vastu-tip-hero > p {
        font-size: 12px;
    }

    .resource-vastu-filter-section {
        margin-top: -18px;
    }

    .resource-vastu-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-vastu-filter-heading {
        grid-column: auto;
    }

    .resource-vastu-filter-form button {
        width: 100%;
    }

    .resource-vastu-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-vastu-section,
    .resource-vastu-results-section,
    .resource-vastu-room-section,
    .resource-vastu-practical-section {
        padding: 55px 0;
    }

    .resource-vastu-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-vastu-media,
    .resource-vastu-placeholder {
        min-height: 270px;
    }

    .resource-featured-vastu-content {
        padding: 27px 22px;
    }

    .resource-featured-vastu-content footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-vastu-tip-grid,
    .resource-vastu-room-grid,
    .resource-vastu-practical-steps {
        grid-template-columns: 1fr;
    }

    .resource-vastu-card-content > p {
        min-height: auto;
    }

    .resource-vastu-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-vastu-primary-button,
    .resource-vastu-secondary-button {
        width: 100%;
    }

    .resource-vastu-final-cta {
        padding-bottom: 55px;
    }

    .resource-vastu-final-inner {
        padding: 31px 22px;
    }

    .resource-vastu-final-inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-vastu-final-light,
    .resource-vastu-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-vastu-tip-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-vastu-category-scroll > a {
        min-width: 180px;
    }

    .resource-vastu-card-media {
        height: 210px;
    }

    .resource-vastu-disclaimer {
        flex-direction: column;
    }
}



/* =========================================================
   VASTU TIP DETAIL
   Existing .site-page-hero controls the hero background
   and decorative pseudo-elements.
========================================================= */

.resource-vastu-detail-page {
    --rvd-heading: #1a1a1a;
    --rvd-subheading: #3d3d3d;
    --rvd-text: #6b6b6b;
    --rvd-caption: #929292;
    --rvd-primary: #0f6e56;
    --rvd-primary-dark: #094e3d;
    --rvd-accent: #e07a3f;
    --rvd-yellow: #f4c95d;
    --rvd-light: #f5f8f6;
    --rvd-border: #dfe8e3;

    /* Variables required by reused Vastu cards. */
    --rvt-heading: var(--rvd-heading);
    --rvt-subheading: var(--rvd-subheading);
    --rvt-text: var(--rvd-text);
    --rvt-caption: var(--rvd-caption);
    --rvt-primary: var(--rvd-primary);
    --rvt-primary-dark: var(--rvd-primary-dark);
    --rvt-accent: var(--rvd-accent);
    --rvt-yellow: var(--rvd-yellow);
    --rvt-light: var(--rvd-light);
    --rvt-border: var(--rvd-border);

    overflow: hidden;
    color: var(--rvd-text);
}

.resource-vastu-detail-page *,
.resource-vastu-detail-page *::before,
.resource-vastu-detail-page *::after {
    box-sizing: border-box;
}

.resource-vastu-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero */

.resource-vastu-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.resource-vastu-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-vastu-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rvd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-vastu-detail-labels
.resource-vastu-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rvd-accent);
}

.resource-vastu-detail-hero h1 {
    max-width: 870px;
    margin: 14px 0;
    color: var(--rvd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-vastu-detail-hero > p {
    max-width: 750px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-vastu-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-vastu-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rvd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-vastu-detail-meta i {
    color: var(--rvd-primary);
}


/* Traditional notice */

.resource-vastu-detail-notice-section {
    padding: 35px 0 0;
}

.resource-vastu-detail-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 19px;
    border: 1px solid #eadcb7;
    border-radius: 12px;
    background: #fffaf0;
}

.resource-vastu-detail-notice > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: #f8e9bd;
    color: #88681e;
    flex: 0 0 auto;
}

.resource-vastu-detail-notice strong {
    display: block;
    color: #5b481d;
    font-size: 11px;
    font-weight: 850;
}

.resource-vastu-detail-notice p {
    max-width: 950px;
    margin: 4px 0 0;
    color: #74633b;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Cover and overview */

.resource-vastu-detail-intro {
    padding: 45px 0 68px;
}

.resource-vastu-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(310px, 0.65fr);
    align-items: stretch;
    gap: 28px;
}

.resource-vastu-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    border: 1px solid var(--rvd-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-vastu-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.resource-vastu-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 510px;
    background:
        radial-gradient(
            circle at 76% 22%,
            rgb(244 201 93 / 29%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rvd-primary);
    text-align: center;
}

.resource-vastu-detail-placeholder i {
    font-size: 64px;
}

.resource-vastu-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-vastu-detail-cover-label {
    position: absolute;
    bottom: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-vastu-detail-overview {
    padding: 30px;
    border: 1px solid var(--rvd-border);
    border-radius: 18px;
    background: var(--rvd-light);
}

.resource-vastu-detail-overview-label,
.resource-vastu-sidebar-label {
    display: block;
    color: var(--rvd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 21px;
    border-radius: 15px;
    background: var(--rvd-primary);
    color: #ffffff;
    font-size: 22px;
}

.resource-vastu-detail-overview h2 {
    margin: 18px 0 9px;
    color: var(--rvd-heading);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.resource-vastu-detail-overview > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-overview dl {
    margin: 22px 0 0;
}

.resource-vastu-detail-overview dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rvd-border);
}

.resource-vastu-detail-overview dt {
    color: var(--rvd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-vastu-detail-overview dd {
    margin: 0;
    color: var(--rvd-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-vastu-detail-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rvd-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rvd-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* Article */

.resource-vastu-detail-article-section {
    padding: 72px 0;
    background: var(--rvd-light);
}

.resource-vastu-detail-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(285px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-vastu-detail-article {
    padding: 40px;
    border: 1px solid var(--rvd-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-vastu-detail-article
> header > span {
    color: var(--rvd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-article
> header h2 {
    margin: 8px 0 23px;
    color: var(--rvd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-vastu-detail-rich-content {
    color: var(--rvd-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-vastu-detail-rich-content p {
    margin: 0 0 20px;
}

.resource-vastu-detail-rich-content
p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rvd-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-vastu-detail-article-footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--rvd-border);
}

.resource-vastu-detail-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rvd-light);
}

.resource-vastu-detail-article-footer span,
.resource-vastu-detail-article-footer strong {
    display: block;
}

.resource-vastu-detail-article-footer span {
    color: var(--rvd-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-vastu-detail-article-footer strong {
    margin-top: 4px;
    color: var(--rvd-heading);
    font-size: 9px;
    font-weight: 850;
}


/* Sidebar */

.resource-vastu-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-vastu-detail-checklist,
.resource-vastu-detail-practical-card,
.resource-vastu-detail-consult-card,
.resource-vastu-detail-contact-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-vastu-detail-checklist,
.resource-vastu-detail-practical-card,
.resource-vastu-detail-contact-card {
    border: 1px solid var(--rvd-border);
    background: #ffffff;
}

.resource-vastu-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rvd-primary);
    font-size: 19px;
}

.resource-vastu-detail-checklist h2,
.resource-vastu-detail-practical-card h2,
.resource-vastu-detail-consult-card h2 {
    margin: 7px 0 13px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-vastu-detail-checklist h2,
.resource-vastu-detail-practical-card h2 {
    color: var(--rvd-heading);
}

.resource-vastu-detail-checklist ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-vastu-detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rvd-subheading);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.55;
}

.resource-vastu-detail-checklist li i {
    margin-top: 2px;
    color: var(--rvd-primary);
}

.resource-vastu-detail-practical-card p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-consult-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rvd-primary);
    color: #ffffff;
}

.resource-vastu-detail-consult-card
.resource-vastu-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-vastu-detail-consult-card
.resource-vastu-sidebar-label {
    color: var(--rvd-yellow);
}

.resource-vastu-detail-consult-card h2 {
    color: #ffffff;
}

.resource-vastu-detail-consult-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-consult-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-vastu-detail-contact-card {
    display: grid;
    gap: 10px;
}

.resource-vastu-detail-contact-card > span {
    margin-bottom: 3px;
    color: var(--rvd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-vastu-detail-contact-card > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rvd-subheading);
    font-size: 9px;
    font-weight: 700;
    word-break: break-word;
}

.resource-vastu-detail-contact-card i {
    color: var(--rvd-primary);
}


/* Framework */

.resource-vastu-detail-framework {
    padding: 72px 0;
}

.resource-vastu-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-vastu-detail-centered-header > span {
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rvd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-framework-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-vastu-detail-framework-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rvd-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-vastu-detail-framework-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-vastu-detail-framework-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rvd-primary);
    font-size: 18px;
}

.resource-vastu-detail-framework-grid h3 {
    margin: 17px 0 8px;
    color: var(--rvd-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-vastu-detail-framework-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Mistakes */

.resource-vastu-detail-mistakes {
    padding: 72px 0;
    background: var(--rvd-light);
}

.resource-vastu-detail-mistake-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-vastu-detail-mistake-heading > span {
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-mistake-heading h2 {
    margin: 8px 0 12px;
    color: var(--rvd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-detail-mistake-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-mistake-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-vastu-detail-mistake-list article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 21px;
    border: 1px solid var(--rvd-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-vastu-detail-mistake-list article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0e8;
    color: var(--rvd-accent);
    font-size: 12px;
    flex: 0 0 auto;
}

.resource-vastu-detail-mistake-list h3 {
    margin: 0 0 6px;
    color: var(--rvd-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-vastu-detail-mistake-list p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Related */

.resource-vastu-detail-related {
    padding: 72px 0;
}

.resource-vastu-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-vastu-detail-section-header
> div > span {
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rvd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rvd-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* Final CTA */

.resource-vastu-detail-final-cta {
    padding: 0 0 70px;
}

.resource-vastu-detail-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rvd-primary);
}

.resource-vastu-detail-final-inner > div:first-child {
    max-width: 690px;
}

.resource-vastu-detail-final-inner
> div:first-child > span {
    color: var(--rvd-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-vastu-detail-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-vastu-detail-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-vastu-detail-final-inner > div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-vastu-detail-final-light,
.resource-vastu-detail-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-vastu-detail-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rvd-primary);
}

.resource-vastu-detail-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-vastu-detail-final-light:hover,
.resource-vastu-detail-final-outline:hover {
    transform: translateY(-2px);
}

.resource-vastu-detail-final-outline:hover {
    background: #ffffff;
    color: var(--rvd-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-vastu-detail-framework-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-vastu-detail-article-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-vastu-detail-intro-grid,
    .resource-vastu-detail-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-vastu-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-vastu-detail-contact-card {
        grid-column: 1 / -1;
    }

    .resource-vastu-detail-mistake-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-vastu-detail-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-vastu-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-vastu-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-vastu-detail-intro,
    .resource-vastu-detail-article-section,
    .resource-vastu-detail-framework,
    .resource-vastu-detail-mistakes,
    .resource-vastu-detail-related {
        padding: 55px 0;
    }

    .resource-vastu-detail-cover,
    .resource-vastu-detail-cover > img,
    .resource-vastu-detail-placeholder {
        min-height: 290px;
    }

    .resource-vastu-detail-overview {
        padding: 23px;
    }

    .resource-vastu-detail-article {
        padding: 27px 22px;
    }

    .resource-vastu-detail-rich-content {
        font-size: 11px;
    }

    .resource-vastu-detail-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-vastu-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-vastu-detail-contact-card {
        grid-column: auto;
    }

    .resource-vastu-detail-framework-grid,
    .resource-vastu-detail-mistake-list {
        grid-template-columns: 1fr;
    }

    .resource-vastu-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .resource-vastu-detail-final-cta {
        padding-bottom: 55px;
    }

    .resource-vastu-detail-final-inner {
        padding: 31px 22px;
    }

    .resource-vastu-detail-final-inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-vastu-detail-final-light,
    .resource-vastu-detail-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-vastu-detail-meta,
    .resource-vastu-detail-labels {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-vastu-detail-notice {
        flex-direction: column;
    }

    .resource-vastu-detail-cover,
    .resource-vastu-detail-cover > img,
    .resource-vastu-detail-placeholder {
        min-height: 245px;
    }

    .resource-vastu-detail-overview dl > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .resource-vastu-detail-overview dd {
        text-align: left;
    }
}



/* =========================================================
   DOWNLOAD LIST
   Existing .site-page-hero controls its own background
   and decorative pseudo-elements.
========================================================= */

.resource-download-page {
    --rdl-heading: #1a1a1a;
    --rdl-subheading: #3d3d3d;
    --rdl-text: #6b6b6b;
    --rdl-caption: #929292;
    --rdl-primary: #0f6e56;
    --rdl-primary-dark: #094e3d;
    --rdl-accent: #e07a3f;
    --rdl-yellow: #f4c95d;
    --rdl-light: #f5f8f6;
    --rdl-border: #dfe8e3;

    overflow: hidden;
    color: var(--rdl-text);
}

.resource-download-page *,
.resource-download-page *::before,
.resource-download-page *::after {
    box-sizing: border-box;
}

.resource-download-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero */

.resource-download-hero {
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.resource-download-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rdl-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-download-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rdl-accent);
    content: "";
}

.resource-download-hero h1 {
    max-width: 820px;
    margin: 14px 0 15px;
    color: var(--rdl-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-download-hero > p {
    max-width: 710px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-download-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-download-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rdl-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rdl-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Filters */

.resource-download-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-download-filter-form {
    display: grid;
    grid-template-columns:
        minmax(165px, 0.65fr)
        minmax(245px, 1.2fr)
        minmax(170px, 0.75fr)
        minmax(140px, 0.55fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rdl-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-download-filter-heading span,
.resource-download-filter-heading strong {
    display: block;
}

.resource-download-filter-heading span {
    color: var(--rdl-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-download-filter-heading strong {
    margin-top: 4px;
    color: var(--rdl-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-download-search-field,
.resource-download-category-field,
.resource-download-type-field {
    position: relative;
}

.resource-download-search-field > i,
.resource-download-category-field > i,
.resource-download-type-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rdl-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-download-search-field input,
.resource-download-category-field select,
.resource-download-type-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rdl-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rdl-light);
    color: var(--rdl-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-download-search-field input:focus,
.resource-download-category-field select:focus,
.resource-download-type-field select:focus {
    border-color: var(--rdl-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-download-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rdl-primary);
    border-radius: 9px;
    background: var(--rdl-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-download-clear-filter {
    color: var(--rdl-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Categories */

.resource-download-category-section {
    padding: 45px 0 16px;
}

.resource-download-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-download-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rdl-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-download-category-scroll > a:hover,
.resource-download-category-scroll > a.active {
    border-color: var(--rdl-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-download-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rdl-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-download-category-scroll strong,
.resource-download-category-scroll small {
    display: block;
}

.resource-download-category-scroll strong {
    color: var(--rdl-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-download-category-scroll small {
    margin-top: 3px;
    color: var(--rdl-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Notice */

.resource-download-notice-section {
    padding: 17px 0 5px;
}

.resource-download-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 19px;
    border: 1px solid #cfe1d8;
    border-radius: 12px;
    background: #f1f7f4;
}

.resource-download-notice > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: #dcece4;
    color: var(--rdl-primary);
    flex: 0 0 auto;
}

.resource-download-notice strong {
    display: block;
    color: var(--rdl-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-download-notice p {
    max-width: 950px;
    margin: 4px 0 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Sections */

.resource-featured-download-section,
.resource-download-results-section,
.resource-download-types-section,
.resource-download-steps-section {
    padding: 70px 0;
}

.resource-download-results-section,
.resource-download-steps-section {
    background: var(--rdl-light);
}

.resource-download-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-download-section-header
> div > span {
    color: var(--rdl-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-download-section-header h2 {
    margin: 7px 0 0;
    color: var(--rdl-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-download-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured card */

.resource-featured-download-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(370px, 0.95fr);
    overflow: hidden;
    min-height: 490px;
    border: 1px solid var(--rdl-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-download-media {
    position: relative;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-download-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-download-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 490px;
    background:
        radial-gradient(
            circle at 28% 20%,
            rgb(244 201 93 / 30%),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rdl-primary);
}

.resource-download-placeholder i {
    font-size: 62px;
}

.resource-download-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-download-featured-badge,
.resource-download-type-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-download-featured-badge {
    top: 16px;
    left: 16px;
    background: var(--rdl-accent);
}

.resource-download-type-badge {
    right: 16px;
    bottom: 16px;
    background: rgb(15 110 86 / 92%);
}

.resource-featured-download-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-download-content-label {
    color: var(--rdl-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-download-content h2 {
    margin: 11px 0 13px;
    color: var(--rdl-heading);
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-download-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-download-info {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-download-info > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rdl-light);
}

.resource-featured-download-info
> div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rdl-primary);
    flex: 0 0 auto;
}

.resource-featured-download-info small,
.resource-featured-download-info strong {
    display: block;
}

.resource-featured-download-info small {
    color: var(--rdl-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-download-info strong {
    margin-top: 2px;
    color: var(--rdl-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-download-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rdl-border);
}

.resource-featured-download-content footer span,
.resource-featured-download-content footer small {
    display: block;
}

.resource-featured-download-content footer span {
    color: var(--rdl-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-download-content footer small {
    margin-top: 3px;
    color: var(--rdl-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-featured-download-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 9px;
    background: var(--rdl-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* Download cards */

.resource-download-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-download-card {
    overflow: hidden;
    border: 1px solid var(--rdl-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-download-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-download-card-media {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-download-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-download-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rdl-primary);
    font-size: 46px;
}

.resource-download-card-type,
.resource-download-card-featured {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-download-card-type {
    right: 13px;
    bottom: 13px;
    background: rgb(15 110 86 / 92%);
}

.resource-download-card-featured {
    top: 13px;
    left: 13px;
    background: var(--rdl-accent);
}

.resource-download-card-content {
    padding: 22px;
}

.resource-download-card-category {
    color: var(--rdl-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-download-card-content h3 {
    margin: 10px 0 9px;
    color: var(--rdl-heading);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-download-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-download-card-meta {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-download-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rdl-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-download-card-meta i {
    color: var(--rdl-primary);
}

.resource-download-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rdl-border);
}

.resource-download-card-content
footer > span {
    color: var(--rdl-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-download-card-content
footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 9px;
    background: var(--rdl-primary);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
}

.resource-download-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-download-empty-state,
.resource-download-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-download-empty-state > span,
.resource-download-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rdl-primary);
    font-size: 27px;
}

.resource-download-empty-state h3,
.resource-download-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rdl-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-download-empty-state p,
.resource-download-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-download-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-download-primary-button,
.resource-download-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-download-primary-button {
    background: var(--rdl-primary);
    color: #ffffff;
}

.resource-download-secondary-button {
    border: 1px solid var(--rdl-border);
    background: #ffffff;
    color: var(--rdl-heading);
}


/* Resource type cards */

.resource-download-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-download-centered-header > span {
    color: var(--rdl-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-download-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rdl-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-download-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-download-types-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-download-types-grid article {
    padding: 27px;
    border: 1px solid var(--rdl-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-download-types-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rdl-primary);
    font-size: 18px;
}

.resource-download-types-grid h3 {
    margin: 17px 0 8px;
    color: var(--rdl-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-download-types-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Steps */

.resource-download-steps-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-download-steps-heading > span {
    color: var(--rdl-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-download-steps-heading h2 {
    margin: 8px 0 12px;
    color: var(--rdl-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-download-steps-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-download-steps {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-download-steps article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 21px;
    border: 1px solid var(--rdl-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-download-steps article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--rdl-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-download-steps h3 {
    margin: 0 0 6px;
    color: var(--rdl-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-download-steps p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Final CTA */

.resource-download-final-cta {
    padding: 0 0 70px;
}

.resource-download-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rdl-primary);
}

.resource-download-final-inner > div:first-child {
    max-width: 690px;
}

.resource-download-final-inner
> div:first-child > span {
    color: var(--rdl-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-download-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-download-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-download-final-inner > div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-download-final-light,
.resource-download-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
}

.resource-download-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rdl-primary);
}

.resource-download-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}


/* Responsive */

@media (max-width: 1100px) {
    .resource-download-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-download-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-download-clear-filter {
        justify-self: end;
    }

    .resource-download-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-featured-download-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-download-media {
        min-height: 380px;
    }

    .resource-download-types-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-download-steps-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-download-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-download-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-download-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-download-filter-section {
        margin-top: -18px;
    }

    .resource-download-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-download-filter-heading {
        grid-column: auto;
    }

    .resource-download-filter-form button {
        width: 100%;
    }

    .resource-download-clear-filter {
        justify-self: center;
    }

    .resource-featured-download-section,
    .resource-download-results-section,
    .resource-download-types-section,
    .resource-download-steps-section {
        padding: 55px 0;
    }

    .resource-download-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-download-media,
    .resource-download-placeholder {
        min-height: 270px;
    }

    .resource-featured-download-content {
        padding: 27px 22px;
    }

    .resource-featured-download-content footer {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-featured-download-content footer > a {
        width: 100%;
    }

    .resource-download-grid,
    .resource-download-types-grid,
    .resource-download-steps {
        grid-template-columns: 1fr;
    }

    .resource-download-card-content > p {
        min-height: auto;
    }

    .resource-download-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-download-primary-button,
    .resource-download-secondary-button {
        width: 100%;
    }

    .resource-download-final-inner {
        padding: 31px 22px;
    }

    .resource-download-final-inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-download-final-light,
    .resource-download-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-download-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-download-category-scroll > a {
        min-width: 180px;
    }

    .resource-download-notice {
        flex-direction: column;
    }

    .resource-download-card-media {
        height: 205px;
    }

    .resource-download-card-content footer {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-download-card-content footer > a {
        width: 100%;
    }
}




/* =========================================================
   MAGAZINE LIST
========================================================= */

.resource-magazine-page {
    --rmg-heading: #1a1a1a;
    --rmg-subheading: #3d3d3d;
    --rmg-text: #6b6b6b;
    --rmg-caption: #929292;
    --rmg-primary: #0f6e56;
    --rmg-accent: #e07a3f;
    --rmg-yellow: #f4c95d;
    --rmg-light: #f5f8f6;
    --rmg-border: #dfe8e3;

    overflow: hidden;
    color: var(--rmg-text);
}

.resource-magazine-page *,
.resource-magazine-page *::before,
.resource-magazine-page *::after {
    box-sizing: border-box;
}

.resource-magazine-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero */

.resource-magazine-hero {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.resource-magazine-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rmg-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-magazine-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rmg-accent);
    content: "";
}

.resource-magazine-hero h1 {
    max-width: 820px;
    margin: 14px 0 15px;
    color: var(--rmg-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-magazine-hero > p {
    max-width: 710px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-magazine-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-magazine-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rmg-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rmg-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Filter */

.resource-magazine-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-magazine-filter-form {
    display: grid;
    grid-template-columns:
        minmax(190px, 0.7fr)
        minmax(290px, 1.25fr)
        minmax(190px, 0.75fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rmg-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-magazine-filter-heading span,
.resource-magazine-filter-heading strong {
    display: block;
}

.resource-magazine-filter-heading span {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-magazine-filter-heading strong {
    margin-top: 4px;
    color: var(--rmg-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-magazine-search-field,
.resource-magazine-category-field {
    position: relative;
}

.resource-magazine-search-field > i,
.resource-magazine-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rmg-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-magazine-search-field input,
.resource-magazine-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rmg-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rmg-light);
    color: var(--rmg-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-magazine-search-field input:focus,
.resource-magazine-category-field select:focus {
    border-color: var(--rmg-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-magazine-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rmg-primary);
    border-radius: 9px;
    background: var(--rmg-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-magazine-clear-filter {
    color: var(--rmg-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Categories */

.resource-magazine-category-section {
    padding: 45px 0 20px;
}

.resource-magazine-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-magazine-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rmg-border);
    border-radius: 12px;
    background: #ffffff;
    transition: 160ms ease;
}

.resource-magazine-category-scroll > a:hover,
.resource-magazine-category-scroll > a.active {
    border-color: var(--rmg-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-magazine-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rmg-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-magazine-category-scroll strong,
.resource-magazine-category-scroll small {
    display: block;
}

.resource-magazine-category-scroll strong {
    color: var(--rmg-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-magazine-category-scroll small {
    margin-top: 3px;
    color: var(--rmg-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Sections */

.resource-featured-magazine-section,
.resource-magazine-results-section,
.resource-magazine-topics-section,
.resource-magazine-reading-section {
    padding: 70px 0;
}

.resource-magazine-results-section,
.resource-magazine-reading-section {
    background: var(--rmg-light);
}

.resource-magazine-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-magazine-section-header > div > span {
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-section-header h2 {
    margin: 7px 0 0;
    color: var(--rmg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-magazine-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured */

.resource-featured-magazine-card {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(390px, 1.1fr);
    overflow: hidden;
    min-height: 520px;
    border: 1px solid var(--rmg-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-magazine-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-magazine-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-magazine-card:hover
.resource-featured-magazine-media > img {
    transform: scale(1.025);
}

.resource-magazine-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 520px;
    background:
        radial-gradient(
            circle at 25% 18%,
            rgb(244 201 93 / 28%),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rmg-primary);
}

.resource-magazine-placeholder i {
    font-size: 62px;
}

.resource-magazine-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-magazine-featured-badge,
.resource-magazine-issue-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-magazine-featured-badge {
    top: 16px;
    left: 16px;
    background: var(--rmg-accent);
}

.resource-magazine-issue-badge {
    right: 16px;
    bottom: 16px;
    background: rgb(15 110 86 / 92%);
}

.resource-featured-magazine-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-magazine-content-label {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-magazine-content h2 {
    margin: 11px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-magazine-content h2 a {
    color: var(--rmg-heading);
}

.resource-featured-magazine-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-magazine-info {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-magazine-info > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rmg-light);
}

.resource-featured-magazine-info > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rmg-primary);
    flex: 0 0 auto;
}

.resource-featured-magazine-info small,
.resource-featured-magazine-info strong {
    display: block;
}

.resource-featured-magazine-info small {
    color: var(--rmg-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-magazine-info strong {
    margin-top: 2px;
    color: var(--rmg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-magazine-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rmg-border);
}

.resource-featured-magazine-content footer span,
.resource-featured-magazine-content footer small {
    display: block;
}

.resource-featured-magazine-content footer span {
    color: var(--rmg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-magazine-content footer small {
    margin-top: 3px;
    color: var(--rmg-caption);
    font-size: 7px;
}

.resource-featured-magazine-content footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Cards */

.resource-magazine-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-magazine-card {
    overflow: hidden;
    border: 1px solid var(--rmg-border);
    border-radius: 16px;
    background: #ffffff;
    transition: 170ms ease;
}

.resource-magazine-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-magazine-card-media {
    position: relative;
    display: block;
    height: 290px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-magazine-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-magazine-card:hover
.resource-magazine-card-media > img {
    transform: scale(1.035);
}

.resource-magazine-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(145deg, #eaf3ee, #d8e6df);
    color: var(--rmg-primary);
    font-size: 48px;
}

.resource-magazine-card-featured,
.resource-magazine-card-issue {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-magazine-card-featured {
    top: 13px;
    left: 13px;
    background: var(--rmg-accent);
}

.resource-magazine-card-issue {
    right: 13px;
    bottom: 13px;
    background: rgb(15 110 86 / 92%);
}

.resource-magazine-card-content {
    padding: 22px;
}

.resource-magazine-card-category {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-magazine-card-content h3 {
    margin: 10px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-magazine-card-content h3 a {
    color: var(--rmg-heading);
}

.resource-magazine-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-magazine-card-meta {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-magazine-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rmg-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-magazine-card-meta i {
    color: var(--rmg-primary);
}

.resource-magazine-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rmg-border);
}

.resource-magazine-card-content footer > span {
    color: var(--rmg-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-magazine-card-content footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rmg-primary);
    color: #ffffff;
}

.resource-magazine-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-magazine-empty-state,
.resource-magazine-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-magazine-empty-state > span,
.resource-magazine-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rmg-primary);
    font-size: 27px;
}

.resource-magazine-empty-state h3,
.resource-magazine-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rmg-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-magazine-empty-state p,
.resource-magazine-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    line-height: 1.7;
}

.resource-magazine-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-magazine-primary-button,
.resource-magazine-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-magazine-primary-button {
    background: var(--rmg-primary);
    color: #ffffff;
}

.resource-magazine-secondary-button {
    border: 1px solid var(--rmg-border);
    background: #ffffff;
    color: var(--rmg-heading);
}


/* Topics */

.resource-magazine-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-magazine-centered-header > span {
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rmg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
}

.resource-magazine-centered-header p {
    margin: 0;
    font-size: 10px;
    line-height: 1.75;
}

.resource-magazine-topics-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-magazine-topics-grid article {
    padding: 27px;
    border: 1px solid var(--rmg-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-magazine-topics-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rmg-primary);
    font-size: 18px;
}

.resource-magazine-topics-grid h3 {
    margin: 17px 0 8px;
    color: var(--rmg-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-magazine-topics-grid p {
    margin: 0;
    font-size: 9px;
    line-height: 1.7;
}


/* Reading steps */

.resource-magazine-reading-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    gap: 55px;
}

.resource-magazine-reading-heading > span {
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-reading-heading h2 {
    margin: 8px 0 12px;
    color: var(--rmg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
}

.resource-magazine-reading-heading p {
    margin: 0;
    font-size: 10px;
    line-height: 1.75;
}

.resource-magazine-reading-steps {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-magazine-reading-steps article {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 21px;
    border: 1px solid var(--rmg-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-magazine-reading-steps article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--rmg-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    flex: 0 0 auto;
}

.resource-magazine-reading-steps h3 {
    margin: 0 0 6px;
    color: var(--rmg-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-magazine-reading-steps p {
    margin: 0;
    font-size: 8px;
    line-height: 1.65;
}


/* CTA */

.resource-magazine-final-cta {
    padding: 0 0 70px;
}

.resource-magazine-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rmg-primary);
}

.resource-magazine-final-inner > div:first-child {
    max-width: 690px;
}

.resource-magazine-final-inner
> div:first-child > span {
    color: var(--rmg-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
}

.resource-magazine-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    line-height: 1.75;
}

.resource-magazine-final-inner > div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-magazine-final-light,
.resource-magazine-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
}

.resource-magazine-final-light {
    background: #ffffff;
    color: var(--rmg-primary);
}

.resource-magazine-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-magazine-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-magazine-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-magazine-grid,
    .resource-magazine-topics-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-featured-magazine-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-magazine-media {
        min-height: 420px;
    }

    .resource-magazine-reading-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-magazine-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-magazine-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-magazine-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-magazine-filter-section {
        margin-top: -18px;
    }

    .resource-magazine-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-magazine-filter-heading {
        grid-column: auto;
    }

    .resource-magazine-filter-form button {
        width: 100%;
    }

    .resource-magazine-clear-filter {
        justify-self: center;
    }

    .resource-featured-magazine-section,
    .resource-magazine-results-section,
    .resource-magazine-topics-section,
    .resource-magazine-reading-section {
        padding: 55px 0;
    }

    .resource-magazine-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-magazine-media,
    .resource-magazine-placeholder {
        min-height: 320px;
    }

    .resource-featured-magazine-content {
        padding: 27px 22px;
    }

    .resource-featured-magazine-content footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-magazine-grid,
    .resource-magazine-topics-grid,
    .resource-magazine-reading-steps {
        grid-template-columns: 1fr;
    }

    .resource-magazine-card-content > p {
        min-height: auto;
    }

    .resource-magazine-final-inner {
        padding: 31px 22px;
    }

    .resource-magazine-final-inner > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-magazine-final-light,
    .resource-magazine-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-magazine-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-magazine-category-scroll > a {
        min-width: 180px;
    }

    .resource-magazine-card-media {
        height: 250px;
    }
}





/* =========================================================
   MAGAZINE DETAIL
   Existing .site-page-hero controls its background and
   decorative pseudo-elements.
========================================================= */

.resource-magazine-detail-page {
    --rmd-heading: #1a1a1a;
    --rmd-subheading: #3d3d3d;
    --rmd-text: #6b6b6b;
    --rmd-caption: #929292;
    --rmd-primary: #0f6e56;
    --rmd-primary-dark: #094e3d;
    --rmd-accent: #e07a3f;
    --rmd-yellow: #f4c95d;
    --rmd-light: #f5f8f6;
    --rmd-border: #dfe8e3;

    /* Required by related magazine cards. */
    --rmg-heading: var(--rmd-heading);
    --rmg-subheading: var(--rmd-subheading);
    --rmg-text: var(--rmd-text);
    --rmg-caption: var(--rmd-caption);
    --rmg-primary: var(--rmd-primary);
    --rmg-accent: var(--rmd-accent);
    --rmg-yellow: var(--rmd-yellow);
    --rmg-light: var(--rmd-light);
    --rmg-border: var(--rmd-border);

    overflow: hidden;
    color: var(--rmd-text);
}

.resource-magazine-detail-page *,
.resource-magazine-detail-page *::before,
.resource-magazine-detail-page *::after {
    box-sizing: border-box;
}

.resource-magazine-detail-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero */

.resource-magazine-detail-hero {
    position: relative;
    z-index: 2;
    max-width: 890px;
}

.resource-magazine-detail-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resource-magazine-detail-labels span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--rmd-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-magazine-detail-labels
.resource-magazine-detail-featured {
    border-color: rgb(224 122 63 / 25%);
    background: #fff0e8;
    color: var(--rmd-accent);
}

.resource-magazine-detail-hero h1 {
    max-width: 880px;
    margin: 14px 0;
    color: var(--rmd-heading);
    font-size: clamp(31px, 4vw, 49px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.resource-magazine-detail-hero > p {
    max-width: 760px;
    margin: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-magazine-detail-meta {
    display: flex;
    gap: 10px 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-magazine-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 750;
}

.resource-magazine-detail-meta i {
    color: var(--rmd-primary);
}


/* Cover and overview */

.resource-magazine-detail-intro {
    padding: 68px 0;
}

.resource-magazine-detail-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, 0.8fr);
    align-items: stretch;
    gap: 28px;
}

.resource-magazine-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    border: 1px solid var(--rmd-border);
    border-radius: 19px;
    background: #dfe9e4;
}

.resource-magazine-detail-cover > img {
    width: 100%;
    height: 100%;
    min-height: 590px;
    object-fit: cover;
}

.resource-magazine-detail-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 590px;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgb(244 201 93 / 29%),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e6de
        );
    color: var(--rmd-primary);
    text-align: center;
}

.resource-magazine-detail-placeholder i {
    font-size: 68px;
}

.resource-magazine-detail-placeholder span {
    margin-top: 15px;
    font-size: 10px;
    font-weight: 800;
}

.resource-magazine-detail-cover-label {
    position: absolute;
    bottom: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgb(15 110 86 / 92%);
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.resource-magazine-detail-overview {
    padding: 30px;
    border: 1px solid var(--rmd-border);
    border-radius: 18px;
    background: var(--rmd-light);
}

.resource-magazine-detail-overview-label,
.resource-magazine-sidebar-label {
    display: block;
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-top: 21px;
    border-radius: 15px;
    background: var(--rmd-primary);
    color: #ffffff;
    font-size: 22px;
}

.resource-magazine-detail-overview h2 {
    margin: 18px 0 9px;
    color: var(--rmd-heading);
    font-size: 21px;
    font-weight: 850;
    line-height: 1.25;
}

.resource-magazine-detail-overview > p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-overview dl {
    margin: 22px 0 0;
}

.resource-magazine-detail-overview dl > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rmd-border);
}

.resource-magazine-detail-overview dt {
    color: var(--rmd-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-magazine-detail-overview dd {
    margin: 0;
    color: var(--rmd-heading);
    font-size: 9px;
    font-weight: 850;
    text-align: right;
}

.resource-magazine-detail-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--rmd-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--rmd-heading);
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}


/* Main article */

.resource-magazine-detail-article-section {
    padding: 72px 0;
    background: var(--rmd-light);
}

.resource-magazine-detail-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(285px, 0.34fr);
    align-items: start;
    gap: 44px;
}

.resource-magazine-detail-article {
    padding: 40px;
    border: 1px solid var(--rmd-border);
    border-radius: 18px;
    background: #ffffff;
}

.resource-magazine-detail-article
> header > span {
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-article
> header h2 {
    margin: 8px 0 23px;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.resource-magazine-detail-rich-content {
    color: var(--rmd-subheading);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.95;
}

.resource-magazine-detail-rich-content p {
    margin: 0 0 20px;
}

.resource-magazine-detail-rich-content
p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--rmd-primary);
    font-size: 48px;
    font-weight: 850;
    line-height: 0.72;
}

.resource-magazine-detail-article-footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid var(--rmd-border);
}

.resource-magazine-detail-article-footer > div {
    padding: 14px;
    border-radius: 10px;
    background: var(--rmd-light);
}

.resource-magazine-detail-article-footer span,
.resource-magazine-detail-article-footer strong {
    display: block;
}

.resource-magazine-detail-article-footer span {
    color: var(--rmd-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-magazine-detail-article-footer strong {
    margin-top: 4px;
    color: var(--rmd-heading);
    font-size: 9px;
    font-weight: 850;
}


/* Sidebar */

.resource-magazine-detail-sidebar {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 15px;
}

.resource-magazine-detail-topics-card,
.resource-magazine-detail-save-card,
.resource-magazine-detail-consult-card,
.resource-magazine-detail-contact-card {
    padding: 25px;
    border-radius: 16px;
}

.resource-magazine-detail-topics-card,
.resource-magazine-detail-save-card,
.resource-magazine-detail-contact-card {
    border: 1px solid var(--rmd-border);
    background: #ffffff;
}

.resource-magazine-sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #eaf2ee;
    color: var(--rmd-primary);
    font-size: 19px;
}

.resource-magazine-detail-topics-card h2,
.resource-magazine-detail-save-card h2,
.resource-magazine-detail-consult-card h2 {
    margin: 7px 0 13px;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.resource-magazine-detail-topics-card h2,
.resource-magazine-detail-save-card h2 {
    color: var(--rmd-heading);
}

.resource-magazine-detail-topics-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resource-magazine-detail-topics-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.55;
}

.resource-magazine-detail-topics-card li i {
    margin-top: 2px;
    color: var(--rmd-primary);
}

.resource-magazine-detail-save-card p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-consult-card {
    background:
        radial-gradient(
            circle at 86% 14%,
            rgb(244 201 93 / 25%),
            transparent 28%
        ),
        var(--rmd-primary);
    color: #ffffff;
}

.resource-magazine-detail-consult-card
.resource-magazine-sidebar-icon {
    background: rgb(255 255 255 / 14%);
    color: #ffffff;
}

.resource-magazine-detail-consult-card
.resource-magazine-sidebar-label {
    color: var(--rmd-yellow);
}

.resource-magazine-detail-consult-card h2 {
    color: #ffffff;
}

.resource-magazine-detail-consult-card > p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 9px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-consult-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    margin-top: 20px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
}

.resource-magazine-detail-contact-card {
    display: grid;
    gap: 10px;
}

.resource-magazine-detail-contact-card > span {
    margin-bottom: 3px;
    color: var(--rmd-primary);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-magazine-detail-contact-card > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rmd-subheading);
    font-size: 9px;
    font-weight: 700;
    word-break: break-word;
}

.resource-magazine-detail-contact-card i {
    color: var(--rmd-primary);
}


/* Planning framework */

.resource-magazine-detail-framework {
    padding: 72px 0;
}

.resource-magazine-detail-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-magazine-detail-centered-header > span {
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-magazine-detail-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-framework-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-magazine-detail-framework-grid article {
    position: relative;
    padding: 27px;
    border: 1px solid var(--rmd-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-magazine-detail-framework-grid article > span {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgb(15 110 86 / 13%);
    font-size: 27px;
    font-weight: 900;
}

.resource-magazine-detail-framework-grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rmd-primary);
    font-size: 18px;
}

.resource-magazine-detail-framework-grid h3 {
    margin: 17px 0 8px;
    color: var(--rmd-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-magazine-detail-framework-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Mistakes */

.resource-magazine-detail-mistakes {
    padding: 72px 0;
    background: var(--rmd-light);
}

.resource-magazine-detail-mistake-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    align-items: start;
    gap: 55px;
}

.resource-magazine-detail-mistake-heading > span {
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-mistake-heading h2 {
    margin: 8px 0 12px;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-magazine-detail-mistake-heading p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-mistake-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.resource-magazine-detail-mistake-list article {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 21px;
    border: 1px solid var(--rmd-border);
    border-radius: 13px;
    background: #ffffff;
}

.resource-magazine-detail-mistake-list article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0e8;
    color: var(--rmd-accent);
    font-size: 12px;
    flex: 0 0 auto;
}

.resource-magazine-detail-mistake-list h3 {
    margin: 0 0 6px;
    color: var(--rmd-heading);
    font-size: 12px;
    font-weight: 850;
}

.resource-magazine-detail-mistake-list p {
    margin: 0;
    font-size: 8px;
    font-weight: 550;
    line-height: 1.65;
}


/* Related editions */

.resource-magazine-detail-related {
    padding: 72px 0;
}

.resource-magazine-detail-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
}

.resource-magazine-detail-section-header
> div > span {
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-section-header h2 {
    margin: 7px 0 0;
    color: var(--rmd-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-magazine-detail-section-header > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmd-primary);
    font-size: 9px;
    font-weight: 850;
    white-space: nowrap;
}


/* Final CTA */

.resource-magazine-detail-final-cta {
    padding: 0 0 70px;
}

.resource-magazine-detail-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rmd-primary);
}

.resource-magazine-detail-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-magazine-detail-final-inner
> div:first-child > span {
    color: var(--rmd-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-magazine-detail-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-magazine-detail-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-magazine-detail-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-magazine-detail-final-light,
.resource-magazine-detail-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-magazine-detail-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rmd-primary);
}

.resource-magazine-detail-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-magazine-detail-final-light:hover,
.resource-magazine-detail-final-outline:hover {
    transform: translateY(-2px);
}

.resource-magazine-detail-final-outline:hover {
    background: #ffffff;
    color: var(--rmd-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-magazine-detail-framework-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-magazine-detail-article-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-magazine-detail-intro-grid,
    .resource-magazine-detail-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-magazine-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-magazine-detail-contact-card {
        grid-column: 1 / -1;
    }

    .resource-magazine-detail-mistake-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-magazine-detail-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-magazine-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-magazine-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-magazine-detail-intro,
    .resource-magazine-detail-article-section,
    .resource-magazine-detail-framework,
    .resource-magazine-detail-mistakes,
    .resource-magazine-detail-related {
        padding: 55px 0;
    }

    .resource-magazine-detail-cover,
    .resource-magazine-detail-cover > img,
    .resource-magazine-detail-placeholder {
        min-height: 340px;
    }

    .resource-magazine-detail-overview {
        padding: 23px;
    }

    .resource-magazine-detail-article {
        padding: 27px 22px;
    }

    .resource-magazine-detail-rich-content {
        font-size: 11px;
    }

    .resource-magazine-detail-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-magazine-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-magazine-detail-contact-card {
        grid-column: auto;
    }

    .resource-magazine-detail-framework-grid,
    .resource-magazine-detail-mistake-list {
        grid-template-columns: 1fr;
    }

    .resource-magazine-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .resource-magazine-detail-final-cta {
        padding-bottom: 55px;
    }

    .resource-magazine-detail-final-inner {
        padding: 31px 22px;
    }

    .resource-magazine-detail-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-magazine-detail-final-light,
    .resource-magazine-detail-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-magazine-detail-meta,
    .resource-magazine-detail-labels {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-magazine-detail-cover,
    .resource-magazine-detail-cover > img,
    .resource-magazine-detail-placeholder {
        min-height: 280px;
    }

    .resource-magazine-detail-overview
    dl > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .resource-magazine-detail-overview dd {
        text-align: left;
    }
}




/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .resource-buying-factor-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-buying-article-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-buying-detail-intro-grid,
    .resource-buying-article-layout {
        grid-template-columns: 1fr;
    }

    .resource-buying-detail-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-buying-contact-card {
        grid-column: 1 / -1;
    }

    .resource-buying-detail-mistake-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resource-buying-detail-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-buying-detail-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-buying-detail-hero h1 {
        font-size: clamp(29px, 9vw, 40px);
    }

    .resource-buying-detail-intro,
    .resource-buying-article-section,
    .resource-buying-factor-section,
    .resource-buying-detail-mistakes,
    .resource-buying-related-section {
        padding: 55px 0;
    }

    .resource-buying-detail-cover,
    .resource-buying-detail-cover > img,
    .resource-buying-detail-placeholder {
        min-height: 290px;
    }

    .resource-buying-detail-summary {
        padding: 23px;
    }

    .resource-buying-article-content {
        padding: 27px 22px;
    }

    .resource-buying-rich-content {
        font-size: 11px;
    }

    .resource-buying-article-footer {
        grid-template-columns: 1fr;
    }

    .resource-buying-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .resource-buying-contact-card {
        grid-column: auto;
    }

    .resource-buying-factor-grid,
    .resource-buying-detail-mistake-list {
        grid-template-columns: 1fr;
    }

    .resource-buying-detail-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .resource-buying-detail-final-cta {
        padding-bottom: 55px;
    }

    .resource-buying-detail-final-inner {
        padding: 31px 22px;
    }

    .resource-buying-detail-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-buying-detail-final-light,
    .resource-buying-detail-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-buying-detail-meta,
    .resource-buying-detail-labels {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-buying-detail-cover,
    .resource-buying-detail-cover > img,
    .resource-buying-detail-placeholder {
        min-height: 245px;
    }

    .resource-buying-detail-summary
    dl > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .resource-buying-detail-summary dd {
        text-align: left;
    }
}




/* Responsive */

@media (max-width: 1080px) {
    .resource-hero-grid {
        gap: 40px;
    }

    .resource-video-grid,
    .resource-testimonial-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-story-card {
        grid-template-columns: 1fr;
    }

    .resource-story-image {
        min-height: 240px;
    }
}

@media (max-width: 900px) {
    .resource-hero-grid,
    .resource-faq-layout {
        grid-template-columns: 1fr;
    }

    .resource-visual-main {
        max-width: 640px;
    }

    .resource-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .resource-blog-promotion-inner,
    .resource-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-home-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-hero {
        padding: 54px 0 70px;
    }

    .resource-hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .resource-hero-actions,
    .resource-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-primary-button,
    .resource-secondary-button,
    .resource-final-light-button,
    .resource-final-outline-button {
        width: 100%;
    }

    .resource-hero-stats {
        display: grid;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .resource-hero-stats > div {
        min-width: 0;
        padding: 0 11px;
    }

    .resource-hero-stats strong {
        font-size: 17px;
    }

    .resource-hero-stats span {
        font-size: 7px;
    }

    .resource-visual-main {
        padding: 29px 23px;
    }

    .resource-navigation-section,
    .resource-video-section,
    .resource-story-section,
    .resource-testimonial-section,
    .resource-guide-section,
    .resource-faq-section,
    .resource-download-section {
        padding: 67px 0;
    }

    .resource-category-grid,
    .resource-video-grid,
    .resource-story-grid,
    .resource-testimonial-grid,
    .resource-guide-grid,
    .resource-download-grid {
        grid-template-columns: 1fr;
    }

    .resource-video-content p,
    .resource-testimonial-card blockquote {
        min-height: auto;
    }

    .resource-guide-card {
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .resource-blog-promotion {
        padding-bottom: 67px;
    }

    .resource-blog-promotion-inner {
        padding: 25px;
    }

    .resource-blog-promotion-inner > div {
        align-items: flex-start;
    }

    .resource-final-cta {
        padding-bottom: 67px;
    }

    .resource-final-cta-inner {
        padding: 35px 24px;
    }
}

@media (max-width: 480px) {
    .resource-hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .resource-hero-stats > div {
        padding: 0;
        border-right: 0;
    }

    .resource-category-card {
        align-items: flex-start;
    }

    .resource-guide-card {
        grid-template-columns: 1fr;
    }

    .resource-guide-card > a {
        min-height: 210px;
    }

    .resource-blog-promotion-inner > div {
        flex-direction: column;
    }

    .resource-blog-button {
        width: 100%;
    }
}

















/* ====================================================== */




/* =========================================================
   MATERIAL GUIDE LIST
   Global .site-page-hero controls hero backgrounds
   and decorative pseudo-elements.
========================================================= */

.resource-material-guide-page {
    --rmg-heading: #1a1a1a;
    --rmg-subheading: #3d3d3d;
    --rmg-text: #6b6b6b;
    --rmg-caption: #929292;
    --rmg-primary: #0f6e56;
    --rmg-primary-dark: #094e3d;
    --rmg-accent: #e07a3f;
    --rmg-yellow: #f4c95d;
    --rmg-light: #f5f8f6;
    --rmg-border: #dfe8e3;

    overflow: hidden;
    color: var(--rmg-text);
}

.resource-material-guide-page *,
.resource-material-guide-page *::before,
.resource-material-guide-page *::after {
    box-sizing: border-box;
}

.resource-material-guide-page .site-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* Hero content only */

.resource-material-guide-hero {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.resource-material-guide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rmg-primary);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resource-material-guide-eyebrow::before {
    width: 23px;
    height: 2px;
    background: var(--rmg-accent);
    content: "";
}

.resource-material-guide-hero h1 {
    max-width: 800px;
    margin: 14px 0 15px;
    color: var(--rmg-heading);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.resource-material-guide-hero > p {
    max-width: 700px;
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.8;
}

.resource-material-guide-hero-meta {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.resource-material-guide-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid var(--rmg-border);
    border-radius: 999px;
    background: rgb(255 255 255 / 74%);
    color: var(--rmg-subheading);
    font-size: 9px;
    font-weight: 750;
}


/* Search and filter */

.resource-material-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -25px;
}

.resource-material-filter-form {
    display: grid;
    grid-template-columns:
        minmax(200px, 0.7fr)
        minmax(280px, 1.25fr)
        minmax(190px, 0.7fr)
        auto
        auto;
    align-items: center;
    gap: 10px;
    padding: 21px;
    border: 1px solid var(--rmg-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgb(28 58 43 / 10%);
}

.resource-material-filter-heading span,
.resource-material-filter-heading strong {
    display: block;
}

.resource-material-filter-heading span {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-material-filter-heading strong {
    margin-top: 4px;
    color: var(--rmg-heading);
    font-size: 11px;
    font-weight: 850;
}

.resource-material-search-field,
.resource-material-category-field {
    position: relative;
}

.resource-material-search-field > i,
.resource-material-category-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--rmg-caption);
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.resource-material-search-field input,
.resource-material-category-field select {
    width: 100%;
    height: 44px;
    padding: 0 13px 0 39px;
    border: 1px solid var(--rmg-border);
    border-radius: 9px;
    outline: 0;
    background: var(--rmg-light);
    color: var(--rmg-heading);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
}

.resource-material-search-field input:focus,
.resource-material-category-field select:focus {
    border-color: var(--rmg-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgb(15 110 86 / 8%);
}

.resource-material-filter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--rmg-primary);
    border-radius: 9px;
    background: var(--rmg-primary);
    color: #ffffff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.resource-material-clear-filter {
    color: var(--rmg-primary);
    font-size: 10px;
    font-weight: 850;
}


/* Category navigation */

.resource-material-category-section {
    padding: 45px 0 20px;
}

.resource-material-category-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    scrollbar-width: thin;
}

.resource-material-category-scroll > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    padding: 14px;
    border: 1px solid var(--rmg-border);
    border-radius: 12px;
    background: #ffffff;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.resource-material-category-scroll > a:hover,
.resource-material-category-scroll > a.active {
    border-color: var(--rmg-primary);
    background: #f1f7f4;
    transform: translateY(-2px);
}

.resource-material-category-scroll > a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf2ee;
    color: var(--rmg-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.resource-material-category-scroll strong,
.resource-material-category-scroll small {
    display: block;
}

.resource-material-category-scroll strong {
    color: var(--rmg-heading);
    font-size: 10px;
    font-weight: 850;
}

.resource-material-category-scroll small {
    margin-top: 3px;
    color: var(--rmg-caption);
    font-size: 8px;
    font-weight: 650;
}


/* Shared section headings */

.resource-featured-material-section,
.resource-material-results-section,
.resource-material-benefit-section {
    padding: 70px 0;
}

.resource-material-results-section {
    background: var(--rmg-light);
}

.resource-material-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 27px;
}

.resource-material-section-header
> div > span {
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-section-header h2 {
    margin: 7px 0 0;
    color: var(--rmg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-material-section-header > p {
    max-width: 420px;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.7;
}


/* Featured guide */

.resource-featured-material-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, 0.88fr);
    overflow: hidden;
    min-height: 500px;
    border: 1px solid var(--rmg-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgb(28 58 43 / 8%);
}

.resource-featured-material-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-featured-material-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.resource-featured-material-card:hover
.resource-featured-material-media > img {
    transform: scale(1.025);
}

.resource-material-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background:
        radial-gradient(
            circle at 28% 20%,
            rgb(244 201 93 / 30%),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #eaf3ee,
            #d7e5de
        );
    color: var(--rmg-primary);
}

.resource-material-placeholder i {
    font-size: 60px;
}

.resource-material-placeholder span {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 800;
}

.resource-material-name-badge,
.resource-material-featured-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-material-name-badge {
    bottom: 16px;
    left: 16px;
    background: rgb(15 110 86 / 92%);
    backdrop-filter: blur(8px);
}

.resource-material-featured-badge {
    top: 16px;
    left: 16px;
    background: var(--rmg-accent);
}

.resource-featured-material-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.resource-material-category-label {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-featured-material-content h2 {
    margin: 11px 0 13px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.resource-featured-material-content h2 a {
    color: var(--rmg-heading);
}

.resource-featured-material-content > p {
    margin: 0;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.78;
}

.resource-featured-material-highlights {
    display: grid;
    width: 100%;
    gap: 9px;
    margin-top: 22px;
}

.resource-featured-material-highlights > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 10px;
    background: var(--rmg-light);
}

.resource-featured-material-highlights
> div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #e2eee8;
    color: var(--rmg-primary);
    flex: 0 0 auto;
}

.resource-featured-material-highlights small,
.resource-featured-material-highlights strong {
    display: block;
}

.resource-featured-material-highlights small {
    color: var(--rmg-caption);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-featured-material-highlights strong {
    margin-top: 2px;
    color: var(--rmg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-material-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--rmg-border);
}

.resource-material-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.resource-material-author > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--rmg-primary);
    color: #ffffff;
}

.resource-material-author small,
.resource-material-author strong {
    display: block;
}

.resource-material-author small {
    color: var(--rmg-caption);
    font-size: 7px;
    font-weight: 700;
}

.resource-material-author strong {
    margin-top: 2px;
    color: var(--rmg-heading);
    font-size: 9px;
    font-weight: 850;
}

.resource-featured-material-content
footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
}


/* Material guide cards */

.resource-material-guide-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.resource-material-guide-card {
    overflow: hidden;
    border: 1px solid var(--rmg-border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 170ms ease,
        border-color 170ms ease,
        box-shadow 170ms ease;
}

.resource-material-guide-card:hover {
    border-color: rgb(15 110 86 / 36%);
    box-shadow: 0 20px 48px rgb(28 58 43 / 9%);
    transform: translateY(-3px);
}

.resource-material-card-media {
    position: relative;
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9e4;
}

.resource-material-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 430ms ease;
}

.resource-material-guide-card:hover
.resource-material-card-media > img {
    transform: scale(1.035);
}

.resource-material-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background:
        linear-gradient(
            145deg,
            #eaf3ee,
            #d8e6df
        );
    color: var(--rmg-primary);
    font-size: 46px;
}

.resource-material-card-name,
.resource-material-card-featured {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.resource-material-card-name {
    bottom: 13px;
    left: 13px;
    background: rgb(15 110 86 / 92%);
}

.resource-material-card-featured {
    top: 13px;
    left: 13px;
    background: var(--rmg-accent);
}

.resource-material-card-content {
    padding: 22px;
}

.resource-material-card-category {
    color: var(--rmg-primary);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.resource-material-card-content h3 {
    margin: 10px 0 9px;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
}

.resource-material-card-content h3 a {
    color: var(--rmg-heading);
}

.resource-material-card-content > p {
    min-height: 58px;
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.72;
}

.resource-material-card-info {
    display: flex;
    gap: 8px 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.resource-material-card-info span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rmg-caption);
    font-size: 7px;
    font-weight: 650;
}

.resource-material-card-info i {
    color: var(--rmg-primary);
}

.resource-material-card-content footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--rmg-border);
}

.resource-material-card-content
footer > span {
    color: var(--rmg-caption);
    font-size: 8px;
    font-weight: 750;
    text-transform: uppercase;
}

.resource-material-card-content
footer > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--rmg-primary);
    color: #ffffff;
}

.resource-material-pagination {
    margin-top: 34px;
}


/* Empty states */

.resource-material-empty-state,
.resource-material-single-result {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
    padding: 45px 20px;
    text-align: center;
}

.resource-material-empty-state > span,
.resource-material-single-result > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 67px;
    height: 67px;
    border-radius: 20px;
    background: #e6efea;
    color: var(--rmg-primary);
    font-size: 27px;
}

.resource-material-empty-state h3,
.resource-material-single-result h3 {
    margin: 18px 0 7px;
    color: var(--rmg-heading);
    font-size: 20px;
    font-weight: 850;
}

.resource-material-empty-state p,
.resource-material-single-result p {
    max-width: 480px;
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.7;
}

.resource-material-empty-state > div {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.resource-material-primary-button,
.resource-material-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 850;
}

.resource-material-primary-button {
    background: var(--rmg-primary);
    color: #ffffff;
}

.resource-material-secondary-button {
    border: 1px solid var(--rmg-border);
    background: #ffffff;
    color: var(--rmg-heading);
}


/* Material benefits */

.resource-material-centered-header {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.resource-material-centered-header > span {
    color: var(--rmg-primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-centered-header h2 {
    margin: 8px 0 10px;
    color: var(--rmg-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-material-centered-header p {
    margin: 0;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-material-benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-material-benefit-grid article {
    padding: 27px;
    border: 1px solid var(--rmg-border);
    border-radius: 15px;
    background: #ffffff;
}

.resource-material-benefit-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #eaf2ee;
    color: var(--rmg-primary);
    font-size: 18px;
}

.resource-material-benefit-grid h3 {
    margin: 17px 0 8px;
    color: var(--rmg-heading);
    font-size: 14px;
    font-weight: 850;
}

.resource-material-benefit-grid p {
    margin: 0;
    font-size: 9px;
    font-weight: 550;
    line-height: 1.7;
}


/* Final CTA */

.resource-material-final-cta {
    padding: 0 0 70px;
}

.resource-material-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 20px;
    background: var(--rmg-primary);
}

.resource-material-final-inner
> div:first-child {
    max-width: 690px;
}

.resource-material-final-inner
> div:first-child > span {
    color: var(--rmg-yellow);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.resource-material-final-inner h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.resource-material-final-inner p {
    margin: 0;
    color: rgb(255 255 255 / 74%);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.75;
}

.resource-material-final-inner
> div:last-child {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.resource-material-final-light,
.resource-material-final-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.resource-material-final-light {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: var(--rmg-primary);
}

.resource-material-final-outline {
    border: 1px solid rgb(255 255 255 / 45%);
    color: #ffffff;
}

.resource-material-final-light:hover,
.resource-material-final-outline:hover {
    transform: translateY(-2px);
}

.resource-material-final-outline:hover {
    background: #ffffff;
    color: var(--rmg-primary);
}


/* Responsive */

@media (max-width: 1050px) {
    .resource-material-filter-form {
        grid-template-columns:
            minmax(180px, 0.7fr)
            minmax(230px, 1fr)
            minmax(170px, 0.7fr)
            auto;
    }

    .resource-material-clear-filter {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .resource-material-guide-grid,
    .resource-material-benefit-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .resource-material-filter-form {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .resource-material-filter-heading {
        grid-column: 1 / -1;
    }

    .resource-featured-material-card {
        grid-template-columns: 1fr;
    }

    .resource-featured-material-media {
        min-height: 380px;
    }

    .resource-material-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .resource-material-guide-page .site-container {
        width: min(100% - 28px, 1180px);
    }

    .resource-material-guide-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .resource-material-guide-hero > p {
        font-size: 12px;
    }

    .resource-material-filter-section {
        margin-top: -18px;
    }

    .resource-material-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .resource-material-filter-heading {
        grid-column: auto;
    }

    .resource-material-filter-form button {
        width: 100%;
    }

    .resource-material-clear-filter {
        grid-column: auto;
        justify-self: center;
    }

    .resource-featured-material-section,
    .resource-material-results-section,
    .resource-material-benefit-section {
        padding: 55px 0;
    }

    .resource-material-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .resource-featured-material-media,
    .resource-material-placeholder {
        min-height: 270px;
    }

    .resource-featured-material-content {
        padding: 27px 22px;
    }

    .resource-featured-material-content footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-material-guide-grid,
    .resource-material-benefit-grid {
        grid-template-columns: 1fr;
    }

    .resource-material-card-content > p {
        min-height: auto;
    }

    .resource-material-empty-state > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-material-primary-button,
    .resource-material-secondary-button {
        width: 100%;
    }

    .resource-material-final-cta {
        padding-bottom: 55px;
    }

    .resource-material-final-inner {
        padding: 31px 22px;
    }

    .resource-material-final-inner
    > div:last-child {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-material-final-light,
    .resource-material-final-outline {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .resource-material-guide-hero-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-material-category-scroll > a {
        min-width: 180px;
    }

    .resource-material-card-media {
        height: 210px;
    }
}