/*
Theme Name: JU7 Child
Theme URI: https://ju7app.com/
Description: Custom child theme for JU7 Game, built on GeneratePress.
Author: JU7 Game
Template: generatepress
Version: 1.0.0
Text Domain: ju7-child
*/

/* Design Tokens */
:root {
    --ju7-bg: #ffffff;
    --ju7-text: #111827;
    --ju7-muted: #5f6672;
    --ju7-border: #e6e8f0;
    --ju7-surface: #f8f9fb;
    --ju7-accent: #e11d48;
    --ju7-accent-dark: #be123c;
    --ju7-surface-alt: #fff7f9;
    --ju7-radius: 12px;
    --ju7-panel-radius: 16px;
    --ju7-container: 1200px;
    --ju7-gutter: 12px;
    --ju7-panel-padding: 16px;
}

/* Global Base */
/* Shared family typography, scoped to the custom header and homepage. */
.site-header,
.ju7-home {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.site-header,
#site-navigation,
#mobile-menu-control-wrapper {
    --accent: var(--ju7-accent);
    color: var(--ju7-text);
}

/* Site Header */
.site-header {
    background-color: var(--ju7-bg);
    border-bottom: 1px solid var(--ju7-border);
}

.site-header .inside-header {
    box-sizing: border-box;
    max-width: var(--ju7-container);
    min-height: 60px;
    margin-inline: auto;
    padding: 8px calc(var(--ju7-gutter) + var(--ju7-panel-padding));
    align-items: center;
}

.site-header .site-branding {
    min-width: 0;
}

/* Site Branding */
.site-header .site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .site-logo {
    display: inline-flex;
    flex: 0 0 auto;
    max-width: 42px;
    max-height: 42px;
    align-items: center;
    justify-content: center;
}

.site-header .site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.site-header .site-branding a:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

.site-header .main-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.site-header .main-title a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ju7-text);
    text-decoration: none;
}

.site-header .main-title a:hover {
    color: var(--ju7-accent);
}

.site-header .site-description {
    color: var(--ju7-muted);
}

.site-header .site-logo img {
    width: auto;
    max-height: 44px;
    object-fit: contain;
}

/* Primary Navigation */
/* Leave menu visibility, dropdowns and toggle behavior to GeneratePress. */
#site-navigation,
#site-navigation ul ul,
#mobile-menu-control-wrapper {
    background-color: var(--ju7-bg);
}

#site-navigation .main-nav ul li a {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--ju7-text);
}

#site-navigation .main-nav ul li:hover > a,
#site-navigation .main-nav ul li.sfHover > a,
#site-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: var(--ju7-accent);
    background-color: var(--ju7-surface);
}

#site-navigation .menu-toggle,
#mobile-menu-control-wrapper .menu-toggle {
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    line-height: 24px;
    color: var(--ju7-text);
    background-color: var(--ju7-bg);
}

#site-navigation .menu-toggle:hover,
#mobile-menu-control-wrapper .menu-toggle:hover {
    background-color: var(--ju7-surface);
}

.site-header a:focus-visible,
.site-header button:focus-visible,
#site-navigation a:focus-visible,
#site-navigation button:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

/* Responsive */
/* Match GeneratePress's default mobile navigation breakpoint. */
@media (min-width: 769px) {
    .site-header .inside-header {
        min-height: 68px;
        padding-block: 12px;
    }

    .site-header .main-title {
        font-size: 22px;
    }

    .nav-float-right .site-header .inside-header #site-navigation {
        margin-inline-start: auto;
    }
}

@media (max-width: 768px) {
    .site-header .site-logo {
        max-width: 36px;
        max-height: 36px;
    }

    .site-header .site-logo img {
        max-width: 36px;
        max-height: 36px;
    }
}

/* Homepage */
/* Bordered panels share a quiet page surface and the header alignment. */
.home.page {
    background-color: var(--ju7-surface-alt);
}

.home.page .site.grid-container {
    max-width: var(--ju7-container);
    background-color: var(--ju7-surface-alt);
}
.home.page .site-content {
    padding: 0;
}

.ju7-home .ju7-home-main {
    margin: 0;
    padding: 16px var(--ju7-gutter);
    color: var(--ju7-text);
    background-color: var(--ju7-surface-alt);
}

.ju7-home .ju7-home-content {
    margin: 0;
    padding: 24px var(--ju7-panel-padding);
    background-color: var(--ju7-bg);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
}

.ju7-home .ju7-home-content:empty {
    display: none;
}

/* Shared homepage panels */
.ju7-hero,
.ju7-about-section {
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    margin-bottom: 16px;
}

/* Breadcrumb */
.ju7-breadcrumb {
    margin-bottom: 12px;
    padding-inline: var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background-color: var(--ju7-bg);
    font-size: 14px;
}

.ju7-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ju7-breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}

.ju7-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ju7-muted);
    text-decoration: none;
}

.ju7-breadcrumb a:hover {
    color: var(--ju7-accent-dark);
    text-decoration: underline;
}

.ju7-breadcrumb a:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

.ju7-breadcrumb [aria-current] {
    font-weight: 600;
}

.ju7-breadcrumb-separator {
    color: var(--ju7-muted);
}

/* App Hero */
.ju7-hero {
    padding-block: 28px;
    background-color: var(--ju7-bg);
}

.ju7-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    box-sizing: border-box;
    max-width: var(--ju7-container);
    margin-inline: auto;
    padding-inline: var(--ju7-panel-padding);
}

.ju7-hero-copy {
    min-width: 0;
    max-width: 700px;
}

.ju7-hero-icon { width: 104px; max-width: 100%; }
.ju7-hero-icon img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--ju7-panel-radius);
    box-shadow: 0 4px 14px rgb(17 24 39 / 10%);
}

.ju7-hero .ju7-hero-eyebrow {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.ju7-hero .ju7-hero-title {
    margin: 0 0 12px;
    color: var(--ju7-text);
    font-size: clamp(26px, 2.7vw, 34px);
    font-weight: 700;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.ju7-hero .ju7-hero-intro {
    margin: 0;
    color: var(--ju7-muted);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
}

.ju7-hero-description { margin: 12px 0 0; color: var(--ju7-muted); font-size: 15px; line-height: 1.6; }
.ju7-hero-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 400px; margin: 18px 0 0; }
.ju7-hero-information-item { min-width: 0; padding: 12px; background: var(--ju7-surface); border: 1px solid var(--ju7-border); border-radius: var(--ju7-radius); }
.ju7-hero-information dt { color: var(--ju7-muted); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.ju7-hero-information dd { margin: 4px 0 0; color: var(--ju7-text); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }

.ju7-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.ju7-hero .ju7-hero-button {
    box-sizing: border-box;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.ju7-hero .ju7-hero-button-primary {
    color: var(--ju7-bg);
    background-color: var(--ju7-accent);
    border-color: var(--ju7-accent);
}

.ju7-hero .ju7-hero-button-secondary {
    color: var(--ju7-accent-dark);
    background-color: var(--ju7-bg);
}

.ju7-hero .ju7-hero-button-primary:hover {
    background-color: var(--ju7-accent-dark);
    border-color: var(--ju7-accent-dark);
}

.ju7-hero .ju7-hero-button-secondary:hover {
    background-color: var(--ju7-surface-alt);
    border-color: var(--ju7-accent);
}

.ju7-hero .ju7-hero-button:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .ju7-hero {
        padding-block: 18px;
    }

    .ju7-hero-inner {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 0;
    }

    .ju7-hero-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 64px;
    }

    .ju7-hero-copy {
        display: contents;
    }

    .ju7-hero .ju7-hero-eyebrow {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 2px;
        font-size: 12px;
    }

    .ju7-hero .ju7-hero-title {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 0;
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.2;
    }

    .ju7-hero .ju7-hero-intro {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    .ju7-hero-description {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.5;
    }

    .ju7-hero-information {
        grid-column: 1 / -1;
        grid-row: 5;
        max-width: none;
        gap: 8px;
        margin-top: 12px;
    }

    .ju7-hero-information-item {
        padding: 8px 10px;
    }

    .ju7-hero-information dt {
        font-size: 10px;
    }

    .ju7-hero-information dd {
        margin-top: 2px;
        font-size: 14px;
    }

    .ju7-hero-actions {
        grid-column: 1 / -1;
        grid-row: 6;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .ju7-hero .ju7-hero-button {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 14px;
        line-height: 1.3;
    }

    .ju7-hero .ju7-hero-button-primary {
        grid-column: 1 / -1;
    }
}

@media (min-width: 769px) {
    .ju7-hero-inner {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 24px;
    }
    .ju7-hero-actions { grid-column: 1 / -1; }

    .ju7-home .ju7-home-content {
        padding-inline: var(--ju7-panel-padding);
    }
}

@media (min-width: 1024px) {
    .ju7-hero-inner { grid-template-columns: 128px minmax(0, 1fr) 228px; }
    .ju7-hero-icon { width: 128px; }
    .ju7-hero-actions { grid-column: auto; padding-inline-start: 20px; border-inline-start: 1px solid var(--ju7-border); }
}

/* About */
.ju7-about-section {
    padding-block: 28px;
    color: var(--ju7-text);
    background-color: var(--ju7-surface);
    border-top: 1px solid var(--ju7-border);
}

.ju7-about-inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    max-width: var(--ju7-container);
    margin-inline: auto;
    padding-inline: var(--ju7-panel-padding);
}

.ju7-about-copy,
.ju7-about-panel {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ju7-about-copy {
    max-width: 700px;
}

.ju7-about-eyebrow {
    margin: 0 0 12px;
    color: var(--ju7-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.ju7-about-title {
    margin: 0 0 20px;
    color: var(--ju7-text);
    font-size: clamp(23px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.25;
}

.ju7-about-text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
}

.ju7-about-text:last-child {
    margin-bottom: 0;
}

.ju7-about-panel {
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--ju7-bg);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
}

.ju7-about-panel-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.ju7-about-list {
    margin: 0;
    padding-inline-start: 20px;
    list-style: disc;
    font-size: 16px;
    line-height: 1.6;
}

.ju7-about-list li + li {
    margin-top: 10px;
}

@media (min-width: 769px) {
    .ju7-about-section {
        padding-block: 36px;
    }

    .ju7-about-inner {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 32px;
        padding-inline: var(--ju7-panel-padding);
    }
}

/* Family accents and responsive spacing */
.ju7-about-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background-color: var(--ju7-accent);
}

.ju7-about-list li::marker {
    color: var(--ju7-accent);
}


@media (min-width: 769px) {
    :root {
        --ju7-gutter: 16px;
        --ju7-panel-padding: 24px;
    }

    .ju7-home .ju7-home-main {
        padding-block: 24px;
    }
}

/* App Information */
.ju7-app-info-section {
    margin-bottom: 16px;
    padding: 36px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background-color: var(--ju7-bg);
}

.ju7-app-info-eyebrow {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 14px;
    font-weight: 600;
}

.ju7-app-info-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.25;
    font-weight: 700;
}

.ju7-app-info-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background-color: var(--ju7-accent);
}

.ju7-app-info-intro {
    margin: 0 0 20px;
    max-width: 700px;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 12px;
    margin: 0;
}

.ju7-app-info-item {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background-color: var(--ju7-surface);
    overflow-wrap: anywhere;
}

.ju7-app-info-label {
    margin: 0 0 6px;
    color: var(--ju7-muted);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ju7-app-info-value {
    margin: 0;
    color: var(--ju7-text);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

@media (min-width: 769px) {
    .ju7-app-info-section {
        padding-block: 52px;
    }
}

/* Guide Accordion */
.ju7-guides-accordion {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    scroll-margin-top: 88px;
}

.ju7-guide-accordion {
    min-width: 0;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background-color: var(--ju7-bg);
    scroll-margin-top: 88px;
    overflow-wrap: anywhere;
}

.ju7-guide-summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px calc(var(--ju7-panel-padding) + 30px) 12px var(--ju7-panel-padding);
    cursor: pointer;
    list-style: none;
    border-radius: var(--ju7-radius);
}

.ju7-guide-summary::-webkit-details-marker {
    display: none;
}

.ju7-guide-summary h2 {
    margin: 0;
    color: var(--ju7-text);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}


.ju7-guide-summary::before,
.ju7-guide-summary::after {
    content: "";
    position: absolute;
    inset-inline-end: var(--ju7-panel-padding);
    top: 50%;
    width: 14px;
    height: 2px;
    background-color: var(--ju7-accent);
}

.ju7-guide-summary::after {
    transform: rotate(90deg);
}

.ju7-guide-accordion[open] > .ju7-guide-summary::after {
    display: none;
}

.ju7-guide-summary:hover,
.ju7-guide-accordion[open] > .ju7-guide-summary {
    background-color: var(--ju7-surface);
}

.ju7-guide-accordion:target {
    border-color: var(--ju7-accent);
}

.ju7-guide-body {
    font-size: 16px;
    max-width: 840px;
    margin-inline: auto;
    padding: 16px;
}

.ju7-guide-eyebrow {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 14px;
    font-weight: 600;
}

.ju7-guide-intro {
    margin: 0 0 16px;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-guide-notice {
    padding: 16px;
    margin-bottom: 16px;
    border-inline-start: 3px solid var(--ju7-accent);
    background-color: var(--ju7-surface-alt);
}

.ju7-guide-notice-title {
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.4;
}

.ju7-guide-notice-text {
    margin: 0;
    line-height: 1.6;
}


.ju7-guide-steps {
    margin: 0 0 12px;
    padding-inline-start: 24px;
}

.ju7-guide-steps li::marker {
    color: var(--ju7-accent-dark);
    font-weight: 600;
}

.ju7-guide-steps li + li {
    margin-top: 12px;
}

.ju7-guide-steps strong {
    display: block;
    margin-bottom: 4px;
    line-height: 1.5;
}

.ju7-guide-steps p {
    margin: 0;
    line-height: 1.6;
}

.ju7-guide-summary:focus-visible,
.ju7-guide-link:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

.ju7-guide-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ju7-accent-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ju7-guide-link:hover {
    color: var(--ju7-text);
}

@media (min-width: 769px) {
    .ju7-guide-summary {
        padding-block: 16px;
    }

    .ju7-guide-body {
        padding: 20px;
    }
}

/* Download Actions and Bottom CTA */
.ju7-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--ju7-accent);
    border-radius: var(--ju7-radius);
    background: var(--ju7-accent);
    color: var(--ju7-bg);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.ju7-download-button:hover {
    color: var(--ju7-bg);
    background: var(--ju7-accent-dark);
    border-color: var(--ju7-accent-dark);
}
.ju7-download-button:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 3px;
}
.ju7-guide-body > .ju7-download-button {
    margin: 0 12px 8px 0;
    max-width: 100%;
}
.ju7-bottom-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    padding: 24px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-surface-alt);
}
.ju7-bottom-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ju7-accent);
    background: var(--ju7-bg);
}
.ju7-bottom-cta-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ju7-bottom-cta-copy { min-width: 0; }
.ju7-bottom-cta-copy h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}
.ju7-bottom-cta-copy p {
    margin: 0;
    color: var(--ju7-muted);
    line-height: 1.6;
}
@media (min-width: 769px) {
    .ju7-bottom-cta { grid-template-columns: 44px minmax(0, 1fr) auto; }
}

/* System Requirements */
.ju7-requirements-accordion {
    margin-top: -6px;
    margin-bottom: 16px;
}
.ju7-requirements-message {
    margin: 0;
    color: var(--ju7-muted);
    line-height: 1.6;
}
.ju7-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 12px;
    margin: 0;
}
.ju7-requirement-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background: var(--ju7-surface);
    overflow-wrap: anywhere;
}
.ju7-requirement-label {
    margin: 0 0 6px;
    color: var(--ju7-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}
.ju7-requirement-value {
    margin: 0;
    color: var(--ju7-text);
    font-weight: 600;
    line-height: 1.5;
}

/* Disclaimer */
.ju7-disclaimer {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 32px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
}
.ju7-disclaimer-inner { max-width: 900px; margin-inline: auto; }
.ju7-disclaimer-eyebrow {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 14px;
    font-weight: 600;
}
.ju7-disclaimer-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.25;
}
.ju7-disclaimer-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--ju7-accent);
}
.ju7-disclaimer-content { color: var(--ju7-muted); line-height: 1.6; }
.ju7-disclaimer-content p { margin: 0 0 12px; }
.ju7-disclaimer-content p:last-child { margin-bottom: 0; }

/* Site Footer */
.ju7-site-footer {
    width: 100%;
    color: #f9fafb;
    background: #111827;
}
.ju7-footer-inner {
    box-sizing: border-box;
    max-width: var(--ju7-container);
    margin-inline: auto;
    padding: 40px var(--ju7-panel-padding) 20px;
}
.ju7-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.ju7-footer-branding { display: flex; align-items: center; gap: 10px; }
.ju7-footer-logo .custom-logo-link { display: inline-flex; }
.ju7-footer-logo img { width: auto; height: auto; max-width: 52px; max-height: 52px; object-fit: contain; }
.ju7-footer-title { margin: 0; color: #fff; font-size: 20px; font-weight: 700; }
.ju7-footer-description, .ju7-footer-note { color: #cbd5e1; line-height: 1.6; }
.ju7-footer-description { margin: 12px 0 0; }
.ju7-footer-heading { margin: 0 0 12px; color: #fff; font-size: 16px; }
.ju7-footer-nav { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ju7-footer-link { color: #cbd5e1; text-decoration: none; }
.ju7-footer-link:hover { color: #fff; text-decoration: underline; }
.ju7-footer-link:focus-visible { outline: 2px solid var(--ju7-accent); outline-offset: 3px; }
.ju7-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #334155;
    font-size: 14px;
}
.ju7-footer-copyright, .ju7-footer-note { margin: 0; }
@media (min-width: 600px) { .ju7-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 599px) { .ju7-footer-bottom { flex-direction: column; } }

/* Analytics Consent */
.ju7-consent-banner {
    position: fixed;
    z-index: 10000;
    inset-inline: 0;
    bottom: 0;
    box-sizing: border-box;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    padding: 14px var(--ju7-panel-padding);
    color: var(--ju7-text);
    background: var(--ju7-bg);
    border-top: 3px solid var(--ju7-accent);
    box-shadow: 0 -8px 24px rgb(17 24 39 / 12%);
}
.ju7-consent-banner[hidden] { display: none; }
.ju7-consent-inner {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: var(--ju7-container);
    margin-inline: auto;
}
.ju7-consent-title { margin: 0 0 4px; color: var(--ju7-text); font-size: 17px; line-height: 1.35; }
.ju7-consent-description { margin: 0; color: var(--ju7-muted); font-size: 14px; line-height: 1.5; }
.ju7-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.ju7-consent-accept,
.ju7-consent-reject {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--ju7-accent);
    border-radius: var(--ju7-radius);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.ju7-consent-accept { color: #fff; background: var(--ju7-accent-dark); }
.ju7-consent-accept:hover { filter: brightness(.92); }
.ju7-consent-reject { color: var(--ju7-text); background: var(--ju7-bg); }
.ju7-consent-reject:hover { background: var(--ju7-surface); }
.ju7-consent-privacy {
    grid-column: 1 / -1;
    justify-self: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--ju7-accent-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ju7-consent-banner button:focus-visible,
.ju7-consent-privacy:focus-visible,
.ju7-footer-link[data-ju7-open-preferences]:focus-visible {
    outline: 3px solid var(--ju7-accent);
    outline-offset: 3px;
}
@media (min-width: 760px) {
    .ju7-consent-banner { padding-block: 16px; }
    .ju7-consent-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
    .ju7-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .ju7-consent-privacy { padding-inline: 8px; }
}

/* Static Pages */
.page:not(.home),
.page:not(.home) #page,
.page:not(.home) #content,
.page:not(.home) .site-content,
.page:not(.home) .site.grid-container { background-color: var(--ju7-surface-alt); }
.ju7-page-main { margin: 0; padding: 16px var(--ju7-gutter) 32px; color: var(--ju7-text); }
.ju7-page-inner { width: 100%; max-width: var(--ju7-container); margin-inline: auto; }
.ju7-page-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; box-sizing: border-box; margin: 0 0 16px; padding: 12px var(--ju7-panel-padding); border: 1px solid var(--ju7-border); border-radius: var(--ju7-panel-radius); background: var(--ju7-bg); color: var(--ju7-muted); font-size: 13px; }
.ju7-page-breadcrumb a { color: var(--ju7-accent); text-decoration: none; }
.ju7-page-breadcrumb a:hover { text-decoration: underline; }
.ju7-page-breadcrumb a:focus-visible { outline: 2px solid var(--ju7-accent); outline-offset: 3px; }
.ju7-page-card { box-sizing: border-box; width: 100%; margin-inline: auto; padding: 30px var(--ju7-panel-padding) 32px; border: 1px solid var(--ju7-border); border-radius: var(--ju7-panel-radius); background: var(--ju7-bg); }
.ju7-page-eyebrow { margin: 0 0 8px; color: var(--ju7-muted); font-size: 14px; font-weight: 600; }
.ju7-page-title { margin: 0 0 20px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; }
.ju7-page-content { max-width: 760px; color: var(--ju7-muted); line-height: 1.7; }
.ju7-page-content > :first-child { margin-top: 0; }
.ju7-page-content a { color: var(--ju7-accent-dark); }

/* Static Page Current Navigation State */
#site-navigation .main-nav ul li.current-menu-item > a,
#site-navigation .main-nav ul li.current_page_item > a,
#site-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--ju7-accent); }

@media (max-width: 768px) {
    .ju7-page-main { padding: 12px 16px 24px; }
    .ju7-page-breadcrumb { margin-bottom: 12px; padding-block: 10px; }
    .ju7-page-card { padding: 20px 18px 24px; }
}

/* Related Apps */
.ju7-related-section {
    margin-bottom: 16px;
    padding: 32px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
}
.ju7-related-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.25;
}
.ju7-related-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--ju7-accent);
}
.ju7-related-intro {
    margin: 0 0 20px;
    color: var(--ju7-muted);
    line-height: 1.6;
}
.ju7-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 16px;
}
.ju7-related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background: var(--ju7-surface);
    text-align: center;
    overflow-wrap: anywhere;
}
.ju7-related-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--ju7-radius);
    margin-bottom: 12px;
}
.ju7-related-name {
    margin: 0 0 8px;
    color: var(--ju7-text);
    font-size: 18px;
    line-height: 1.35;
}
.ju7-related-meta {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 14px;
    line-height: 1.5;
}
.ju7-related-actions {
    display: grid;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
}
.ju7-related-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.ju7-related-actions .ju7-related-download {
    color: var(--ju7-bg);
    background: var(--ju7-accent);
    border-color: var(--ju7-accent);
}
.ju7-related-actions .ju7-related-download:hover { background: var(--ju7-accent-dark); }
.ju7-related-actions .ju7-related-details {
    color: var(--ju7-accent-dark);
    background: var(--ju7-bg);
}
.ju7-related-actions .ju7-related-details:hover { background: var(--ju7-surface-alt); }
.ju7-related-actions a:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

/* Featured Websites */
.ju7-featured-websites {
    margin-bottom: 16px;
    padding: 32px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
}
.ju7-featured-websites-title {
    margin: 0 0 16px;
    color: var(--ju7-text);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.25;
}
.ju7-featured-websites-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--ju7-accent);
}
.ju7-featured-websites-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.ju7-featured-website-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--ju7-accent) 18%, var(--ju7-bg));
    border-radius: var(--ju7-panel-radius);
    background: color-mix(in srgb, var(--ju7-accent) 4%, var(--ju7-bg));
    box-shadow: 0 5px 18px rgb(17 24 39 / 6%);
}
.ju7-featured-website-logo {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 56px;
    height: 56px;
    margin: 2px 0 0;
    object-fit: contain;
    border-radius: 10px;
}
.ju7-featured-website-content {
    grid-column: 2;
    min-width: 0;
}
.ju7-featured-website-label {
    margin: 0 0 3px;
    color: var(--ju7-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.ju7-featured-website-name {
    margin: 0 0 4px;
    color: var(--ju7-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.ju7-featured-website-description {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 12px;
    line-height: 1.45;
}
.ju7-featured-website-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--ju7-accent);
    border-radius: 9px;
    color: var(--ju7-bg);
    background: var(--ju7-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}
.ju7-featured-website-button:hover {
    border-color: var(--ju7-accent-dark);
    color: var(--ju7-bg);
    background: var(--ju7-accent-dark);
}
.ju7-featured-website-button:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}
@media (min-width: 600px) {
    .ju7-featured-websites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* FAQ */
.ju7-faq-section {
    margin-bottom: 16px;
    padding: 32px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
}
.ju7-faq-title {
    margin: 0 0 16px;
    color: var(--ju7-text);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.25;
}
.ju7-faq-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--ju7-accent);
}
.ju7-faq-intro {
    margin: 0 0 20px;
    color: var(--ju7-muted);
    line-height: 1.6;
}
.ju7-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}
.ju7-faq-item {
    min-width: 0;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    overflow-wrap: anywhere;
}
.ju7-faq-question {
    position: relative;
    box-sizing: border-box;
    min-height: 48px;
    padding: 14px 44px 14px 16px;
    color: var(--ju7-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    border-radius: var(--ju7-radius);
}
.ju7-faq-question::-webkit-details-marker { display: none; }
.ju7-faq-question::before,
.ju7-faq-question::after {
    content: "";
    position: absolute;
    right: 16px;
    top: calc(50% - 1px);
    width: 12px;
    height: 2px;
    background: var(--ju7-accent);
}
.ju7-faq-question::after { transform: rotate(90deg); }
.ju7-faq-item[open] > .ju7-faq-question::after { display: none; }
.ju7-faq-question:hover { background: var(--ju7-surface); }
.ju7-faq-question:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}
.ju7-faq-answer {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--ju7-muted);
    line-height: 1.6;
}
@media (min-width: 768px) {
    .ju7-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Amazing Features */
.ju7-features-section {
    margin-bottom: 16px;
    padding: 36px var(--ju7-panel-padding);
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background-color: var(--ju7-bg);
}

.ju7-features-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.25;
}

.ju7-features-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background-color: var(--ju7-accent);
}

.ju7-features-intro {
    margin: 0 0 20px;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ju7-feature-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background-color: var(--ju7-surface);
}

.ju7-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 10px;
    color: var(--ju7-accent);
    background-color: var(--ju7-surface-alt);
}

.ju7-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ju7-feature-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.ju7-feature-description {
    margin: 0;
    color: var(--ju7-muted);
    line-height: 1.6;
}

@media (min-width: 600px) {
    .ju7-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 769px) {
    .ju7-features-section {
        padding-block: 52px;
    }

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

/* Screenshots */
.ju7-screenshots-section {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
    min-width: 0;
}
.ju7-screenshots-title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}
.ju7-screenshots-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    background: var(--ju7-accent);
}
.ju7-screenshots-carousel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
}
.ju7-screenshots-track {
    display: flex;
    min-width: 0;
    grid-column: 1 / -1;
    grid-row: 1;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    list-style: none;
    margin: 0;
    padding: 2px 0;
}
.ju7-screenshots-track::-webkit-scrollbar {
    display: none;
}
.ju7-screenshot-card {
    box-sizing: border-box;
    flex: 0 0 200px;
    height: 355px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ju7-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--ju7-text);
    scroll-snap-align: start;
}
.ju7-screenshot-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.ju7-screenshots-control {
    grid-row: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ju7-border);
    border-radius: 50%;
    color: var(--ju7-accent-dark);
    background: var(--ju7-bg);
    font-size: 24px;
    cursor: pointer;
}
.ju7-screenshots-control[data-direction="-1"] { grid-column: 1; }
.ju7-screenshots-control[data-direction="1"] { grid-column: 3; }
.ju7-screenshots-control:disabled { opacity: 0.45; cursor: default; }
.ju7-screenshots-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}
.ju7-screenshots-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ju7-screenshots-dot span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ju7-border);
}
.ju7-screenshots-dot[aria-current="true"] span { width: 18px; border-radius: 4px; background: var(--ju7-accent); }
.ju7-screenshots-dot:hover,
.ju7-screenshots-control:not(:disabled):hover { background: var(--ju7-surface-alt); }
.ju7-screenshots-track:focus-visible,
.ju7-screenshots-control:focus-visible,
.ju7-screenshots-dot:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}
.ju7-screenshots-section [hidden] { display: none; }
@media (max-width: 600px) {
    .ju7-screenshots-section {
        padding: 16px 12px 12px;
    }

    .ju7-screenshots-title {
        margin-bottom: 10px;
    }

    .ju7-screenshots-carousel {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 4px;
    }

    .ju7-screenshots-track {
        grid-column: 2;
        grid-row: 1;
        gap: 0;
        scroll-snap-stop: always;
    }

    .ju7-screenshot-card {
        flex: 0 0 100%;
        height: 500px;
        border: 0;
        background: transparent;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .ju7-screenshot-image {
        width: min(255px, 100%);
        max-width: 255px;
        height: 500px;
        max-height: 500px;
        object-fit: contain;
    }

    .ju7-screenshots-control {
        grid-row: 1;
        width: 44px;
        height: 44px;
    }

    .ju7-screenshots-control[data-direction="-1"] { grid-column: 1; }
    .ju7-screenshots-control[data-direction="1"] { grid-column: 3; }

    .ju7-screenshots-dots {
        margin-top: 0;
    }
}
@media (min-width: 769px) {
    .ju7-screenshots-section { padding: 24px; }
    .ju7-screenshots-carousel { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 14px; }
    .ju7-screenshots-track { grid-column: 2; }
    .ju7-screenshots-control { grid-row: 1; width: 40px; height: 40px; }
    .ju7-screenshot-card { flex-basis: clamp(190px, calc((100% - 64px) / 5), 210px); }
    .ju7-screenshots-dot { width: 28px; height: 32px; }
}

/* Blog */
.ju7-blog-main {
    box-sizing: border-box;
    margin: 0;
    padding: 20px var(--ju7-gutter) 40px;
    color: var(--ju7-text);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ju7-blog-shell {
    width: 100%;
    max-width: var(--ju7-container);
    margin-inline: auto;
}

.ju7-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--ju7-muted);
    font-size: 14px;
}

.ju7-blog-breadcrumb a,
.ju7-blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.ju7-blog-breadcrumb a:hover,
.ju7-blog-card-title a:hover {
    color: var(--ju7-accent);
}

.ju7-blog-header,
.ju7-blog-empty,
.ju7-article-card,
.ju7-latest-articles {
    box-sizing: border-box;
    min-width: 0;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-panel-radius);
    background: var(--ju7-bg);
}

.ju7-blog-header {
    margin-bottom: 20px;
    padding: 24px var(--ju7-panel-padding);
    background: var(--ju7-surface-alt);
}

.ju7-blog-eyebrow {
    margin: 0 0 8px;
    color: var(--ju7-accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ju7-blog-title,
.ju7-article-title {
    margin: 0;
    color: var(--ju7-text);
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.ju7-blog-intro {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--ju7-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ju7-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}

.ju7-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ju7-border);
    border-radius: var(--ju7-radius);
    background: var(--ju7-bg);
}

.ju7-blog-card-image,
.ju7-article-featured-image {
    margin: 0;
    overflow: hidden;
    background: var(--ju7-surface);
}

.ju7-blog-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ju7-blog-card-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.ju7-blog-card-date,
.ju7-article-date {
    margin: 0 0 8px;
    color: var(--ju7-muted);
    font-size: 13px;
}

.ju7-blog-card-title {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ju7-blog-card-excerpt {
    margin: 0 0 16px;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-blog-card-link,
.ju7-latest-articles-all {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    color: var(--ju7-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.ju7-blog-card-link:hover,
.ju7-latest-articles-all:hover {
    color: var(--ju7-accent);
    text-decoration: underline;
}

.ju7-blog-card-link:focus-visible,
.ju7-blog-breadcrumb a:focus-visible,
.ju7-blog-button:focus-visible,
.ju7-latest-articles-all:focus-visible,
.ju7-pagination a:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 3px;
}

.ju7-blog-empty {
    padding: 24px var(--ju7-panel-padding);
    background: var(--ju7-surface);
}

.ju7-blog-empty h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.ju7-blog-empty p {
    margin: 0 0 16px;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-blog-button {
    display: inline-flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--ju7-border);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.ju7-blog-button-secondary {
    color: var(--ju7-text);
    background: var(--ju7-bg);
}

.ju7-blog-button-secondary:hover {
    border-color: var(--ju7-accent);
    color: var(--ju7-accent-dark);
}

.ju7-pagination {
    margin-top: 24px;
}

.ju7-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ju7-pagination .page-numbers {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--ju7-border);
    border-radius: 10px;
    color: var(--ju7-text);
    background: var(--ju7-bg);
    text-decoration: none;
}

.ju7-pagination .page-numbers.current,
.ju7-pagination a:hover {
    border-color: var(--ju7-accent);
    color: var(--ju7-accent-dark);
    background: var(--ju7-surface-alt);
}

.ju7-article-card {
    padding: 22px var(--ju7-panel-padding);
}

.ju7-article-header {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 20px;
}

.ju7-article-title {
    margin-bottom: 12px;
}

.ju7-article-date {
    margin-bottom: 0;
}

.ju7-article-featured-image {
    margin-bottom: 24px;
    border-radius: var(--ju7-radius);
}

.ju7-article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ju7-article-content {
    max-width: 760px;
    min-width: 0;
    margin-inline: auto;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.ju7-article-content a {
    color: var(--ju7-accent-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    overflow-wrap: anywhere;
}

.ju7-article-content a:hover {
    color: var(--ju7-accent);
}

.ju7-article-content a:focus-visible {
    outline: 2px solid var(--ju7-accent);
    outline-offset: 2px;
}

.ju7-article-content > :first-child { margin-top: 0; }
.ju7-article-content > :last-child { margin-bottom: 0; }
.ju7-article-content h2 { margin: 1.8em 0 0.65em; font-size: clamp(23px, 4vw, 30px); line-height: 1.3; }
.ju7-article-content h3 { margin: 1.5em 0 0.55em; font-size: clamp(20px, 3.5vw, 24px); line-height: 1.35; }
.ju7-article-content p,
.ju7-article-content ul,
.ju7-article-content ol { margin-top: 0; margin-bottom: 1.2em; }
.ju7-article-content ul,
.ju7-article-content ol { padding-inline-start: 1.5em; }
.ju7-article-content li + li { margin-top: 0.35em; }
.ju7-article-content img,
.ju7-article-content video,
.ju7-article-content iframe { max-width: 100%; }
.ju7-article-content img { height: auto; }
.ju7-article-back { margin: 28px 0 0; }

.ju7-related-articles {
    margin-top: 28px;
}

.ju7-related-articles > h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.ju7-latest-articles {
    width: 100%;
    max-width: var(--ju7-container);
    margin: 24px auto;
    padding: 20px var(--ju7-panel-padding);
    background: var(--ju7-surface-alt);
}

.ju7-latest-articles-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.ju7-latest-articles-header h2 {
    margin: 0;
    font-size: clamp(23px, 4vw, 30px);
    line-height: 1.25;
}

.ju7-latest-articles-header p:not(.ju7-blog-eyebrow) {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--ju7-muted);
    line-height: 1.6;
}

.ju7-latest-articles-all {
    flex-shrink: 0;
    margin-top: 0;
}

@media (min-width: 600px) {
    .ju7-blog-main { padding-top: 28px; }
    .ju7-blog-header { padding: 30px 28px; }
    .ju7-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .ju7-article-card { padding: 32px; }
    .ju7-latest-articles { padding: 26px; }
    .ju7-latest-articles-header { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 20px; }
}

@media (min-width: 1024px) {
    .ju7-blog-main { padding-block: 36px 56px; }
    .ju7-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
    .ju7-article-card { padding: 40px; }
    .ju7-latest-articles { margin-block: 32px; padding: 30px; }
}
