/* Home page earning hub (partials/_home_earn_hub.php) */
.eh {
    --eh-accent: var(--vr-theme-color, #19bc9c);
    --eh-accent-2: #3b6cf6;
    --eh-ink: #101828;
    --eh-muted: #5b6478;
    --eh-surface: #ffffff;
    --eh-soft: #f4f7fb;
    --eh-line: #e4e8f0;
    --eh-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--eh-ink);
    padding: 24px 0 40px;
}
[data-bs-theme="dark"] .eh {
    --eh-ink: #eef1f6;
    --eh-muted: #a3acbd;
    --eh-surface: #171c26;
    --eh-soft: #11151d;
    --eh-line: #262d3a;
    --eh-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}
.eh *, .eh *::before, .eh *::after { box-sizing: border-box; }

/* Hero: same look as the Guide hero (dark green gradient, teal glow, transparent E mark) */
.eh-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 56px 52px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% -20%, rgba(25, 188, 156, .38), transparent 60%),
        radial-gradient(600px 400px at -10% 120%, rgba(125, 255, 90, .12), transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #0f2a2a 55%, #064e3b 100%);
    box-shadow: 0 30px 60px -28px rgba(6, 78, 59, .65), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
/* Grid lines and left shade */
.eh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .35), transparent 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 44px);
    -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
    mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
}
/* Big transparent E */
.eh-hero-e {
    position: absolute;
    top: 50%;
    right: -60px;
    z-index: -1;
    width: 620px;
    height: 620px;
    transform: translateY(-50%) rotate(-8deg);
    background: url("../img/e-icon.webp") center / contain no-repeat;
    opacity: .08;
    filter: saturate(.8);
    pointer-events: none;
    animation: eh-float 14s ease-in-out infinite;
}
@keyframes eh-float {
    0%, 100% { transform: translateY(-50%) rotate(-8deg); }
    50% { transform: translateY(calc(-50% - 14px)) rotate(-5deg); }
}
.eh-hero-text, .eh-hero-stats { position: relative; }
.eh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(6px);
}
.eh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7dff5a;
    box-shadow: 0 0 0 0 rgba(125, 255, 90, .6);
    animation: eh-pulse 2s infinite;
}
@keyframes eh-pulse {
    0% { box-shadow: 0 0 0 0 rgba(125, 255, 90, .55); }
    70% { box-shadow: 0 0 0 9px rgba(125, 255, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(125, 255, 90, 0); }
}
.eh-hero-logo {
    display: block;
    width: clamp(200px, 28vw, 320px);
    height: auto;
    margin: 20px 0 6px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}
.eh-title {
    margin: 10px 0 14px;
    font-family: inherit;
    font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #fff;
}
.eh-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--eh-accent), #7dff5a);
}
.eh-grad {
    background: linear-gradient(90deg, #5eead4 0%, #7dff5a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.eh-lead {
    max-width: 560px;
    margin: 0 0 26px;
    font-size: 1.06rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}
.eh-actions, .eh-steps-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.eh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .96rem;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .2s ease;
}
.eh-btn:hover { transform: translateY(-2px); }
.eh-hero .eh-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--eh-accent), #12a37f);
    box-shadow: 0 14px 28px -12px var(--eh-accent);
}
.eh-hero .eh-btn-primary:hover { filter: brightness(1.08); }
.eh-hero .eh-btn-ghost { color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .35); }
.eh-hero .eh-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.eh-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
}
.eh-trust li::before { content: "\2713"; margin-right: 6px; font-weight: 800; color: #7dff5a; }

/* Glass stat tiles */
.eh-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eh-stat {
    position: relative;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.eh-stat:hover { transform: translateY(-4px); border-color: rgba(125, 255, 90, .45); }
.eh-hero-stats .eh-stat:nth-child(2), .eh-hero-stats .eh-stat:nth-child(4) { transform: translateY(18px); }
.eh-hero-stats .eh-stat:nth-child(2):hover, .eh-hero-stats .eh-stat:nth-child(4):hover { transform: translateY(14px); }
.eh-stat-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 10px;
    color: #0b1220;
    background: linear-gradient(135deg, #5eead4, #7dff5a);
}
.eh-stat strong { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: #fff; }
.eh-stat span:not(.eh-stat-ic) { display: block; margin-top: 4px; font-size: .84rem; color: rgba(255, 255, 255, .7); }

/* Section heads and filters */
.eh-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 48px 0 20px;
    scroll-margin-top: 90px;
}
.eh-h2 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--eh-ink);
}
.eh-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.eh-filter {
    padding: 8px 14px;
    border: 1px solid var(--eh-line);
    border-radius: 999px;
    background: var(--eh-surface);
    color: var(--eh-muted);
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: all .15s ease;
}
.eh-filter:hover { color: var(--eh-ink); border-color: var(--eh-accent); }
.eh-filter.is-active { background: var(--eh-accent); border-color: var(--eh-accent); color: #fff; }

/* Earning blocks */
.eh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.eh-card {
    --eh-c: var(--eh-accent);
    --eh-c2: var(--eh-accent-2);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--eh-line);
    border-radius: 20px;
    background: var(--eh-surface);
    box-shadow: var(--eh-shadow);
    color: var(--eh-ink) !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    animation: eh-rise .5s ease both;
    animation-delay: calc(var(--eh-i, 0) * 40ms);
}
.eh-card[hidden] { display: none; }
.eh-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--eh-c) 45%, var(--eh-line));
    box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--eh-c) 55%, rgba(16, 24, 40, .4));
}
.eh-card:focus-visible { outline: 3px solid var(--eh-c); outline-offset: 3px; }
.eh-g-content { --eh-c: #10a37f; --eh-c2: #0e7c86; }
.eh-g-network { --eh-c: #7a5af8; --eh-c2: #c13ef5; }
.eh-g-play { --eh-c: #f2711c; --eh-c2: #e8304f; }
.eh-g-trade { --eh-c: #2e90fa; --eh-c2: #3b4ef6; }
.eh-g-boost { --eh-c: #d99a06; --eh-c2: #e8590c; }

/* Photo header */
.eh-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--eh-c), var(--eh-c2));
}
.eh-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.eh-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 25, .05) 0%, rgba(10, 14, 25, .15) 55%, rgba(10, 14, 25, .55) 100%);
}
.eh-card:hover .eh-media img { transform: scale(1.07); }
.eh-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: rgba(12, 16, 28, .45);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.eh-icon {
    position: absolute;
    left: 18px;
    bottom: -22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--eh-c), var(--eh-c2));
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--eh-c) 70%, transparent), 0 0 0 4px var(--eh-surface);
    transition: transform .25s ease;
}
.eh-card:hover .eh-icon { transform: translateY(-3px) rotate(-6deg); }

/* Card body */
.eh-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 34px 20px 20px; }
.eh-card-title { font-size: 1.08rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.eh-card-text { flex: 1; font-size: .9rem; line-height: 1.55; color: var(--eh-muted); }
.eh-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--eh-c);
    background: color-mix(in srgb, var(--eh-c) 10%, transparent);
    transition: background-color .2s ease, color .2s ease;
}
.eh-card-link svg { transition: transform .2s ease; }
.eh-card:hover .eh-card-link { color: #fff; background: linear-gradient(135deg, var(--eh-c), var(--eh-c2)); }
.eh-card:hover .eh-card-link svg { transform: translateX(3px); }
.eh-credit { margin: 14px 0 0; text-align: right; font-size: .75rem; color: var(--eh-muted); }
.eh-credit a { color: inherit; text-decoration: underline; }

/* Wide booster cards: photo on the left */
@media (min-width: 1200px) {
    .eh-g-boost { flex-direction: row; }
    .eh-g-boost .eh-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 100%; }
    .eh-g-boost .eh-icon { left: auto; right: -24px; bottom: 50%; transform: translateY(50%); }
    .eh-g-boost:hover .eh-icon { transform: translateY(calc(50% - 3px)) rotate(-6deg); }
    .eh-g-boost .eh-body { padding: 24px 24px 24px 42px; justify-content: center; }
    .eh-g-boost .eh-card-text { flex: 0 0 auto; }
}

/* How it works: dark green panel, numbered step cards joined by a dashed line (vertical timeline on phones) */
.eh-steps {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
    padding: 44px 40px 40px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #052e26 0%, #064e3b 45%, #0f766e 100%);
    box-shadow: 0 24px 48px -28px rgba(6, 78, 59, .8);
    isolation: isolate;
}
.eh-steps::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.eh-steps-glow {
    position: absolute;
    z-index: -1;
    right: -120px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 255, 90, .22), transparent 65%);
    pointer-events: none;
}
.eh-steps-head { max-width: 620px; margin: 0 auto; text-align: center; }
.eh-steps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #d1fae5;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}
.eh-steps .eh-h2 { margin: 14px 0 8px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; }
.eh-steps-sub { margin: 0; color: rgba(255, 255, 255, .74); font-size: 1rem; line-height: 1.55; }

.eh-steps-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 36px 0 32px;
    padding: 0;
    list-style: none;
}
.eh-steps-list::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 46px;
    border-top: 2px dashed rgba(255, 255, 255, .22);
}
.eh-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
    animation: eh-rise .5s ease both;
    animation-delay: calc(var(--eh-i, 0) * 90ms);
}
.eh-step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); border-color: rgba(125, 255, 90, .35); }
.eh-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.eh-step-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #064e3b;
    background: linear-gradient(135deg, #a7f3d0, #7dff5a);
    box-shadow: 0 10px 22px -10px rgba(125, 255, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.eh-step-no {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(255, 255, 255, .35);
}
.eh-step strong { font-size: 1.08rem; font-weight: 800; color: #fff; }
.eh-step-text { font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.eh-step-chip {
    align-self: flex-start;
    margin-top: auto;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    color: #bbf7d0;
    background: rgba(125, 255, 90, .1);
    border: 1px solid rgba(125, 255, 90, .22);
}
.eh-steps-cta { justify-content: center; }
.eh-steps .eh-btn { display: inline-flex; align-items: center; gap: 8px; }
.eh-steps .eh-btn-primary { color: #052e26 !important; background: linear-gradient(135deg, #7dff5a, #34d399); box-shadow: 0 12px 24px -12px rgba(125, 255, 90, .9); }
.eh-steps .eh-btn-primary:hover { transform: translateY(-2px); }
.eh-steps .eh-btn-ghost { color: #fff !important; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .28); }
.eh-steps .eh-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 991px) {
    .eh-steps-list::before { display: none; }
}
@media (max-width: 575px) {
    .eh-steps { margin-top: 28px; padding: 30px 18px 24px; border-radius: 24px; }
    .eh-steps-list { gap: 14px; margin: 26px 0 24px; }
    /* Vertical timeline */
    .eh-steps-list::before { display: block; left: 41px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .22); }
    .eh-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
    .eh-step-top { grid-row: 1 / span 3; flex-direction: column; justify-content: flex-start; gap: 8px; margin: 0; }
    .eh-step-no { font-size: 1.2rem; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
    .eh-step-chip { margin-top: 6px; }
    .eh-steps-cta .eh-btn { flex: 1 1 100%; justify-content: center; }
}
[data-bs-theme="dark"] .eh-steps { background: linear-gradient(135deg, #03201a 0%, #053d30 50%, #0a5c52 100%); }

@keyframes eh-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .eh-card, .eh-hero-e, .eh-dot, .eh-step { animation: none; }
    .eh-step { transition: none; }
    .eh-card, .eh-btn, .eh-media img, .eh-icon, .eh-card-link, .eh-card-link svg { transition: none; }
    .eh-card:hover, .eh-card:hover .eh-media img { transform: none; }
}

/* 14 blocks: the two boosters go wide so the last row fills (4 columns: 12 + 2x2, 3 columns: 12 + 1 + 2) */
@media (min-width: 1200px) { .eh-g-boost { grid-column: span 2; } }
@media (max-width: 1199px) {
    .eh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .eh-g-boost:last-child { grid-column: span 2; }
    .eh-g-boost:last-child .eh-media { aspect-ratio: 32 / 10; }
}
@media (max-width: 991px) {
    .eh-hero { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
    .eh-hero-logo, .eh-lead { margin-left: auto; margin-right: auto; }
    .eh-title::after { margin-left: auto; margin-right: auto; }
    .eh-actions, .eh-trust { justify-content: center; }
    .eh-hero-e { width: 420px; height: 420px; right: -120px; top: 30%; }
    .eh-hero-stats { text-align: left; }
    .eh-hero-stats .eh-stat:nth-child(n) { transform: none; }
    .eh-grid, .eh-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .eh { padding-top: 12px; }
    .eh-hero { padding: 28px 20px; border-radius: 18px; }
    .eh-actions .eh-btn { flex: 1 1 100%; }
    .eh-stat { padding: 14px; }
    .eh-stat strong { font-size: 1.3rem; }
    .eh-grid { grid-template-columns: 1fr; gap: 12px; }
    .eh-steps-list { grid-template-columns: 1fr; }
    .eh-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
    .eh-filter { flex: 0 0 auto; }
}

/* ------------------------------------------------------------------
   "How Earnships works" + FAQ (partials/_home_seo_section.php)
   Overrides the base look in site-extras.css on the magazine home page
   ------------------------------------------------------------------ */
.home-seo {
    --hs-accent: var(--vr-theme-color, #19bc9c);
    --hs-ink: #101828;
    --hs-muted: #5b6478;
    --hs-surface: #ffffff;
    --hs-soft: #f4f7fb;
    --hs-line: #e4e8f0;
    padding: 56px 0 24px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
[data-bs-theme="dark"] .home-seo {
    --hs-ink: #eef1f6;
    --hs-muted: #a3acbd;
    --hs-surface: #171c26;
    --hs-soft: #11151d;
    --hs-line: #262d3a;
}
.home-seo .hs-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; text-align: center; }
.home-seo .hs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hs-accent);
    background: color-mix(in srgb, var(--hs-accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--hs-accent) 25%, transparent);
}
.home-seo .hs-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hs-accent); }
.home-seo .hs-intro {
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.01em;
    color: var(--hs-ink);
}

/* Bento grid: big writing card on the left, dark guide card bottom right */
.home-seo .hs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}
.home-seo .hs-card {
    --hs-c: var(--hs-accent);
    --hs-c2: #12a37f;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--hs-line);
    border-radius: 22px;
    background: var(--hs-surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px -14px rgba(16, 24, 40, .12);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-seo .hs-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hs-c), var(--hs-c2));
    opacity: .9;
}
.home-seo .hs-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--hs-c) 16%, transparent), transparent 70%);
    pointer-events: none;
}
.home-seo .hs-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--hs-c) 40%, var(--hs-line));
    box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--hs-c) 50%, rgba(16, 24, 40, .35));
}
.home-seo .hs-card-1 { grid-row: span 2; --hs-c: #10a37f; --hs-c2: #0e7c86; }
.home-seo .hs-card-2 { --hs-c: #2e90fa; --hs-c2: #3b4ef6; }
.home-seo .hs-card-3 { --hs-c: #d99a06; --hs-c2: #e8590c; }
.home-seo .hs-card-4 { --hs-c: #7a5af8; --hs-c2: #c13ef5; }
.home-seo .hs-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.home-seo .hs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--hs-c), var(--hs-c2));
    box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--hs-c) 70%, transparent);
    transition: transform .25s ease;
}
.home-seo .hs-card:hover .hs-icon { transform: rotate(-6deg) scale(1.05); }
.home-seo .hs-num {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px color-mix(in srgb, var(--hs-c) 35%, transparent);
}
.home-seo .hs-h2 {
    margin: 0 0 10px;
    font-family: inherit;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--hs-ink);
}
.home-seo .hs-card-1 .hs-h2 { font-size: 1.5rem; }
.home-seo p { margin: 0 0 10px; font-size: .94rem; line-height: 1.65; color: var(--hs-muted); }
.home-seo .hs-card > p { flex: 0 0 auto; }

/* Sub-points inside the big card */
.home-seo .hs-subs { display: grid; gap: 12px; margin: 8px 0 6px; }
.home-seo .hs-sub {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--hs-c) 6%, var(--hs-surface));
    border: 1px solid color-mix(in srgb, var(--hs-c) 16%, transparent);
}
.home-seo .hs-sub-ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    color: #fff;
    background: var(--hs-c);
}
.home-seo .hs-h3 { margin: 0 0 4px; font-family: inherit; font-size: 1rem; font-weight: 800; color: var(--hs-ink); }
.home-seo .hs-sub p { margin: 0; font-size: .9rem; }

/* Career path strip in the big card */
.home-seo .hs-path {
    position: relative;
    z-index: 1;
    margin: 16px 0 22px;
    padding: 18px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(300px 160px at 100% 0%, rgba(25, 188, 156, .45), transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #0f2a2a 60%, #064e3b 100%);
}
.home-seo .hs-path-label { display: block; margin-bottom: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7dff5a; }
.home-seo .hs-path-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.home-seo .hs-path-steps li {
    position: relative;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}
.home-seo .hs-path-steps li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 10px;
    height: 2px;
    background: linear-gradient(90deg, #5eead4, #7dff5a);
}
.home-seo .hs-path-steps strong { display: block; font-size: .95rem; font-weight: 800; color: #fff; }
.home-seo .hs-path-steps span { display: block; margin-top: 2px; font-size: .76rem; color: rgba(255, 255, 255, .7); }
.home-seo .hs-path-steps li:last-child { background: linear-gradient(135deg, rgba(94, 234, 212, .22), rgba(125, 255, 90, .18)); border-color: rgba(125, 255, 90, .35); }
.home-seo .hs-card-1::after {
    top: auto;
    bottom: -50px;
    right: -40px;
    width: 230px;
    height: 230px;
    border-radius: 0;
    background: url("../img/e-icon.webp") center / contain no-repeat;
    opacity: .06;
    transform: rotate(-10deg);
}
@media (max-width: 420px) { .home-seo .hs-path-steps { grid-template-columns: 1fr; } .home-seo .hs-path-steps li + li::before { display: none; } }

/* Card link as a pill pinned to the bottom */
.home-seo .hs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--hs-c);
    background: color-mix(in srgb, var(--hs-c) 10%, transparent);
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}
.home-seo .hs-card > p + .hs-link, .home-seo .hs-subs + .hs-link { margin-top: auto; }
.home-seo .hs-card > p:last-of-type { margin-bottom: 18px; }
.home-seo .hs-link svg { transition: transform .2s ease; }
.home-seo .hs-link:hover, .home-seo .hs-card:hover .hs-link {
    color: #fff;
    background: linear-gradient(135deg, var(--hs-c), var(--hs-c2));
    text-decoration: none;
}
.home-seo .hs-card:hover .hs-link svg { transform: translateX(3px); }

/* Card 5: dark Guide-style card */
.home-seo .hs-card-5 {
    --hs-c: #7dff5a;
    --hs-c2: #19bc9c;
    border-color: transparent;
    color: #fff;
    background:
        radial-gradient(400px 260px at 100% 0%, rgba(25, 188, 156, .4), transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #0f2a2a 55%, #064e3b 100%);
}
.home-seo .hs-card-5::after {
    top: auto;
    bottom: -60px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 0;
    background: url("../img/e-icon.webp") center / contain no-repeat;
    opacity: .1;
    transform: rotate(-10deg);
}
.home-seo .hs-card-5 .hs-h2 { color: #fff; }
.home-seo .hs-card-5 p { color: rgba(255, 255, 255, .75); }
.home-seo .hs-card-5 .hs-icon { color: #0b1220; background: linear-gradient(135deg, #5eead4, #7dff5a); }
.home-seo .hs-card-5 .hs-num { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
.home-seo .hs-card-5 .hs-link { color: #0b1220; background: linear-gradient(135deg, #5eead4, #7dff5a); }
.home-seo .hs-card-5:hover .hs-link { color: #0b1220; }

/* FAQ: intro panel + accordion */
.home-seo .hs-faq {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
    max-width: none;
    margin-top: 48px;
}
.home-seo .hs-faq-intro {
    position: sticky;
    top: 96px;
    padding: 30px;
    border-radius: 22px;
    background: var(--hs-soft);
    border: 1px solid var(--hs-line);
}
.home-seo .hs-faq-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    background: linear-gradient(135deg, var(--hs-accent), #12a37f);
}
.home-seo .hs-faq > .hs-faq-intro .hs-h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; }
.home-seo .hs-faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, var(--hs-accent), #12a37f);
    box-shadow: 0 12px 24px -12px var(--hs-accent);
    text-decoration: none !important;
    transition: transform .15s ease;
}
.home-seo .hs-faq-btn:hover { transform: translateY(-2px); }
.home-seo .hs-faq-list { display: grid; gap: 12px; }
.home-seo .hs-faq-item {
    padding: 0;
    border: 1px solid var(--hs-line);
    border-radius: 16px;
    background: var(--hs-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.home-seo .hs-faq-item:hover { border-color: color-mix(in srgb, var(--hs-accent) 40%, var(--hs-line)); }
.home-seo .hs-faq-item[open] {
    border-color: color-mix(in srgb, var(--hs-accent) 55%, var(--hs-line));
    box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--hs-accent) 60%, transparent);
}
.home-seo .hs-faq-item summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 56px 16px 18px;
}
.home-seo .hs-q-no {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 800;
    color: var(--hs-accent);
    background: color-mix(in srgb, var(--hs-accent) 12%, transparent);
    transition: background-color .2s ease, color .2s ease;
}
.home-seo .hs-faq-item[open] .hs-q-no { color: #fff; background: linear-gradient(135deg, var(--hs-accent), #12a37f); }
.home-seo .hs-q { display: block; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--hs-ink); }
.home-seo .hs-faq-item summary::after {
    content: "";
    top: 50%;
    right: 18px;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background:
        linear-gradient(var(--hs-accent), var(--hs-accent)) center / 12px 2px no-repeat,
        linear-gradient(var(--hs-accent), var(--hs-accent)) center / 2px 12px no-repeat,
        color-mix(in srgb, var(--hs-accent) 10%, transparent);
    transition: transform .25s ease;
}
.home-seo .hs-faq-item[open] summary::after {
    content: "";
    transform: rotate(45deg);
}
.home-seo .hs-faq-item > p { margin: 0; padding: 0 22px 18px 64px; }
.home-seo .hs-faq-item p a { color: var(--hs-accent); font-weight: 600; }

[data-bs-theme="dark"] .home-seo .hs-card:not(.hs-card-5) { background: var(--hs-surface); }
[data-bs-theme="dark"] .home-seo .hs-card.hs-card-5 {
    background:
        radial-gradient(400px 260px at 100% 0%, rgba(25, 188, 156, .4), transparent 60%),
        linear-gradient(160deg, #0b1220 0%, #0f2a2a 55%, #064e3b 100%);
}

@media (prefers-reduced-motion: reduce) {
    .home-seo .hs-card, .home-seo .hs-icon, .home-seo .hs-link svg, .home-seo .hs-faq-item summary::after { transition: none; }
    .home-seo .hs-card:hover { transform: none; }
}
@media (max-width: 1199px) {
    .home-seo .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-seo .hs-card-1 { grid-row: span 2; }
}
@media (max-width: 991px) {
    .home-seo .hs-faq { grid-template-columns: 1fr; }
    .home-seo .hs-faq-intro { position: static; }
}
@media (max-width: 767px) {
    .home-seo { padding-top: 40px; }
    .home-seo .hs-grid { grid-template-columns: 1fr; }
    .home-seo .hs-card-1 { grid-row: auto; }
    .home-seo .hs-card { padding: 22px 20px; }
    .home-seo .hs-faq-item > p { padding: 0 18px 16px 18px; }
}

/* ------------------------------------------------------------------
   Home category sections: bold "TITLE »" headings + alternating bands
   ------------------------------------------------------------------ */
.body-index-page .section-category { padding: 34px 0 10px; margin-bottom: 0; }
.body-index-page .cat-fx-2,
.body-index-page .cat-fx-4,
.body-index-page .cat-fx-6 {
    padding: 34px 0 10px;
    margin: 10px 0;
    background: linear-gradient(180deg, #f3f6f9 0%, #eef3f6 100%);
    border-top: 1px solid #e6ebf0;
    border-bottom: 1px solid #e6ebf0;
}
.body-index-page .cat-fx-2 > .section,
.body-index-page .cat-fx-4 > .section,
.body-index-page .cat-fx-6 > .section { padding-top: 0; }
[data-bs-theme="dark"] .body-index-page .cat-fx-2,
[data-bs-theme="dark"] .body-index-page .cat-fx-4,
[data-bs-theme="dark"] .body-index-page .cat-fx-6 {
    background: #0f141c;
    border-color: #1e2633;
}
.body-index-page .section-title {
    margin-bottom: 18px;
    border-bottom: 0 !important;
}
.body-index-page .section-title::after { display: none !important; }
.body-index-page .section-title .title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--vr-gray-900, #0f172a);
}
.body-index-page .section-title .title::before {
    content: "";
    width: 6px;
    height: 24px;
    border-radius: 3px;
    background: linear-gradient(180deg, #7dff5a, var(--vr-theme-color, #19bc9c));
}
.body-index-page .section-title .title::after {
    content: "\00BB";
    font-size: 1.6rem;
    line-height: 1;
    margin-top: -3px;
    color: var(--vr-theme-color, #19bc9c);
    transition: transform .2s ease;
}
.body-index-page .section-title:hover .title::after { transform: translateX(4px); }
[data-bs-theme="dark"] .body-index-page .section-title .title { color: #f1f5f9; }
@media (max-width: 575px) {
    .body-index-page .section-category { padding-top: 24px; }
    .body-index-page .section-title .title { font-size: 1.15rem; }
}

/* ------------------------------------------------------------------
   Home category cards (magazine/category/_block_hw.php)
   ------------------------------------------------------------------ */
.hwc { --hwc-c: var(--vr-theme-color, #19bc9c); }
.hwc .section-title .title a { color: inherit; text-decoration: none; }
.hwc .hwc-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: var(--hwc-c) !important;
    background: color-mix(in srgb, var(--hwc-c) 10%, transparent);
    text-decoration: none !important;
    transition: background-color .2s ease, color .2s ease;
}
.hwc .hwc-all:hover { color: #fff !important; background: var(--hwc-c); }

.hwc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
}
.hwc-has-sidebar .hwc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hwc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hwc-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--hwc-c) 40%, #e5e9ef);
    box-shadow: 0 16px 30px -16px rgba(16, 24, 40, .3);
}
.hwc-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2a2a, #064e3b);
}
.hwc-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.hwc-card:hover .hwc-media img { transform: scale(1.06); }
/* Corner badge with the E mark */
.hwc-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 54px;
    height: 54px;
    background:
        url("../img/e-icon.webp") 8px 7px / 20px 20px no-repeat,
        linear-gradient(135deg, #0f766e 0 50%, transparent 50%);
    pointer-events: none;
}
.hwc-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--hwc-c);
}
.hwc-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 14px 16px 12px; }
.hwc-title {
    flex: 1;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hwc-title a { color: #111827; text-decoration: none; transition: color .2s ease; }
.hwc-card:hover .hwc-title a { color: var(--hwc-c); }
.hwc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #eef1f5;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .78rem;
    color: #6b7280;
}
.hwc-author { font-weight: 600; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hwc-date { margin-left: auto; white-space: nowrap; }

/* Large overlay card */
.hwc-big { grid-column: span 2; min-height: 320px; border: 0; }
.hwc-big .hwc-media { position: absolute; inset: 0; aspect-ratio: auto; }
.hwc-big .hwc-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(5, 10, 20, 0) 30%, rgba(5, 10, 20, .55) 62%, rgba(5, 10, 20, .9) 100%);
}
.hwc-big .hwc-media::before { width: 70px; height: 70px; background-size: 26px 26px, auto; background-position: 10px 9px, 0 0; }
.hwc-big .hwc-tag { display: inline-block; top: 16px; right: 16px; left: auto; bottom: auto; }
.hwc-big .hwc-body {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    padding: 22px 24px 18px;
    pointer-events: none;
}
.hwc-big .hwc-body a { pointer-events: auto; }
.hwc-big .hwc-title { flex: 0 0 auto; font-size: clamp(1.15rem, .9rem + .9vw, 1.6rem); line-height: 1.3; -webkit-line-clamp: 3; }
.hwc-big .hwc-title a { color: #fff; }
.hwc-big:hover .hwc-title a { color: #fff; }
.hwc-big .hwc-meta { border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); }
.hwc-big .hwc-author { color: #fff; }

/* Dark mode */
[data-bs-theme="dark"] .hwc-card:not(.hwc-big) { background: #161c26; border-color: #252d3a; }
[data-bs-theme="dark"] .hwc-card:not(.hwc-big) .hwc-title a { color: #eef1f6; }
[data-bs-theme="dark"] .hwc-meta { border-top-color: #252d3a; color: #9aa3b2; }
[data-bs-theme="dark"] .hwc-author { color: #cbd5e1; }

@media (prefers-reduced-motion: reduce) {
    .hwc-card, .hwc-media img { transition: none; }
    .hwc-card:hover, .hwc-card:hover .hwc-media img { transform: none; }
}
@media (max-width: 1199px) {
    .hwc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hwc-has-sidebar .hwc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .hwc-grid, .hwc-has-sidebar .hwc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hwc-big { min-height: 260px; }
    .hwc-body { padding: 12px; }
    .hwc-title { font-size: .9rem; }
}
@media (max-width: 479px) {
    .hwc-grid, .hwc-has-sidebar .hwc-grid { grid-template-columns: 1fr; }
    .hwc-big { grid-column: auto; }
}
