/**
 * Gear Guide category archives and standard posts.
 *
 * Parent templates and behavior remain intact. This layer is enabled only
 * when Homepage Gear Guide is the site's assigned static front-page template.
 */

.acms-gear-content {
    color: var(--ggh-ink);
    background: var(--ggh-background);
}

.acms-gear-content .site-main {
    color: var(--ggh-ink);
    background: var(--ggh-background);
}

.acms-gear-content :where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ggh-gold) 72%, transparent);
    outline-offset: 3px;
}

.acms-gear-content .breadcrumb a {
    color: color-mix(in srgb, var(--ggh-gold) 72%, var(--ggh-ink));
}

.acms-gear-content .breadcrumb a:hover,
.acms-gear-content .breadcrumb a:focus-visible {
    color: var(--ggh-ink);
}

/* Category archive */
.acms-gear-category .cat-header--centered {
    position: relative;
    padding: clamp(42px, 6vw, 76px) 0 clamp(38px, 5vw, 64px);
    overflow: hidden;
    text-align: left;
    border-bottom: 1px solid var(--ggh-line);
    background:
        radial-gradient(circle at 86% 24%, color-mix(in srgb, var(--ggh-gold) 10%, transparent), transparent 23rem),
        linear-gradient(120deg, var(--ggh-surface) 0%, var(--ggh-surface-soft) 100%);
}

.acms-gear-category .cat-header--centered::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(24px, calc((100vw - 1240px) / 2));
    width: 72px;
    border-top: 4px solid var(--ggh-gold);
    pointer-events: none;
}

.acms-gear-category .cat-header--centered .container {
    position: relative;
    width: min(1240px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.acms-gear-category .cat-header__icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 0 18px;
    place-items: center;
    color: var(--ggh-navy);
    border: 1px solid color-mix(in srgb, var(--ggh-gold) 50%, var(--ggh-line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--ggh-gold) 13%, var(--ggh-surface));
    font-size: 22px;
}

.acms-gear-category .cat-header--centered .cat-header__title {
    max-width: 900px;
    margin: 0 0 16px;
    color: var(--ggh-ink);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-align: left;
    text-wrap: balance;
}

.acms-gear-category .cat-header--centered .breadcrumb {
    margin: 0 0 18px;
}

.acms-gear-category .cat-header--centered .breadcrumb__list {
    justify-content: flex-start;
}

.acms-gear-category .cat-header--centered .cat-header__description {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--ggh-muted);
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.acms-gear-category .cat-header--centered .cat-header__description p {
    margin: 0;
}

.acms-gear-category .cat-header--centered .cat-header__meta {
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
}

.acms-gear-category .cat-header--centered .cat-header__meta-item {
    padding: 8px 12px;
    color: var(--ggh-muted);
    border: 1px solid var(--ggh-line);
    border-radius: 999px;
    background: var(--ggh-surface);
    box-shadow: none;
    font-size: 11px;
    font-weight: 800;
}

.acms-gear-category .cat-header--centered .cat-header__meta-item i {
    color: color-mix(in srgb, var(--ggh-gold) 70%, var(--ggh-ink));
}

.acms-gear-category .cat-header--centered .cat-children {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 28px 0 0;
}

.acms-gear-category .cat-header--centered .cat-child {
    padding: 13px;
    color: var(--ggh-ink);
    border: 1px solid var(--ggh-line);
    border-radius: 8px;
    background: var(--ggh-surface);
    box-shadow: none;
}

.acms-gear-category .cat-header--centered .cat-child:hover,
.acms-gear-category .cat-header--centered .cat-child:focus-visible {
    border-color: var(--ggh-gold);
    background: color-mix(in srgb, var(--ggh-gold) 7%, var(--ggh-surface));
    transform: none;
}

.acms-gear-category .cat-header--centered .cat-child__icon {
    color: var(--ggh-navy);
    border-radius: 6px;
    background: color-mix(in srgb, var(--ggh-gold) 12%, var(--ggh-surface));
}

.acms-gear-category .cat-header--centered .cat-child__name {
    color: var(--ggh-ink);
    font-weight: 850;
}

.acms-gear-category .cat-header--centered .cat-child__count {
    color: var(--ggh-muted);
}

.acms-gear-category .posts-section {
    padding: clamp(38px, 5vw, 64px) 0 clamp(54px, 7vw, 88px);
    background: var(--ggh-surface-soft);
}

.acms-gear-category .posts-section > .container,
.acms-gear-post .site-main--post > .container,
.acms-gear-post .post-article > .container,
.acms-gear-post .post-footer > .container,
.acms-gear-post .related-posts > .container,
.acms-gear-post .comments-section > .container {
    width: min(1240px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.acms-gear-category .content-layout {
    gap: 24px;
}

.acms-gear-category .posts-grid-v2 {
    gap: 16px;
}

.acms-gear-category .post-card {
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--ggh-line);
    border-radius: 8px;
    background: var(--ggh-surface);
    box-shadow: none;
}

.acms-gear-category .post-card--grid-v2 {
    transition: border-color 180ms ease, background-color 180ms ease;
}

.acms-gear-category .post-card--grid-v2:hover {
    border-color: color-mix(in srgb, var(--ggh-gold) 62%, var(--ggh-line));
    background: color-mix(in srgb, var(--ggh-gold) 3%, var(--ggh-surface));
    box-shadow: none;
    transform: none;
}

.acms-gear-category .post-card--grid-v2 .post-card__image {
    aspect-ratio: 3 / 2;
    background: var(--ggh-surface-soft);
}

.acms-gear-category .post-card__content {
    gap: 10px;
    padding: 18px;
}

.acms-gear-category .post-card__title {
    color: var(--ggh-ink);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.acms-gear-category .post-card__title a:hover,
.acms-gear-category .post-card__title a:focus-visible {
    color: color-mix(in srgb, var(--ggh-gold) 70%, var(--ggh-ink));
}

.acms-gear-category .post-card__excerpt {
    color: var(--ggh-muted);
    font-size: 13px;
    line-height: 1.6;
}

.acms-gear-category .post-card__footer-grid {
    margin-top: auto;
    padding-top: 13px;
    color: var(--ggh-muted);
    border-top-color: var(--ggh-line);
    font-size: 11px;
}

.acms-gear-category .sidebar-widget,
.acms-gear-post .sidebar-widget {
    padding: 20px;
    border: 1px solid var(--ggh-line);
    border-radius: 8px;
    background: var(--ggh-surface);
    box-shadow: none;
}

.acms-gear-category .sidebar-widget__header,
.acms-gear-post .sidebar-widget__header {
    border-bottom-color: var(--ggh-line);
}

.acms-gear-category .sidebar-widget__title,
.acms-gear-post .sidebar-widget__title {
    color: var(--ggh-ink);
}

.acms-gear-category .sidebar-widget__title i,
.acms-gear-category .sidebar-widget__link,
.acms-gear-post .sidebar-widget__title i,
.acms-gear-post .sidebar-widget__link {
    color: color-mix(in srgb, var(--ggh-gold) 72%, var(--ggh-ink));
}

.acms-gear-category .load-more__btn {
    min-height: 48px;
    color: var(--ggh-navy);
    border-color: var(--ggh-gold-dark);
    border-radius: 6px;
    background: var(--ggh-gold);
    box-shadow: none;
    font-weight: 900;
}

.acms-gear-category .load-more__btn:hover:not(:disabled),
.acms-gear-category .load-more__btn:focus-visible:not(:disabled) {
    color: var(--ggh-navy);
    border-color: var(--ggh-gold-dark);
    background: color-mix(in srgb, var(--ggh-gold) 82%, #fff);
    box-shadow: none;
}

/* Single post */
.acms-gear-post .post-hero--centered {
    position: relative;
    padding: clamp(20px, 2.2vw, 30px) 0 clamp(22px, 2.4vw, 32px);
    overflow: hidden;
    border-bottom: 1px solid var(--ggh-line);
    background: linear-gradient(120deg, var(--ggh-surface) 0%, var(--ggh-surface-soft) 100%);
}

.acms-gear-post .post-hero__background {
    inset: 0;
    mask-image: none;
    -webkit-mask-image: none;
}

.acms-gear-post .post-hero__gradient {
    background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--ggh-gold) 11%, transparent), transparent 25rem);
}

.acms-gear-post .post-hero__pattern {
    opacity: 0.12;
}

.acms-gear-post .post-hero--centered > .container {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.acms-gear-post .post-hero__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    align-items: end;
    max-width: none;
    text-align: left;
}

.acms-gear-post .post-hero .breadcrumb,
.acms-gear-post .post-hero__title,
.acms-gear-post .post-hero__excerpt {
    grid-column: 1 / -1;
}

.acms-gear-post .post-hero .breadcrumb {
    margin: 0;
}

.acms-gear-post .post-hero .breadcrumb__list {
    justify-content: flex-start;
}

.acms-gear-post .post-hero__title {
    max-width: 1120px;
    margin: 0;
    color: var(--ggh-ink);
    font-size: clamp(30px, 2.65vw, 38px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: left;
    text-wrap: balance;
}

.acms-gear-post .post-hero__excerpt {
    max-width: 760px;
    margin: 0;
    color: var(--ggh-muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.acms-gear-post .post-hero__meta {
    justify-content: flex-start;
    gap: 10px;
}

.acms-gear-post .post-hero__author-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid var(--ggh-surface);
    box-shadow: 0 0 0 1px var(--ggh-line);
}

.acms-gear-post .post-hero__author-name {
    color: var(--ggh-ink);
    font-size: 12px;
    font-weight: 850;
}

.acms-gear-post .post-hero__details {
    gap: 8px 10px;
    color: var(--ggh-muted);
    font-size: 11px;
}

.acms-gear-post .post-hero__details i {
    color: color-mix(in srgb, var(--ggh-gold) 72%, var(--ggh-ink));
}

.acms-gear-post .post-hero__rating {
    justify-self: end;
    margin: 0;
    color: var(--ggh-ink);
    border: 1px solid var(--ggh-line);
    border-radius: 7px;
    background: var(--ggh-surface);
    box-shadow: none;
    padding: 8px 12px;
    font-size: 11px;
}

.acms-gear-post .post-article,
.acms-gear-post .site-main--post > .container {
    padding-top: clamp(34px, 5vw, 64px);
    padding-bottom: clamp(34px, 5vw, 64px);
    background: var(--ggh-background);
}

.acms-gear-post .post-content {
    --content-width: 840px;
    --content-text: var(--ggh-ink);
    --content-text-secondary: var(--ggh-muted);
    --content-text-muted: var(--ggh-muted);
    --content-link: color-mix(in srgb, var(--ggh-gold) 72%, var(--ggh-ink));
    --content-link-hover: var(--ggh-ink);
    --content-border: var(--ggh-line);
    --content-bg-subtle: var(--ggh-surface-soft);
    color: var(--ggh-ink);
    font-size: 18px;
    line-height: 1.78;
}

.acms-gear-post .post-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--ggh-ink);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.acms-gear-post .post-content h2 {
    padding: 0 0 10px;
    border-bottom: 2px solid var(--ggh-line);
    border-left: 0;
    font-size: clamp(26px, 3vw, 36px);
}

.acms-gear-post .post-content h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 10px;
    background: var(--ggh-gold);
}

.acms-gear-post .post-content h3 {
    font-size: clamp(21px, 2.2vw, 28px);
}

.acms-gear-post .post-content a:not([class]) {
    color: color-mix(in srgb, var(--ggh-gold) 72%, var(--ggh-ink));
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.acms-gear-post .post-content :is(img, figure, table, blockquote) {
    border-radius: 8px;
}

.acms-gear-post .post-content blockquote {
    border-left-color: var(--ggh-gold);
    background: var(--ggh-surface-soft);
}

.acms-gear-post .toc-expandable__card,
.acms-gear-post .post-footer--recommended,
.acms-gear-post .comments-section,
.acms-gear-post .related-posts {
    border-color: var(--ggh-line);
    background: var(--ggh-surface-soft);
}

.acms-gear-post .toc-expandable__card {
    border-radius: 8px;
    box-shadow: none;
}

.acms-gear-post .post-footer__share-btn,
.acms-gear-post .post-footer__author-link {
    min-height: 44px;
    color: var(--ggh-navy);
    border-color: var(--ggh-gold-dark);
    border-radius: 6px;
    background: var(--ggh-gold);
    box-shadow: none;
    font-weight: 850;
}

.acms-gear-post .post-footer__author-avatar {
    box-shadow: 0 0 0 3px var(--ggh-surface), 0 0 0 4px var(--ggh-line);
}

.acms-gear-post .post-footer__author-name,
.acms-gear-post .related-posts__title,
.acms-gear-post .comments-section__title {
    color: var(--ggh-ink);
}

@media (max-width: 900px) {
    .acms-gear-category .cat-header--centered .cat-children {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .acms-gear-post .post-hero__content {
        grid-template-columns: 1fr;
    }

    .acms-gear-post .post-hero__meta,
    .acms-gear-post .post-hero__rating {
        grid-column: 1;
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .acms-gear-category .cat-header--centered .container,
    .acms-gear-category .posts-section > .container,
    .acms-gear-post .post-hero--centered > .container,
    .acms-gear-post .site-main--post > .container,
    .acms-gear-post .post-article > .container,
    .acms-gear-post .post-footer > .container,
    .acms-gear-post .related-posts > .container,
    .acms-gear-post .comments-section > .container {
        width: min(100% - 28px, 1240px);
    }

    .acms-gear-category .cat-header--centered::before {
        left: 14px;
        width: 52px;
    }

    .acms-gear-category .cat-header--centered .cat-header__title,
    .acms-gear-post .post-hero__title {
        font-size: clamp(26px, 7vw, 32px);
    }

    .acms-gear-post .post-hero--centered {
        padding: 18px 0 20px;
    }

    .acms-gear-post .post-hero__excerpt {
        font-size: 14px;
    }

    .acms-gear-category .cat-header--centered .cat-children {
        grid-template-columns: 1fr;
    }

    .acms-gear-post .post-hero__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .acms-gear-post .post-hero__details {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .acms-gear-post .post-content {
        font-size: 16px;
        line-height: 1.72;
    }
}

/* ==========================================================================
   Field Manual v2 — unmistakable Gear Guide catalogue + article identity
   ========================================================================== */

.acms-gear-content {
    --ggh-field-navy: #061831;
    --ggh-field-navy-soft: #0d2749;
    --ggh-field-paper: #f3f5f7;
    --ggh-field-on-accent: #061831;
    --ggh-field-shadow: 0 16px 36px rgba(6, 24, 49, 0.1);
}

/* Catalogue hero becomes a strong field-guide masthead. */
.acms-gear-category .cat-header--centered,
.acms-gear-category .category-header--minimal {
    color: #fff;
    border-bottom: 0;
    background:
        linear-gradient(90deg, rgba(255, 176, 0, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 176, 0, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 88% 12%, rgba(255, 176, 0, 0.2), transparent 24rem),
        linear-gradient(135deg, var(--ggh-field-navy) 0%, var(--ggh-field-navy-soft) 100%);
    background-size: 32px 32px, 32px 32px, auto, auto;
}

.acms-gear-category .cat-header--centered {
    min-height: 390px;
    padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
}

.acms-gear-category .cat-header--centered::before {
    top: 0;
    bottom: auto;
    width: 112px;
    height: 6px;
    border: 0;
    background: var(--ggh-gold);
}

.acms-gear-category .cat-header--centered::after {
    position: absolute;
    right: max(24px, calc((100vw - 1240px) / 2));
    bottom: 32px;
    color: rgba(255, 255, 255, 0.12);
    content: "FIELD GUIDE / REVIEWS / BUYING ADVICE";
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.24em;
    pointer-events: none;
}

.acms-gear-category .cat-header--centered .container,
.acms-gear-category .category-header--minimal .container {
    position: relative;
    z-index: 1;
}

.acms-gear-category .cat-header__icon {
    color: var(--ggh-field-on-accent);
    border: 0;
    border-radius: 4px;
    background: var(--ggh-gold);
    box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.12);
}

.acms-gear-category .cat-header--centered .cat-header__title,
.acms-gear-category .category-header__title {
    color: #fff;
    font-size: clamp(44px, 6.4vw, 76px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.acms-gear-category .category-header__title {
    justify-content: flex-start;
    max-width: 920px;
    margin-inline: auto;
}

.acms-gear-category .category-header__content {
    text-align: left;
}

.acms-gear-category .category-header__title i {
    color: var(--ggh-gold);
}

.acms-gear-category .cat-header--centered .breadcrumb__list,
.acms-gear-category .category-header--minimal .breadcrumb__list {
    justify-content: flex-start;
    color: #d6dfeb;
}

.acms-gear-category .category-header--minimal .breadcrumb {
    justify-content: flex-start;
}

.acms-gear-category :is(.cat-header--centered, .category-header--minimal) .breadcrumb a {
    color: var(--ggh-gold);
}

/* Rank Math renders its breadcrumb text inside a nested paragraph. */
.acms-gear-category :is(.cat-header--centered, .category-header--minimal) .breadcrumb p,
.acms-gear-category :is(.cat-header--centered, .category-header--minimal) .breadcrumb .last,
.acms-gear-category :is(.cat-header--centered, .category-header--minimal) .breadcrumb .separator {
    color: #d6dfeb;
}

.acms-gear-category .cat-header--centered .cat-header__description,
.acms-gear-category .category-header__count {
    color: #c7d1df;
}

.acms-gear-category .cat-header--centered .cat-header__description {
    max-width: 680px;
    font-size: clamp(16px, 1.6vw, 19px);
}

/*
 * Some category descriptions arrive already wrapped in paragraphs. WordPress
 * then closes the theme's description paragraph before printing the content,
 * so style the immediately following paragraph as part of the masthead too.
 */
.acms-gear-category .cat-header--centered .cat-header__description:empty {
    display: none;
}

.acms-gear-category .cat-header--centered .cat-header__description + p {
    max-width: 760px;
    margin: 0 0 22px;
    color: #c7d1df;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    text-align: left;
}

.acms-gear-category .cat-header--centered .cat-header__meta-item {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.acms-gear-category .cat-header--centered .cat-header__meta-item i {
    color: var(--ggh-gold);
}

.acms-gear-category .cat-header--centered .cat-children {
    max-width: 1120px;
}

.acms-gear-category .cat-header--centered .cat-child {
    min-height: 76px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.acms-gear-category .cat-header--centered .cat-child:hover,
.acms-gear-category .cat-header--centered .cat-child:focus-visible {
    border-color: var(--ggh-gold);
    background: rgba(255, 176, 0, 0.13);
}

.acms-gear-category .cat-header--centered .cat-child__icon {
    color: var(--ggh-field-on-accent);
    background: var(--ggh-gold);
}

.acms-gear-category .cat-header--centered .cat-child__name {
    color: #fff;
}

.acms-gear-category .cat-header--centered .cat-child__count {
    color: #bac6d5;
}

/* Editorial catalogue cards: practical, crisp and product-image friendly. */
.acms-gear-category :is(.posts-section, .category-content) {
    background:
        linear-gradient(180deg, #e8edf2 0, var(--ggh-field-paper) 180px, var(--ggh-field-paper) 100%);
}

.acms-gear-category .posts-section {
    padding: clamp(48px, 6vw, 76px) 0 clamp(68px, 8vw, 104px);
}

.acms-gear-category .posts-grid-v2 {
    gap: 24px;
}

.acms-gear-category .post-card {
    position: relative;
    border: 0;
    border-radius: 4px;
    background: var(--ggh-surface);
    box-shadow: var(--ggh-field-shadow);
}

.acms-gear-category .post-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 72px;
    height: 5px;
    content: "";
    background: var(--ggh-gold);
}

.acms-gear-category .post-card--grid-v2:hover,
.acms-gear-category .post-card--grid-v2:focus-within {
    border-color: transparent;
    background: var(--ggh-surface);
    box-shadow: 0 20px 46px rgba(6, 24, 49, 0.17);
}

.acms-gear-category .post-card--grid-v2 .post-card__image {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(6, 24, 49, 0.04), rgba(255, 176, 0, 0.08)),
        var(--ggh-surface-soft);
}

.acms-gear-category .post-card--grid-v2 .post-card__image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.acms-gear-category .post-card__content {
    gap: 12px;
    padding: 22px;
}

.acms-gear-category .post-card__title {
    font-size: clamp(19px, 1.65vw, 23px);
    line-height: 1.22;
}

.acms-gear-category .post-card__excerpt {
    font-size: 14px;
    line-height: 1.68;
}

.acms-gear-category .post-card__footer-grid {
    border-top: 1px solid var(--ggh-line);
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.acms-gear-category .sidebar-widget {
    border: 0;
    border-top: 5px solid var(--ggh-gold);
    border-radius: 4px;
    box-shadow: var(--ggh-field-shadow);
}

/* Article masthead is deliberately unlike the parent centered gradient. */
.acms-gear-post .post-hero--centered {
    padding: clamp(52px, 7vw, 88px) 0 clamp(48px, 6vw, 76px);
    border-bottom: 6px solid var(--ggh-gold);
    background:
        linear-gradient(90deg, rgba(255, 176, 0, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(255, 176, 0, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 84% 18%, rgba(255, 176, 0, 0.2), transparent 25rem),
        linear-gradient(135deg, var(--ggh-field-navy) 0%, var(--ggh-field-navy-soft) 100%);
    background-size: 32px 32px, 32px 32px, auto, auto;
}

.acms-gear-post .post-hero__background {
    display: none;
}

.acms-gear-post .post-hero--centered > .container {
    width: min(1120px, calc(100% - 48px));
}

.acms-gear-post .post-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
    gap: 18px 32px;
}

.acms-gear-post .post-hero .breadcrumb__list {
    color: #c7d1df;
}

.acms-gear-post .post-hero .breadcrumb a {
    color: var(--ggh-gold);
}

.acms-gear-post .post-hero__title {
    max-width: 1000px;
    color: #fff;
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.acms-gear-post .post-hero__excerpt {
    max-width: 780px;
    color: #c7d1df;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
}

.acms-gear-post .post-hero__author-name,
.acms-gear-post .post-hero__details {
    color: #dce4ee;
}

.acms-gear-post .post-hero__author-avatar {
    border-color: var(--ggh-gold);
    box-shadow: none;
}

.acms-gear-post .post-hero__details i {
    color: var(--ggh-gold);
}

.acms-gear-post .post-hero__rating {
    min-height: 48px;
    align-self: end;
    color: var(--ggh-field-on-accent);
    border: 0;
    border-radius: 4px;
    background: var(--ggh-gold);
    box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.12);
    font-weight: 850;
}

/* Long-form reading sheet with a visible technical rail. */
.acms-gear-post .post-article,
.acms-gear-post .site-main--post > .container {
    background: var(--ggh-field-paper);
}

.acms-gear-post .post-content {
    position: relative;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid var(--ggh-line);
    border-left: 8px solid var(--ggh-gold);
    border-radius: 4px;
    background: var(--ggh-surface);
    box-shadow: var(--ggh-field-shadow);
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.78;
}

.acms-gear-post .site-main--post-sidebar .post-content {
    max-width: none;
}

.acms-gear-post .post-content h2 {
    position: relative;
    margin-top: 2em;
    padding: 0 0 14px;
    border-bottom: 3px solid var(--ggh-field-navy);
    font-size: clamp(28px, 3.2vw, 40px);
}

.acms-gear-post .post-content h2::after {
    width: 88px;
    height: 5px;
    margin-top: 14px;
}

.acms-gear-post .post-content h3 {
    padding-left: 14px;
    border-left: 4px solid var(--ggh-gold);
}

.acms-gear-post .post-content blockquote {
    padding: clamp(22px, 4vw, 36px);
    border: 0;
    border-top: 5px solid var(--ggh-gold);
    border-radius: 4px;
    background: var(--ggh-field-navy);
    color: #fff;
}

.acms-gear-post .post-content blockquote :is(p, cite) {
    color: inherit;
}

.acms-gear-post .post-content :is(table, .wp-block-table) {
    max-width: 100%;
    overflow-x: auto;
}

.acms-gear-post .toc-expandable__card {
    border: 0;
    border-left: 5px solid var(--ggh-gold);
    border-radius: 4px;
    background: var(--ggh-field-navy);
    color: #fff;
}

.acms-gear-post .toc-expandable__card :is(a, button, h2, h3) {
    color: inherit;
}

.acms-gear-post :is(.post-footer--recommended, .comments-section, .related-content) {
    border-color: var(--ggh-line);
    background: var(--ggh-field-paper);
}

.acms-gear-post :is(.post-footer__share-btn, .post-footer__author-link, .related-content__link) {
    min-height: 44px;
    color: var(--ggh-field-on-accent);
    border-color: var(--ggh-gold-dark);
    border-radius: 4px;
    background: var(--ggh-gold);
    font-weight: 850;
}

/* Content-only dark mode keeps the masthead and remaps reading surfaces. */
[data-theme="dark"] .acms-gear-content {
    --ggh-background: #0b1119;
    --ggh-surface: #121a24;
    --ggh-surface-soft: #18222e;
    --ggh-ink: #f2f5f9;
    --ggh-muted: #aeb9c7;
    --ggh-line: #314052;
    --ggh-field-paper: #0b1119;
    --ggh-field-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .acms-gear-post .post-content h2 {
    border-bottom-color: #3b4b5e;
}

@media (max-width: 900px) {
    .acms-gear-post .post-hero__content {
        grid-template-columns: 1fr;
    }

    .acms-gear-post .post-hero__rating {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .acms-gear-category .cat-header--centered {
        min-height: 0;
        padding: 42px 0 48px;
    }

    .acms-gear-category .cat-header--centered::after {
        display: none;
    }

    .acms-gear-category .cat-header--centered .cat-header__title,
    .acms-gear-category .category-header__title,
    .acms-gear-post .post-hero__title {
        font-size: clamp(32px, 10vw, 44px);
    }

    .acms-gear-post .post-hero--centered {
        padding: 40px 0 44px;
    }

    .acms-gear-post .post-content {
        padding: 28px 20px;
        border-right: 0;
        border-left-width: 5px;
        border-radius: 0;
    }

    .acms-gear-post .post-content :is(table, .wp-block-table) {
        display: block;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acms-gear-content *,
    .acms-gear-content *::before,
    .acms-gear-content *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
