/* Yukon Home PHP template styles */

:root {
    --yukon-blue: #0093C8;
    --yukon-blue-dark: #007aa3;
    --yukon-cta-gradient: linear-gradient(135deg, var(--yukon-blue) 0%, var(--yukon-blue-dark) 100%);
    --yukon-orange: #D05F27;
    --yukon-orange-dark: #b04f20;
    --yukon-dark: #191919;
    --yukon-text: #363a3c;
    --yukon-muted: #6b7280;
    --yukon-light: #f5f7fa;
    --yukon-border: #e3e3e3;
    --yukon-white: #ffffff;
    --yukon-max: 1300px;
    --yukon-radius: 8px;
    --yukon-radius-lg: 16px;
    --yukon-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --font-heading: "Oswald", sans-serif;
    --font-body: "Lato", sans-serif;
}

body.page-template-page-home-php {
    font-family: var(--font-body);
    color: var(--yukon-text);
}

.home-php-wrapper {
    overflow-x: hidden;
}

.home-php-wrapper h1,
.home-php-wrapper h2,
.home-php-wrapper h3,
.home-php-wrapper h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px;
}

.home-php-wrapper p,
.home-php-wrapper li {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
    line-height: 1.65;
}

.home-php-wrapper small,
.home-php-wrapper .caption-text {
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.875rem);
}

.section-inner {
    max-width: var(--yukon-max);
    margin: 0 auto;
    padding: 0 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--yukon-orange);
    color: var(--yukon-white) !important;
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 1.5vw + 0.5rem, 1.125rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(208, 95, 39, 0.35);
}

.btn-primary:hover {
    background: var(--yukon-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(208, 95, 39, 0.4);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);
    color: var(--yukon-dark);
}

.section-header p {
    color: var(--yukon-muted);
    margin: 0;
}

/* Hero — background image, two-column layout, bento grid */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: var(--yukon-white);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.92) 24%,
        rgba(255, 255, 255, 0.65) 36%,
        rgba(255, 255, 255, 0.2) 44%,
        rgba(255, 255, 255, 0) 52%
    );
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    align-content: center;
    gap: 40px;
    min-height: 70vh;
    padding: 48px 24px;
    max-width: var(--yukon-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.hero-content,
.hero-bento-grid {
    align-self: center;
}

.hero-content {
    color: var(--yukon-dark);
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1vw + 0.4rem, 0.875rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yukon-blue);
    background: rgba(0, 147, 200, 0.12);
    border: 1px solid rgba(0, 147, 200, 0.3);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.12;
    color: var(--yukon-dark);
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    margin: 0 0 20px;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.3vw + 0.4rem, 1.2rem);
    line-height: 1.7;
    color: var(--yukon-text);
    margin: 0;
    font-weight: 300;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 32px;
}

.hero-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.hero-bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 240px;
    padding: 22px 22px 24px;
    border-radius: 28px;
    border: 1px solid transparent;
    color: var(--yukon-dark);
    height: 100%;
    text-decoration: none;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    isolation: isolate;
}

.hero-bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

.hero-bento-card-personal-loans::before {
    background-color: rgba(255, 255, 255, 0.72);
}

.hero-bento-card-home-services::before {
    background-color: rgba(184, 228, 244, 0.72);
}

.hero-bento-card-calculator::before {
    background-color: rgba(223, 243, 251, 0.72);
}

.hero-bento-card:hover,
.hero-bento-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.hero-bento-card-personal-loans {
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-bento-card-home-services {
    border-color: rgba(0, 147, 200, 0.25);
}

.hero-bento-card-calculator {
    border-color: rgba(0, 147, 200, 0.22);
}

.hero-bento-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-bento-card-label {
    font-family: var(--font-heading);
    font-size: clamp(0.6875rem, 0.8vw + 0.35rem, 0.8125rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(25, 25, 25, 0.55);
}

.hero-bento-card-calculator .hero-bento-card-label {
    color: rgba(0, 147, 200, 0.75);
}

.hero-bento-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: inherit;
    opacity: 0.45;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-bento-card-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.hero-bento-card:hover .hero-bento-card-arrow,
.hero-bento-card:focus-within .hero-bento-card-arrow {
    opacity: 1;
    background: var(--yukon-blue);
    border-color: var(--yukon-blue);
    color: var(--yukon-white);
}

.hero-bento-card-icon-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 8px 0 20px;
    align-self: flex-start;
    border-radius: 20px;
    flex-shrink: 0;
}

.hero-bento-card-icon-wrap svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.hero-bento-card-personal-loans .hero-bento-card-icon-wrap {
    background: rgba(0, 147, 200, 0.1);
    color: var(--yukon-blue);
}

.hero-bento-card-home-services .hero-bento-card-icon-wrap {
    background: rgba(0, 147, 200, 0.12);
    color: var(--yukon-blue);
}

.hero-bento-card-calculator .hero-bento-card-icon-wrap {
    background: rgba(0, 147, 200, 0.14);
    color: var(--yukon-blue);
}

.hero-bento-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.hero-bento-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
}

.hero-bento-card-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-bento-card-link:focus-visible {
    outline: 2px solid var(--yukon-blue);
    outline-offset: 2px;
}

.hero-bento-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.8vw + 0.5rem, 1.75rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
    color: inherit;
}

.hero-bento-card-text {
    font-size: clamp(0.875rem, 1vw + 0.45rem, 1rem);
    line-height: 1.6;
    margin: 0;
    color: rgba(25, 25, 25, 0.68);
}

.hero-bento-card-calculator .hero-bento-card-text {
    color: rgba(25, 25, 25, 0.68);
}

.yukon-lucide-icon,
.financial-wilderness-feature-icon svg {
    width: clamp(1.75rem, 2vw + 0.75rem, 2.25rem);
    height: clamp(1.75rem, 2vw + 0.75rem, 2.25rem);
    stroke: currentColor;
}

/* Partner logo marquee — inside hero, edge-to-edge, seamless loop */
.hero-partners-marquee {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px 0 36px;
    background: var(--yukon-white);
    overflow: hidden;
}

.hero-partners-marquee-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(0.6875rem, 1vw + 0.4rem, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yukon-muted);
    margin: 0 0 48px;
}

.hero-partners-marquee-viewport {
    width: 100%;
    overflow: hidden;
}

.hero-partners-marquee-track {
    display: flex;
    width: max-content;
    animation: yukon-partners-marquee 32s linear infinite;
    will-change: transform;
}

.hero-partners-marquee-viewport:hover .hero-partners-marquee-track {
    animation-play-state: paused;
}

.hero-partners-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hero-partners-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0 40px;
}

.hero-partners-marquee-logo {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 56px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .hero-partners-marquee-logo {
        max-height: 64px;
    }

    .hero-partners-marquee-item {
        padding: 0 56px;
    }
}

@keyframes yukon-partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-partners-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 24px;
    }

    .hero-partners-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* Financial wilderness section */
.financial-wilderness-section {
    background: var(--yukon-light);
    padding: 80px 0 0;
}

.financial-wilderness-intro {
    padding-bottom: 40px;
}

.financial-wilderness-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.financial-wilderness-header {
    max-width: 760px;
    text-align: center;
}

.financial-wilderness-header h2 {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--yukon-dark);
    margin: 0 0 16px;
}

.financial-wilderness-subheading {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
    line-height: 1.7;
    color: var(--yukon-muted);
    max-width: 640px;
    margin: 0 auto;
}

.financial-wilderness-marquee {
    position: relative;
    width: 100%;
    max-width: 960px;
    overflow: hidden;
}

.financial-wilderness-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.financial-wilderness-marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--yukon-light), rgba(245, 247, 250, 0));
}

.financial-wilderness-marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--yukon-light), rgba(245, 247, 250, 0));
}

.financial-wilderness-marquee-row {
    overflow: hidden;
    margin-bottom: 12px;
}

.financial-wilderness-marquee-row:last-child {
    margin-bottom: 0;
}

.financial-wilderness-marquee-track {
    display: flex;
    width: max-content;
    animation: financial-wilderness-marquee var(--wilderness-marquee-duration, 45s) linear infinite;
    will-change: transform;
}

.financial-wilderness-marquee-row-reverse .financial-wilderness-marquee-track {
    animation-direction: reverse;
}

.financial-wilderness-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    padding-right: 12px;
}

.financial-wilderness-question-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(0, 147, 200, 0.18);
    background: rgba(0, 147, 200, 0.08);
    color: var(--yukon-dark);
    font-size: clamp(0.8125rem, 1vw + 0.4rem, 0.9375rem);
    line-height: 1.4;
    white-space: nowrap;
}

.financial-wilderness-features-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px dashed var(--yukon-border);
}

.financial-wilderness-features-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0, 147, 200, 0.10);
    opacity: 0;
    transform: translate(0, 0);
    transition:
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.financial-wilderness-features-grid.is-highlight-active .financial-wilderness-features-highlight {
    opacity: 1;
}

.financial-wilderness-feature-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 24px 40px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed var(--yukon-border);
    overflow: hidden;
    background: transparent;
}

.financial-wilderness-feature-icon,
.financial-wilderness-feature-content {
    position: relative;
    z-index: 1;
}

.financial-wilderness-feature-icon {
    position: relative;
    width: 100%;
    height: clamp(2.5rem, 3vw + 1rem, 3rem);
    color: var(--yukon-blue);
    line-height: 1;
}

.financial-wilderness-feature-icon .yukon-lucide-icon,
.financial-wilderness-feature-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(2.5rem, 3vw + 1rem, 3rem);
    height: clamp(2.5rem, 3vw + 1rem, 3rem);
    display: block;
}

.financial-wilderness-feature-card:hover .financial-wilderness-feature-icon svg {
    animation: financial-wilderness-icon-swoop 0.65s ease-in-out;
}

@keyframes financial-wilderness-icon-swoop {
    0% {
        left: 0;
        transform: translateX(0);
        opacity: 1;
    }

    42% {
        left: 100%;
        transform: translateX(-100%);
        opacity: 1;
    }

    48% {
        left: 100%;
        transform: translateX(0);
        opacity: 0;
    }

    49% {
        left: 0;
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        left: 0;
        transform: translateX(0);
        opacity: 1;
    }
}

.financial-wilderness-feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
}

.financial-wilderness-feature-title {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 2vw + 0.5rem, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--yukon-dark);
    margin: 0;
}

.financial-wilderness-feature-text {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
    line-height: 1.65;
    color: var(--yukon-muted);
    margin: 0;
}

@keyframes financial-wilderness-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 640px) {
    .financial-wilderness-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .financial-wilderness-feature-card:nth-child(even) {
        border-right: 1px dashed var(--yukon-border);
    }

    .financial-wilderness-feature-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .financial-wilderness-section {
        padding-top: 100px;
    }

    .financial-wilderness-features-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .financial-wilderness-feature-card {
        padding: 40px 24px 48px;
        border-right: 1px dashed var(--yukon-border);
        border-bottom: 0;
    }

    .financial-wilderness-feature-card:last-child {
        border-right: 0;
    }

    .financial-wilderness-feature-content {
        padding-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .financial-wilderness-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .financial-wilderness-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .financial-wilderness-question-badge {
        white-space: normal;
    }

    .financial-wilderness-feature-card:hover .financial-wilderness-feature-icon svg {
        animation: none;
    }
}

/* Conversion banner */
.loan-cta-banner {
    background: var(--yukon-cta-gradient);
    padding: 88px 24px;
    text-align: center;
}

.home-php-wrapper .loan-cta-banner h2 {
    color: var(--yukon-white);
    font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.5rem);
    max-width: 800px;
    margin: 0 auto 16px;
}

.loan-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto;
}

.loan-cta-banner .btn-primary {
    background: rgb(208, 95, 39);
    color: var(--yukon-white) !important;
    box-shadow: 0 4px 14px rgba(208, 95, 39, 0.35);
    margin-top: 32px;
}

.loan-cta-banner .btn-primary:hover {
    background: var(--yukon-orange-dark);
    box-shadow: 0 8px 24px rgba(208, 95, 39, 0.4);
}

/* Blog */
.editorial-section {
    padding: 88px 0;
    background: var(--yukon-white);
}

.editorial-filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.category-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 auto;
}

.category-filter-tab {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.875rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid var(--yukon-border);
    background: transparent;
    color: var(--yukon-text);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.category-filter-tab:hover,
.category-filter-tab.is-active {
    border-color: var(--yukon-blue);
    background: transparent;
    color: var(--yukon-blue);
}

.editorial-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    flex: 0 1 320px;
}

.editorial-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.editorial-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: 2px solid var(--yukon-border);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    background: var(--yukon-white);
    color: var(--yukon-text);
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 1.5vw + 0.5rem, 1rem);
}

.editorial-search-input:focus {
    outline: none;
    border-color: var(--yukon-blue);
}

.editorial-search-input:focus + .editorial-search-submit {
    border-color: var(--yukon-blue);
}

.editorial-search-submit {
    padding: 10px 20px;
    border: 2px solid var(--yukon-blue);
    border-radius: 0 999px 999px 0;
    background: transparent;
    color: var(--yukon-blue);
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.editorial-search-submit:hover {
    border-color: var(--yukon-blue-dark);
    color: var(--yukon-blue-dark);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    min-height: 200px;
}

.post-card {
    border: 1px solid var(--yukon-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--yukon-white);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.post-card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-category {
    font-family: var(--font-heading);
    font-size: clamp(0.65rem, 1vw + 0.4rem, 0.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yukon-orange);
    margin-bottom: 8px;
}

.post-card-title {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    margin-bottom: 10px;
}

.post-card-title a {
    color: var(--yukon-dark);
}

.post-card-title a:hover {
    color: var(--yukon-blue);
}

.post-card-excerpt {
    font-size: clamp(0.875rem, 1.2vw + 0.4rem, 0.9375rem);
    color: var(--yukon-muted);
    flex: 1;
    margin-bottom: 16px;
}

.post-card-readmore {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--yukon-blue);
}

.blog-section-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 1.5vw + 0.5rem, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border: 2px solid var(--yukon-dark);
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

.btn-outline:hover {
    background: var(--yukon-dark);
    color: var(--yukon-white);
}

.posts-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Community */
.community-cta-section {
    background: var(--yukon-cta-gradient);
    padding: 88px 24px;
    text-align: center;
}

.home-php-wrapper .community-cta-section h2 {
    color: var(--yukon-white);
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.75rem);
}

.community-cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto;
}

.community-cta-section .btn-primary {
    margin-top: 32px;
}

@media (max-width: 1024px) {
    :root {
        --yukon-max: 1024px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 70vh;
        padding: 40px 24px;
        gap: 32px;
    }

    .hero-bento-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-section-overlay {
        background: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --yukon-max: 767px;
    }

    .hero-section {
        background-image: none !important;
        background-color: var(--yukon-white);
    }

    .hero-section-overlay {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-grid {
        min-height: 70vh;
        padding: 32px 16px;
    }

    .hero-bento-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta-row .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .category-filter-tabs {
        flex: 1 1 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .editorial-search-form {
        flex: 1 1 100%;
        max-width: none;
    }
}
