/* ============================================================
   TechVon Homepage Styles (scoped .tvh)
   Loaded after flatsome.css + techvon-*.css
   ============================================================ */

/* ------------------------------------------------------------
   1. BASE & CONTAINER
   ------------------------------------------------------------ */
.tvh {
    --tv-color-primary: #1477f2;
    --tv-color-primary-dark: #075dcc;
    --tv-color-primary-soft: #e8f1fe;
    --tv-color-navy: #0b1736;
    --tv-color-muted: #5f7192;
    --tv-color-line: #d7e4f5;
    --tv-color-bg: #ffffff;
    --tv-color-bg-alt: #f6f9fd;
    --tv-color-ai: #7c3aed;
    --tv-color-ai-soft: #f2ecfe;
    --tv-color-web: #1477f2;
    --tv-color-web-soft: #e8f1fe;
    --tv-color-tech: #ff6235;
    --tv-color-tech-soft: #fff1eb;
}

.tvh,
.tvh * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

.tvh .tvh-container {
    max-width: 1220px; width: 100%; margin: 0 auto;
    padding: 0 24px; box-sizing: border-box;
}
.tvh .tvh-section { padding: 72px 0; }
.tvh .tvh-section-soft { background: #f6f9fd; }

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

/* ------------------------------------------------------------
   2. SECTION HEADINGS
   ------------------------------------------------------------ */
.tvh .tvh-section-heading { margin-bottom: 32px; }
.tvh .tvh-section-heading-center { text-align: center; }

.tvh .tvh-section-heading h2 {
    font-size: 30px; font-weight: 700; color: #0b1736;
    margin: 0; line-height: 1.3;
}
.tvh .tvh-section-heading p {
    margin: 8px 0 0; color: #64748b; font-size: 15px; line-height: 1.5;
}

/* Row heading: H2 left, link right, same row on desktop */
.tvh .tvh-section-heading-row {
    display: flex; flex-direction: row; align-items: center;
    justify-content: space-between; width: 100%; gap: 24px;
}
.tvh .tvh-section-heading-row h2 {
    font-size: 30px; font-weight: 700; color: #0b1736; margin: 0; line-height: 1.3;
}
.tvh .tvh-section-heading-row > a {
    display: inline-flex; align-items: center; margin-left: auto;
    white-space: nowrap; flex: 0 0 auto;
    font-size: 15px; font-weight: 600; color: #1477f2; text-decoration: none;
}
.tvh .tvh-section-heading-row > a:hover {
    color: #075dcc; text-decoration: underline;
}

/* Mobile <640: heading row stacks vertically */
@media (max-width: 640px) {
    .tvh .tvh-section-heading-row {
        flex-direction: column; align-items: flex-start; gap: 8px;
    }
    .tvh .tvh-section-heading-row > a { margin-left: 0; }
}

/* ------------------------------------------------------------
   3. BUTTONS
   ------------------------------------------------------------ */
.tvh .tvh-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; font-size: 15px; font-weight: 600;
    line-height: 1.4; border-radius: 8px; text-decoration: none;
    cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 2px solid transparent; box-sizing: border-box; white-space: nowrap;
}
.tvh .tvh-btn-primary {
    background: #1477f2; color: #ffffff !important; border-color: #1477f2;
}
.tvh .tvh-btn-primary:visited { color: #ffffff !important; }
.tvh .tvh-btn-primary:hover, .tvh .tvh-btn-primary:focus {
    background: #075dcc; color: #ffffff !important; border-color: #075dcc;
}
.tvh .tvh-btn-secondary {
    background: #ffffff; color: #1477f2 !important; border-color: #1477f2;
}
.tvh .tvh-btn-secondary:visited { color: #1477f2 !important; }
.tvh .tvh-btn-secondary:hover, .tvh .tvh-btn-secondary:focus {
    background: #edf4ff; color: #1477f2 !important; border-color: #1477f2;
}

/* ------------------------------------------------------------
   4. MEDIA PLACEHOLDER
   ------------------------------------------------------------ */
.tvh .tvh-media-placeholder {
    display: block; position: relative; width: 100%; height: 0;
    border-radius: 8px; overflow: hidden;
}
.tvh .tvh-placeholder-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center;
}
.tvh .tvh-placeholder-icon::after {
    content: ""; width: 20px; height: 20px;
    border: 2px solid #94a3b8; border-radius: 4px; display: block;
}

/* ------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------ */
.tvh .tvh-hero { width: 100%; background: #ffffff; padding: 0; }
.tvh .tvh-hero .tvh-container { padding: 48px 24px; }

.tvh .tvh-hero-grid {
    display: flex; gap: 48px; align-items: center; min-height: 500px;
}
.tvh .tvh-hero-content { flex: 0 0 48%; max-width: 560px; }

.tvh .tvh-hero-title {
    font-size: 42px; font-weight: 800; color: #0b1736;
    margin: 0 0 16px; line-height: 1.15; letter-spacing: -0.5px;
}
.tvh .tvh-hero-desc {
    font-size: 17px; color: #475569; margin: 0 0 28px; line-height: 1.6;
}
.tvh .tvh-hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}

/* Hero search: leading icon | input | compact icon button. */
.tvh .tvh-hero-search {
    display: grid; grid-template-columns: 42px minmax(0, 1fr) 48px;
    align-items: stretch; width: min(100%, 610px); min-height: 48px;
    padding: 0; gap: 0; overflow: hidden;
    border: 1px solid #cbd8e8; border-radius: 9px; background: #fff;
}
.tvh .tvh-hero-search .tvh-search-icon {
    display: grid; place-items: center; align-self: stretch; color: #94a3b8;
    font-size: 22px;
}
.tvh .tvh-hero-search input[type="search"] {
    width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 10px;
    border: 0; border-radius: 0; box-shadow: none; background: transparent;
    font-size: 14px;
}
.tvh .tvh-hero-search input::placeholder { color: #9ca3af; }
.tvh .tvh-hero-search button {
    display: grid; place-items: center;
    width: 48px; min-width: 48px; height: 48px; margin: 0; padding: 0;
    border: 0; border-radius: 0 8px 8px 0; background: #1477f2;
    color: #fff !important; font-weight: 700; line-height: 1; text-align: center;
    white-space: nowrap; appearance: none; cursor: pointer;
}
.tvh .tvh-hero-search button .material-symbols-outlined { font-size: 21px; line-height: 1; }
.tvh .tvh-hero-search button:visited { color: #fff !important; }
.tvh .tvh-hero-search button:hover { background: #075dcc; color: #fff !important; }
.tvh .tvh-hero-search button:focus { color: #fff !important; }

/* Hero stats */
.tvh .tvh-hero-stats {
    display: flex; gap: 28px; flex-wrap: wrap;
}
.tvh .tvh-stat-item {
    display: flex; align-items: center; gap: 8px;
}
.tvh .tvh-stat-icon {
    font-size: 22px; color: #1477f2;
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
}
.tvh .tvh-hero-stats strong { font-size: 22px; font-weight: 700; color: #0b1736; }
.tvh .tvh-hero-stats small { font-size: 14px; color: #64748b; }

/* Hero media column */
.tvh .tvh-hero-media-col {
    flex: 0 0 48%; max-width: 560px; aspect-ratio: 4/3;
    border-radius: 12px; overflow: hidden; background: #e8f1fe;
}
.tvh .tvh-hero-media-col img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.tvh .tvh-hero-media {
    display: grid; width: 100%; height: 100%; min-height: 350px; place-items: center;
    background-color: #e8f1fe;
    background-image:
        linear-gradient(rgba(20,119,242,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20,119,242,.08) 1px, transparent 1px);
    background-size: 28px 28px;
}
.tvh .tvh-hero-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #e8f1fe; min-height: 350px;
}
.tvh .tvh-hero-placeholder .tvh-placeholder-icon {
    position: static; transform: none; width: 56px; height: 56px;
    border-radius: 12px; background: rgba(255,255,255,0.7);
}
.tvh .tvh-hero-placeholder .tvh-placeholder-icon::after { width: 24px; height: 24px; }

/* ------------------------------------------------------------
   6. SILOS — 3 cards ecosystem
   ------------------------------------------------------------ */
.tvh .tvh-silo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tvh .tvh-silo-card {
    background: #fff; border: 1px solid #dfe8f3; border-radius: 8px;
    padding: 24px; display: flex; flex-direction: column; transition: box-shadow 0.2s;
}
.tvh .tvh-silo-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.tvh .tvh-silo-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.tvh .tvh-silo-icon {
    width: 40px; height: 40px; display: flex; align-items: center;
    justify-content: center; border-radius: 8px; flex-shrink: 0;
}
.tvh .tvh-silo-icon .material-symbols-outlined {
    font-size: 22px; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.tvh .tvh-silo-card.is-ai .tvh-silo-icon { background: #f2ecfe; color: #7c3aed; }
.tvh .tvh-silo-card.is-web .tvh-silo-icon { background: #e8f1fe; color: #1477f2; }
.tvh .tvh-silo-card.is-work .tvh-silo-icon { background: #fdeee7; color: #ff6846; }
.tvh .tvh-silo-header h3 { font-size: 18px; font-weight: 700; color: #0b1736; margin: 0; }

.tvh .tvh-silo-media { border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.tvh .tvh-silo-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvh .tvh-silo-media .tvh-media-placeholder { border-radius: 8px; }

.tvh .tvh-silo-nav { display: flex; flex-direction: column; margin-bottom: 20px; flex: 1; }
.tvh .tvh-silo-nav a {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; color: #475569; text-decoration: none;
    padding: 6px 0; min-height: 32px;
    transition: color 0.2s, transform 0.15s;
    border-bottom: 1px solid #f0f2f5;
}
.tvh .tvh-silo-nav a:last-child { border-bottom: none; }
.tvh .tvh-silo-nav a:hover { text-decoration: underline; }
.tvh .tvh-silo-link-icon {
    font-size: 16px; flex-shrink: 0; width: 16px; transition: transform 0.15s;
}
.tvh .tvh-silo-nav a:hover .tvh-silo-link-icon { transform: translateX(2px); }
.tvh .tvh-silo-card.is-ai .tvh-silo-link-icon { color: #7c3aed; }
.tvh .tvh-silo-card.is-web .tvh-silo-link-icon { color: #1477f2; }
.tvh .tvh-silo-card.is-work .tvh-silo-link-icon { color: #ff6846; }
.tvh .tvh-silo-card.is-ai .tvh-silo-nav a:hover { color: #7c3aed; }
.tvh .tvh-silo-card.is-web .tvh-silo-nav a:hover { color: #1477f2; }
.tvh .tvh-silo-card.is-work .tvh-silo-nav a:hover { color: #ff6846; }

/* Silo CTA — filled buttons */
.tvh .tvh-silo-cta {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 11px 16px; border: none; border-radius: 8px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    color: #ffffff !important; height: 42px; box-sizing: border-box;
    transition: background 0.2s, transform 0.15s;
}
.tvh .tvh-silo-cta:visited { color: #ffffff !important; }
.tvh .tvh-silo-cta:hover { transform: translateY(-1px); }
.tvh .tvh-silo-cta:focus { color: #ffffff !important; }
.tvh .tvh-silo-card.is-ai .tvh-silo-cta { background: #7c3aed; }
.tvh .tvh-silo-card.is-ai .tvh-silo-cta:hover { background: #6d28d9; }
.tvh .tvh-silo-card.is-web .tvh-silo-cta { background: #1477f2; }
.tvh .tvh-silo-card.is-web .tvh-silo-cta:hover { background: #075dcc; }
.tvh .tvh-silo-card.is-work .tvh-silo-cta { background: #ff6846; }
.tvh .tvh-silo-card.is-work .tvh-silo-cta:hover { background: #e05a3d; }

/* ------------------------------------------------------------
   7. PATHS — 3×2 learning paths (CSS variables per theme)
   ------------------------------------------------------------ */
.tvh .tvh-paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Base card with default (web) variables */
.tvh .tvh-path-card {
    --path-accent: #1477f2;
    --path-soft: #e8f1fe;
    --path-bg: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid #dfe8f3;
    border-radius: 12px;
    background: var(--path-bg);
    padding: 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.tvh .tvh-path-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

/* Theme overrides */
.tvh .tvh-path-card.is-ai {
    --path-accent: #7c3aed;
    --path-soft: #f2ecfe;
}
.tvh .tvh-path-card.is-web {
    --path-accent: #1477f2;
    --path-soft: #e8f1fe;
}
.tvh .tvh-path-card.is-work {
    --path-accent: #ff6846;
    --path-soft: #fdeee7;
}

/* Recommended card */
.tvh .tvh-path-card.is-recommended {
    border-color: var(--path-accent);
    background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}

/* Badge */
.tvh .tvh-path-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--path-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 1;
}

/* Icon */
.tvh .tvh-path-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    margin-bottom: 14px;
    color: var(--path-accent);
    background: var(--path-soft);
}
.tvh .tvh-path-icon .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Title — max 2 lines */
.tvh .tvh-path-title {
    font-size: 17px;
    font-weight: 700;
    color: #0b1736;
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Description — max 3 lines */
.tvh .tvh-path-description {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.tvh .tvh-path-meta {
    font-size: 13px;
    color: var(--path-accent);
    margin-bottom: 16px;
}

/* CTA */
.tvh .tvh-path-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 42px;
    margin-top: auto;
    padding: 8px 16px;
    color: var(--path-accent);
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tvh .tvh-path-cta:hover {
    color: #fff;
    border-color: var(--path-accent);
    background: var(--path-accent);
}

/* ------------------------------------------------------------
   8. GUIDES — featured + compact 2x2 grid
   ------------------------------------------------------------ */
.tvh .tvh-guides-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: stretch; }
.tvh .tvh-guides-small-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
    align-items: start;
}
.tvh .tvh-guides-small-grid .tvh-guide-card {
    align-self: start;
    height: auto;
    min-height: 0;
}
.tvh .tvh-guide-card.is-featured {
    display: flex; flex-direction: column; align-self: stretch; height: 100%;
    background: #fff; border: 1px solid #dfe8f3; border-radius: 8px;
    overflow: hidden; text-decoration: none; transition: box-shadow 0.2s;
}
.tvh .tvh-guide-card.is-featured:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.tvh .tvh-guide-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid #dfe8f3; border-radius: 8px;
    overflow: hidden; text-decoration: none; transition: box-shadow 0.2s;
}
.tvh .tvh-guide-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.tvh .tvh-guide-media {
    position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f1f5f9;
}
.tvh .tvh-guide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvh .tvh-guide-media .tvh-media-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding-bottom: 0;
}
.tvh .tvh-guide-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 0 0 auto; }
.tvh .tvh-guides-small-grid .tvh-guide-body { min-height: 70px; }
.tvh .tvh-guide-card.is-featured .tvh-guide-body { padding: 16px 18px 23px; flex: 1 1 auto; }
.tvh .tvh-guide-meta { font-size: 13px; color: #94a3b8; margin-bottom: 6px; }
.tvh .tvh-guide-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px; font-weight: 600; color: #0b1736; margin: 0; line-height: 1.35;
}
.tvh .tvh-guide-card.is-featured .tvh-guide-body h3 { font-size: 20px; font-weight: 700; }
.tvh .tvh-guide-card.is-featured .tvh-guide-body h3 {
    display: block;
    overflow: visible;
}

.tvh .tvh-cat {
    position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px;
    border-radius: 6px; background: rgba(255,255,255,0.95); color: #0b1736;
}
.tvh .tvh-cat.is-ai { background: #f2ecfe; color: #7c3aed; }
.tvh .tvh-cat.is-web { background: #e8f1fe; color: #1477f2; }
.tvh .tvh-cat.is-work { background: #fdeee7; color: #ff6846; }

/* ------------------------------------------------------------
   9. REVIEWS — 4-card grid
   ------------------------------------------------------------ */
.tvh .tvh-reviews .tvh-section-heading { margin-bottom: 4px; }
.tvh .tvh-reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tvh .tvh-review-card {
    min-width: 0; min-height: 282px; padding: 18px;
    background: #fff; border: 1px solid #d7e4f4; border-radius: 12px;
    display: flex; flex-direction: column;
    box-shadow: 0 5px 16px rgba(7, 27, 58, 0.025);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.tvh .tvh-review-card:hover {
    border-color: #9ec5ff; box-shadow: 0 10px 24px rgba(7, 27, 58, 0.07); transform: translateY(-1px);
}
.tvh .tvh-review-head {
    display: flex; align-items: center; gap: 12px; min-height: 52px; margin-bottom: 10px;
}
.tvh .tvh-review-mark {
    display: flex; flex: 0 0 64px; width: 64px; height: 44px; align-items: center; justify-content: center;
    background: var(--tv-color-primary-soft); color: var(--tv-color-primary); font-size: 13px; font-weight: 800; letter-spacing: .03em;
    border-radius: 9px;
}
.tvh .tvh-review-logo {
    display: flex; flex: 0 0 64px; width: 64px; height: 44px; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 8px; background: #f7fbff;
}
.tvh .tvh-review-logo img {
    display: block; width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: contain; object-position: center; border-radius: 0;
}
.tvh .tvh-review-card h3 {
    display: -webkit-box; min-width: 0; margin: 0; overflow: hidden;
    -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    font-size: 15px; font-weight: 750; color: #0b1736; line-height: 1.35;
}
.tvh .tvh-review-rating { display: flex; align-items: center; gap: 5px; margin: 0 0 9px; }
.tvh .tvh-review-stars { color: #f59e0b; font-size: 15px; line-height: 1; }
.tvh .tvh-review-rating-text { font-size: 13px; color: #263c5b; font-weight: 750; }
.tvh .tvh-review-best { min-height: 36px; margin-bottom: 10px; font-size: 12.5px; color: #617796; line-height: 1.4; }
.tvh .tvh-review-best strong { color: #263c5b; font-weight: 750; }
.tvh .tvh-review-pros {
    list-style: none; margin: 0 0 15px; padding: 0;
    display: flex; flex: 1; flex-direction: column; gap: 6px;
}
.tvh .tvh-review-pros li {
    position: relative; padding-left: 17px; font-size: 12.5px; color: #617796; line-height: 1.35;
}
.tvh .tvh-review-pros li::before {
    content: "✓"; position: absolute; left: 0; color: #10b981; font-weight: 700;
}
.tvh .tvh-review-cta {
    display: inline-flex; width: 100%; min-height: 38px; align-items: center; justify-content: center;
    margin-top: auto; padding: 0 12px; border: 1px solid #9ec5ff; border-radius: 8px;
    color: #1477f2; background: #fff; font-size: 12.5px; font-weight: 750; text-decoration: none;
}
.tvh .tvh-review-cta:hover { color: #fff; background: #1477f2; border-color: #1477f2; text-decoration: none; }
.tvh .tvh-review-affiliate {
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px;
    color: #64748b; text-decoration: none; margin-top: 4px;
}
.tvh .tvh-review-affiliate:hover { color: #1477f2; }
.tvh .tvh-reviews-disclosure {
    margin: 0 0 18px; color: #8695a9; font-size: 12px; line-height: 1.5;
}

/* Review placeholder — meaningful cards */
.tvh .tvh-review-placeholder {
    border: 1px dashed #cbd5e1; opacity: 0.85;
}
.tvh .tvh-review-placeholder-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: #e8f1fe; color: #1477f2; border-radius: 10px; margin-bottom: 12px;
}
.tvh .tvh-review-placeholder-icon .material-symbols-outlined { font-size: 24px; }
.tvh .tvh-review-eyebrow {
    font-size: 12px; font-weight: 600; color: #94a3b8;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.tvh .tvh-review-placeholder h3 {
    font-size: 15px; font-weight: 600; color: #0b1736; margin: 0 0 12px; line-height: 1.4;
}
.tvh .tvh-review-skeleton {
    height: 10px; background: #e2e8f0; border-radius: 6px; margin-bottom: 8px;
    animation: tvh-pulse 1.5s ease-in-out infinite;
}
.tvh .tvh-review-cta-disabled {
    display: block; margin-top: auto; padding: 8px 0; font-size: 13px;
    font-weight: 600; color: #94a3b8; text-align: center;
    border: 1px solid #e2e8f0; border-radius: 6px;
}
@keyframes tvh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ------------------------------------------------------------
   10. LATEST POSTS — compact 6-column grid
   ------------------------------------------------------------ */
.tvh .tvh-latest-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tvh .tvh-latest-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid #dfe8f3; border-radius: 8px;
    overflow: hidden; text-decoration: none; transition: box-shadow 0.2s;
}
.tvh .tvh-latest-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.tvh .tvh-latest-media {
    position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f1f5f9;
}
.tvh .tvh-latest-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvh .tvh-latest-media .tvh-media-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding-bottom: 0;
}
.tvh .tvh-latest-card h3 {
    display: -webkit-box; overflow: hidden;
    font-size: 13px; font-weight: 700; color: #0b1736; margin: 0 0 7px; line-height: 1.42;
    -webkit-box-orient: vertical; -webkit-line-clamp: 3;
}
.tvh .tvh-latest-body { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.tvh .tvh-latest-card .tvh-guide-meta {
    display: flex; flex-wrap: wrap; gap: 4px; margin: auto 0 0; font-size: 10px;
}
.tvh .tvh-empty-message {
    text-align: center; color: #94a3b8; font-size: 15px; padding: 40px 0;
}

/* ------------------------------------------------------------
   11. FINDER / NEWSLETTER — 2-column grid
   ------------------------------------------------------------ */
.tvh .tvh-finder { padding: 0 0 72px; }
.tvh .tvh-finder-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;
}
.tvh .tvh-finder-card {
    background: #fff; border: 1px solid #dfe8f3; border-radius: 8px;
    padding: 32px; display: flex; flex-direction: column;
}
.tvh .tvh-finder-card h2 {
    font-size: 22px; font-weight: 700; color: #0b1736; margin: 0 0 8px; line-height: 1.3;
}
.tvh .tvh-finder-card p {
    font-size: 15px; color: #64748b; margin: 0 0 20px; line-height: 1.5;
}
.tvh .tvh-finder-card small { display: block; font-size: 12px; color: #94a3b8; margin-top: 12px; }

/* Finder search — standalone input + button, no wrapper border */
.tvh .tvh-finder-card .tvh-finder-form {
    display: grid; grid-template-columns: minmax(0, 1fr) 128px;
    align-items: stretch; width: 100%; margin: 22px 0 0;
    padding: 0; gap: 10px;
    border: 0; border-radius: 0; background: transparent;
    box-shadow: none; overflow: visible;
}
.tvh .tvh-finder-card .tvh-finder-form input[type="search"] {
    display: block; width: 100%; min-width: 0; height: 46px;
    margin: 0; padding: 0 15px;
    border: 1px solid #cbd8e8; border-radius: 8px;
    background: #fff; box-shadow: none;
    color: #0b1736; font-size: 14px; line-height: 46px;
    appearance: none;
}
.tvh .tvh-finder-card .tvh-finder-form input[type="search"]::placeholder {
    color: #94a3b8; opacity: 1;
}
.tvh .tvh-finder-card .tvh-finder-form button[type="submit"] {
    display: inline-flex; width: 128px; min-width: 128px; height: 46px;
    align-items: center; justify-content: center;
    margin: 0; padding: 0 16px;
    border: 1px solid #1477f2; border-radius: 8px;
    background: #1477f2; box-shadow: none;
    color: #fff; font-size: 14px; font-weight: 700;
    line-height: 1; text-align: center;
    text-transform: none; white-space: nowrap;
    cursor: pointer; appearance: none;
}
.tvh .tvh-finder-card .tvh-finder-form button[type="submit"]:hover {
    border-color: #075dcc; background: #075dcc; color: #fff;
}
.tvh .tvh-finder-card .tvh-finder-form button[type="submit"]:focus-visible {
    outline: 3px solid rgba(20, 119, 242, 0.3); outline-offset: 2px;
}

/* Lead card */
.tvh .tvh-finder-lead { background: #e8f1fe; border-color: #1477f2; }
.tvh .tvh-finder-lead-icon { font-size: 28px; margin-bottom: 8px; }
.tvh .tvh-finder-lead-image {
    display: block; width: 54px; height: 54px; object-fit: contain; border-radius: 10px;
}

/* ===== CF7 NEWSLETTER FORM — scoped precisely ===== */
.tvh .tvh-finder-lead .tvh-newsletter-fields,
.tvh .tvh-finder-lead .wpcf7,
.tvh .tvh-finder-lead .wpcf7-form {
    width: 100%; margin: 0;
}
/* Reset CF7 <p> margins */
.tvh .tvh-finder-lead .wpcf7 p { margin: 0; padding: 0; display: block; }
.tvh .tvh-finder-lead .wpcf7-form-control-wrap { display: block; width: 100%; margin: 0; }

/* Grid: input | 165px submit */
.tvh .tvh-finder-lead .tv-newsletter-row {
    display: grid; grid-template-columns: minmax(0, 1fr) 165px;
    align-items: stretch; width: 100%; gap: 0;
}
.tvh .tvh-finder-lead .tv-newsletter-input,
.tvh .tvh-finder-lead .tv-newsletter-action {
    display: block; width: 100%; margin: 0;
}

.tvh .tvh-finder-lead input[type="email"] {
    width: 100%; min-width: 0; height: 46px; margin: 0; padding: 0 14px;
    border: 1px solid #cbd8e8; border-right: 0;
    border-radius: 8px 0 0 8px; box-shadow: none; background: #fff;
}
.tvh .tvh-finder-lead input[type="submit"] {
    display: block; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 0 14px;
    border: 0; border-radius: 0 8px 8px 0; background: #1477f2;
    color: #fff !important; font-weight: 700; line-height: 46px; text-align: center;
    white-space: nowrap; cursor: pointer; appearance: none;
}
.tvh .tvh-finder-lead input[type="submit"]:hover { background: #075dcc; }
.tvh .tvh-finder-lead .wpcf7-submit { /* fallback when CF7 renders with class */ }

.tvh .tvh-finder-lead .wpcf7-spinner {
    position: absolute; margin: 13px 0 0 -32px;
}
.tvh .tvh-finder-lead .wpcf7-response-output {
    margin: 8px 0 0 !important; padding: 8px 12px !important;
    border-radius: 6px; font-size: 14px;
}

/* AJAX fallback form */
.tvh .tvh-finder-lead .tvh-lead-form {
    display: flex; width: 100%; margin-top: 18px; align-items: stretch;
    border: 1px solid #cbd8e8; border-radius: 9px; overflow: hidden;
}
.tvh .tvh-finder-lead .tvh-lead-form input[type="email"] {
    flex: 1 1 auto; min-width: 0; height: 46px; border: 0; border-radius: 0;
}
.tvh .tvh-finder-lead .tvh-lead-form button[type="submit"] {
    flex: 0 0 165px; width: 165px; height: 46px; min-height: 46px;
    border: 0; border-radius: 0; margin: 0; white-space: nowrap;
}
.tvh .tvh-finder-lead .tvh-lead-form:focus-within {
    border-color: #1477f2; box-shadow: 0 0 0 3px rgba(20,119,242,0.15);
}
.tvh .tvh-lead-status {
    font-size: 14px; margin-top: 8px; padding: 8px 12px;
    border-radius: 6px; display: none;
}
.tvh .tvh-lead-status.is-success { display: block; background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.tvh .tvh-lead-status.is-error { display: block; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.tvh .tvh-lead-status.is-loading { display: block; background: #e0f2fe; color: #075985; }

.tvh .tvh-spinner {
    display: none; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: tvh-spin 0.6s linear infinite;
}
.tvh .tvh-btn.is-loading .tvh-spinner { display: inline-block; }
.tvh .tvh-btn.is-loading .tvh-btn-text { opacity: 0.7; }
@keyframes tvh-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------
   12. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .tvh .tvh-hero-grid { flex-direction: column; min-height: auto; gap: 32px; }
    .tvh .tvh-hero-content, .tvh .tvh-hero-media-col { flex: 0 0 100%; max-width: 100%; }
    .tvh .tvh-hero-media-col { aspect-ratio: 16/9; min-height: auto; }
    .tvh .tvh-hero-title { font-size: 34px; }
    .tvh .tvh-silo-grid { grid-template-columns: 1fr; }
    .tvh .tvh-paths-grid { grid-template-columns: repeat(2, 1fr); }
    .tvh .tvh-guides-layout { grid-template-columns: 1fr; }
    .tvh .tvh-reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .tvh .tvh-latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tvh .tvh-finder-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .tvh .tvh-section { padding: 48px 0; }
    .tvh .tvh-section-heading h2 { font-size: 24px; }
    .tvh .tvh-hero .tvh-container { padding: 32px 20px; }
    .tvh .tvh-hero-title { font-size: 28px; }
    .tvh .tvh-hero-desc { font-size: 15px; }
    .tvh .tvh-hero-stats { gap: 16px; }
    .tvh .tvh-hero-stats strong { font-size: 18px; }
    .tvh .tvh-paths-grid { grid-template-columns: 1fr; }
    .tvh .tvh-guides-small-grid { grid-template-columns: 1fr; }
    .tvh .tvh-reviews-grid { grid-template-columns: 1fr; }
    .tvh .tvh-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvh .tvh-finder-card { padding: 24px; }
    .tvh .tvh-finder-card .tvh-finder-form { grid-template-columns: 1fr; gap: 10px; }
    .tvh .tvh-finder-card .tvh-finder-form button[type="submit"] { width: 100%; min-width: 0; }
    .tvh .tvh-finder-lead .tv-newsletter-row { grid-template-columns: 1fr; gap: 8px; }
    .tvh .tvh-finder-lead input[type="email"],
    .tvh .tvh-finder-lead input[type="submit"] {
        border: 1px solid #cbd8e8; border-radius: 8px;
    }
    .tvh .tvh-finder-lead .tvh-lead-form { flex-direction: column; gap: 8px; border: 0; overflow: visible; }
    .tvh .tvh-finder-lead .tvh-lead-form input[type="email"],
    .tvh .tvh-finder-lead .tvh-lead-form button[type="submit"] {
        width: 100%; flex-basis: auto; border: 1px solid #cbd8e8; border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .tvh .tvh-section-heading-row {
        flex-direction: column; align-items: flex-start; gap: 8px;
    }
    .tvh .tvh-section-heading-row > a { margin-left: 0; }
}

@media (max-width: 480px) {
    .tvh .tvh-hero-search { grid-template-columns: minmax(0, 1fr) auto; }
    .tvh .tvh-hero-search .tvh-search-icon { display: none; }
    .tvh .tvh-hero-title { font-size: 24px; }
    .tvh .tvh-hero-actions { flex-direction: column; }
    .tvh .tvh-hero-stats { flex-direction: column; gap: 12px; }
    .tvh .tvh-latest-grid { grid-template-columns: 1fr; }
}
