/* 
======================================================
WINSERV Brand StyleSheet - Premium Aesthetic + Racing
======================================================
*/

:root {
    /* Brand Colors */
    --primary: #2F343C;
    /* Graphite Gray */
    --primary-light: #4B5563;
    --secondary: #E51A2D;
    /* Strong Red */
    --secondary-hover: #C41525;
    --accent: #4B5563;
    --logo-yellow: #ffdf00;
    --logo-cyan: #22c6ff;
    --logo-green: #21b66f;
    --logo-orange: #ff8a2a;
    --warranty-blue: #1e5fbf;
    /* Trust blue — matches the "5-year warranty" shield in WINSERV brochure */

    /* Neutrals */
    --light: #F7F9FC;
    --dark: #121212;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --white: #FFFFFF;

    /* UI Adjustments */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(47, 52, 60, 0.12);
    --shadow-lg: 0 20px 40px -5px rgba(47, 52, 60, 0.18);

    /* Typography */
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Prompt', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ----------------- BASE GLOBALS ----------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-inline: clamp(20px, 4vw, 40px);
}

.container-sm {
    max-width: 900px;
}

/* Utilities */
.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--primary);
}

.text-white {
    color: var(--white);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.text-gradient {
    background: linear-gradient(135deg, #ff4d5e 0%, var(--secondary) 50%, #ff8a96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 18px rgba(229, 26, 45, 0.35);
    font-weight: 800;
}

.highlight {
    font-weight: 700;
    color: var(--secondary);
}

.block {
    display: block;
    width: 100%;
    text-align: center;
}

.mt-1 {
    margin-top: 10px;
}

/* ----------------- BUTTONS ----------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(229, 26, 45, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 26, 45, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 26, 45, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(229, 26, 45, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 26, 45, 0);
    }
}

/* ----------------- NAVIGATION ----------------- */
.navbar {
    position: fixed;
    top: 6px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-logo-horizontal {
    height: 72px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(47, 52, 60, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    width: 100%;
    padding: 32px;
    text-align: center;
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 500;
}

/* ----------------- RACING CHEQUERED THEME ----------------- */
.chequered-strip {
    width: 100%;
    height: 6px;
    background-image: conic-gradient(#4B5563 90deg, #ffffff 90deg 180deg, #4B5563 180deg 270deg, #ffffff 270deg);
    background-size: 10px 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chequered-accent {
    display: inline-block;
    width: 40px;
    height: 18px;
    background-image: conic-gradient(#121212 90deg, #ffffff 90deg 180deg, #121212 180deg 270deg, #ffffff 270deg);
    background-size: 9px 9px;
    margin: 0 12px;
    vertical-align: middle;
    border-radius: 2px;
    opacity: 0.85;
}

/* ----------------- STANDARDIZED SECTIONS ----------------- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.bg-dark .section-title h2 {
    color: var(--white);
}

.bg-dark .section-title p {
    color: var(--gray-light);
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.title-line.chequered-line {
    background-color: transparent;
    background-image: conic-gradient(var(--secondary) 90deg, #ffffff 90deg 180deg, var(--secondary) 180deg 270deg, #ffffff 270deg);
    background-size: 8px 8px;
    height: 8px;
    width: 100px;
    border-radius: 0;
}

/* ----------------- HERO SECTION ----------------- */
.hero {
    position: relative;
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-image:
        radial-gradient(620px 380px at 88% 78%, rgba(30, 95, 191, 0.32), transparent 70%),
        url("banner/P%27Noom.jpeg"),
        linear-gradient(125deg, #18191d 0%, #1f242a 45%, #2f343c 100%);
    background-size: cover, cover, cover;
    background-position: center, center right, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.09) 0 16px,
            rgba(0, 0, 0, 0.12) 16px 32px);
    opacity: 0.08;
    mix-blend-mode: soft-light;
    transform: translateX(-12%);
}

/* Removed: chequered "racing floor" pattern at bottom of hero
   (index-clean.html still overrides .hero-bg::after to render a WINSERV watermark) */

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        /* Soft center dark band — keeps centered text readable without killing the photo */
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%),
        /* Lighter side darkening so the photo breathes */
        linear-gradient(100deg, rgba(18, 18, 18, 0.45) 0%, rgba(18, 18, 18, 0.15) 50%, rgba(18, 18, 18, 0.4) 100%),
        /* Brand color tint (blue only — red removed) */
        radial-gradient(700px 360px at 85% 82%, rgba(30, 95, 191, 0.12), transparent 70%);
    z-index: 2;
}

/* CI blue accent bar — anchors the hero with WINSERV brand blue */
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--warranty-blue);
    z-index: 4;
    box-shadow: 0 -2px 16px rgba(30, 95, 191, 0.5);
}

/* Darker overlay for white text */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(229, 26, 45, 0.4);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1px;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(0, 0, 0, 0.55);
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--white);
    margin: 0 auto 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 32px;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    background: rgba(15, 15, 18, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    padding: 20px 40px;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.75),
        0 0 22px rgba(0, 0, 0, 0.5);
}

/* Warranty "5" — uses brand blue to mirror the shield in WINSERV brochure.
   Heavy multi-layer shadow + dark stroke so it stays readable against bright spots
   (like the white WINSERV paint bucket) as well as dark areas. */
.stats-row .stat-item:nth-child(5) .stat-num {
    color: var(--warranty-blue);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
    text-shadow:
        0 0 1px rgba(0, 0, 0, 1),
        0 0 6px rgba(0, 0, 0, 0.95),
        0 2px 16px rgba(0, 0, 0, 0.9),
        0 0 26px rgba(30, 95, 191, 0.7);
}

.stat-text {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.stat-divider {
    width: 2px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ----------------- COMPANY VIDEO SECTION ----------------- */
.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.company-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: #000;
}

/* Portrait (9:16) phone-shaped video — used for SmartTec & Technology clips */
.video-card-portrait {
    max-width: 380px;
    margin: 32px auto 0;
}

.company-video-player.is-portrait {
    aspect-ratio: 9 / 16;
}

/* Mission visual: portrait video sits inside .mission-visual flex column */
.mission-visual .mission-video {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: #000;
    transition: transform 0.4s;
}

.mission-row:hover .mission-visual .mission-video {
    transform: scale(1.02);
}

/* Mission row modifier: stack content on top, media (images + video) below — used for Mission 1 */
.mission-row.mission-row--stacked {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.mission-row.mission-row--stacked .mission-content,
.mission-row.mission-row--stacked .mission-visual {
    flex: none;
    width: 100%;
}

.mission-row.mission-row--stacked .mission-visual {
    margin-top: 32px;
}

/* Bigger video for the stacked Mission 1 since there's more horizontal space */
.mission-row.mission-row--stacked .mission-video {
    max-width: 420px;
}

/* Two portrait videos side-by-side on desktop, stacked on mobile */
.mission-video-pair {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 0;
}

.mission-video-pair .mission-video {
    margin: 0;
    flex: 0 1 360px;
    max-width: 360px;
}

@media (max-width: 768px) {
    .mission-video-pair {
        gap: 16px;
    }
}

/* Mission 1: 2 images side-by-side, stacked video below */
.mission-image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
    align-items: start;
}

.mission-image-pair img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .mission-image-pair {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ----------------- PROBLEMS SECTION ----------------- */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.problem-img {
    height: 160px;
    overflow: hidden;
}

.problem-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.problem-card:hover .problem-img img {
    filter: grayscale(0%);
}

.problem-cap {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ----------------- MISSIONS SECTION (CORE SERVICES) ----------------- */
.missions-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.mission-row {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 5px solid var(--primary);
}

.mission-row.reverse {
    flex-direction: row-reverse;
    border-top: 5px solid var(--secondary);
}

.mission-content {
    flex: 1;
}

.mission-visual {
    flex: 1;
}

.mission-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s;
}

.mission-row:hover .mission-visual img {
    transform: scale(1.02);
}

.mission-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.mission-row.reverse .mission-badge {
    background: var(--secondary);
}

.mission-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.mission-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.mission-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--dark);
}

.mission-features i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 4px;
}

/* ----------------- PORTFOLIO (BEFORE & AFTER) ----------------- */
.portfolio {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 360px at 12% 14%, rgba(255, 223, 0, 0.12), transparent 70%),
        radial-gradient(720px 380px at 86% 16%, rgba(34, 198, 255, 0.1), transparent 72%),
        radial-gradient(640px 340px at 80% 88%, rgba(33, 182, 111, 0.1), transparent 74%),
        radial-gradient(620px 320px at 18% 86%, rgba(255, 138, 42, 0.08), transparent 74%),
        linear-gradient(135deg, #1b2026 0%, #252b33 50%, #2f343c 100%);
}

.portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0 2px,
            transparent 2px 22px);
    opacity: 0.28;
    pointer-events: none;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

.bna-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Portfolio Commercial / Residential groups */
.portfolio-group {
    margin-bottom: 64px;
}

.portfolio-group:last-child {
    margin-bottom: 0;
}

.portfolio-group-title {
    text-align: center;
    color: var(--white);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 36px;
    position: relative;
}

.portfolio-group-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--secondary);
    margin: 14px auto 0;
    border-radius: 2px;
}

.bna-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: var(--transition);
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.65);
}

.bna-card:hover {
    transform: translateY(-5px);
    background:
        linear-gradient(145deg, rgba(255, 223, 0, 0.12), rgba(34, 198, 255, 0.08) 46%, rgba(33, 182, 111, 0.08));
    border-color: rgba(255, 255, 255, 0.32);
}

.bna-images {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bna-img {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.bna-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 0;
}

.img-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.bna-img.after .img-label {
    background: var(--secondary);
}

.bna-info {
    padding: 24px;
}

.bna-info h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 8px;
}

.bna-info p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Single image version (for composite Before & After images) */
.bna-card.bna-single {
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.bna-single-img {
    position: relative;
    overflow: hidden;
}

.bna-single-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

/* Lightbox overlay for zooming portfolio images */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    max-width: min(1200px, 96vw);
    max-height: min(90vh, 700px);
    padding: 8px;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(229, 26, 45, 0.9);
}

/* ----------------- TRUST (PARTNERS) ----------------- */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.partner-card {
    background: var(--white);
    padding: 20px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gray);
    font-size: 1.25rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.partner-card {
    min-width: 160px;
    justify-content: center;
}

.partner-card .brand-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.partner-card:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-card i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.partner-card.border-brand {
    border-color: var(--gray-light);
}

/* ----------------- FOOTER / CTA ----------------- */
.footer {
    background-color: var(--dark);
    padding-top: 56px;
    color: var(--white);
}

/* Give the footer CTA card more breathing room on the sides */
.footer .container {
    padding-inline: clamp(24px, 5vw, 56px);
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 72px 64px 64px;
    transform: translateY(-24px);
    margin-bottom: -24px;
    color: var(--dark);
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.contact-item {
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background-color: var(--light);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.facebook-card {
    cursor: pointer;
    background-color: rgba(24, 119, 242, 0.05);
    border-color: rgba(24, 119, 242, 0.2);
}

.phone-card {
    background-color: rgba(249, 115, 22, 0.06);
    border-color: rgba(249, 115, 22, 0.22);
}

.highlight-box {
    background-color: rgba(229, 26, 45, 0.05);
    border-color: rgba(229, 26, 45, 0.2);
}

.c-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.highlight-box .c-icon {
    background-color: #00B900;
}

/* LINE Green */

.phone-card .c-icon {
    background-color: #F97316;
}

/* Warm orange */

.facebook-card .c-icon {
    background-color: #1877F2;
}

/* Facebook Blue */
.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-item a {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.highlight-box a {
    color: #00B900;
}

.phone-card a {
    color: #F97316;
}

.facebook-card a {
    color: #1877F2;
}

/* ----------------- FAQ SECTION ----------------- */
.faq-list {
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(229, 26, 45, 0.3);
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 56px 20px 22px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    list-style: none;
    position: relative;
    transition: background 0.2s;
}

.faq-item summary:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: 'Q';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 1px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-weight: 300;
    font-size: 1.75rem;
    line-height: 1;
    transition: transform 0.25s;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 4px 22px 22px 66px;
    color: var(--gray);
    line-height: 1.75;
    font-size: 0.97rem;
}

.faq-answer strong {
    color: var(--primary);
}

.faq-answer p {
    margin: 0 0 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 4px 0 14px;
    padding-left: 20px;
    list-style: disc;
}

.faq-answer ul li {
    margin: 0 0 8px;
    line-height: 1.65;
}

.faq-answer ul li::marker {
    color: var(--secondary);
}

.faq-answer ul li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-item summary {
        font-size: 0.98rem;
        padding-right: 48px;
    }

    .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

/* Company info grid above the legal footer-bottom row */
.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 48px 0 8px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
}

.footer-info-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info-col h4 i {
    color: var(--secondary);
}

.footer-info-col p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 8px;
}

.footer-info-col .footer-info-reg {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-info-col a {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s;
}

.footer-info-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-info-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white) !important;
    text-decoration: none !important;
    transition: background 0.2s;
}

.footer-info-map:hover {
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 768px) {
    .footer-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.footer-logo-image {
    height: 34px;
}

/* ----------------- ANIMATIONS ----------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ----------------- RESPONSIVE DESIGN ----------------- */
@media (max-width: 992px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Center logo on mobile, keep hamburger pinned to the right */
    .nav-content {
        position: relative;
        justify-content: flex-end;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .site-logo-horizontal {
        height: 48px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

    .mission-row,
    .mission-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 32px;
    }

    .mission-features li {
        align-items: center;
        text-align: left;
    }

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

@media (max-width: 768px) {
    .footer .container {
        padding-inline: 24px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-bg {
        background-image:
            radial-gradient(520px 320px at 88% 88%, rgba(30, 95, 191, 0.22), transparent 70%),
            url("banner/P%27Noom%209_16.jpeg"),
            linear-gradient(160deg, #18191d 0%, #1f242a 45%, #2f343c 100%);
        background-size: cover, cover, cover;
        background-position: center, center bottom, center;
        background-repeat: no-repeat, no-repeat, no-repeat;
    }

    /* Vignette: dark only at top/bottom — middle is clear so the face + bucket show through */
    .video-overlay {
        background:
            linear-gradient(180deg,
                rgba(0, 0, 0, 0.72) 0%,
                rgba(0, 0, 0, 0.32) 22%,
                rgba(0, 0, 0, 0.08) 50%,
                rgba(0, 0, 0, 0.32) 78%,
                rgba(0, 0, 0, 0.85) 100%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    /* Stats: transparent bg so the WINSERV bucket + P'Noom face show through,
       but keep a visible white border (per user request) */
    .stats-row {
        flex-direction: column;
        padding: 12px 20px;
        gap: 12px;
        width: 100%;
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.35),
            0 6px 18px rgba(0, 0, 0, 0.35);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .problems-grid,
    .bna-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 40px clamp(20px, 5vw, 32px) 32px;
        transform: translateY(-16px);
        margin-bottom: -16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* =========================================================
   SUBPAGE CHROME — additive only.
   Used by services-*.html, portfolio.html, faq.html, contact.html.
   index.html does not use any of these selectors.
   ========================================================= */

/* First section must clear the fixed navbar (116px desktop / 92px mobile) */
body.subpage .page-top {
    padding-top: 150px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 28px;
    text-align: left;
}

.breadcrumb a {
    color: var(--secondary);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.55;
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 600;
}

.bg-dark .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.bg-dark .breadcrumb a {
    color: #ffffff;
}

.bg-dark .breadcrumb-current {
    color: rgba(255, 255, 255, 0.92);
}

/* AEO definition lead paragraph on service pages */
.aeo-lead {
    max-width: 920px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gray);
    text-align: center;
}

/* Footer internal-links row (index.html + all subpages) */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    padding: 20px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav h4 {
    width: 100%;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
}

/* 7 nav items instead of 5 — tighten so the bar never wraps */
body.subpage .nav-links {
    gap: 18px;
}

body.subpage .nav-links a {
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    body.subpage .nav-actions .btn-outline {
        display: none;
    }
}

@media (max-width: 992px) {
    body.subpage .page-top {
        padding-top: 120px;
    }
}

/* =========================================================
   KNOWLEDGE HUB / ARTICLE PAGES — additive only.
   Used by knowledge/*.html. Question-led, answer-first layout.
   ========================================================= */

.article-hero {
    padding-bottom: 40px;
}

.article-hero .breadcrumb {
    margin-bottom: 20px;
}

.article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 95, 191, 0.1);
    color: var(--warranty-blue);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.article-hero h1 {
    font-size: 2.4rem;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 16px;
    max-width: 900px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.article-meta i {
    color: var(--secondary);
    margin-right: 6px;
}

.article-hero .aeo-lead {
    text-align: left;
    margin: 0 0 8px;
    max-width: 900px;
    font-size: 1.12rem;
    color: var(--primary);
    padding: 20px 24px;
    background: var(--white);
    border-left: 5px solid var(--secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.article-body {
    padding-top: 40px;
    padding-bottom: 80px;
}

.article-content {
    max-width: 860px;
    margin: 0 auto;
    color: #3a3f47;
    font-size: 1.04rem;
    line-height: 1.85;
}

.article-content h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 52px 0 18px;
    padding-left: 16px;
    border-left: 5px solid var(--secondary);
    line-height: 1.3;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 32px 0 12px;
}

.article-content p {
    margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content ul li::marker {
    color: var(--secondary);
}

.article-content ol li::marker {
    color: var(--secondary);
    font-weight: 700;
}

.article-content strong {
    color: var(--primary);
}

.article-content a {
    color: var(--warranty-blue);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(30, 95, 191, 0.35);
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--secondary);
    text-decoration-color: currentColor;
}

/* TL;DR / key-takeaways box — answer-first for AI answer engines */
.tldr-box {
    background: linear-gradient(135deg, rgba(30, 95, 191, 0.07), rgba(30, 95, 191, 0.02));
    border: 1px solid rgba(30, 95, 191, 0.25);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 0 0 40px;
}

.tldr-box h2 {
    border: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--warranty-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tldr-box ul {
    margin: 0;
}

.tldr-box li {
    margin-bottom: 6px;
}

/* Callout (warning / tip) */
.callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    margin: 24px 0 28px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.callout i {
    color: #F97316;
    font-size: 1.35rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.callout p {
    margin: 0;
}

.callout.callout-tip {
    background: rgba(33, 182, 111, 0.08);
    border-color: rgba(33, 182, 111, 0.3);
}

.callout.callout-tip i {
    color: var(--logo-green);
}

/* Responsive comparison tables */
.table-wrap {
    overflow-x: auto;
    margin: 0 0 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.95rem;
    min-width: 560px;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--gray-light);
}

.article-content th {
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    white-space: nowrap;
}

.article-content tbody tr:nth-child(even) {
    background: var(--light);
}

.article-content tbody tr:last-child td {
    border-bottom: none;
}

.article-content td:first-child {
    font-weight: 600;
    color: var(--primary);
}

/* Numbered step list */
.step-list {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.step-list li {
    position: relative;
    padding-left: 52px;
    margin-bottom: 18px;
    counter-increment: step;
}

.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(229, 26, 45, 0.3);
}

/* Figures */
.article-figure {
    margin: 8px 0 32px;
}

.article-figure img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.article-figure figcaption {
    font-size: 0.88rem;
    color: var(--gray);
    margin-top: 10px;
    text-align: center;
}

/* Inline CTA card inside an article */
.article-cta {
    margin: 44px 0 0;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1b2026 0%, #2f343c 100%);
    color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 5px solid var(--secondary);
}

.article-cta h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0 0 6px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.article-cta .cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Author / E-E-A-T box */
.author-box {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    margin: 40px 0 0;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
}

.author-box img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.author-box p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--gray);
}

.author-box strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

/* Related articles / knowledge hub cards */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kb-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    color: inherit;
}

.kb-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.kb-card-img {
    height: 170px;
    overflow: hidden;
    background: var(--light);
}

.kb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s;
}

.kb-card:hover .kb-card-img img {
    transform: scale(1.04);
}

.kb-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kb-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--warranty-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kb-card h3 {
    font-size: 1.12rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.kb-card p {
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.kb-card .kb-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.related-articles {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-light);
}

.related-articles h2 {
    font-size: 1.4rem;
    border: none;
    padding: 0;
    margin: 0 0 22px;
}

.related-articles .kb-grid {
    grid-template-columns: repeat(2, 1fr);
}

.related-articles .kb-card-body {
    padding: 18px 20px;
}

@media (max-width: 992px) {
    .kb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .kb-grid,
    .related-articles .kb-grid {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 1.65rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
        margin-top: 40px;
    }

    .article-cta {
        padding: 26px 22px;
    }

    .author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .tldr-box {
        padding: 20px;
    }
}