/* If your theme uses CSS variables for the body font */
:root {
    --font-body: 'Source Serif 4', serif;
    --font-logo: 'Cinzel Decorative', cursive;
    /* Update your main variable */
}

/* ─────────────────────────────────────────
   TICKER BAR
───────────────────────────────────────── */
.w4l-ticker {
    background: var(--forest);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    overflow: hidden;
    padding: 6px 0;
    white-space: nowrap;
    padding: 5px 40px;
}

.w4l-ticker__inner {
    display: inline-block;
    /* animation: w4l-ticker-scroll 30s linear infinite; */
}

.w4l-ticker__inner span {
    margin: 0 36px;
}

.w4l-ticker .tick-up {
    color: #6fcf97;
}

.w4l-ticker .tick-down {
    color: #eb5757;
}

/* @keyframes w4l-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
} */

/* ─────────────────────────────────────────
   MASTHEAD
───────────────────────────────────────── */
.w4l-masthead {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
}

.w4l-masthead__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 16px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}

.w4l-masthead__left,
.w4l-masthead__right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.w4l-masthead__right {
    align-items: flex-end;
}

/* Logo */
.w4l-logo {
    text-align: center;
}

.w4l-logo__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 4px;
}

.w4l-logo__name {
    font-family: var(--font-logo);
    font-size: 62px;
    font-weight: 500;
    color: var(--forest);
    line-height: 1;
    letter-spacing: -1px;
    text-decoration: none;
    display: block;
}

.w4l-logo__name span {
    color: var(--gold);
}


.w4l-logo__tagline {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Masthead utilities */
.w4l-date-line {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-mono);
}

.w4l-reader-count {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-mono);
}

/* Search bar */
.w4l-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
}

.w4l-search input {
    border: none;
    outline: none;
    padding: 7px 12px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ink);
    background: transparent;
    width: 160px;
}

.w4l-search button {
    background: var(--forest);
    border: none;
    color: var(--white);
    padding: 7px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background var(--transition);
}

.w4l-search button:hover {
    background: var(--sage);
}

/* Subscribe button */
.w4l-btn-subscribe {
    background: var(--gold);
    color: var(--ink);
    border: none;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
    text-decoration: none;
    display: inline-block;
}

.w4l-btn-subscribe:hover {
    background: var(--gold-light);
    color: var(--ink);
}

/* ─────────────────────────────────────────
   PRIMARY NAVIGATION
───────────────────────────────────────── */
.w4l-nav {
    position: relative;
}

/* Hide toggle on desktop, show only on mobile */
.w4l-nav__toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
    color: var(--ink);
}

.w4l-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.w4l-nav ul li {
    position: relative;
}

.w4l-nav ul li+li::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--border);
    margin: 0 2px;
    vertical-align: middle;
}

.w4l-nav ul a {
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 14px 18px;
    position: relative;
    transition: color var(--transition);
}

.w4l-nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.w4l-nav ul a:hover,
.w4l-nav ul .current-menu-item>a,
.w4l-nav ul .current-menu-ancestor>a {
    color: var(--forest);
}

.w4l-nav ul a:hover::after,
.w4l-nav ul .current-menu-item>a::after {
    transform: scaleX(1);
}

/* Dropdown */
.w4l-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    min-width: 200px;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.w4l-nav ul ul li::before {
    display: none;
}

.w4l-nav ul ul a {
    padding: 10px 18px;
    font-size: 12px;
    width: 100%;
}

.w4l-nav ul ul a::after {
    display: none;
}

.w4l-nav ul li:hover>ul {
    display: flex;
}

/* ─────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────── */
.w4l-breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 40px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.w4l-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.w4l-breadcrumb a:hover {
    color: var(--sage);
}

.w4l-breadcrumb span.sep {
    color: var(--border);
}

.w4l-breadcrumb span.current {
    color: var(--sage);
}

/* ─────────────────────────────────────────
   HERO / FEATURED POST
───────────────────────────────────────── */
.w4l-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 40px;
}

.w4l-hero__main {
    padding-right: 40px;
    border-right: 1px solid var(--border);
}

.w4l-hero__category {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w4l-hero__category::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.w4l-hero__img {
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, var(--forest) 0%, #2d5a3f 50%, #1a3a2a 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
}

.w4l-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-hero__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--forest);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.w4l-hero__excerpt {
    font-size: 16px;
    line-height: 1.2;
    color: #3d3428;
    margin-bottom: 24px;
    font-weight: 300;
}

.w4l-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.w4l-hero__meta .author {
    font-weight: 600;
    color: var(--ink);
}

.w4l-hero__meta .dot {
    width: 3px;
    height: 3px;
    background: var(--muted);
    border-radius: 50%;
}

.w4l-hero__sidebar {
    padding-left: 36px;
}

/* ─────────────────────────────────────────
   READ MORE BUTTON
───────────────────────────────────────── */
.w4l-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--forest);
    color: var(--white);
    text-decoration: none;
    padding: 13px 26px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background var(--transition);
}

.w4l-btn-read:hover {
    background: var(--sage);
    color: var(--white);
}

/* ─────────────────────────────────────────
   SECTION DIVIDER
───────────────────────────────────────── */
.w4l-section-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    margin-top: 50px;
}

.w4l-section-divider__line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.w4l-section-divider__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

/* ─────────────────────────────────────────
   CONTENT + SIDEBAR LAYOUT
───────────────────────────────────────── */
.w4l-content-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.w4l-content-wrap.no-sidebar {
    grid-template-columns: 1fr;
}

.w4l-main {
    min-width: 0;
}

/* ─────────────────────────────────────────
   ARTICLE GRID (homepage loop)
───────────────────────────────────────── */
.w4l-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.w4l-card {
    cursor: pointer;
    transition: transform var(--transition);
}

.w4l-card:hover {
    transform: translateY(-3px);
}

.w4l-card__thumb {
    width: 100%;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    background: var(--forest);
}

.w4l-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 10/5;
}

.w4l-card__thumb-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--forest), #2d5a3f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.2;
}

.w4l-card__tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 8px;
    z-index: 2;
}

.w4l-card__category {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 8px;
}

.w4l-card__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--forest);
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    transition: color var(--transition);
}

.w4l-card__title:hover {
    color: var(--sage);
}

.w4l-card__excerpt {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 14px;
}

.w4l-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-mono);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.w4l-card__author {
    font-weight: 500;
    color: var(--ink);
}

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.w4l-pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.w4l-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 15px;
}

.w4l-pagination a,
.w4l-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-mono);
    font-size: 12px;
    border: 1px solid var(--border);
    color: var(--ink);
    text-decoration: none;
    transition: all var(--transition);
}

.w4l-pagination a:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.w4l-pagination .current {
    background: var(--forest);
    color: var(--gold);
    border-color: var(--forest);
}

/* ─────────────────────────────────────────
   SINGLE POST — HERO
───────────────────────────────────────── */
.w4l-post-hero {
    max-width: var(--max-width);
    margin: 20px auto 0;
    padding: 0 40px;
}

.w4l-post-hero__img {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, var(--forest) 0%, #2d5a3f 45%, #1a3a2a 100%);
    position: relative;
    overflow: hidden;
}

.w4l-post-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-post-hero__cat {
    position: absolute;
    top: 28px;
    left: 28px;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 12px;
}

/* ─────────────────────────────────────────
   SINGLE POST — LAYOUT
───────────────────────────────────────── */
.w4l-post-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 40px 60px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}

/* Post header */
.w4l-post-header {
    margin-bottom: 32px;
}

.w4l-post-category {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w4l-post-category::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.w4l-post-title {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.08;
    color: var(--forest);
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.w4l-post-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #4a4035;
    font-weight: 300;
    margin-bottom: 24px;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
}

/* Meta bar */
.w4l-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    margin-bottom: 32px;
}

.w4l-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.w4l-post-author__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    overflow: hidden;
    flex-shrink: 0;
}

.w4l-post-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-post-author__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.w4l-post-author__role {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-mono);
}

.w4l-meta-sep {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.w4l-meta-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.w4l-meta-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.w4l-meta-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

/* Share buttons */
.w4l-post-share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.w4l-share-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.w4l-share-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--ink);
    transition: all var(--transition);
}

.w4l-share-btn:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* ─────────────────────────────────────────
   POST BODY CONTENT
───────────────────────────────────────── */
.w4l-post-body {
    font-size: 16.5px;
    line-height: 1.85;
    color: #2e2820;
}

.w4l-post-body h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--forest);
    margin: 44px 0 16px;
    letter-spacing: -0.5px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.w4l-post-body h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.w4l-post-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--forest);
    margin: 30px 0 12px;
}

.w4l-post-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 20px 0 10px;
}

.w4l-post-body p {
    margin-bottom: 20px;
}

/* Lead paragraph */
.w4l-post-body .lead-para {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--muted);
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    margin-bottom: 32px;
    font-weight: 300;
    line-height: 1.9;
}

/* Blockquote / pullquote */
.w4l-post-body blockquote {
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
	border-left: none;
    padding: 28px 20px;
    margin: 40px 0;
    text-align: center;
}

.w4l-post-body blockquote p {
    font-family: var(--font-display);
    font-size: 21px;
    font-style: italic;
    color: var(--forest);
    line-height: 1.5;
    margin: 0;
}

/* Lists */
.w4l-post-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.w4l-post-body ul li {
    padding: 6px 0 6px 20px;
    position: relative;
}

.w4l-post-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
    top: 8px;
}

.w4l-post-body ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 20px;
}

.w4l-post-body ol li {
    padding: 4px 0;
}

/* Tables */
.w4l-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
}

.w4l-post-body th {
    background: var(--forest);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
}

.w4l-post-body td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.w4l-post-body tr:nth-child(even) td {
    background: var(--paper);
}

.w4l-post-body tr:hover td {
    background: var(--gold-light);
}

/* Info / callout box */
.w4l-info-box {
    background: var(--forest);
    color: var(--white);
    padding: 24px 28px;
    margin: 32px 0;
}

.w4l-info-box__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.w4l-info-box p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

/* Stat row */
.w4l-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.w4l-stat-box {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 20px 16px;
    text-align: center;
    border-top: 3px solid var(--gold);
}

.w4l-stat-box__num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    color: var(--forest);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.w4l-stat-box__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Post tags */
.w4l-post-tags {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.w4l-post-tags__label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.w4l-post-tag {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 4px 12px;
    font-size: 11px;
    color: var(--ink);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-block;
}

.w4l-post-tag:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* Author bio */
.w4l-author-bio {
    margin-top: 44px;
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.w4l-author-bio__avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    overflow: hidden;
}

.w4l-author-bio__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-author-bio__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 4px;
}

.w4l-author-bio__role {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.w4l-author-bio__text {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

/* Post nav */
.w4l-post-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.w4l-post-nav__card {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 20px 22px;
    text-decoration: none;
    transition: border-color var(--transition);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.w4l-post-nav__card:hover {
    border-color: var(--gold);
}

.w4l-post-nav__card--next {
    text-align: right;
}

.w4l-post-nav__dir {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.w4l-post-nav__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.3;
}

/* ── RELATED POSTS — Scroll-reveal design ── */
.w4l-related {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 2px solid var(--border);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.w4l-related.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.w4l-related__heading {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 24px;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.w4l-related__heading.swapping {
    opacity: 0;
}

.w4l-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.w4l-related__card {
    cursor: pointer;
    text-decoration: none;
    display: block;
    border: 1px solid var(--border);
    background: var(--paper);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.2s;
}

.w4l-related.is-visible .w4l-related__card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.w4l-related.is-visible .w4l-related__card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
}

.w4l-related.is-visible .w4l-related__card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.41s;
}

.w4l-related.is-visible .w4l-related__card:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.54s;
}

.w4l-related__card:hover {
    border-color: var(--gold);
    transform: translateY(-3px) !important;
}

.w4l-related__thumb {
    background: var(--forest);
    overflow: hidden;
    position: relative;
}

.w4l-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 10/5;
    transition: transform 0.4s ease;
}

.w4l-related__card:hover .w4l-related__thumb img {
    transform: scale(1.04);
}

.w4l-related__thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    opacity: 0.2;
}

.w4l-related__body {
    padding: 14px 16px 16px;
}

.w4l-related__cat {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 6px;
}

.w4l-related__title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.w4l-related__card:hover .w4l-related__title {
    color: var(--sage);
}

.w4l-related__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 4px;
}

.w4l-related__meta .dot {
    width: 3px;
    height: 3px;
    background: var(--border);
    border-radius: 50%;
}

/* ─────────────────────────────────────────
   SIDEBAR WIDGETS
───────────────────────────────────────── */
.w4l-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.w4l-sidebar--sticky {
    position: sticky;
    top: 24px;
}

.w4l-widget {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 22px;
}

.w4l-widget__title {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 16px;
    display: inline-block;
}

/* TOC Widget */
.w4l-toc {
    border-top: 3px solid var(--gold);
}

.w4l-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.w4l-toc__progress-wrap {
    height: 3px;
    background: var(--border);
    margin-bottom: 16px;
    border-radius: 2px;
}

.w4l-toc__progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    width: 0%;
    transition: width 0.15s linear;
}

.w4l-toc__read-pct {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
}

.w4l-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.w4l-toc ul li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 10px;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all var(--transition);
}

.w4l-toc ul li a:hover {
    background: rgba(201, 168, 76, 0.1);
    border-left-color: var(--gold-light);
}

.w4l-toc ul li.active a {
    background: rgba(26, 58, 42, 0.07);
    border-left-color: var(--gold);
}

.w4l-toc__num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gold);
    flex-shrink: 0;
    font-weight: 500;
    margin-top: 1px;
}

.w4l-toc__text {
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.4;
    font-weight: 500;
}

.w4l-toc ul li.active .w4l-toc__text {
    color: var(--forest);
    font-weight: 600;
}

.w4l-toc ul li.sub a {
    padding-left: 28px;
}

/* H3s hidden by default — JS reveals the active group */
.w4l-toc ul li.w4l-toc-h3 {
    display: none;
    overflow: hidden;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.w4l-toc ul li.w4l-toc-h3.expanded {
    display: block;
    opacity: 1;
}

.w4l-toc ul li.sub .w4l-toc__num {
    color: var(--muted);
    font-size: 9px;
}

.w4l-toc ul li.sub .w4l-toc__text {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.w4l-toc ul li.sub.active .w4l-toc__text {
    color: var(--sage);
    font-weight: 500;
}

/* About widget */
.w4l-widget-about__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    overflow: hidden;
    margin: 0 auto 14px;
}

.w4l-widget-about__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-widget-about__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--forest);
    text-align: center;
    margin-bottom: 6px;
}

.w4l-widget-about__bio {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.65;
    text-align: center;
    margin-bottom: 14px;
}

.w4l-widget-about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    text-align: center;
}

.w4l-widget-about__stat-num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    color: var(--forest);
    display: block;
}

.w4l-widget-about__stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Popular posts widget */
.w4l-widget-posts__item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.w4l-widget-posts__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.w4l-widget-posts__num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
}

.w4l-widget-posts__thumb {
    width: 54px;
    height: 44px;
    flex-shrink: 0;
    background: var(--forest);
    overflow: hidden;
}

.w4l-widget-posts__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w4l-widget-posts__title {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.3;
    margin-bottom: 4px;
    text-decoration: none;
    display: block;
    transition: color var(--transition);
}

.w4l-widget-posts__title:hover {
    color: var(--sage);
}

.w4l-widget-posts__meta {
    font-size: 10px;
    color: var(--muted);
    font-family: var(--font-mono);
}

/* Quick facts */
.w4l-widget-facts__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}

.w4l-widget-facts__item:last-child {
    border-bottom: none;
}

.w4l-widget-facts__label {
    color: var(--muted);
}

.w4l-widget-facts__value {
    font-weight: 700;
    color: var(--forest);
    font-family: var(--font-mono);
    font-size: 12px;
}

.w4l-widget-facts__value.positive {
    color: #2a7a4a;
}

/* Newsletter widget */
.w4l-widget-newsletter {
    background: var(--forest);
}

.w4l-widget-newsletter .w4l-widget__title {
    color: var(--gold);
}

.w4l-widget-newsletter__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.w4l-widget-newsletter__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.25;
}

.w4l-widget-newsletter input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.5);
    background: rgba(255, 255, 255, 0.08);
    padding: 9px 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    margin-bottom: 8px;
}

.w4l-widget-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.w4l-widget-newsletter input[type="submit"] {
    width: 100%;
    background: var(--gold);
    border: none;
    color: var(--ink);
    padding: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
}

.w4l-widget-newsletter input[type="submit"]:hover {
    background: var(--gold-light);
}

/* Categories widget */
.w4l-widget-cats__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
}

.w4l-widget-cats__item:last-child {
    border-bottom: none;
}

.w4l-widget-cats__left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.w4l-widget-cats__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.w4l-widget-cats__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    transition: color var(--transition);
}

.w4l-widget-cats__item:hover .w4l-widget-cats__name {
    color: var(--sage);
}

.w4l-widget-cats__count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
    background: var(--forest);
    padding: 2px 8px;
    border-radius: 20px;
    transition: background var(--transition);
}

.w4l-widget-cats__item:hover .w4l-widget-cats__count {
    background: var(--sage);
}

/* Archives widget */
.w4l-widget-archive__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
}

.w4l-widget-archive__item:last-child {
    border-bottom: none;
}

.w4l-widget-archive__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w4l-widget-archive__arrow {
    font-size: 10px;
    color: var(--gold);
    transition: transform var(--transition);
}

.w4l-widget-archive__item:hover .w4l-widget-archive__arrow {
    transform: translateX(3px);
}

.w4l-widget-archive__month {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    transition: color var(--transition);
}

.w4l-widget-archive__item:hover .w4l-widget-archive__month {
    color: var(--sage);
}

.w4l-widget-archive__bar-wrap {
    flex: 1;
    height: 4px;
    background: var(--border);
    margin: 0 12px;
    border-radius: 2px;
    overflow: hidden;
}

.w4l-widget-archive__bar {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
}

.w4l-widget-archive__count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    min-width: 20px;
    text-align: right;
}

/* Calendar widget */
.w4l-widget-calendar .w4l-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.w4l-widget-calendar .w4l-cal-month {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--forest);
}

.w4l-widget-calendar .w4l-cal-nav {
    background: none;
    border: 1px solid var(--border);
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.w4l-widget-calendar .w4l-cal-nav:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.w4l-widget-calendar .w4l-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
}

.w4l-widget-calendar .w4l-cal-dayname {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
    padding: 4px 0 6px;
}

.w4l-widget-calendar .w4l-cal-day {
    font-size: 12px;
    padding: 5px 2px;
    color: var(--ink);
    cursor: pointer;
    border-radius: 2px;
    transition: all var(--transition);
    font-family: var(--font-mono);
    position: relative;
}

.w4l-widget-calendar .w4l-cal-day:hover {
    background: var(--gold-light);
}

.w4l-widget-calendar .w4l-cal-day.today {
    background: var(--forest);
    color: var(--white);
    font-weight: 700;
}

.w4l-widget-calendar .w4l-cal-day.has-post::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.w4l-widget-calendar .w4l-cal-day.other-month {
    color: var(--border);
    cursor: default;
}

.w4l-widget-calendar .w4l-cal-day.other-month:hover {
    background: none;
}

/* Tags widget */
.w4l-widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.w4l-widget-tags a {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 5px 11px;
    font-size: 11px;
    color: var(--ink);
    text-decoration: none;
    transition: all var(--transition);
}

.w4l-widget-tags a:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

/* Social follow widget */
.w4l-widget-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.w4l-widget-social__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    background: var(--white);
}

.w4l-widget-social__btn:hover {
    border-color: var(--gold);
    background: var(--paper);
}

.w4l-widget-social__icon {
    font-size: 16px;
}

.w4l-widget-social__name {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
    display: block;
}

.w4l-widget-social__count {
    font-size: 9px;
    color: var(--muted);
    font-family: var(--font-mono);
    display: block;
}

/* ─────────────────────────────────────────
   NEWSLETTER BANNER (full-width)
───────────────────────────────────────── */
.w4l-newsletter {
    background: var(--forest);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.w4l-newsletter::before {
    content: '₹$€£';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 900;
    color: rgba(201, 168, 76, 0.08);
    letter-spacing: -8px;
    user-select: none;
    pointer-events: none;
}

.w4l-newsletter__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.w4l-newsletter__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.w4l-newsletter__title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
}

.w4l-newsletter__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.w4l-newsletter__form {
    display: flex;
    justify-content: center;
}

.w4l-newsletter__form input[type="email"] {
    border: none;
    border-bottom: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.07);
    padding: 13px 18px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    width: 260px;
}

.w4l-newsletter__form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.w4l-newsletter__form button {
    background: var(--gold);
    border: none;
    color: var(--ink);
    padding: 13px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
}

.w4l-newsletter__form button:hover {
    background: var(--gold-light);
}

.w4l-subscribe-msg {
    margin-top: 10px;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 4px;
    display: block;
    color: var(--gold);
}

.w4l-subscribe-msg.success {
    background: rgba(76, 175, 80, 0.12);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.w4l-subscribe-msg.error {
    background: rgba(244, 67, 54, 0.12);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.25);
}

/* ─────────────────────────────────────────
   TOPICS ROW
───────────────────────────────────────── */
.w4l-topics {
    max-width: var(--max-width);
    margin: 0 auto 50px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.w4l-topic-card {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.w4l-topic-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.w4l-topic-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.w4l-topic-card:hover::after {
    transform: scaleX(1);
}

.w4l-topic-card__icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.w4l-topic-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--forest);
    margin-bottom: 4px;
}

.w4l-topic-card__count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
}

/* ─────────────────────────────────────────
   TOOLS SECTION
───────────────────────────────────────── */
.w4l-tools {
    max-width: var(--max-width);
    margin: 0 auto 60px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.w4l-tool-card {
    background: var(--ink);
    padding: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
    text-decoration: none;
    display: block;
}

.w4l-tool-card:hover {
    transform: translateY(-2px);
}

.w4l-tool-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.07;
}

.w4l-tool-card__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.w4l-tool-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.w4l-tool-card__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 20px;
}

.w4l-tool-card__link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.w4l-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.5);
    padding: 50px 0 24px;
}

.w4l-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 280px 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.w4l-footer__logo {
    font-family: var(--font-logo);
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    text-decoration: none;
    display: block;
}

.w4l-footer__logo span {
    color: var(--gold);
}

.w4l-footer__desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.w4l-footer__social {
    display: flex;
    gap: 10px;
}

.w4l-footer__social-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
    text-decoration: none;
}

.w4l-footer__social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.w4l-footer__col-title {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.w4l-footer__col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.w4l-footer__col a:hover {
    color: var(--white);
}

.w4l-footer__bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 10px;
}

.w4l-footer__bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* ─────────────────────────────────────────
   Single PAGE
───────────────────────────────────────── */
.w4l-page-hero {
    background: var(--forest);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.w4l-page-hero::before {
    content: '§';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 320px;
    font-weight: 900;
    color: rgba(201, 168, 76, 0.06);
    line-height: 1;
    pointer-events: none;
}

.w4l-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.w4l-page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 40px 0;
}

.w4l-page-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.w4l-page-hero__title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.w4l-page-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 580px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.w4l-page-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
}

.w4l-page-hero__meta span {
    color: var(--gold);
    font-weight: 500;
}

.w4l-page-tabs {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.w4l-page-tabs__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.w4l-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    top: 1px;
}

.w4l-tab-btn:hover {
    color: var(--forest);
}

.w4l-tab-btn.active {
    color: var(--forest);
    border-bottom-color: var(--gold);
}

.w4l-page-tabs__sep {
    width: 1px;
    height: 16px;
    background: var(--border);
    margin: 0 4px;
}

.w4l-page-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px 60px;
    display: block;
    /* grid-template-columns: 1fr 300px;
    gap: 56px; */
    align-items: start;
}

.w4l-page-content h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    color: var(--forest);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.w4l-page-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--forest);
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.w4l-page-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.w4l-page-content h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--forest);
    margin: 26px 0 10px;
}

.w4l-page-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3228;
    margin-bottom: 16px;
}

.w4l-page-content ul,
.w4l-page-content ol {
    margin: 12px 0 20px;
    padding-left: 0;
    list-style: none;
}

.w4l-page-content ul li,
.w4l-page-content ol li {
    font-size: 14.5px;
    color: #3a3228;
    line-height: 1.75;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid rgba(224, 216, 204, 0.4);
}

.w4l-page-content ul li:last-child,
.w4l-page-content ol li:last-child {
    border-bottom: none;
}

.w4l-page-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 11px;
    top: 9px;
}

.w4l-page-content ol {
    counter-reset: ol-counter;
}

.w4l-page-content ol li::before {
    content: counter(ol-counter);
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
}

.w4l-page-section {
    display: none;
    animation: w4l-fade-up 0.3s ease;
}

.w4l-page-section.visible {
    display: block;
}

@keyframes w4l-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.w4l-page-effective {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 32px;
}

.w4l-page-effective span {
    color: var(--ink);
    font-weight: 500;
}

.w4l-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--forest);
    padding: 8px 16px;
    margin-bottom: 24px;
}

.w4l-page-badge__text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.w4l-page-alert {
    background: var(--paper);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    padding: 18px 20px;
    margin-bottom: 36px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.w4l-page-alert.warning {
    border-left-color: var(--accent-red);
}

.w4l-page-alert.dark {
    background: var(--forest);
    border: none;
    border-left: 4px solid var(--gold);
}

.w4l-page-alert__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.w4l-page-alert__text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.w4l-page-alert.dark .w4l-page-alert__text {
    color: rgba(255, 255, 255, 0.75);
}

.w4l-page-alert__text strong {
    color: var(--ink);
}

.w4l-page-alert.dark .w4l-page-alert__text strong {
    color: var(--white);
}

/* ─────────────────────────────────────────
   LEGAL PAGE
───────────────────────────────────────── */
.w4l-legal-hero {
    background: var(--forest);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.w4l-legal-hero::before {
    content: '§';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 320px;
    font-weight: 900;
    color: rgba(201, 168, 76, 0.06);
    line-height: 1;
    pointer-events: none;
}

.w4l-legal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.w4l-legal-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.w4l-legal-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.w4l-legal-hero__title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.w4l-legal-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 580px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.w4l-legal-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
}

.w4l-legal-hero__meta span {
    color: var(--gold);
    font-weight: 500;
}

.w4l-legal-tabs {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.w4l-legal-tabs__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.w4l-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    top: 1px;
}

.w4l-tab-btn:hover {
    color: var(--forest);
}

.w4l-tab-btn.active {
    color: var(--forest);
    border-bottom-color: var(--gold);
}

.w4l-legal-tabs__sep {
    width: 1px;
    height: 16px;
    background: var(--border);
    margin: 0 4px;
}

.w4l-legal-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 40px 80px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

.w4l-legal-sidenav {
    position: sticky;
    top: 70px;
}

.w4l-sidenav-section {
    margin-bottom: 28px;
}

.w4l-sidenav-section__title {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.w4l-sidenav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all var(--transition);
}

.w4l-sidenav-link:hover {
    color: var(--forest);
    background: rgba(201, 168, 76, 0.1);
    border-left-color: var(--gold-light);
}

.w4l-sidenav-link.active {
    color: var(--forest);
    background: rgba(26, 58, 42, 0.07);
    border-left-color: var(--gold);
    font-weight: 600;
}

.w4l-sidenav-num {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--gold);
    width: 16px;
    flex-shrink: 0;
}

.w4l-sidenav-link--h3 {
    padding-left: 26px;
    font-size: 11.5px;
    font-weight: 400;
}

.w4l-sidenav-link--h3 .w4l-sidenav-num {
    font-size: 8px;
    color: var(--muted);
}

.w4l-legal-content h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    color: var(--forest);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.w4l-legal-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--forest);
    margin: 40px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.w4l-legal-content h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.w4l-legal-content h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--forest);
    margin: 26px 0 10px;
}

.w4l-legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3228;
    margin-bottom: 16px;
}

.w4l-legal-content ul,
.w4l-legal-content ol {
    margin: 12px 0 20px;
    padding-left: 0;
    list-style: none;
}

.w4l-legal-content ul li,
.w4l-legal-content ol li {
    font-size: 14.5px;
    color: #3a3228;
    line-height: 1.75;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid rgba(224, 216, 204, 0.4);
}

.w4l-legal-content ul li:last-child,
.w4l-legal-content ol li:last-child {
    border-bottom: none;
}

.w4l-legal-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 11px;
    top: 9px;
}

.w4l-legal-content ol {
    counter-reset: ol-counter;
}

.w4l-legal-content ol li::before {
    content: counter(ol-counter);
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
}

.w4l-legal-section {
    display: none;
    animation: w4l-fade-up 0.3s ease;
}

.w4l-legal-section.visible {
    display: block;
}

@keyframes w4l-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.w4l-legal-effective {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 32px;
}

.w4l-legal-effective span {
    color: var(--ink);
    font-weight: 500;
}

.w4l-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--forest);
    padding: 8px 16px;
    margin-bottom: 24px;
}

.w4l-legal-badge__text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.w4l-legal-alert {
    background: var(--paper);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    padding: 18px 20px;
    margin-bottom: 36px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.w4l-legal-alert.warning {
    border-left-color: var(--accent-red);
}

.w4l-legal-alert.dark {
    background: var(--forest);
    border: none;
    border-left: 4px solid var(--gold);
}

.w4l-legal-alert__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.w4l-legal-alert__text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.w4l-legal-alert.dark .w4l-legal-alert__text {
    color: rgba(255, 255, 255, 0.75);
}

.w4l-legal-alert__text strong {
    color: var(--ink);
}

.w4l-legal-alert.dark .w4l-legal-alert__text strong {
    color: var(--white);
}

.w4l-highlight-box {
    background: var(--paper);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    padding: 22px 24px;
    margin: 28px 0;
}

.w4l-highlight-box__title {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.w4l-highlight-box p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ─────────────────────────────────────────
   404 PAGE
───────────────────────────────────────── */
.w4l-404 {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.w4l-404__num {
    font-family: var(--font-display);
    font-size: 160px;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 20px;
}

.w4l-404__title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--forest);
    margin-bottom: 16px;
}

.w4l-404__text {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* ─────────────────────────────────────────
   SINGLE POST — LAYOUT 2
───────────────────────────────────────── */
.w4l-post-hero-v2 {
    background: var(--forest);
    padding: 52px 40px 44px;
    position: relative;
    overflow: hidden;
}

.w4l-post-hero-v2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.w4l-post-hero-v2__inner {
    max-width: var(--max-width);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 18px 40px 0;
}

.w4l-post-hero-v2__eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w4l-post-hero-v2__eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
    box-sizing: border-box;
}

.w4l-post-hero-v2__title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
    min-height: 100px;
}

.w4l-post-hero-v2__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 24px;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    max-width: 700px;
}

.w4l-post-hero-v2__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.w4l-post-hero-v2__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.w4l-post-hero-v2__author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.w4l-post-hero-v2__author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    display: block;
}

.w4l-post-hero-v2__author-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-mono);
}

.w4l-post-hero-v2__meta-sep {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
}

.w4l-post-hero-v2__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.w4l-post-hero-v2__meta-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.w4l-post-hero-v2__meta-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.w4l-post-hero-v2__share {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.w4l-post-hero-v2__share-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.w4l-post-hero-v2__share-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}

.w4l-post-hero-v2__share-btn:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

/* Image + TOC split row */
.w4l-post-image-toc {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 36px 40px 0;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.w4l-post-image-toc__img {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

.w4l-post-image-toc__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.w4l-post-image-toc__toc {
    position: sticky;
    top: 24px;
}

/* Full-width content area for Layout 2 */
.w4l-post-layout-v2 {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 40px 60px;
}

/* ─────────────────────────────────────────
   COMMENTS
───────────────────────────────────────── */
#comments {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 2px solid var(--border);
}

.w4l-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}

.w4l-comments-header__left {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.w4l-comments-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    color: var(--forest);
    letter-spacing: -0.5px;
}

.w4l-comments-count {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--forest);
    color: var(--gold);
    padding: 4px 10px;
}

.w4l-comment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 52px;
}

.w4l-comment-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: flex-start;
    animation: w4l-comment-in 0.4s ease both;
}

.w4l-comment-item:first-child {
    border-top: 1px solid var(--border);
}

@keyframes w4l-comment-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.w4l-comment-item.depth-2,
.w4l-comment-item.depth-3 {
    padding-left: 20px;
    padding-right: 20px;
    background: var(--paper);
    border-left: 3px solid var(--gold-light);
}

.w4l-comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 700;
    flex-shrink: 0;
}

.w4l-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.w4l-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.w4l-comment-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.18s;
}

.w4l-comment-author:hover {
    color: var(--sage);
}

.w4l-comment-author-badge {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--forest);
    color: var(--gold);
    padding: 2px 7px;
}

.w4l-comment-date {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
}

.w4l-comment-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w4l-comment-reply-link {
    background: none;
    border: 1px solid var(--border);
    padding: 3px 10px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.18s;
    display: inline-block;
}

.w4l-comment-reply-link:hover {
    background: var(--forest);
    color: var(--gold);
    border-color: var(--forest);
}

.w4l-comment-text {
    font-size: 14.5px;
    line-height: 1.78;
    color: #3a3228;
}

.w4l-comment-text p {
    margin-bottom: 8px;
}

.w4l-comment-text p:last-child {
    margin-bottom: 0;
}

.w4l-comment-moderation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11px;
    font-style: italic;
    color: var(--muted);
    font-family: var(--font-mono);
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 5px 10px;
}

.w4l-comment-list .children {
    list-style: none;
    padding-left: 0;
}

.w4l-comment-form-header {
    margin-bottom: 28px;
}

.w4l-comment-form-eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.w4l-comment-form-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.w4l-comment-form-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--forest);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.w4l-comment-form-note {
    font-size: 13px;
    color: var(--muted);
}

.w4l-comment-form-note span {
    color: var(--gold);
}

.w4l-comment-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.w4l-comment-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--sage) 100%);
}

.w4l-comment-logged-in {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--muted);
}

.w4l-comment-logged-in strong {
    color: var(--ink);
}

.w4l-comment-logged-in a {
    color: var(--sage);
    text-decoration: none;
}

.w4l-comment-logged-in a:hover {
    text-decoration: underline;
}

.w4l-comment-logged-in__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    flex-shrink: 0;
    overflow: hidden;
}

.w4l-comment-logged-in__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.w4l-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.w4l-form-field {
    margin-bottom: 16px;
}

.w4l-form-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 7px;
}

.w4l-form-label .required {
    color: var(--gold);
    font-size: 12px;
}

.w4l-form-input,
.w4l-form-textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--cream);
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    border-radius: 0;
}

.w4l-form-input:focus,
.w4l-form-textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.w4l-form-input::placeholder,
.w4l-form-textarea::placeholder {
    color: #b8ae9e;
}

.w4l-form-textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.65;
}

.w4l-form-field-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.w4l-form-helper {
    font-size: 11px;
    color: var(--muted);
}

.w4l-char-count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
}

.w4l-char-count.near-limit {
    color: var(--accent-red);
}

.w4l-form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--border);
}

.w4l-form-checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: var(--forest);
    flex-shrink: 0;
    cursor: pointer;
}

.w4l-form-checkbox-label {
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    line-height: 1.5;
}

.w4l-form-checkbox-label a {
    color: var(--sage);
    text-decoration: none;
}

.w4l-form-checkbox-label a:hover {
    text-decoration: underline;
}

.w4l-form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.w4l-form-submit-note {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--font-mono);
}

.w4l-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--forest);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.w4l-comment-submit-btn:hover {
    background: var(--sage);
}

.w4l-comment-submit-btn:active {
    transform: scale(0.98);
}

.w4l-comment-submit-btn__arrow {
    transition: transform 0.2s;
    display: inline-block;
}

.w4l-comment-submit-btn:hover .w4l-comment-submit-btn__arrow {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────
   GO TO TOP BUTTON
───────────────────────────────────────── */
.w4l-go-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--forest);
    color: var(--gold);
    border: 1px solid var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 500;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
    pointer-events: none;
}

.w4l-go-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.w4l-go-top:hover {
    background: var(--sage);
}


/*
Calculator
*/
.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 0;
    margin: 20px auto;
}

.calculator-inputs {
    flex: 1;
    min-width: 300px;
}

.calculator-visuals {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calculator-input-group {
    margin-bottom: 20px;
}

.calculator-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.calculator-input-group input,
.calculator-input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #eef2f6;
    border-radius: 8px;
    transition: border-color 0.3s;
    font-size: 16px;
}

.calculator-input-group input:focus,
.calculator-input-group select:focus {
    border-color: #8b5cf6;
    outline: none;
}

.calculator-results-summary {
    margin-top: 25px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
}

.calculator-res-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748b;
}

.calculator-res-row b {
    color: #1e293b;
    font-size: 16px;
}

.calculator-highlight {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

#calculator-donut-chart {
    width: 100%;
    min-height: 300px;
}

.calculator-disclaimer {
    margin-top: 20px;
    padding: 12px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 6px;
    font-size: 13px;
    color: var(--muted);
    font-family: var(--font-mono);
    text-align: center;
    border-left: 3px solid var(--gold);
    width: 100%;
    font-style: italic;
}

.calculator-inputs p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.calculator-rules {
    background: #fff1f2;
    padding: 12px;
    border-left: 4px solid #f43f5e;
    border-radius: 4px;
    font-size: 14px;
    color: #881337;
    margin-bottom: 20px;
}

.calculator-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.calculator-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.calculator-table th {
    text-align: left;
    padding: 12px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.calculator-table td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.calculator-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #eef2f6;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.calculator-input:focus {
    border-color: #f43f5e;
    outline: none;
}

.calculator-btn-action {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border: none;
    transition: all 0.2s;
}

.calculator-btn-add {
    background: #f1f5f9;
    color: #334155;
}

.calculator-btn-add:hover {
    background: #e2e8f0;
}

.calculator-btn-remove {
    background: #fee2e2;
    color: #ef4444;
    padding: 8px 12px;
}

.calculator-btn-remove:hover {
    background: #fecaca;
}

.calculator-btn-calc {
    background: #f43f5e;
    color: #fff;
    padding: 15px 24px;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.calculator-btn-calc:hover {
    background: #e11d48;
}

.calculator-results {
    margin-top: 25px;
    text-align: center;
    display: none;
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
}

.calculator-error {
    color: #ef4444;
    font-weight: bold;
    display: none;
    margin-top: 15px;
    text-align: center;
}

/* New Before & After UI */
.adv-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.adv-card {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.adv-card-before {
    background: #f8fafc;
}

.adv-card-after {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.adv-card h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.adv-card-after h4 {
    color: #059669;
    border-bottom-color: #a7f3d0;
}

.adv-stat {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.adv-stat:last-child {
    margin-bottom: 0;
}

.adv-stat span {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 2px;
}

.adv-stat b {
    font-size: 18px;
    color: #1e293b;
}

/* Final Summary Highlight */
.adv-final-summary {
    margin-top: 20px;
    padding: 18px;
    background: #eff6ff;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    font-size: 16px;
    color: #1e3a8a;
    line-height: 1.6;
}

.adv-note {
    margin-top: 12px;
    font-size: 14px;
    color: #475569;
    border-top: 1px dashed #93c5fd;
    padding-top: 10px;
}

.calculator-row+hr {
    border: none;
    border-top: 2px dashed #cbd5e1;
    /* Matches your subtle UI borders */
    margin: 24px 0;
    /* Gives nice breathing room above and below */
    opacity: 0.7;
}


/* ── PAGE HERO ── */
.page-hero {
    background: var(--forest);
    padding: 56px 40px 52px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.page-hero::before {
    content: '∑';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 280px;
    font-weight: 900;
    color: rgba(201, 168, 76, .05);
    line-height: 1;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.page-hero__sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .6);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.page-hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.page-hero__stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.page-hero__stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}


/* ── MAIN LAYOUT ── */
.calc-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 48px;
}

/* ── CATEGORY SECTION ── */
.calc-category {
    margin-bottom: 60px;
}

.calc-category__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.calc-category__header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gold);
}

.calc-category__icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.calc-category__info {}

.calc-category__name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--forest);
    margin-bottom: 3px;
}

.calc-category__desc {
    font-size: 13px;
    color: var(--muted);
}

.calc-category__count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── CALCULATOR GRID ── */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── CALCULATOR CARD ── */
.calc-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.calc-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 8px 28px rgba(26, 58, 42, .1);
}

/* Card top bar — coloured per category */
.calc-card__bar {
    height: 4px;
}

/* Card header */
.calc-card__head {
    padding: 24px 24px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.calc-card__icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    position: relative;
}

.calc-card__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.calc-card__meta {}

.calc-card__name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 4px;
    line-height: 1.2;
}

.calc-card__tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Card body */
.calc-card__body {
    padding: 0 24px 16px;
    flex: 1;
}

.calc-card__desc {
    font-size: 13px !important;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 14px;
}

/* Input preview */
.calc-card__inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    background: var(--cream);
    border: 1px solid var(--border);
    font-size: 12px;
}

.calc-input-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.calc-input-val {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
}

/* Result preview */
.calc-card__result {
    margin: 14px 0 0;
    padding: 14px;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calc-result-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

.calc-result-val {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
}

/* Card footer */
.calc-card__foot {
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calc-card__link {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: color .2s;
}

.calc-card__link:hover {
    color: var(--sage);
}

.calc-card__link-arrow {
    transition: transform .2s;
}

.calc-card:hover .calc-card__link-arrow {
    transform: translateX(4px);
}

.calc-card__popular {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, .1);
    border: 1px solid rgba(201, 168, 76, .3);
    padding: 2px 8px;
}

/* ── INTERACTIVE PANEL ── */
/* When card is expanded, show full calculator inline */
.calc-panel {
    display: none;
    background: var(--paper);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    padding: 32px;
    margin-bottom: 24px;
    animation: panel-in .3s ease;
}

.calc-panel.open {
    display: block;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calc-panel__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--forest);
}

.calc-panel__close {
    background: none;
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    color: var(--muted);
    transition: all .2s;
}

.calc-panel__close:hover {
    background: var(--forest);
    color: var(--gold);
    border-color: var(--forest);
}

.calc-panel__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.calc-panel__fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.panel-field input[type="number"],
.panel-field input[type="range"] {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 10px 12px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s;
}

.panel-field input[type="number"]:focus {
    border-color: var(--gold);
}

.panel-field input[type="range"] {
    padding: 6px 0;
    border: none;
    background: none;
    accent-color: var(--forest);
}

.panel-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.panel-field-hint {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
}

.panel-field-val {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--forest);
}

.panel-calc-btn {
    background: var(--forest);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 13px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
    margin-top: 6px;
}

.panel-calc-btn:hover {
    background: var(--sage);
}

.calc-panel__result {
    background: var(--forest);
    padding: 28px;
}

.result-eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.result-main {
    margin-bottom: 20px;
}

.result-main-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 4px;
}

.result-main-val {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 16px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-row-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.result-row-val {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--white);
    font-weight: 500;
}

.result-row-val.positive {
    color: #6fcf97;
}

.result-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, .1);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.result-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width .6s ease;
}

/* ── POPULAR SECTION ── */
.calc-popular {
    background: var(--forest);
    padding: 48px 0;
    margin: 0 0 60px;
}

.calc-popular__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.calc-popular__eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.calc-popular__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 28px;
}

.calc-popular__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.popular-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 20px;
    text-decoration: none;
    transition: all .2s;
    display: block;
}

.popular-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--gold);
}

.popular-card__icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.popular-card__name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.25;
}

.popular-card__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.5;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .calc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-popular__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-panel__body {
        grid-template-columns: 1fr;
    }

    .w4l-masthead {
        padding: 0 20px;
    }

    .w4l-hero {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .w4l-hero__main {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 40px;
    }

    .w4l-hero__sidebar {
        padding-left: 0;
        padding-top: 32px;
    }

    .w4l-content-wrap {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
    }

    .w4l-post-layout {
        grid-template-columns: 1fr;
        padding: 24px 20px 40px;
    }

    .w4l-sidebar--sticky {
        position: static;
    }

    .w4l-topics {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px;
    }

    .w4l-tools {
        padding: 0 20px;
    }

    .w4l-footer__inner {
        grid-template-columns: 1fr 1fr;
        padding: 0 20px;
    }

    .w4l-legal-layout {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .w4l-legal-sidenav {
        position: static;
    }

    .w4l-newsletter__inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .w4l-breadcrumb {
        padding: 14px 20px 0;
    }

    .w4l-post-hero {
        padding: 0 20px;
    }

    .w4l-section-divider {
        padding: 0 20px;
    }

    .w4l-post-nav {
        padding: 0 20px 40px;
    }
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }

    .calc-popular__grid {
        grid-template-columns: 1fr;
    }

    .w4l-masthead-top {
        flex-direction: column;
        text-align: center;
    }

    .w4l-hero__title {
        font-size: 32px;
    }

    .w4l-logo__name {
        font-size: 36px;
    }

    .w4l-article-grid {
        grid-template-columns: 1fr;
    }

    .w4l-topics {
        grid-template-columns: repeat(2, 1fr);
    }

    .w4l-tools {
        grid-template-columns: 1fr;
    }

    .w4l-stat-row {
        grid-template-columns: 1fr;
    }

    .w4l-newsletter__form {
        justify-content: center;
    }

    .w4l-footer__inner {
        grid-template-columns: 1fr;
    }

    .w4l-post-nav {
        grid-template-columns: 1fr;
    }

    .w4l-related__grid {
        grid-template-columns: 1fr;
    }

    .w4l-post-title {
        font-size: 30px;
    }

    .w4l-legal-hero__title {
        font-size: 32px;
    }

    .w4l-post-image-toc {
        grid-template-columns: 1fr;
        padding: 24px 20px 0;
    }

    .w4l-post-hero-v2 {
        padding: 40px 20px 32px;
    }

    .w4l-post-hero-v2__title {
        font-size: 30px;
    }

    .w4l-post-layout-v2 {
        padding: 24px 20px 40px;
    }

    .w4l-nav__toggle {
        display: block;
    }

    .w4l-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .w4l-nav ul.is-open {
        display: flex;
    }

    .w4l-form-row {
        grid-template-columns: 1fr;
    }

    .w4l-comment-form-card {
        padding: 20px;
    }

    .w4l-form-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .w4l-comment-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .w4l-comment-item.depth-2,
    .w4l-comment-item.depth-3 {
        padding-left: 12px;
    }
}