/*
 Theme Name:   DOMI Guide
 Theme URI:    https://guide.domibike.com
 Description:  eBike Digital Magazine — Editorial monochrome with refined proportions
 Author:       DOMI Team
 Author URI:   https://domibike.com
 Template:     generatepress
 Version:      5.0.0
 Text Domain:  domi-guide
*/

/* ═══════════════════════════════════════════════════════════════════════
   FONTS — Inter body + Crimson Pro headings + DM Mono meta
   ═══════════════════════════════════════════════════════════════════════ */

/* Google Fonts loaded via functions.php <link> tag for better performance */

/* ═══════════════════════════════════════════════════════════════════════
   DESIGN TOKENS v6 — Editorial monochrome + micro accent + refined spacing
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* ── Color — Pure monochrome, one micro accent ── */
    --d-black:      #111111;
    --d-dark:       #1a1a1a;
    --d-charcoal:   #2d2d2d;
    --d-gray:       #555555;
    --d-muted:      #888888;
    --d-silver:     #aaaaaa;
    --d-border:     #e8e8e8;
    --d-surface:    #f5f5f5;
    --d-paper:      #fafafa;
    --d-white:      #ffffff;
    --d-accent:     #4a6741;  /* muted sage */

    /* ── Typography ── */
    --d-font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --d-serif:      'Crimson Pro', 'Georgia', 'Times New Roman', 'Noto Serif', serif;
    --d-mono:       'DM Mono', 'SF Mono', 'Cascadia Code', 'Consolas', monospace;

    /* ── Spacing — 8px grid, editorial generosity ── */
    --d-space-xs:   8px;
    --d-space-sm:   16px;
    --d-space-md:   32px;
    --d-space-lg:   72px;
    --d-space-xl:   104px;
    --d-space-2xl:  144px;

    /* ── Layout ── */
    --d-max:        1280px;
    --d-max-narrow: 680px;
    --d-card-gap:   28px;

    /* ── Radius — Architectural subtlety ── */
    --d-radius:     6px;
    --d-radius-sm:  6px;
    --d-radius-xs:  4px;

    /* ── Shadow — Cold, minimal ── */
    --d-shadow-rest: 0 1px 3px rgba(0,0,0,0.04);
    --d-shadow-hover: 0 4px 16px rgba(0,0,0,0.07);

    /* ── Warm Accent — For atmosphere sections ── */
    --d-warm:       #f8f4ef;
    --d-warm-dark:  #e8e0d5;
    --d-warm-text:  #5c5347;

    /* ── Motion ── */
    --d-ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
    --d-duration:   0.25s;
}


/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--d-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--d-charcoal);
    background-color: var(--d-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
body.blog,
body.home {
    color: var(--d-charcoal) !important;
    background-color: var(--d-white) !important;
}

a {
    color: var(--d-dark);
    text-decoration: none;
    transition: color var(--d-duration) var(--d-ease);
}

a:hover {
    color: var(--d-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ═══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY — Serif headings (Crimson Pro), Inter body
   ═══════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--d-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--d-black);
}

.entry-content h1,
h1.entry-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.1;
}

.entry-content h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    margin-top: 2.5em;
    margin-bottom: 0.6em;
}

.entry-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.entry-content {
    max-width: var(--d-max-narrow);
    font-size: 17px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.6em;
}

.entry-title a,
.main-title a {
    color: var(--d-black) !important;
    text-decoration: none;
}

.main-title a {
    font-family: var(--d-serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}


/* ═══════════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */

.d-container {
    max-width: var(--d-max);
    margin: 0 auto;
    padding: 0 var(--d-space-md);
}


/* ═══════════════════════════════════════════════════════════════════════
   LAYOUT FIX — Kill GP flex-row, force vertical block flow
   ═══════════════════════════════════════════════════════════════════════ */

.home #content.site-content {
    display: block !important;
}

.home .content-area {
    width: 100% !important;
    float: none !important;
}

.d-section,
.d-featured,
.d-newsletter,
.d-brand,
.d-footer-section {
    width: 100% !important;
    display: block !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   HEADER — Logo dot + serif brand, backdrop blur
   ═══════════════════════════════════════════════════════════════════════ */

.site-header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--d-border) !important;
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.inside-header {
    max-width: var(--d-max);
    margin: 0 auto;
    padding: 0 var(--d-space-md) !important;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Green dot before brand name */
.site-branding .main-title a::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--d-accent);
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.main-navigation {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.main-navigation .inside-navigation {
    padding: 0 !important;
    max-width: var(--d-max);
    margin: 0 auto;
}

.main-navigation .main-nav ul li a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--d-muted) !important;
    padding: 6px 16px;
    line-height: normal;
    text-transform: none;
    transition: color var(--d-duration) var(--d-ease);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: var(--d-black) !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION PATTERNS — Eyebrow + serif title
   ═══════════════════════════════════════════════════════════════════════ */

.d-section {
    padding: var(--d-space-xl) 0;
}

.d-section--muted {
    background-color: var(--d-warm);
}

.d-section__header {
    margin-bottom: 40px;
}

.d-section__header--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 56px;
}

.d-section__header--flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.d-section__eyebrow {
    display: block;
    font-family: var(--d-mono);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--d-accent);
    margin-bottom: 12px;
}

.d-section__title {
    font-family: var(--d-serif);
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--d-black);
}

.d-section__sub {
    font-size: 1.02rem;
    color: var(--d-gray);
    line-height: 1.7;
    max-width: 560px;
}

.d-section__header--center .d-section__sub {
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════════════
   CATEGORY GRID — Explore by Topic, unified card system
   ═══════════════════════════════════════════════════════════════════════ */

.d-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.d-cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    background-color: var(--d-white);
    border: 1px solid var(--d-border);
    border-radius: var(--d-radius);
    box-shadow: var(--d-shadow-rest);
    transition: all var(--d-duration) var(--d-ease);
    text-decoration: none !important;
}

.d-cat-card:hover {
    border-color: var(--d-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}

.d-cat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--d-surface);
    border-radius: var(--d-radius-xs);
    color: var(--d-accent);
    margin-bottom: 14px;
    opacity: 0.85;
}

.d-cat-card__body {
    flex: 1;
}

.d-cat-card__name {
    font-family: var(--d-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--d-black);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.d-cat-card__desc {
    font-size: 0.85rem;
    color: var(--d-gray);
    line-height: 1.5;
    margin: 0 0 10px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.d-cat-card__count {
    font-family: var(--d-mono);
    font-size: 0.72rem;
    color: var(--d-silver);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════════════
   TRUST — Social proof section
   ═══════════════════════════════════════════════════════════════════════ */

.d-trust {
    padding: var(--d-space-xl) 0;
    background: var(--d-warm);
}

.d-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--d-space-lg);
    align-items: center;
}

.d-trust__stats {
    display: flex;
    gap: var(--d-space-md);
}

.d-trust__stat {
    text-align: center;
    flex: 1;
}

.d-trust__stat-num {
    display: block;
    font-family: var(--d-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: var(--d-black);
    /* Number animation: fade in from slightly below */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--d-ease), transform 0.6s var(--d-ease);
}

.d-trust__stat-num.is-visible {
    opacity: 1;
    transform: translateY(0);
    line-height: 1.1;
    margin-bottom: 4px;
}

.d-trust__stat-label {
    font-family: var(--d-mono);
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--d-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.d-trust__text {
    padding-left: var(--d-space-md);
}

.d-trust__desc {
    font-size: 0.97rem;
    color: var(--d-gray);
    line-height: 1.7;
    margin-top: var(--d-space-sm);
}


/* ═══════════════════════════════════════════════════════════════════════
   AUTHOR BIO — Box at end of single posts
   ═══════════════════════════════════════════════════════════════════════ */

.d-author-bio {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--d-warm);
    border-radius: var(--d-radius);
    margin-top: var(--d-space-lg);
    max-width: var(--d-max-narrow);
    margin-left: auto;
    margin-right: auto;
}

.d-author-bio__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.d-author-bio__label {
    display: block;
    font-family: var(--d-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--d-muted);
    margin-bottom: 4px;
}

.d-author-bio__name {
    display: block;
    font-family: var(--d-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--d-black);
    margin-bottom: 8px;
}

.d-author-bio__desc {
    font-size: 0.88rem;
    color: var(--d-gray);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLE OF CONTENTS — Floating sidebar for single posts
   ═══════════════════════════════════════════════════════════════════════ */

.d-toc {
    position: fixed;
    left: max(calc((100vw - var(--d-max)) / 2 - 260px), 20px);
    top: 120px;
    width: 220px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.d-toc--visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.d-toc__title {
    display: block;
    font-family: var(--d-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--d-muted);
    margin-bottom: 12px;
}

.d-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--d-border);
}

.d-toc__item {
    padding: 0;
}

.d-toc__link--active {
    color: var(--d-black) !important;
    border-left-color: var(--d-black);
}

.d-toc__list a {
    display: block;
    padding: 6px 0 6px 14px;
    font-family: var(--d-font);
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--d-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.d-toc__list a:hover {
    color: var(--d-charcoal);
}

.d-toc__list a.d-toc__link--active {
    color: var(--d-black);
    border-left-color: var(--d-black);
    font-weight: 500;
}

/* Hide TOC on smaller screens */
@media (max-width: 1400px) {
    .d-toc {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   TESTIMONIALS — Real rider quotes
   ═══════════════════════════════════════════════════════════════════════ */

.d-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--d-card-gap);
    margin-top: var(--d-space-md);
}

.d-testimonial {
    background: var(--d-white);
    border-radius: var(--d-radius);
    padding: 32px;
    box-shadow: var(--d-shadow-rest);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.d-testimonial::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: var(--d-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--d-accent);
    opacity: 0.15;
}

.d-testimonial__text {
    font-family: var(--d-serif);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--d-charcoal);
    margin-bottom: 24px;
    font-style: italic;
}

.d-testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--d-border);
}

.d-testimonial__name {
    font-family: var(--d-font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--d-black);
}

.d-testimonial__bike {
    font-family: var(--d-mono);
    font-size: 0.7rem;
    color: var(--d-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   ROUTE CARDS — Featured cycling routes
   ═══════════════════════════════════════════════════════════════════════ */

.d-routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--d-card-gap);
}

.d-route-card {
    background: var(--d-white);
    border-radius: var(--d-radius);
    overflow: hidden;
    box-shadow: var(--d-shadow-rest);
    transition: transform var(--d-duration) var(--d-ease),
                box-shadow var(--d-duration) var(--d-ease);
}

.d-route-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--d-shadow-hover);
}

.d-route-card__body {
    padding: 24px;
}

.d-route-card__difficulty {
    display: inline-block;
    font-family: var(--d-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--d-accent);
    background: rgba(74, 103, 65, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.d-route-card__title {
    font-family: var(--d-serif);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}

.d-route-card__title a {
    color: var(--d-black);
    text-decoration: none;
}

.d-route-card__title a:hover {
    color: var(--d-accent);
}

.d-route-card__location {
    display: block;
    font-family: var(--d-mono);
    font-size: 0.7rem;
    color: var(--d-muted);
    margin-bottom: 12px;
}

.d-route-card__stats {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--d-border);
}

.d-route-card__stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--d-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--d-gray);
}

.d-route-card__stat svg {
    color: var(--d-muted);
}

.d-route-card__desc {
    font-size: 0.88rem;
    color: var(--d-gray);
    line-height: 1.6;
    margin: 12px 0 16px;
}

.d-route-card__link {
    display: inline-block;
    font-family: var(--d-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--d-accent);
    text-decoration: none;
    transition: color var(--d-duration) var(--d-ease);
}

.d-route-card__link:hover {
    color: var(--d-black);
}

/* ═══════════════════════════════════════════════════════════════════════
   BRANDS — Brand name row
   ═══════════════════════════════════════════════════════════════════════ */

.d-brands {
    padding: var(--d-space-xl) 0;
    background: var(--d-white);
}

.d-brands__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--d-space-lg);
    flex-wrap: wrap;
    margin-top: var(--d-space-md);
}

.d-brands__item {
    font-family: var(--d-serif);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--d-muted);
    letter-spacing: 0.02em;
    transition: color var(--d-duration) var(--d-ease);
}

.d-brands__item:hover {
    color: var(--d-charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════
   EDITORIAL IMAGE BREAK — Full-bleed photograph, dramatic dark overlay
   ═══════════════════════════════════════════════════════════════════════ */

.d-image-break {
    width: 100%;
    height: 55vh;
    min-height: 360px;
    max-height: 640px;
    overflow: hidden;
    position: relative;
    background: var(--d-black);
}

.d-image-break::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.d-image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   DEALS — Coming soon placeholder
   ═══════════════════════════════════════════════════════════════════════ */

.d-deals-coming {
    text-align: center;
    padding: var(--d-space-lg) var(--d-space-md);
}

.d-deals-coming__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 50%;
    color: var(--d-accent);
    margin-bottom: var(--d-space-sm);
    opacity: 0.8;
}

.d-deals-coming__text {
    font-size: 0.95rem;
    color: var(--d-muted);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════════════
   BRAND — About section (improved)
   ═══════════════════════════════════════════════════════════════════════ */

.d-brand {
    padding: var(--d-space-xl) 0;
    background: var(--d-white);
}

.d-brand__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--d-space-lg);
    align-items: center;
}

.d-brand__text {
    font-size: 1.05rem;
    color: var(--d-gray);
    line-height: 1.65;
    margin-top: var(--d-space-sm);
}

.d-brand__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.d-brand__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--d-charcoal);
}

.d-brand__feature svg {
    color: var(--d-accent);
    flex-shrink: 0;
    opacity: 0.9;
}


/* ═══════════════════════════════════════════════════════════════════════
   LINK — Arrow ↗ style
   ═══════════════════════════════════════════════════════════════════════ */

.d-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--d-muted) !important;
    transition: gap var(--d-duration) var(--d-ease), color var(--d-duration) var(--d-ease);
}

.d-link-arrow::after {
    content: '\2197';
    font-size: 0.8em;
    opacity: 0.8;
}

.d-link-arrow:hover {
    color: var(--d-black) !important;
    gap: 8px;
}


/* ═══════════════════════════════════════════════════════════════════════
   HERO — Dark with subtle depth gradient
   ═══════════════════════════════════════════════════════════════════════ */

.d-hero {
    background-color: var(--d-black);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 80px;
    position: relative;
    overflow: hidden;
}

/* Gradient scrim — opaque at bottom (text), transparent at top (photo) */
.d-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 0;
}

.d-hero .d-container {
    position: relative;
    z-index: 1;
}

.d-hero__title,
.d-hero .d-hero__title,
section.d-hero h1.d-hero__title {
    font-family: var(--d-serif);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--d-white) !important;
    max-width: 680px;
    margin-bottom: var(--d-space-md);
}

.d-hero__sub,
.d-hero .d-hero__sub {
    font-size: clamp(14px, 1.2vw, 16px);
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.75;
    max-width: 440px;
    margin-bottom: 24px;
    font-weight: 400;
}

.d-hero__eyebrow,
.d-hero .d-hero__eyebrow {
    display: inline-block;
    font-family: var(--d-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9bbc7a !important;
    margin-bottom: var(--d-space-sm);
}

.d-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--d-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--d-radius-xs);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all var(--d-duration) var(--d-ease);
}

.d-hero__cta::after {
    content: '\2192';
    font-size: 1em;
    transition: transform var(--d-duration) var(--d-ease);
}

.d-hero__cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--d-white) !important;
}

.d-hero__cta:hover::after {
    transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════════════════
   FEATURED — Split image + text layout
   ═══════════════════════════════════════════════════════════════════════ */

.d-featured {
    padding: var(--d-space-xl) 0;
    background-color: var(--d-white);
}

.d-featured__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.d-featured__media {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--d-border);
    border-radius: var(--d-radius);
}

.d-featured__media img,
.d-featured__media .domi-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d-featured__body {
    max-width: 420px;
}

.d-featured__tag {
    display: inline-block;
    font-family: var(--d-mono);
    font-size: 0.66rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--d-accent);
    margin-bottom: 10px;
}

.d-featured__title {
    font-family: var(--d-serif);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 12px;
}

.d-featured__title a {
    color: var(--d-black) !important;
}

.d-featured__title a:hover {
    color: var(--d-accent) !important;
}

.d-featured__excerpt {
    font-size: 0.97rem;
    color: var(--d-gray);
    line-height: 1.75;
    margin-bottom: 16px;
}


.d-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--d-charcoal) !important;
    transition: gap var(--d-duration) var(--d-ease), color var(--d-duration) var(--d-ease);
}


/* ═══════════════════════════════════════════════════════════════════════
   CARD GRID — Nordic editorial: cold surface cards, unified radius/shadow/hover
   ═══════════════════════════════════════════════════════════════════════ */
/* ── Category Filter ── */
.d-filter {
    display: flex;
    gap: 8px;
    margin-bottom: var(--d-space-md);
    flex-wrap: wrap;
}

.d-filter__btn {
    font-family: var(--d-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid var(--d-border);
    border-radius: 100px;
    background: var(--d-white);
    color: var(--d-muted);
    cursor: pointer;
    transition: all var(--d-duration) var(--d-ease);
}

.d-filter__btn:hover {
    border-color: var(--d-charcoal);
    color: var(--d-black);
}

.d-filter__btn--active {
    background: var(--d-black);
    color: var(--d-white);
    border-color: var(--d-black);
}

.d-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--d-card-gap);
}

/* Lead card spans full width of the 3-column grid */
.d-card--lead {
    grid-column: 1 / -1;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.d-card--lead:hover {
    transform: none;
    box-shadow: none;
}

.d-card--lead .d-card__img {
    aspect-ratio: 16 / 9;
    border-radius: var(--d-radius);
}

.d-card--lead .d-card__body {
    padding: 18px 0 0;
}

.d-card--lead .d-card__title {
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.d-card--lead .d-card__excerpt {
    margin-bottom: 10px;
    -webkit-line-clamp: 3;
}

.d-card {
    display: flex;
    flex-direction: column;
    background: var(--d-white);
    border-radius: var(--d-radius);
    box-shadow: var(--d-shadow-rest);
    transition: box-shadow var(--d-duration) var(--d-ease), transform var(--d-duration) var(--d-ease), opacity 0.3s ease;
    overflow: hidden;
}

.d-card:hover {
    box-shadow: var(--d-shadow-hover);
    transform: translateY(-1px);
}

.d-card__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--d-surface);
    border-radius: 0;
}

.d-card__img img,
.d-card__img .domi-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--d-ease);
}

.d-card:hover .d-card__img img {
    transform: scale(1.03);
}

.d-card__body {
    padding: 16px 18px 20px;
}

.d-card__meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.d-card__cat {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--d-accent);
    font-family: var(--d-mono);
}

.d-card__cat a {
    color: var(--d-accent) !important;
}

.d-card__cat a:hover {
    color: var(--d-charcoal) !important;
}

.d-card__readtime {
    font-size: 0.7rem;
    color: var(--d-muted);
    font-family: var(--d-mono);
}

.d-card__title {
    font-family: var(--d-serif);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}

.d-card__title a {
    color: var(--d-black) !important;
    transition: color var(--d-duration) var(--d-ease);
}

.d-card__title a:hover {
    color: var(--d-accent) !important;
}

.d-card__excerpt {
    font-size: 0.88rem;
    color: var(--d-gray);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.d-card__date {
    font-size: 0.76rem;
    color: var(--d-silver);
    margin-top: 6px;
    font-family: var(--d-mono);
}


/* ═══════════════════════════════════════════════════════════════════════
   NEWSLETTER — Dark CTA, refined form
   ═══════════════════════════════════════════════════════════════════════ */

.d-newsletter {
    background-color: var(--d-black);
    padding: var(--d-space-xl) 0;
}

.d-newsletter__inner {
    max-width: 560px;
    text-align: center;
}

.d-newsletter__eyebrow {
    display: block;
    font-family: var(--d-mono);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--d-accent);
    margin-bottom: var(--d-space-sm);
}

.d-newsletter__title {
    font-family: var(--d-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    color: var(--d-white);
    margin-bottom: var(--d-space-sm);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.d-newsletter__sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    margin-bottom: var(--d-space-md);
    line-height: 1.7;
}

.d-newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.d-newsletter__input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--d-radius-xs);
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--d-white);
    font-size: 0.9rem;
    font-family: var(--d-font);
}

.d-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.d-newsletter__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.08);
}

.d-newsletter__btn {
    padding: 14px 28px;
    background-color: var(--d-white);
    color: var(--d-black);
    border: none;
    border-radius: var(--d-radius-xs);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--d-font);
    cursor: pointer;
    transition: opacity var(--d-duration) var(--d-ease);
    white-space: nowrap;
}

.d-newsletter__btn:hover {
    opacity: 0.88;
}

.d-newsletter__note {
    margin-top: 24px;
    font-family: var(--d-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ═══════════════════════════════════════════════════════════════════════
   BRAND STATEMENT
   ═══════════════════════════════════════════════════════════════════════ */

.d-brand-statement {
    padding: var(--d-space-lg) 0;
    background-color: var(--d-surface);
    border-top: 1px solid var(--d-border);
    text-align: center;
}

.d-brand-statement .d-brand__text {
    font-size: 0.88rem;
    color: var(--d-muted);
    line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER — Multi-column (v5)
   ═══════════════════════════════════════════════════════════════════════ */

.site-footer {
    margin-top: 0;
}

.d-footer {
    background: var(--d-black);
    padding: 64px 0 0;
    color: rgba(255,255,255,0.5);
}

.d-footer a {
    color: rgba(255,255,255,0.5);
}

.d-footer a:hover {
    color: rgba(255,255,255,0.85);
}

.d-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.d-footer__brand-name {
    font-family: var(--d-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.d-footer__brand-name::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--d-accent);
}

.d-footer__brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 280px;
}

.d-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Hide social links when all are placeholder # links */
.d-footer__social:has(a[href="#"]) {
    display: none;
}

.d-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    transition: all var(--d-duration) var(--d-ease);
}

.d-footer__social a:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
}

.d-footer__col-title {
    font-weight: 600;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.d-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.d-footer__col ul li {
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.d-footer__bottom {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 32px;
}

.d-footer__bottom-links {
    display: flex;
    gap: 24px;
}

/* Override GP footer */
.site-info {
    background-color: var(--d-black) !important;
    border: none !important;
    padding: 0;
}

/* Hide GP default footer on front page (custom footer used) */
.home .site-info {
    display: none !important;
}

.inside-site-info {
    max-width: var(--d-max);
    margin: 0 auto;
    padding: 0 var(--d-space-md) !important;
}

.copyright-bar {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}


/* ═══════════════════════════════════════════════════════════════════════
   CONTENT COMPONENTS — For single posts (comparison, pros/cons, verdict)
   ═══════════════════════════════════════════════════════════════════════ */

/* Comparison Box — 3 cols */
.d-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--d-space-sm);
    margin: 2.5em 0;
    padding: var(--d-space-md);
    background-color: var(--d-surface);
    border-radius: var(--d-radius-sm);
}

.d-comparison__item {
    text-align: center;
    padding: var(--d-space-md);
    background-color: var(--d-white);
    border-radius: var(--d-radius-xs);
}

.d-comparison__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--d-muted);
    margin-bottom: 8px;
}

.d-comparison__name {
    font-family: var(--d-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--d-black);
}

/* Pros / Cons */
.d-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--d-space-sm);
    margin: 2.5em 0;
}

.d-proscons__list {
    padding: var(--d-space-md);
    border-radius: var(--d-radius-sm);
    list-style: none;
    margin: 0;
}

.d-proscons__list--pros {
    background-color: var(--d-surface);
}

.d-proscons__list--cons {
    background-color: var(--d-paper);
}

.d-proscons__list li {
    padding: 10px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--d-border);
}

.d-proscons__list li:last-child {
    border-bottom: none;
}

.d-proscons__list--pros li::before {
    content: '+';
    font-weight: 700;
    margin-right: 8px;
    color: var(--d-accent);
}

.d-proscons__list--cons li::before {
    content: '\2212';
    font-weight: 700;
    margin-right: 8px;
    color: var(--d-gray);
}

/* Quick Verdict */
.d-verdict {
    margin: 2.5em 0;
    padding: var(--d-space-lg) var(--d-space-md);
    background-color: var(--d-black);
    color: var(--d-white);
    border-radius: var(--d-radius-sm);
    text-align: center;
}

.d-verdict__label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--d-muted);
    margin-bottom: var(--d-space-sm);
}

.d-verdict__text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.55;
    max-width: 560px;
    margin: 0 auto;
}

/* Score Bar */
.d-score__row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.d-score__label {
    width: 120px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--d-muted);
}

.d-score__bar {
    flex: 1;
    height: 4px;
    background-color: var(--d-border);
    border-radius: 2px;
    overflow: hidden;
}

.d-score__fill {
    height: 100%;
    background-color: var(--d-black);
    border-radius: 2px;
}

.d-score__value {
    width: 36px;
    text-align: right;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--d-black);
    font-variant-numeric: tabular-nums;
}

/* Specs Table */
.d-specs {
    width: 100%;
    margin: 2.5em 0;
    border-collapse: collapse;
    font-family: var(--d-font);
}

.d-specs tr {
    border-bottom: 1px solid var(--d-border);
}

.d-specs td {
    padding: 14px 0;
    font-size: 0.9rem;
}

.d-specs td:first-child {
    font-weight: 600;
    color: var(--d-dark);
    width: 40%;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════════════════
   SINGLE POST — Editorial article (v5: serif body, refined spacing)
   ═══════════════════════════════════════════════════════════════════════ */

.single .inside-article {
    padding: var(--d-space-xl) var(--d-space-md);
}

.single .entry-header {
    max-width: var(--d-max-narrow);
    margin: 0 auto 40px;
    text-align: left;
}

.single .entry-title {
    font-family: var(--d-serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--d-black);
    max-width: var(--d-max-narrow);
    margin: 0 auto 20px auto;
}

.single .entry-content {
    max-width: var(--d-max-narrow);
    margin: 0 auto;
    font-family: var(--d-serif);
    font-size: 18px;
    line-height: 1.72;
    color: var(--d-charcoal);
}

.single .entry-content h1 { display: none; }

.single .entry-content p {
    margin-bottom: 1.5em;
    font-size: 18px;
    line-height: 1.72;
    color: var(--d-charcoal);
}

/* Drop cap — first paragraph */
.single .entry-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.6em;
    line-height: 0.78;
    font-weight: 500;
    margin-right: 8px;
    margin-top: 6px;
    color: var(--d-black);
    font-family: var(--d-serif);
}

.single .entry-content h2 {
    font-family: var(--d-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--d-black);
    margin-top: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
    padding-bottom: 0;
    border-bottom: none;
}

.single .entry-content h3 {
    font-family: var(--d-serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--d-black);
    margin-top: 40px;
    margin-bottom: 14px;
}

.single .entry-content h4 {
    font-family: var(--d-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--d-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 32px;
    margin-bottom: 10px;
}

.single .entry-content ul,
.single .entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 28px;
}

.single .entry-content li {
    margin-bottom: 0.5em;
    font-size: 18px;
    line-height: 1.72;
}

.single .entry-content li::marker {
    color: var(--d-silver);
}

.single .entry-content blockquote {
    margin: 2.5em 0;
    padding: 24px 28px;
    border-left: 3px solid var(--d-black);
    background: transparent;
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: var(--d-gray);
}

.single .entry-content strong,
.single .entry-content b {
    font-weight: 600;
    color: var(--d-black);
}

.single .entry-content a {
    color: var(--d-black);
    text-decoration: underline;
    text-decoration-color: var(--d-border);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.single .entry-content a:hover {
    text-decoration-color: var(--d-accent);
}

.single .entry-content code {
    font-family: var(--d-mono);
    font-size: 0.85em;
    background: var(--d-surface);
    padding: 2px 6px;
    border-radius: 3px;
}

.single .entry-content hr {
    border: none;
    height: 1px;
    background: var(--d-border);
    margin: 3em 0;
}

/* Tables — editorial data */
.single .entry-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 2.5em 0;
    font-family: var(--d-font);
    font-size: 14px;
}

/* Force header row — overrides inline styles from post content */
.single .entry-content thead tr,
.single .entry-content table > tr:first-child {
    background-color: var(--d-black) !important;
    border: none !important;
}

.single .entry-content thead th,
.single .entry-content table > tr:first-child th,
.single .entry-content table > tr:first-child td {
    color: var(--d-white) !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 16px !important;
    text-align: left;
    border: none !important;
    background-color: transparent !important;
}

.single .entry-content tbody tr,
.single .entry-content table > tr:not(:first-child) {
    border-bottom: 1px solid var(--d-border) !important;
}

.single .entry-content tbody td {
    padding: 12px 16px !important;
    border: none !important;
    border-bottom: 1px solid var(--d-border) !important;
    color: var(--d-charcoal);
}

.single .entry-content tbody tr:nth-child(even) {
    background-color: var(--d-paper) !important;
}

.single .entry-content tbody td:first-child {
    font-weight: 600;
    color: var(--d-black);
}

/* Tables — responsive wrapper */
.single .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2em -16px;
    padding: 0 16px;
}

@media (min-width: 769px) {
    .single .entry-content table {
        display: table;
        overflow-x: visible;
        margin: 2.5em 0;
        padding: 0;
    }
}

/* Images */
.single .entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--d-radius);
    margin: 2em 0;
}

.single .entry-content figure {
    margin: 2.5em 0;
}

.single .entry-content figcaption {
    font-family: var(--d-font);
    font-size: 13px;
    color: var(--d-muted);
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

/* Featured image */
.single .featured-image {
    max-width: 960px;
    margin: 0 auto 40px;
}

.single .featured-image img {
    width: 100%;
    border-radius: var(--d-radius);
}

/* Pros & Cons in article body */
.single .entry-content ul.pros,
.single .entry-content ul.cons {
    background: var(--d-paper);
    border-left: 3px solid var(--d-black);
    padding: 20px 24px;
    margin: 2em 0;
    list-style: none;
    font-family: var(--d-font);
}

.single .entry-content ul.pros li,
.single .entry-content ul.cons li {
    padding: 8px 0;
    border-bottom: 1px solid var(--d-border);
    font-size: 15px;
    color: var(--d-charcoal);
}

.single .entry-content ul.pros li:last-child,
.single .entry-content ul.cons li:last-child {
    border-bottom: none;
}

.single .entry-content ul.pros li::before {
    content: '+';
    display: inline-block;
    width: 18px;
    font-weight: 700;
    color: var(--d-accent);
    margin-right: 10px;
}

.single .entry-content ul.cons li::before {
    content: '\2212';
    display: inline-block;
    width: 18px;
    font-weight: 700;
    color: var(--d-gray);
    margin-right: 10px;
}

/* Verdict / Conclusion box */
.single .entry-content .verdict,
.single .entry-content .conclusion {
    background: var(--d-paper);
    border-left: 3px solid var(--d-black);
    padding: 24px 28px;
    margin: 2.5em 0;
    font-family: var(--d-font);
}

.single .entry-content .verdict h3,
.single .entry-content .conclusion h3 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--d-black);
    margin: 0 0 12px 0;
}

.single .entry-content .verdict p,
.single .entry-content .conclusion p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--d-charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════
   SIDEBAR — Minimal, only on blog/archive
   ═══════════════════════════════════════════════════════════════════════ */

.site-content .content-area {
    width: 100% !important;
}

.is-right-sidebar {
    display: none !important;
}

.blog .site-content .content-area,
.archive .site-content .content-area {
    width: 100% !important;
}

.blog .is-right-sidebar,
.archive .is-right-sidebar {
    display: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS & FORMS
   ═══════════════════════════════════════════════════════════════════════ */

.wp-block-button__link,
a.button,
input[type="submit"],
button:not(.menu-toggle):not(.domi-search-toggle) {
    background-color: var(--d-black) !important;
    color: var(--d-white) !important;
    border: none;
    border-radius: var(--d-radius-xs);
    padding: 12px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background var(--d-duration) var(--d-ease);
    text-transform: none;
}

.wp-block-button__link:hover,
a.button:hover,
input[type="submit"]:hover,
button:not(.menu-toggle):not(.domi-search-toggle):hover {
    background-color: var(--d-charcoal) !important;
    opacity: 1;
    color: var(--d-white) !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    color: var(--d-charcoal) !important;
    background-color: var(--d-surface) !important;
    border: 1px solid var(--d-border);
    border-radius: var(--d-radius-xs);
    font-family: var(--d-font);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--d-black);
    outline: none;
}


/* ═══════════════════════════════════════════════════════════════════════
   SEARCH — Header toggle & dropdown
   ═══════════════════════════════════════════════════════════════════════ */

.domi-nav-search {
    position: relative;
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.domi-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: var(--d-muted);
    cursor: pointer;
    border-radius: var(--d-radius-xs);
    transition: all var(--d-duration) var(--d-ease);
    padding: 0;
}

.domi-search-toggle:hover {
    color: var(--d-black);
    background: var(--d-surface);
}

.domi-search-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 320px;
    max-width: calc(100vw - 32px);
    background: var(--d-white);
    border: 1px solid var(--d-border);
    border-radius: var(--d-radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    padding: var(--d-space-sm);
    z-index: 200;
}

.domi-search-dropdown.active {
    display: block;
}

.domi-search-dropdown .search-form {
    display: flex;
    gap: 8px;
}

.domi-search-dropdown .search-field {
    flex: 1;
    border: 1px solid var(--d-border);
    background: var(--d-surface);
    padding: 10px 14px;
    font-size: 0.88rem;
    font-family: var(--d-font);
    border-radius: var(--d-radius-xs);
    outline: none;
    color: var(--d-charcoal);
}

.domi-search-dropdown .search-field:focus {
    border-color: var(--d-black);
    background: var(--d-white);
}

.domi-search-dropdown .search-submit {
    padding: 10px 16px;
    background: var(--d-black);
    color: var(--d-white);
    border: none;
    border-radius: var(--d-radius-xs);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
}

.domi-search-dropdown .search-submit:hover {
    background: var(--d-charcoal);
}


/* ═══════════════════════════════════════════════════════════════════════
   PLACEHOLDER IMAGE — Dark editorial SVG fallback
   ═══════════════════════════════════════════════════════════════════════ */

.domi-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   BLOG / ARCHIVE — Seamless image-first cards
   ═══════════════════════════════════════════════════════════════════════ */

body.blog #right-sidebar,
body.blog .is-right-sidebar,
body.blog .sidebar,
body.archive #right-sidebar,
body.archive .is-right-sidebar,
body.archive .sidebar {
    display: none !important;
}

body.blog #primary,
body.blog .content-area,
body.blog .site-content .content-area,
body.archive #primary,
body.archive .content-area,
body.archive .site-content .content-area {
    width: 100% !important;
    max-width: 100% !important;
}

body.blog #main,
body.blog .site-main,
body.archive #main,
body.archive .site-main {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 64px 32px !important;
}

body.blog .inside-article,
body.archive .inside-article {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    transition: opacity var(--d-duration) var(--d-ease) !important;
    display: flex;
    flex-direction: column;
    min-height: 460px;
}

body.blog .inside-article:hover,
body.archive .inside-article:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.92;
}

body.blog .post-image,
body.archive .post-image {
    position: relative;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border-radius: var(--d-radius) !important;
    overflow: hidden !important;
    aspect-ratio: 4 / 3 !important;
    background: var(--d-surface);
}

body.blog .post-image img,
body.archive .post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--d-radius) !important;
    margin: 0 !important;
    transition: transform 0.4s var(--d-ease) !important;
}

body.blog .inside-article:hover .post-image img,
body.archive .inside-article:hover .post-image img {
    transform: scale(1.03) !important;
}

body.blog .entry-summary,
body.archive .entry-summary {
    padding: 14px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

body.blog .cat-links,
body.archive .cat-links {
    display: block !important;
    min-height: 20px !important;
    font-family: var(--d-mono) !important;
    font-size: 0.66rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: var(--d-accent) !important;
    background: none !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

body.blog .cat-links a,
body.archive .cat-links a {
    color: var(--d-accent) !important;
}

body.blog .cat-links a:hover,
body.archive .cat-links a:hover {
    color: var(--d-charcoal) !important;
}

body.blog .entry-title,
body.archive .entry-title {
    font-family: var(--d-serif) !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 8px 0 !important;
    color: var(--d-black) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.blog .entry-title a,
body.archive .entry-title a {
    color: var(--d-black) !important;
    text-decoration: none !important;
    transition: color var(--d-duration) var(--d-ease) !important;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
    color: var(--d-accent) !important;
}

body.blog .entry-summary p,
body.archive .entry-summary p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    color: var(--d-muted) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    max-height: 2.55em !important;
}

/* Quick Verdict box: hide on blog cards */
body.blog .entry-summary .quick-verdict,
body.blog .entry-summary [class*="verdict"],
body.blog .entry-summary [class*="Quick"],
body.archive .entry-summary .quick-verdict,
body.archive .entry-summary [class*="verdict"],
body.archive .entry-summary [class*="Quick"] {
    display: none !important;
}

body.blog .entry-meta,
body.archive .entry-meta {
    font-family: var(--d-mono) !important;
    font-size: 0.74rem !important;
    color: var(--d-silver) !important;
    margin-top: auto !important;
    padding-top: 8px !important;
}

body.blog #content.site-content,
body.archive #content.site-content {
    display: block !important;
}

/* Hide Uncategorized */
body.blog .cat-links a[href*="uncategorized"],
body.archive .cat-links a[href*="uncategorized"] {
    display: none !important;
}
/* Hide entire cat-links when only uncategorized remains */
body.blog .cat-links:has(a[href*="uncategorized"]:only-child),
body.archive .cat-links:has(a[href*="uncategorized"]:only-child) {
    display: none !important;
}

/* Hide GP's default entry-meta (duplicate with d-card__meta-top) on blog/archive */
body.blog .entry-header > .entry-meta,
body.archive .entry-header > .entry-meta,
body.blog header.entry-header .entry-meta:not(.d-card__meta-top .entry-meta),
body.archive header.entry-header .entry-meta:not(.d-card__meta-top .entry-meta) {
    display: none !important;
}

/* Hide author byline on blog/archive cards AND single posts */
body.blog .byline,
body.archive .byline,
body.single .byline,
body.single .entry-meta .byline {
    display: none !important;
}
/* Hide "by author" text on single posts */
body.single .entry-header .entry-meta,
body.single .author-name,
body.single a[rel="author"] {
    display: none !important;
}

/* Fix double-date display — show only published date, hide modified date */
body.single .posted-on time.updated {
    display: none !important;
}
body.single .posted-on time.entry-date.published {
    display: inline !important;
}
/* On blog/archive: show both with separator */
body.blog .posted-on time.updated,
body.archive .posted-on time.updated {
    display: inline !important;
    font-style: italic;
    opacity: 0.7;
}
body.blog .posted-on time.updated::after,
body.archive .posted-on time.updated::after {
    content: " → ";
    opacity: 0.5;
}

/* Hide Privacy Policy & FTC Disclosure from header nav (legal pages belong in footer) */
.main-navigation a[href*="/privacy/"],
.main-navigation a[href*="/disclosure/"] {
    display: none !important;
}

/* Mobile navigation — GeneratePress menu toggle */
@media (max-width: 768px) {
    .main-navigation .menu-toggle {
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
        background: transparent;
        border: none;
        color: #1a1a1a;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-navigation .menu-toggle:hover {
        color: #4a6741;
    }

    .main-navigation .menu-toggle .icon {
        width: 20px;
        height: 20px;
    }

    .main-navigation .main-nav ul {
        padding: 8px 0;
    }

    .main-navigation .main-nav ul li a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .main-navigation .main-nav ul ul {
        background: var(--d-white);
    }

    .main-navigation .main-nav ul ul li a {
        padding-left: 40px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   FLAT BASELINE — Kill GP defaults
   ═══════════════════════════════════════════════════════════════════════ */

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation {
    background-color: var(--d-white) !important;
    border: none !important;
    box-shadow: none !important;
}

.site-header,
.main-navigation,
.inside-article,
.sidebar .widget,
.site-info,
.footer-widgets {
    background-color: var(--d-white) !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — 3→2→1 column
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .d-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .d-routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .d-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .d-card--lead .d-card__img {
        aspect-ratio: 16 / 9;
    }

    .d-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .d-featured__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .d-comparison {
        grid-template-columns: 1fr;
    }

    .d-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .d-trust__grid {
        grid-template-columns: 1fr;
        gap: var(--d-space-md);
    }

    .d-trust__text {
        padding-left: 0;
    }

    .d-brand__grid {
        grid-template-columns: 1fr;
        gap: var(--d-space-md);
    }

    body.blog #main,
    body.blog .site-main,
    body.archive #main,
    body.archive .site-main {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
        padding: 48px 24px !important;
    }
}

@media (max-width: 768px) {
    .d-hero {
        min-height: 60vh;
        padding: 48px 0 64px;
    }

    .d-routes-grid,
    .d-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .d-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .d-filter__btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .d-image-break {
        height: 4px;
        min-height: 4px;
    }

    .d-image-break img {
        display: none;
    }

    .d-section,
    .d-featured {
        padding: 48px 0;
    }

    .d-newsletter,
    .d-brand {
        padding: 48px 0;
    }

    .d-section__header {
        margin-bottom: 20px;
    }

    .d-trust,
    .d-brands {
        padding: 48px 0;
    }

    .d-featured + .d-trust {
        margin-top: -24px;
    }

    .d-card-grid {
        gap: 24px;
    }

    .d-container {
        padding: 0 var(--d-space-sm);
    }

    .d-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .d-proscons {
        grid-template-columns: 1fr;
    }

    .d-cat-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .d-cat-grid::-webkit-scrollbar {
        display: none;
    }

    .d-cat-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }

    .d-cat-card__desc {
        /* Show description on mobile (hidden only on very small screens) */
        font-size: 0.82rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }

    .d-section__header--flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .d-trust__grid {
        grid-template-columns: 1fr;
        gap: var(--d-space-md);
    }

    .d-trust__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--d-space-sm);
    }

    .d-trust__stat {
        min-width: 0;
    }

    .d-trust__text {
        padding-left: 0;
    }

    .d-brands__row {
        gap: var(--d-space-sm) var(--d-space-md);
    }

    .d-brands__item {
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .d-newsletter__form {
        flex-direction: column;
    }

    .d-newsletter__btn {
        width: 100%;
    }

    .d-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .d-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .inside-header {
        padding: 0 var(--d-space-sm) !important;
    }

    body.blog #main,
    body.blog .site-main,
    body.archive #main,
    body.archive .site-main {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 32px 16px !important;
    }

    .single .entry-content {
        font-size: 17px;
    }

    .single .entry-content h2 {
        font-size: 22px;
        margin-top: 40px;
    }

    .single .entry-content h3 {
        font-size: 18px;
    }

    .single .entry-content blockquote {
        padding: 20px;
        font-size: 17px;
    }

    .d-comparison {
        padding: var(--d-space-sm);
    }

    .d-deals-coming {
        padding: var(--d-space-sm) var(--d-space-sm);
    }

    .d-deals-coming:empty,
    .d-section--muted:has(.d-deals-coming) {
        display: none;
    }
}

@media (max-width: 480px) {
    .d-cat-grid {
        grid-template-columns: 1fr;
    }

    .d-cat-card__desc {
        display: none;
    }

    .d-hero {
        min-height: 50vh;
        padding: 80px var(--d-space-sm) 48px;
    }

    .d-hero__title {
        font-size: clamp(32px, 8vw, 44px);
    }

    .d-trust__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--d-space-sm);
    }

    .d-trust__stat-num {
        font-size: clamp(24px, 6vw, 36px);
    }

    .d-trust__stat-label {
        font-size: 0.6rem;
    }

    .d-featured__grid {
        gap: 24px;
    }

    .d-featured__title {
        font-size: 28px;
    }

    .d-newsletter__title {
        font-size: 28px;
    }

    .single .entry-content p {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   TAP TARGETS — Minimum 44px for mobile accessibility
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .d-link-arrow {
        padding: 8px 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .d-card__cat a,
    .d-card__readtime {
        padding: 4px 0;
    }

    .d-footer__col ul li a {
        display: inline-block;
        padding: 6px 0;
    }

    .main-navigation .main-nav ul li a {
        padding: 12px 16px;
    }
}

/* Hide GeneratePress theme credit */
.generate-back-to-top,
.site-info .generate-theme-info,
footer .generate-copyright {
    display: none !important;
}

/* Hide "Uncategorized" category on posts */
body.single .cat-links a[href*="uncategorized"],
.entry-meta .cat-links a {
    display: none !important;
}
body.single .cat-links:has(a[href*="uncategorized"]) {
    display: none !important;
}

/* Hide pages from nav until affiliate links are live */
.main-navigation a[href*="/independence"],
.main-navigation a[href*="/disclosure"],
.sf-menu a[href*="/independence"],
.sf-menu a[href*="/disclosure"],
.menu-item a[href*="/independence"],
.menu-item a[href*="/disclosure"] {
    display: none !important;
}

/* Deals grid - responsive */
.d-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.d-deals-grid a {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: #222;
    transition: box-shadow 0.2s;
}
.d-deals-grid a:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .d-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .d-deals-grid {
        grid-template-columns: 1fr;
    }
}
.main-navigation li:has(a[href*="/independence"]),
.main-navigation li:has(a[href*="/disclosure"]),
.sf-menu li:has(a[href*="/independence"]),
.sf-menu li:has(a[href*="/disclosure"]) {
    display: none !important;
}
/* ═══════════════════════════════════════════════════════════════════════
   BLOG PAGE — Homepage Card System (2026-06-25 v4)
   Matches .d-card style: shadow, hover lift, warm base, editorial hierarchy
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Base: warm background like homepage ── */
body.blog,
body.archive {
    background-color: var(--d-surface) !important;
}

/* ── Grid ── */
body.blog #main,
body.blog .site-main,
body.archive #main,
body.archive .site-main {
    gap: 24px !important;
    padding: 56px 32px 80px !important;
    max-width: 1280px !important;
}

/* ── Card: white surface + shadow, matching .d-card ── */
body.blog .inside-article,
body.archive .inside-article {
    background: var(--d-white) !important;
    border: none !important;
    padding: 0 !important;
    border-radius: var(--d-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--d-shadow-rest) !important;
    transition: box-shadow 0.3s var(--d-ease), transform 0.3s var(--d-ease) !important;
    display: flex;
    flex-direction: column;
    min-height: 460px;
}

body.blog .inside-article:hover,
body.archive .inside-article:hover {
    box-shadow: var(--d-shadow-hover) !important;
    transform: translateY(-2px) !important;
    opacity: 1 !important;
}

/* ── Sticky: accent top border + featured badge ── */
body.blog article.sticky .inside-article,
body.archive article.sticky .inside-article {
    border-top: none !important;
    position: relative;
}



/* ── Image: clean edge, no radius (card radius handles it) ── */
body.blog .post-image,
body.archive .post-image {
    aspect-ratio: 16 / 10 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

body.blog .post-image img,
body.archive .post-image img {
    border-radius: 0 !important;
    transition: transform 0.45s var(--d-ease) !important;
}

body.blog .inside-article:hover .post-image img,
body.archive .inside-article:hover .post-image img {
    transform: scale(1.03) !important;
}

/* ── Body: card padding ── */
body.blog .entry-summary,
body.archive .entry-summary {
    padding: 16px 36px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    margin-top: auto !important;
    min-height: 80px !important;
    max-height: 80px !important;
}

/* ── Meta top: eyebrow style matching homepage ── */
body.blog .d-card__meta-top,
body.archive .d-card__meta-top {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 28px 36px 0 !important;
}

body.blog .cat-links,
body.archive .cat-links {
    font-family: var(--d-mono) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: var(--d-accent) !important;
    margin-bottom: 0 !important;
    min-height: auto !important;
    background: none !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

body.blog .cat-links a,
body.archive .cat-links a {
    color: var(--d-accent) !important;
}

body.blog .cat-links a:hover,
body.archive .cat-links a:hover {
    color: var(--d-charcoal) !important;
}

body.blog .d-card__readtime,
body.archive .d-card__readtime {
    font-family: var(--d-mono) !important;
    font-size: 0.7rem !important;
    color: var(--d-muted) !important;
}


/* ── Entry header: padding for title and meta ── */
body.blog .entry-header,
body.archive .entry-header {
    padding: 0 36px !important;
}

/* ── Title: serif, strong hierarchy ── */
body.blog .entry-title,
body.archive .entry-title {
    font-family: var(--d-serif) !important;
    font-size: 1.42rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    margin: 16px 0 14px 0 !important;
    color: var(--d-black) !important;
    display: -webkit-box !important;
    }

body.blog .entry-title a,
body.archive .entry-title a {
    color: var(--d-black) !important;
    text-decoration: none !important;
    transition: color var(--d-duration) var(--d-ease) !important;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
    color: var(--d-accent) !important;
}

/* ── Excerpt: muted, 2 lines ── */
body.blog .entry-summary p,
body.archive .entry-summary p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    color: var(--d-muted) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    max-height: 2.55em !important;
}

/* Quick Verdict box: hide on blog cards */
body.blog .entry-summary .quick-verdict,
body.blog .entry-summary [class*="verdict"],
body.blog .entry-summary [class*="Quick"],
body.archive .entry-summary .quick-verdict,
body.archive .entry-summary [class*="verdict"],
body.archive .entry-summary [class*="Quick"] {
    display: none !important;
}

/* ── Date meta (inside entry-summary, bottom) ── */
body.blog .entry-meta,
body.archive .entry-meta {
    font-family: var(--d-mono) !important;
    font-size: 0.72rem !important;
    color: var(--d-silver) !important;
    margin-top: auto !important;
    padding-top: 10px !important;
}

/* ── Hide duplicate footer category ── */
body.blog footer.entry-meta,
body.archive footer.entry-meta {
    display: none !important;
}

/* ── Hide GP default entry-meta in header (keep d-card__meta-top only) ── */
body.blog .entry-header > .entry-meta,
body.archive .entry-header > .entry-meta {
    display: none !important;
}

/* ── Hide byline ── */
body.blog .byline,
body.archive .byline {
    display: none !important;
}

/* ── Hide Uncategorized ── */
body.blog .cat-links a[href*="uncategorized"],
body.archive .cat-links a[href*="uncategorized"] {
    display: none !important;
}
body.blog .cat-links:has(a[href*="uncategorized"]:only-child),
body.archive .cat-links:has(a[href*="uncategorized"]:only-child) {
    display: none !important;
}
