/*
Theme Name: HR Calcy
Theme URI: https://hrcalcy.com
Author: HR Calcy
Author URI: https://hrcalcy.com
Description: India's #1 HR Tools & Calculators Platform. Free salary calculators, payroll tools, labour law guides, courses and certifications for Indian HR professionals.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hrcalcy
Tags: hr, calculators, payroll, india, labour-law, tools, adsense, salary
*/

/* =====================================================================
   HR CALCY DESIGN SYSTEM v3.0
   Brand: Green #16A34A (primary) + Navy #1E3A8A (secondary) + White
   Typography: Sora (body) + DM Serif Display (headings)
   ===================================================================== */

/* ── DESIGN TOKENS ── */
:root {
    /* === GREEN — Primary Brand === */
    --hc-green:        #16A34A;
    --hc-green-dark:   #15803D;
    --hc-green-darker: #166534;
    --hc-green-light:  #DCFCE7;
    --hc-green-50:     #F0FDF4;
    /* === NAVY — Secondary Brand === */
    --hc-navy:         #1E3A8A;
    --hc-navy-dark:    #1e2f6e;
    --hc-blue-mid:     #2563EB;
    --hc-blue-light:   #DBEAFE;
    --hc-blue-50:      #EFF6FF;
    /* === AMBER — Accent (CTAs, badges) === */
    --hc-amber:        #D97706;
    --hc-amber-light:  #FEF3C7;
    --hc-amber-50:     #FFFBEB;
    /* === NEUTRALS === */
    --hc-white:        #FFFFFF;
    --hc-text:         #111827;
    --hc-text-mid:     #374151;
    --hc-text-light:   #6B7280;
    --hc-border:       #E5E7EB;
    --hc-bg-alt:       #F9FAFB;
    /* === TYPOGRAPHY === */
    --font-body:       'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display:    'DM Serif Display', Georgia, serif;
    /* === SPACING & RADIUS === */
    --hc-radius:       8px;
    --hc-radius-lg:    12px;
    --hc-radius-xl:    16px;
    --hc-shadow:       0 2px 12px rgba(0,0,0,.07);
    --hc-shadow-lg:    0 6px 28px rgba(0,0,0,.11);
    --container:       1200px;
    --section-pad:     72px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hc-text-mid);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--hc-text);
    line-height: 1.25;
}
a { color: var(--hc-blue-mid); text-decoration: none; }
a:hover { color: var(--hc-green-dark); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── ACCESSIBILITY ── */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    padding: .5rem 1.25rem; background: var(--hc-green); color: #fff;
    border-radius: 0 0 var(--hc-radius) var(--hc-radius);
    z-index: 9999; font-weight: 600; font-size: .875rem;
    transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── 404 PAGE ── */
.hc-404-wrap { padding: 80px 24px; text-align: center; }
.hc-404-inner { max-width: 580px; margin: 0 auto; }
.hc-404-icon { font-size: 4rem; margin-bottom: 20px; }
.hc-404-title { font-size: 2rem; color: var(--hc-navy); margin-bottom: 12px; }
.hc-404-desc { color: var(--hc-text); margin-bottom: 32px; line-height: 1.7; }
.hc-404-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 32px; text-align: left; }
.hc-404-tool-link { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--hc-blue-50); border: 1.5px solid var(--hc-blue-light); border-radius: 8px; text-decoration: none; color: var(--hc-blue-mid); font-weight: 600; font-size: .82rem; transition: all .2s; }
.hc-404-tool-link:hover { background: var(--hc-blue-light); border-color: var(--hc-blue-mid); }
.hc-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── LAYOUT ── */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 480px) { .container { padding: 0 20px; } }
@media (min-width: 768px) { .container { padding: 0 28px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ── TOP BAR ── */
.hc-topbar {
    background: var(--hc-navy);
    color: rgba(255,255,255,.85);
    font-size: .75rem;
    font-weight: 500;
    text-align: center;
    padding: 7px 16px;
    letter-spacing: .01em;
}
.hc-topbar a {
    color: #FCD34D;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}
.hc-topbar a:hover { opacity: .85; }

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 2px solid var(--hc-green);
    contain: layout style;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img { height: 50px; width: auto; }
.site-title {
    font-family: var(--font-display);
    font-size: 1.76rem;
    font-weight: 400;
    color: var(--hc-navy);
    line-height: 1.1;
}
.site-title a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    line-height: 1;
}
.site-title-hr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 6.3px 7.5px 7.5px;
    letter-spacing: .01em;
    z-index: 0;
}
/* SVG trapezoid: wider bottom, narrower top (~90% width at top), rounded top corners, sharp bottom corners */
.site-title-hr::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23259922' d='M18,0 Q10,0 10,8 L0,92 Q0,100 8,100 L92,100 Q100,100 100,92 L90,8 Q90,0 82,0 Z'/%3E%3C/svg%3E") no-repeat center/100% 100%;
}
.site-title-calcy {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.76rem;
    font-weight: 700;
    color: var(--hc-navy);
    line-height: 1;
    letter-spacing: .01em;
}
.site-tagline { font-size: .7rem; color: var(--hc-text-light); margin-top: 1px; font-family: var(--font-body); }

/* ── PRIMARY NAV ── */
.main-navigation { display: flex; align-items: center; gap: 8px; }
.nav-menu {
    display: none;
    list-style: none;
    gap: 2px;
    align-items: center;
}
@media (min-width: 1024px) { .nav-menu { display: flex; } }

.nav-menu li { position: relative; }
.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--hc-text);
    border-radius: 6px;
    transition: background .15s, color .15s;
    white-space: nowrap;
    font-family: var(--font-body);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    background: var(--hc-green-50);
    color: var(--hc-green-dark);
}
/* Buy Now CTA in nav */
.nav-menu .menu-buy-now > a,
.nav-menu li a[style*="background"] {
    background: var(--hc-amber) !important;
    color: #fff !important;
    padding: 7px 16px !important;
    border-radius: 6px !important;
}
.nav-menu .menu-buy-now > a:hover { background: var(--hc-amber-light) !important; color: var(--hc-amber) !important; }

/* Dropdowns */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    box-shadow: var(--hc-shadow-lg);
    min-width: 220px;
    padding: 6px;
    z-index: 300;
    list-style: none;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display: block; }
.nav-menu .sub-menu a {
    padding: 9px 12px;
    font-size: .82rem;
    border-radius: 6px;
    display: block;
    color: var(--hc-text);
}
.nav-menu .sub-menu a:hover { background: var(--hc-green-50); color: var(--hc-green); }

/* ── HAMBURGER ── */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    border-radius: var(--hc-radius);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--hc-text); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mobile-nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 350;
}
.mobile-nav-overlay.is-open { display: block; }
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 90vw);
    height: 100vh;
    background: #fff;
    z-index: 400;
    overflow-y: auto;
    transition: right .25s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.mobile-nav.is-open { right: 0; }
.mobile-nav-inner { padding: 20px 20px 40px; }

/* Mobile nav — top bar: logo left, close button right */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mobile-nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    line-height: 1;
}
.mobile-nav-logo img {
    height: 40px;
    width: auto;
}
.mobile-nav-close {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--hc-bg-alt);
    border: none; border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-nav #mobile-menu { list-style: none; }
.mobile-nav #mobile-menu a {
    display: block;
    padding: 11px 4px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--hc-text);
    border-bottom: 1px solid var(--hc-border);
    font-family: var(--font-body);
}
.mobile-nav #mobile-menu a:hover { color: var(--hc-green); }
.mobile-nav .sub-menu { list-style: none; padding-left: 16px; }
.mobile-nav .sub-menu a { font-size: .82rem; font-weight: 500; }

/* Mobile nav — social icons strip */
.mobile-nav-social {
    margin-top: 24px;
    padding-top: 20px;
}
.mobile-nav-social-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--hc-text-light);
    margin-bottom: 12px;
}
.mobile-nav-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mobile-nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f4f6f9;
    border: 1.5px solid #e2e6ed;
    color: #444;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .15s;
    flex-shrink: 0;
}
.mobile-nav-social-link svg {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.mobile-nav-social-link:hover,
.mobile-nav-social-link:focus {
    background: var(--brand-col);
    border-color: var(--brand-col);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* ── HERO SECTION ── */
/* ══════════════════════════════════════════════
   HERO SECTION — Full-width, split layout desktop
   Centre-aligned on mobile, spacious on all screens
   ══════════════════════════════════════════════ */
.ct-hero {
    background: linear-gradient(135deg, #0F2460 0%, #1E3A8A 45%, #134E26 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 0;
    width: 100%;
    display: block;
}

/* Decorative background grid */
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
/* Decorative glow orbs */
.ct-hero::after {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(22,163,74,.25) 0%, transparent 70%);
    pointer-events: none;
}

/* Full-width container */
.ct-hero-wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px 32px 64px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
@media (min-width: 1280px) {
    .ct-hero-wrap { padding: 80px 40px 72px; }
}

/* Desktop: 2-column split — content left, stats panel right */
.ct-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .ct-hero-layout {
        flex-direction: row;
        align-items: center;
        gap: 56px;
        text-align: left;
    }
    .ct-hero-content {
        flex: 1 1 0;
        min-width: 0;
    }
    .ct-hero-panel {
        flex: 0 0 360px;
        width: 360px;
    }
}

/* LEFT COLUMN */
.

.ct-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .72rem;
    font-weight: 700;
    color: #FCD34D;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 22px;
}
.ct-hero-eyebrow-dot {
    width: 6px; height: 6px;
    background: #4ADE80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .6; transform: scale(.8); }
}

.ct-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    font-family: var(--font-display) !important;
    font-weight: 400 !important;
}
.ct-hero h1 span {
    color: #4ADE80;
    font-style: italic;
}

.ct-hero-subtitle {
    font-size: clamp(.9rem, 1.8vw, 1.05rem);
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
    text-wrap: balance;
}
@media (min-width: 1024px) {
    .ct-hero-subtitle { max-width: 100%; }
}

/* CTA buttons row */
.ct-hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
@media (max-width: 479px) {
    .ct-hero-cta-row { flex-direction: column; }
    .ct-hero-cta-row a { width: 100%; justify-content: center; }
}
.ct-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16A34A !important;
    color: #fff !important;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none !important;
    font-family: var(--font-body);
    transition: background .15s, transform .15s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.ct-hero-btn-primary:hover {
    background: var(--hc-green-dark);
    color: #fff;
    transform: translateY(-1px);
}
.ct-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,.40);
    padding: 12px 22px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none !important;
    font-family: var(--font-body);
    transition: background .15s, border-color .15s;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}
.ct-hero-btn-secondary:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.45);
    color: #fff;
}

/* Search bar */
.ct-hero-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    max-width: 520px;
    box-shadow: 0 4px 28px rgba(0,0,0,.22);
    overflow: hidden;
    margin-bottom: 0;
}
.ct-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: .9rem;
    background: transparent;
    color: var(--hc-text);
    font-family: var(--font-body);
    min-width: 0;
}
.ct-hero-search input::placeholder { color: #9CA3AF; }
.ct-hero-search-btn {
    background: var(--hc-green);
    color: #fff;
    border: none;
    padding: 14px 22px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.ct-hero-search-btn:hover { background: var(--hc-green-dark); }

/* Trust chips below search */
.ct-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 14px;
}
@media (min-width: 1024px) {
    .ct-hero-trust { justify-content: flex-start; }
}
.ct-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 500;
    color: rgba(255,255,255,.72);
}
.ct-hero-trust-item svg { color: #4ADE80; flex-shrink: 0; }

/* Social links row */
.ct-hero-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
.ct-hero-social-label {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-right: 4px;
}
.ct-hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.ct-hero-social a:hover {
    background: var(--hc-green);
    border-color: var(--hc-green);
    color: #fff;
}

/* RIGHT COLUMN — stats panel */
.ct-hero-panel {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Stats grid — 2×2 on desktop, 4 across on mobile */
.ct-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: none;
    padding-top: 0;
}
@media (min-width: 1024px) {
    .ct-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: rgba(255,255,255,.1);
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
    }
}

.ct-hero-stat {
    padding: 16px 12px;
    text-align: center;
    border: none;
    background: transparent;
}
@media (min-width: 1024px) {
    .ct-hero-stat {
        background: rgba(255,255,255,.05);
        padding: 20px 16px;
    }
    .ct-hero-stat:hover { background: rgba(255,255,255,.09); }
}

.ct-hero-stat:last-child { border-right: none; }

.ct-hero-stat-num {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #4ADE80;
    font-family: var(--font-body);
    line-height: 1;
    margin-bottom: 4px;
}
.ct-hero-stat-label {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.3;
}

/* Right panel quick links */
.ct-hero-quicklinks {
    display: none;
}
@media (min-width: 1024px) {
    .ct-hero-quicklinks {
        display: block;
        margin-top: 4px;
    }
    .ct-hero-quicklinks-title {
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: rgba(255,255,255,.45);
        margin-bottom: 10px;
    }
    .ct-hero-quicklinks-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .ct-hero-quicklink {
        display: flex;
        align-items: center;
        gap: 7px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 7px;
        padding: 8px 10px;
        text-decoration: none;
        font-size: .73rem;
        font-weight: 600;
        color: rgba(255,255,255,.82);
        font-family: var(--font-body);
        transition: background .15s, border-color .15s;
        white-space: nowrap;
        overflow: hidden;
    }
    .ct-hero-quicklink:hover {
        background: rgba(22,163,74,.2);
        border-color: rgba(22,163,74,.4);
        color: #4ADE80;
    }
    .ct-hero-quicklink svg { flex-shrink: 0; opacity: .7; }
}

/* ── HERO MOBILE (< 1024px) ── */
@media (max-width: 1023px) {
    .ct-hero-panel {
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        width: 100%;
    }
    /* Stats: 4-across row on mobile with thin separator lines */
    .ct-hero-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 12px;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }
    .ct-hero-stat {
        padding: 16px 8px;
        background: rgba(255,255,255,.05);
        border-right: 1px solid rgba(255,255,255,.12);
    }
    .ct-hero-stat:last-child { border-right: none; }
    /* Quick links shown on mobile below stats */
    .ct-hero-quicklinks { display: block !important; margin-top: 20px; }
    .ct-hero-quicklinks-title {
        font-size: .68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: rgba(255,255,255,.45);
        margin-bottom: 10px;
        text-align: left;
    }
    .ct-hero-quicklinks-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .ct-hero-quicklink {
        display: flex;
        align-items: center;
        gap: 7px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 7px;
        padding: 9px 10px;
        text-decoration: none;
        font-size: .75rem;
        font-weight: 600;
        color: rgba(255,255,255,.82);
        font-family: var(--font-body);
        white-space: nowrap;
        overflow: hidden;
    }
    /* Content centred */
    .ct-hero-wrap { padding: 52px 20px 44px; }
    .ct-hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem) !important; }
    .ct-hero-content { text-align: center; }
    .ct-hero-trust  { justify-content: center; }
    .ct-hero-social { justify-content: center; }
    .ct-hero-cta-row { justify-content: center; }
    .ct-hero-search { margin: 0 auto; max-width: 480px; }
    .ct-hero-subtitle { margin-left: auto; margin-right: auto; }
}

/* ── HERO SMALL MOBILE (< 480px) ── */
@media (max-width: 479px) {
    /* On very small screens: 2×2 stat grid instead of 4-across */
    .ct-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .ct-hero-stat:nth-child(2) { border-right: none; }
    .ct-hero-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.12); }
    .ct-hero-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
    .ct-hero-stat-num  { font-size: 1.4rem; }
    .ct-hero-stat-label { font-size: .62rem; }
    .ct-hero-wrap { padding: 44px 16px 36px; }
    .ct-hero-cta-row { flex-direction: column; }
    .ct-hero-cta-row a { width: 100%; justify-content: center; }
}


/* ── TOOLS SCROLLBAR ── */
.hc-tools-bar {
    background: var(--hc-navy);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-tools-bar::-webkit-scrollbar { display: none; }
.hc-tools-bar-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    min-width: max-content;
}
.hc-tools-bar-label {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-right: 8px;
    flex-shrink: 0;
}
.hc-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 100px;
    font-size: .73rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
    font-family: var(--font-body);
}
.hc-tool-link:hover {
    background: rgba(22,163,74,.25);
    border-color: var(--hc-green);
    color: #fff;
}

/* ── SECTIONS ── */
.ct-section { padding: var(--section-pad) 0; }
.ct-section-alt { background: var(--hc-bg-alt); }
.ct-section-blue { background: var(--hc-navy); }
@media (max-width: 767px) { .ct-section { padding: 44px 0; } }

.ct-section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ct-section-eyebrow {
    display: inline-block;
    background: var(--hc-green-light);
    color: var(--hc-green-dark);
    border: 1px solid rgba(22,163,74,.2);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 14px;
}
.ct-section-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    margin-bottom: 12px;
    color: var(--hc-text);
}
.ct-section-header p {
    font-size: .95rem;
    color: var(--hc-text-light);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ── CALCULATOR CATEGORY GRID ── */
.hc-section-sublabel {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    color: var(--hc-text-light);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
    padding-left: 2px;
}
.hc-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
@media (min-width: 480px) { .hc-cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
@media (min-width: 768px) { .hc-cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.hc-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    text-align: center;
}
.hc-cat-card:hover {
    border-color: var(--hc-green);
    box-shadow: 0 4px 16px rgba(22,163,74,.12);
    transform: translateY(-2px);
    color: var(--hc-green-dark);
}
.hc-cat-icon {
    width: 42px; height: 42px;
    background: var(--hc-green-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hc-cat-icon svg { width: 20px; height: 20px; stroke: var(--hc-green); }
.hc-cat-name {
    font-size: .72rem;
    font-weight: 600;
    color: var(--hc-text);
    line-height: 1.3;
    font-family: var(--font-body);
}
.hc-cat-card:hover .hc-cat-name { color: var(--hc-green-dark); }
.hc-view-all { text-align: center; margin-top: 28px; }

/* ── DISCOUNT RIBBON — top-left corner of product/course thumb ── */
.hc-discount-ribbon {
    position: absolute;
    top: 12px;
    left: 0;
    background: #DC2626;
    color: #fff;
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 10px 4px 8px;
    border-radius: 0 100px 100px 0;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(220,38,38,.35);
    z-index: 2;
    white-space: nowrap;
}
/* Green variant for courses */
.hc-discount-ribbon.course {
    background: var(--hc-green-dark);
    box-shadow: 0 2px 6px rgba(21,128,61,.35);
}

/* Price display: MRP struck through + sale price */
.hc-product-price,
.hc-course-price-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.hc-price-mrp {
    font-size: .82rem;
    font-weight: 400;
    color: var(--hc-text-light);
    text-decoration: line-through;
    text-decoration-color: #9CA3AF;
    font-family: var(--font-body);
}
.hc-price-sale {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hc-green-dark);
    font-family: var(--font-body);
    line-height: 1;
}
.hc-course-price .hc-price-sale {
    font-size: 1.2rem;
}

/* ── PRODUCT CARDS ── */
.hc-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) { .hc-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hc-products-grid { grid-template-columns: repeat(3, 1fr); } }
.hc-product-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.hc-product-card:hover { box-shadow: var(--hc-shadow-lg); transform: translateY(-3px); }
.hc-product-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 3rem;
}
.hc-product-thumb.blue { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.hc-product-thumb.gold { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.hc-product-thumb.green { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.hc-product-thumb svg { width: 52px; height: 52px; }
.hc-product-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-body);
}
.hc-product-badge.ebook { background: #DBEAFE; color: #1E3A8A; }
.hc-product-badge.excel { background: #DCFCE7; color: #166534; }
.hc-product-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; }
.hc-product-body h3 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--hc-text);
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--font-body);
}
.hc-product-body p { font-size: .82rem; color: var(--hc-text-light); line-height: 1.55; flex: 1; }
.hc-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hc-border);
}
.hc-product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hc-green-dark);
    font-family: var(--font-body);
}
.hc-product-price s { color: var(--hc-text-light); font-size: .82rem; font-weight: 400; margin-right: 4px; }
.hc-btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hc-green);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--hc-radius);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
    font-family: var(--font-body);
}
.hc-btn-buy:hover { background: var(--hc-green-dark); color: #fff; }

/* ── COURSE CARDS ── */
.hc-courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) { .hc-courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hc-courses-grid { grid-template-columns: repeat(3, 1fr); } }
.hc-course-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}
.hc-course-card:hover { box-shadow: var(--hc-shadow-lg); transform: translateY(-2px); }
.hc-course-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.hc-course-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hc-course-icon svg { width: 24px; height: 24px; }
.hc-course-icon.bg-blue { background: var(--hc-blue-50); }
.hc-course-icon.bg-blue svg { stroke: var(--hc-blue-mid); }
.hc-course-icon.bg-gold { background: var(--hc-amber-50); }
.hc-course-icon.bg-gold svg { stroke: var(--hc-amber); }
.hc-course-icon.bg-green { background: var(--hc-green-50); }
.hc-course-icon.bg-green svg { stroke: var(--hc-green); }
.hc-course-icon.bg-coral { background: #FFF1F0; }
.hc-course-icon.bg-coral svg { stroke: #E53935; }
.hc-course-meta h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: var(--font-body);
}
.hc-course-meta p { font-size: .78rem; color: var(--hc-text-light); line-height: 1.5; margin: 0; }
.hc-course-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    flex: 1;
}
.hc-course-features li {
    font-size: .75rem;
    color: var(--hc-text-mid);
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
}
.hc-course-features li::before {
    content: '';
    display: block;
    width: 16px; height: 16px;
    background: var(--hc-green-50);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%2316A34A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.hc-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--hc-border);
    padding-top: 14px;
}
.hc-course-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--font-body);
}
.hc-course-price small {
    display: block;
    font-size: .65rem;
    color: var(--hc-text-light);
    font-weight: 500;
}
.hc-btn-enroll {
    background: var(--hc-navy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--hc-radius);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
    font-family: var(--font-body);
}
.hc-btn-enroll:hover { background: var(--hc-green); color: #fff; }

/* ── HOW IT WORKS ── */
.ct-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
@media (min-width: 640px) { .ct-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ct-steps-grid { grid-template-columns: repeat(4, 1fr); } }
.ct-step-item { text-align: center; padding: 24px 16px; }
.ct-step-number {
    width: 48px; height: 48px;
    background: var(--hc-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 16px;
    font-family: var(--font-body);
}
.ct-step-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hc-text);
    margin-bottom: 8px;
    font-family: var(--font-body);
}
.ct-step-item p { font-size: .85rem; color: var(--hc-text-light); line-height: 1.6; margin: 0; }

/* ── WHY HR CALCY FEATURES ── */
.ct-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 640px) { .ct-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ct-features-grid { grid-template-columns: repeat(3, 1fr); } }
.ct-feature-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    padding: 24px 22px;
    transition: box-shadow .2s;
}
.ct-feature-card:hover { box-shadow: var(--hc-shadow); }
.ct-feature-icon {
    width: 48px; height: 48px;
    background: var(--hc-green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ct-feature-icon svg { width: 22px; height: 22px; stroke: var(--hc-green); }
.ct-feature-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 8px;
    font-family: var(--font-body);
}
.ct-feature-card p { font-size: .83rem; color: var(--hc-text-light); line-height: 1.6; margin: 0; }

/* ── QUIZ BANNER ── */
.hc-quiz-banner {
    display: flex;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, var(--hc-navy), #2d4fa0);
    border-radius: var(--hc-radius-xl);
    padding: 32px 28px;
    color: #fff;
}
@media (max-width: 767px) { .hc-quiz-banner { flex-direction: column; text-align: center; } }
.hc-quiz-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hc-quiz-icon svg { width: 40px; height: 40px; stroke: #FCD34D; }
.hc-quiz-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}
.hc-quiz-content h2 {
    font-size: 1.35rem;
    color: #fff !important;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.25;
}
.hc-quiz-content p { font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.hc-quiz-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
@media (max-width: 767px) { .hc-quiz-badges { justify-content: center; } }
.hc-quiz-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-body);
}
.hc-quiz-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767px) { .hc-quiz-btns { justify-content: center; } }
.hc-btn-quiz-primary {
    background: #FCD34D;
    color: var(--hc-navy);
    padding: 10px 20px;
    border-radius: var(--hc-radius);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    transition: background .15s;
}
.hc-btn-quiz-primary:hover { background: #fff; color: var(--hc-navy); }
.hc-btn-quiz-secondary {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25);
    padding: 10px 18px;
    border-radius: var(--hc-radius);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-body);
    transition: background .15s;
}
.hc-btn-quiz-secondary:hover { background: rgba(255,255,255,.22); }

/* ── TESTIMONIALS ── */
/* ── TESTIMONIALS SLIDER ── */
.ct-testimonials-outer {
    position: relative;
    overflow: hidden;
    max-width: 1060px;
    margin: 0 auto;
}

/* The moving track */
.ct-testimonials-track {
    display: flex;
    gap: 18px;
    transition: transform .55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .ct-testimonials-track { transition: none; }
}

/* Each slide card */
.ct-testimonial-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--hc-radius-xl);
    padding: 22px;
    flex: 0 0 calc(100% - 18px);       /* 1 card mobile */
    min-width: 0;
}
@media (min-width: 640px) {
    .ct-testimonial-card {
        flex: 0 0 calc(50% - 9px);      /* 2 cards tablet */
    }
}
@media (min-width: 1024px) {
    .ct-testimonial-card {
        flex: 0 0 calc(33.333% - 12px); /* 3 cards desktop */
    }
}

/* Slider dots */
.ct-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.ct-testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s, width .25s;
}
.ct-testimonials-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Prev / Next arrow buttons */
.ct-testimonials-arrows {
    display: none;
}
@media (min-width: 768px) {
    .ct-testimonials-arrows {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 16px;
    }
}
.ct-testimonials-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    transition: background .15s;
}
.ct-testimonials-btn:hover {
    background: rgba(255,255,255,.22);
}
.ct-testimonials-btn:disabled {
    opacity: .35;
    cursor: default;
}
/* WCAG 2.2 SC 2.2.2: Pause/play button for auto-advancing slider */
.ct-slider-pause {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    transition: background .15s;
    z-index: 2;
}
.ct-slider-pause:hover { background: rgba(255,255,255,.25); }
.ct-slider-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ct-testimonial-stars { color: #FCD34D; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.ct-testimonial-text {
    font-size: .85rem;
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}
.ct-testimonial-author { display: flex; align-items: center; gap: 10px; }
.ct-testimonial-avatar {
    width: 38px; height: 38px;
    background: var(--hc-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font-body);
}
.ct-testimonial-name { display: block; font-size: .85rem; font-weight: 700; color: #fff; }
.ct-testimonial-meta { display: block; font-size: .72rem; color: rgba(255,255,255,.6); }

/* ── TRUST BAR ── */
.ct-trust-bar {
    background: var(--hc-green-50);
    border-top: 1px solid rgba(22,163,74,.15);
    border-bottom: 1px solid rgba(22,163,74,.15);
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.ct-trust-bar::-webkit-scrollbar { display: none; }
.ct-trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-width: max-content;
    padding: 0 20px;
}
.ct-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--hc-green-darker);
    white-space: nowrap;
}
.ct-trust-item svg { width: 16px; height: 16px; stroke: var(--hc-green); }

/* ── CTA SECTION ── */
.ct-cta-section {
    background: linear-gradient(135deg, var(--hc-green-dark), var(--hc-green));
    padding: 56px 0;
    text-align: center;
    color: #fff;
}
.ct-cta-inner { max-width: 600px; margin: 0 auto; padding: 0 16px; }
.ct-cta-section h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: #fff; margin-bottom: 12px; }
.ct-cta-section p { font-size: .95rem; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.ct-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ct-btn-gold {
    background: #FCD34D;
    color: var(--hc-navy);
    padding: 12px 24px;
    border-radius: var(--hc-radius);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .15s;
    font-family: var(--font-body);
}
.ct-btn-gold:hover { background: #fff; color: var(--hc-navy); }
.ct-btn-outline-white {
    background: transparent;
    color: rgba(255,255,255,.9);
    border: 2px solid rgba(255,255,255,.4);
    padding: 11px 22px;
    border-radius: var(--hc-radius);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .15s, border-color .15s;
    font-family: var(--font-body);
}
.ct-btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }

/* ── SHARED BUTTONS ── */
.hc-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--hc-green);
    color: var(--hc-green-dark);
    padding: 10px 22px;
    border-radius: var(--hc-radius);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, color .15s;
    font-family: var(--font-body);
}
.hc-btn-outline:hover { background: var(--hc-green); color: #fff; }

/* ── AD ZONES ── */
.hc-ad-zone {
    text-align: center;
    min-height: 100px; /* Reserve space to prevent CLS */
    contain: layout;
    overflow: hidden;
}
.hc-ad-zone.hc-ad-leaderboard { min-height: 90px; }
.hc-ad-zone.hc-ad-rectangle  { min-height: 250px; }
.hc-ad-zone.hc-ad-incontent  { min-height: 250px; margin: 24px 0; contain: layout; } /* 250px = standard medium rectangle — prevents CLS */
.hc-ad-wrap { padding: 16px 0; }
.ad-unit.ad-slot-sidebar    { min-height: 250px; contain: layout; }
.ad-unit.ad-slot-in-content { min-height: 250px; margin: 24px 0; contain: layout; text-align: center; } /* analytics class output — reserved height prevents CLS */
.advertisement-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hc-text-light); margin-bottom: 4px; }
.hc-ad-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--hc-text-light);
    text-align: center;
    margin-bottom: 6px;
}


/* Product & Course — rating + sales social proof */
.hc-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.hc-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    font-weight: 700;
    color: #B45309;
    font-family: var(--font-body);
}
.hc-rating-stars {
    display: inline-flex;
    gap: 1px;
}
.hc-rating-star {
    color: #F59E0B;
    font-size: 11px;
    line-height: 1;
}
.hc-rating-star.half { opacity: .5; }
.hc-sales-count {
    font-size: .72rem;
    color: var(--hc-text-light);
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.hc-sales-count svg { color: var(--hc-green); }
.hc-badge-bestseller {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-body);
}
.hc-badge-popular {
    display: inline-block;
    background: var(--hc-green-50);
    color: var(--hc-green-darker);
    border: 1px solid rgba(22,163,74,.2);
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-body);
}

/* ── BLOG POSTS GRID ── */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--hc-shadow-lg); transform: translateY(-2px); }
.post-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--hc-bg-alt); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card-categories { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.post-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--font-body);
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--hc-green); }
.post-card-excerpt { font-size: .82rem; color: var(--hc-text-light); line-height: 1.55; flex: 1; margin-bottom: 12px; }
.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    border-top: 1px solid var(--hc-border);
    padding-top: 10px;
}
.post-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-card-date { font-size: .72rem; color: var(--hc-text-light); }
.read-time { display: flex; align-items: center; gap: 3px; font-size: .72rem; color: var(--hc-text-light); }
.post-card-author { display: flex; align-items: center; gap: 5px; }
.post-card-author img { border-radius: 50%; width: 22px; height: 22px; }
.author-name-sm { font-size: .72rem; color: var(--hc-text-light); }
.btn.btn-sm.btn-outline {
    font-size: .72rem;
    padding: 5px 10px;
    border: 1.5px solid var(--hc-green);
    color: var(--hc-green-dark);
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    font-family: var(--font-body);
    transition: background .15s, color .15s;
}
.btn.btn-sm.btn-outline:hover { background: var(--hc-green); color: #fff; }

/* Category badge */
.cat-badge {
    display: inline-block;
    background: var(--hc-green-light);
    color: var(--hc-green-darker);
    border-radius: 100px;
    padding: 2px 9px;
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    font-family: var(--font-body);
}
.cat-badge:hover { background: var(--hc-green); color: #fff; }

/* ── BLOG SINGLE POST ── */
.content-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 0 48px;
}
/* Posts have sidebar, pages do not */
.content-area.has-sidebar {
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .content-area.has-sidebar {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}
.content-area.no-sidebar {
    max-width: 860px;
    margin: 0 auto;
}

/* Single post article */
.single-article, .page-article { min-width: 0; }
.article-header { margin-bottom: 28px; }
.article-categories { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.article-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--hc-text);
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: var(--font-display);
}
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: .8rem;
    color: var(--hc-text-light);
    padding: 14px 0;
    border-top: 1px solid var(--hc-border);
    border-bottom: 1px solid var(--hc-border);
    margin-bottom: 22px;
}
.article-author { display: flex; align-items: center; gap: 8px; }
.article-author img { border-radius: 50%; width: 32px; height: 32px; }
.article-author-name { font-weight: 600; color: var(--hc-text); font-size: .82rem; }
.article-author-role { font-size: .72rem; color: var(--hc-text-light); }
.article-meta-dates { display: flex; align-items: center; gap: 6px; }
.article-meta-icon { vertical-align: middle; }
.article-meta-readtime,
.article-meta-wordcount { display: inline-flex; align-items: center; gap: 4px; }
.article-featured-image { margin-bottom: 28px; border-radius: var(--hc-radius-xl); overflow: hidden; }
.article-featured-image img { width: 100%; height: auto; display: block; }
.article-featured-caption { font-size: .78rem; color: var(--hc-text-light); text-align: center; padding: 8px 0 0; }

/* Article body content */
.article-content { font-size: 1rem; line-height: 1.8; color: var(--hc-text-mid); }
.article-content h2 { font-size: 1.55rem; margin: 2rem 0 .9rem; color: var(--hc-text); }
.article-content h3 { font-size: 1.2rem; margin: 1.6rem 0 .7rem; font-family: var(--font-body); font-weight: 700; }
.article-content h4 { font-size: 1.05rem; margin: 1.3rem 0 .6rem; font-family: var(--font-body); font-weight: 700; }
.article-content p { margin-bottom: 1.1rem; }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote {
    border-left: 4px solid var(--hc-green);
    background: var(--hc-green-50);
    padding: 14px 20px;
    margin: 1.5rem 0;
    border-radius: 0 var(--hc-radius) var(--hc-radius) 0;
    font-style: italic;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .88rem;
}
.article-content th {
    background: var(--hc-navy);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-family: var(--font-body);
    font-size: .8rem;
}
.article-content td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--hc-border);
}
.article-content tr:nth-child(even) td { background: var(--hc-bg-alt); }
.article-content a { color: var(--hc-green-dark); text-decoration: underline; }
.article-content a:hover { color: var(--hc-navy); }
.article-content img { border-radius: var(--hc-radius); margin: 1rem auto; }

/* HR Disclaimer (replaces medical disclaimer) */
.hr-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--hc-blue-50);
    border: 1px solid var(--hc-blue-light);
    border-left: 4px solid var(--hc-blue-mid);
    border-radius: var(--hc-radius-lg);
    padding: 14px 16px;
    margin: 20px 0;
}
.hr-disclaimer-icon svg { width: 20px; height: 20px; stroke: var(--hc-blue-mid); flex-shrink: 0; }
.hr-disclaimer p { font-size: .82rem; color: var(--hc-text-mid); line-height: 1.6; margin: 0; }
.hr-disclaimer strong { color: var(--hc-navy); }

/* Article tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 24px 0;
    padding-top: 20px;
    border-top: 1px solid var(--hc-border);
}
.tags-label { font-size: .75rem; font-weight: 700; color: var(--hc-text-light); margin-right: 4px; }
.tag-pill {
    display: inline-block;
    background: var(--hc-bg-alt);
    border: 1px solid var(--hc-border);
    border-radius: 100px;
    padding: 3px 11px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--hc-text-mid);
    text-decoration: none;
    transition: background .15s, border-color .15s;
    font-family: var(--font-body);
}
.tag-pill:hover { background: var(--hc-green-light); border-color: var(--hc-green); color: var(--hc-green-dark); }

/* Share buttons */
.article-share { margin: 24px 0; }
.share-title { font-size: .82rem; font-weight: 600; color: var(--hc-text-light); margin-bottom: 10px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--hc-radius);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
    font-family: var(--font-body);
}
.share-btn:hover { opacity: .85; }
.share-btn svg { width: 14px; height: 14px; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.twitter  { background: #000; color: #fff; }
.share-btn.linkedin { background: #0A66C2; color: #fff; }
.share-btn.copy     { background: var(--hc-bg-alt); color: var(--hc-text); border: 1px solid var(--hc-border); }

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0;
    padding-top: 24px;
    border-top: 1px solid var(--hc-border);
}
.nav-post {
    display: block;
    padding: 14px;
    background: var(--hc-bg-alt);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.nav-post:hover { border-color: var(--hc-green); box-shadow: 0 2px 12px rgba(22,163,74,.1); }
.nav-post.next { text-align: right; }
.nav-post-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--hc-green);
    margin-bottom: 5px;
    font-family: var(--font-body);
}
.nav-post.next .nav-post-label { justify-content: flex-end; }
.nav-post-title {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--hc-text);
    line-height: 1.4;
    font-family: var(--font-body);
}

/* Author box */
.author-box {
    display: flex;
    gap: 18px;
    background: var(--hc-green-50);
    border: 1px solid rgba(22,163,74,.15);
    border-radius: var(--hc-radius-xl);
    padding: 22px;
    margin: 28px 0;
    align-items: flex-start;
}
@media (max-width: 480px) { .author-box { flex-direction: column; } }
.author-box-avatar { border-radius: 50%; width: 72px; height: 72px; flex-shrink: 0; }
.author-box-name { font-size: 1rem; font-weight: 700; color: var(--hc-text); margin-bottom: 3px; font-family: var(--font-body); }
.author-box-credentials { font-size: .78rem; color: var(--hc-green-dark); font-weight: 600; margin-bottom: 8px; }
.author-box-bio { font-size: .83rem; color: var(--hc-text-mid); line-height: 1.6; margin-bottom: 10px; }

/* Related posts */
.related-posts { margin: 36px 0; }
.related-posts .section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 18px;
    font-family: var(--font-body);
    border-bottom: 2px solid var(--hc-green);
    padding-bottom: 10px;
    display: inline-block;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .related-posts-grid { grid-template-columns: repeat(3, 1fr); } }

/* TOC (Table of Contents) */
.hc-toc {
    background: var(--hc-bg-alt);
    border: 1px solid var(--hc-border);
    border-left: 4px solid var(--hc-green);
    border-radius: var(--hc-radius-lg);
    padding: 18px 20px;
    margin: 24px 0;
}
.hc-toc-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
}
.hc-toc-title svg { width: 16px; height: 16px; stroke: var(--hc-green); }
.hc-toc ol { padding-left: 1.2rem; margin: 0; }
.hc-toc li { margin-bottom: 5px; }
.hc-toc a { font-size: .82rem; color: var(--hc-blue-mid); }
.hc-toc a:hover { color: var(--hc-green); }

/* ── SIDEBAR ── */
.sidebar { min-width: 0; }
.widget {
    background: #fff;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    padding: 20px;
    margin-bottom: 20px;
}
.widget-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--hc-text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hc-green-light);
    font-family: var(--font-body);
}
.sidebar-search-wrap { display: flex; gap: 6px; }
.sidebar-search-input {
    flex: 1;
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 9px 12px;
    font-size: .83rem;
    outline: none;
    font-family: var(--font-body);
    transition: border-color .15s;
}
.sidebar-search-input:focus { border-color: var(--hc-green); }
.sidebar-search-btn {
    background: var(--hc-green);
    border: none;
    border-radius: var(--hc-radius);
    padding: 9px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background .15s;
}
.sidebar-search-btn:hover { background: var(--hc-green-dark); }
.widget-category-list { list-style: none; }
.widget-category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--hc-border);
    font-size: .83rem;
}
.widget-category-list li:last-child { border-bottom: none; }
.widget-category-list a { color: var(--hc-text); text-decoration: none; }
.widget-category-list a:hover { color: var(--hc-green); }
.category-count {
    background: var(--hc-green-light);
    color: var(--hc-green-darker);
    border-radius: 100px;
    padding: 1px 7px;
    font-size: .68rem;
    font-weight: 700;
}
.widget-recent-post {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hc-border);
    align-items: flex-start;
}
.widget-recent-post:last-child { border-bottom: none; }
.widget-recent-post-image { width: 60px; height: 45px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.widget-recent-post-image img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-post-title a { font-size: .8rem; font-weight: 600; color: var(--hc-text); line-height: 1.35; }
.widget-recent-post-title a:hover { color: var(--hc-green); }
.widget-recent-post-date { font-size: .68rem; color: var(--hc-text-light); }

/* Sidebar newsletter */
.newsletter-widget .newsletter-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.newsletter-widget input[type="email"] {
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 10px 12px;
    font-size: .83rem;
    font-family: var(--font-body);
    width: 100%;
    outline: none;
    transition: border-color .15s;
}
.newsletter-widget input[type="email"]:focus { border-color: var(--hc-green); }
.newsletter-widget .btn-white {
    background: var(--hc-green);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: var(--hc-radius);
    font-size: .83rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background .15s;
}
.newsletter-widget .btn-white:hover { background: var(--hc-green-dark); }
.sidebar-tags-cloud { display: flex; flex-wrap: wrap; gap: 5px; }

/* Quick tools sidebar widget */
.widget-quick-tools a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--hc-text);
    border-bottom: 1px solid var(--hc-border);
    text-decoration: none;
    transition: color .15s;
}
.widget-quick-tools a:last-child { border-bottom: none; }
.widget-quick-tools a:hover { color: var(--hc-green); }
.widget-quick-tools svg { width: 16px; height: 16px; stroke: var(--hc-green); flex-shrink: 0; }

/* Ad unit styling */
.ad-unit { margin-bottom: 20px; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
    font-size: .75rem;
    color: var(--hc-text-light);
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.breadcrumbs a { color: var(--hc-text-light); text-decoration: none; }
.breadcrumbs a:hover { color: var(--hc-green); }
.breadcrumbs .sep { color: var(--hc-border); }

/* ── FOOTER ── */
.site-footer { background: #0F172A; color: rgba(255,255,255,.75); }
.ct-footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 32px 40px;
    max-width: var(--container);
    margin: 0 auto;
}
@media (min-width: 640px) { .ct-footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ct-footer-main { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; } }
.ct-footer-logo {
    font-family: var(--font-display);
    font-size: 1.88rem;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}
.ct-footer-calcy {
    color: #fff !important;
}
.ct-footer-brand p {
    font-size: .82rem;
    line-height: 1.65;
    color: rgba(255,255,255,.6);
    margin-bottom: 14px;
}
.ct-footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 14px;
}
.ct-footer-social-link {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s;
    padding: 7px 12px;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}
.ct-footer-social-link:hover {
    background: var(--brand-colour, var(--hc-green));
    border-color: var(--brand-colour, var(--hc-green));
    color: #fff;
}
/* Fallback for old-style <a> social links inside .ct-footer-social */
.ct-footer-social a:not(.ct-footer-social-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: background .15s;
}
.ct-footer-social a:not(.ct-footer-social-link):hover {
    background: var(--hc-green);
    border-color: var(--hc-green);
    color: #fff;
}
/* Social link label — show on wider screens, hide on narrow footer col */
.ct-footer-social-name {
    display: none;
}
@media (min-width: 1200px) {
    .ct-footer-social-name { display: inline; }
}
/* Placeholder social icon (URL not yet set in Customizer) */
.ct-footer-social-placeholder {
    opacity: .55;
    cursor: default;
}
.ct-footer-social-placeholder:hover {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.12) !important;
    color: rgba(255,255,255,.75) !important;
}
.ct-footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    font-family: var(--font-body);
}
.ct-footer-col ul { list-style: none; }
.ct-footer-col ul li { margin-bottom: 9px; }
.ct-footer-col ul a {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
}
.ct-footer-col ul a:hover { color: var(--hc-green); }
.ct-footer-disclaimer-band {
    width: 100%;
    background: linear-gradient(135deg, var(--hc-green-dark), var(--hc-green));
}
.ct-footer-disclaimer {
    padding: 18px 32px;
    max-width: var(--container);
    margin: 0 auto;
}
.ct-footer-disclaimer p { font-size: .72rem; color: rgba(255,255,255,.9); line-height: 1.65; margin: 0; }
.ct-footer-disclaimer strong { color: #fff; }
.ct-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 14px 32px;
    max-width: var(--container);
    margin: 0 auto;
}
.ct-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.ct-footer-copy { font-size: .75rem; color: rgba(255,255,255,.4); margin: 0; }
.ct-footer-legal { display: flex; gap: 16px; }
.ct-footer-legal a { font-size: .75rem; color: rgba(255,255,255,.4); text-decoration: none; }
.ct-footer-legal a:hover { color: rgba(255,255,255,.75); }

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 20px;
    width: 42px; height: 42px;
    background: var(--hc-navy);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hc-shadow-lg);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--hc-green); }

/* ── PAGE TEMPLATE (no sidebar, clean) ── */
.page-clean {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 0 56px;
}

/* ── LANDING PAGE (zero distraction) ── */
body.landing-page .hc-topbar,
body.landing-page .site-header nav,
body.landing-page .menu-toggle,
body.landing-page .site-footer .ct-footer-main,
body.landing-page .site-footer .ct-footer-disclaimer-band,
body.landing-page .ct-footer-legal,
body.landing-page .back-to-top { display: none !important; }
body.landing-page .site-header { border-bottom: 1px solid var(--hc-border); }
body.landing-page .site-header .container { justify-content: center; }
body.landing-page .ct-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 12px 20px; }
body.landing-page .ct-footer-bottom-inner { justify-content: center; }
body.landing-page .ct-footer-copy { text-align: center; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 639px) {
    .post-navigation { grid-template-columns: 1fr; }
    .nav-post.next { text-align: left; }
    .nav-post.next .nav-post-label { justify-content: flex-start; }
    .hc-product-thumb { height: 110px; }
    .ct-footer-main { padding: 36px 20px 28px; }
    .ct-footer-bottom { padding: 12px 20px; }
    .ct-footer-disclaimer { padding: 16px 20px; }
}

/* ── PRINT STYLES ── */
@media print {
    .hc-topbar,
    .site-header nav,
    .menu-toggle,
    .mobile-nav,
    .mobile-nav-overlay,
    .hc-tools-bar,
    .sidebar,
    .related-posts,
    .article-share,
    .back-to-top,
    .hc-ad-zone,
    .ad-unit,
    .hc-ad-incontent,
    .ad-slot-in-content,
    .ct-slider-pause,
    .ct-testimonials-arrows,
    .ct-testimonials-dots,
    .ct-cta-section,
    .site-footer .ct-footer-main,
    .ct-hero-search,
    .hc-btn-buy,
    .hc-btn-enroll,
    .post-navigation,
    .author-box,
    .comments-area {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .site-header {
        position: static;
        border-bottom: 1pt solid #000;
        padding: 8pt 0;
    }

    .article-content,
    .page-content {
        font-size: 11pt;
        line-height: 1.5;
        max-width: 100%;
    }

    .article-content a::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }

    .article-content h2 { font-size: 14pt; page-break-after: avoid; }
    .article-content h3 { font-size: 12pt; page-break-after: avoid; }

    .article-content table {
        border-collapse: collapse;
        width: 100%;
        font-size: 9pt;
    }

    .article-content th,
    .article-content td {
        border: 1pt solid #ccc;
        padding: 4pt 6pt;
    }

    .article-featured-image img {
        max-width: 60%;
        margin: 0 auto 12pt;
    }

    /* Calculator output should print cleanly */
    .salary-calculator-container,
    .dsp-wrap,
    .skillcert-wrap {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .salary-calculator-container table {
        max-width: 100% !important;
        font-size: 10pt;
    }
}
