:root {
    --bg: #f7f7f5;
    --surface: #ffffff;
    --ink: #191918;
    --muted: #666661;
    --line: #deded8;
    --accent: #c83232;
    --accent-dark: #9e2424;
    --fitness: #1e6f5c;
    --shadow: 0 10px 30px rgba(24, 24, 20, 0.08);
    --text-size: 13px;
    --small-size: 12px;
    --meta-size: 12px;
    --h1-size: clamp(1.4rem, 2.3vw, 1.75rem);
    --h2-size: 1.15rem;
    --h3-size: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--text-size);
    line-height: 1.75;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 10;
    padding: 8px 12px;
    background: var(--ink);
    color: #fff;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.site-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
}

.site-tagline {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: var(--small-size);
}

.primary-nav ul,
.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    display: block;
    padding: 8px 0;
    color: var(--ink);
    font-size: var(--small-size);
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
    color: var(--accent);
}

.age-strip {
    background: #191918;
    color: #fff;
    font-size: var(--small-size);
    padding: 8px 0;
}

.front-hero {
    padding: 44px 0 36px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f2ef 100%);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy h1,
.page-head h1,
.entry-header h1 {
    margin: 0;
    font-size: var(--h1-size);
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 720px;
    color: var(--muted);
    font-size: var(--text-size);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--fitness);
    font-size: var(--meta-size);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.button,
.search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.search-form button:hover {
    background: var(--accent-dark);
}

.button.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.hero-panel,
.video-card,
.affiliate-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 20px;
}

.hero-panel h2 {
    margin: 0 0 14px;
    font-size: var(--h3-size);
}

.category-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
}

.category-list a:hover {
    border-color: var(--accent);
}

.section-block,
.page-head,
.content-page,
.article-layout,
.policy-strip {
    padding: 34px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2,
.policy-strip h2,
.affiliate-box h2 {
    margin: 0;
    font-size: var(--h2-size);
    line-height: 1.3;
}

.section-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

.feature-band,
.policy-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.feature-band h3 {
    margin: 0 0 6px;
    font-size: var(--h3-size);
}

.feature-band p,
.policy-strip p {
    margin: 0;
    color: var(--muted);
}

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

.video-card {
    overflow: hidden;
}

.card-thumb {
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: #20201e;
    color: #fff;
    text-decoration: none;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-placeholder {
    font-weight: 900;
}

.card-body {
    padding: 16px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: var(--meta-size);
    font-weight: 700;
}

.post-meta a {
    color: var(--fitness);
    text-decoration: none;
}

.card-title {
    margin: 8px 0;
    font-size: var(--h3-size);
    line-height: 1.45;
}

.card-title a {
    text-decoration: none;
}

.card-body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: var(--small-size);
}

.text-link {
    color: var(--accent);
    font-weight: 800;
}

.entry-content {
    max-width: 780px;
}

.entry-content h2 {
    margin-top: 32px;
    font-size: var(--h2-size);
    line-height: 1.35;
}

.entry-content p {
    margin: 0 0 1.15em;
}

.hero-thumb {
    margin: 22px 0;
    overflow: hidden;
    border-radius: 8px;
}

.affiliate-box {
    max-width: 780px;
    margin: 28px 0;
    padding: 20px;
}

.affiliate-note {
    color: var(--muted);
    font-size: var(--small-size);
}

.post-nav {
    display: flex;
    justify-content: space-between;
    max-width: 780px;
    gap: 16px;
    margin: 26px 0;
}

.search-form {
    display: flex;
    gap: 8px;
    max-width: 560px;
}

.search-field {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    font: inherit;
}

.site-footer {
    margin-top: 40px;
    padding: 30px 0;
    background: #191918;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 24px;
}

.footer-title {
    margin: 0 0 8px;
    font-size: var(--h3-size);
    font-weight: 900;
}

.site-footer p,
.copyright {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    margin-top: 24px;
}

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

.pagination {
    padding: 26px 0;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.page-numbers {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
}

.page-numbers.current {
    background: var(--ink);
    color: #fff;
}

@media (max-width: 820px) {
    .header-inner,
    .section-heading,
    .feature-band,
    .policy-strip,
    .footer-grid {
        display: block;
    }

    .primary-nav {
        margin-top: 14px;
    }

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

    .hero-panel {
        margin-top: 22px;
    }

    .feature-band .button {
        margin-top: 16px;
    }

    .search-form {
        display: block;
    }

    .search-form button {
        width: 100%;
        margin-top: 8px;
    }
}
