/* base.css — Variables, Header, Nav, Footer, Shared UI */
/* ===============================================================
   TAXATION360.IN - Premium Common Stylesheet
   Design: Editorial-legal, modern, trustworthy
   Fonts: Merriweather (serif/editorial) + DM Sans (UI/sans)
   Colors: Deep forest green · Aged copper · Warm ivory
   =============================================================== */


/* -- CSS Custom Properties -- */
:root {
    /* Brand: Deep Forest Green */
    --green-950:   #0f2a1f;
    --green-900:   #14301f;
    --green-800:   #1b4332;
    --green-700:   #1f5038;
    --green-600:   #276044;
    --green-500:   #2e7a57;
    --green-400:   #3d9b6e;
    --green-300:   #5eb88a;
    --green-200:   #96cfb3;
    --green-100:   #cce8db;
    --green-50:    #e8f4ee;
    --green-25:    #f2f9f5;
    --green-10:    #f7fcf9;

    /* Brand: Aged Copper */
    --copper-800:  #6b3e10;
    --copper-700:  #8c5218;
    --copper-600:  #b06b2a;
    --copper-500:  #c97e36;
    --copper-400:  #d99048;
    --copper-300:  #e5a96a;
    --copper-200:  #eec495;
    --copper-100:  #f7dfc0;
    --copper-50:   #fdf3e7;
    --copper-25:   #fef9f2;

    /* Ink scale */
    --ink:         #0e1410;
    --ink-90:      #1c2219;
    --ink-80:      #272e24;
    --ink-70:      #363c33;
    --ink-60:      #464c42;
    --ink-50:      #5a6057;
    --ink-40:      #737970;
    --ink-30:      #929890;
    --ink-20:      #b4bab2;
    --ink-10:      #d8ddd7;
    --ink-05:      #ecf0eb;
    --ink-02:      #f5f7f4;

    /* Surfaces */
    --surface:     #ffffff;
    --bg:          #f7faf7;
    --bg-warm:     #faf8f4;
    --bg-parchment:#fdf9f4;

    /* Semantic */
    --primary:        var(--green-800);
    --accent:         var(--copper-500);
    --primary-accent: var(--green-800);

    /* Borders */
    --border:      rgba(20, 48, 31, 0.10);
    --border-med:  rgba(20, 48, 31, 0.17);
    --border-strong: rgba(20, 48, 31, 0.26);

    /* Shadows */
    --shadow-xs:   0 1px 3px rgba(14,36,22,0.05);
    --shadow-sm:   0 1px 4px rgba(14,36,22,0.06), 0 2px 10px rgba(14,36,22,0.04);
    --shadow-md:   0 4px 16px rgba(14,36,22,0.09), 0 1px 4px rgba(14,36,22,0.05);
    --shadow-lg:   0 8px 32px rgba(14,36,22,0.12), 0 2px 8px rgba(14,36,22,0.06);
    --shadow-xl:   0 20px 60px rgba(14,36,22,0.16), 0 4px 16px rgba(14,36,22,0.08);

    /* Typography */
    --font-serif:  'Merriweather', Georgia, serif;
    --font-sans:   'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono:   'Courier New', Courier, monospace;

    /* Spacing */
    --radius-xs:   3px;
    --radius-sm:   5px;
    --radius-md:   9px;
    --radius-lg:   13px;
    --radius-xl:   18px;

    --nav-height:  46px;

    /* Type Scale */
    --text-2xs: 0.625rem;
    --text-xs:  0.688rem;
    --text-sm:  0.75rem;
    --text-md:  0.875rem;
    --text-base: 1rem;
    --text-lg:  1.1rem;

    /* Motion */
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -- Base Reset & Typography -- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    background: var(--bg-warm);
    color: var(--ink);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

/* -- Global: article content inherits serif font --
   All p, li inside known article containers use Merriweather.
   UI elements (labels, hints, badges) override to --font-sans explicitly.  */
.gng-article p,   .gng-article li,
.itc-article p,   .itc-article li,
.gd-article  p,   .gd-article  li,
.cl-article  p,   .cl-article  li,
.cr-article  p,   .cr-article  li,
.up-article  p,   .up-article  li,
.content-body p,  .content-body li {
    font-family: var(--font-serif);
}



/* ── Scroll offset for sticky nav ── */
[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }


/* ── Keyboard focus accessibility ── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
    margin-top: 0;
}

a {
    color: var(--primary);
    transition: color 0.22s ease;
    text-decoration: none;
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* -- NEW HEADER (masthead style) -- */
/* -- NEW HEADER (masthead style) - scrolls with page -- */
.t360-header {
    position: relative;
    background: var(--surface);
    border-bottom: none;
}

/* ROW 1: dateline | title | search */
.t360-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 16px;
    border-bottom: 1px solid var(--border);
}

/* Sticky nav wrapper - lives outside <header> so it can truly stick */
.t360-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: var(--green-800);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(14,36,22,0.18);
}
.t360-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}
/* Date - absolute left so it doesn't push pills off-center */
.t360-nav-date {
    position: absolute;
    left: 0;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 1;
}
.t360-nav-date .t360-nav-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--copper-400);
    flex-shrink: 0;
}

.t360-dateline {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.t360-site-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
}
.t360-site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.t360-site-logo:hover { opacity: 0.78; }
.t360-header-date {
    font-family: 'Merriweather', serif;
    font-size: 0.66rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-40);
    white-space: nowrap;
    padding-left: 2px;
}

.t360-site-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(0.95rem, 1.6vw, 1.35rem);
    font-weight: 700;
    color: var(--ink-90);
    text-decoration: none;
    text-align: center;
    flex: 1;
    letter-spacing: -0.02em;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 20px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.t360-site-title em {
    font-weight: 400;
    font-style: normal;
    color: var(--ink-40);
    font-size: 0.72em;
    letter-spacing: 0.04em;
    font-family: var(--font-sans);
    text-transform: uppercase;
}
.t360-site-title:hover { color: var(--primary); }
.t360-site-title:hover em { color: var(--copper-600); }

/* Header search */
.t360-header-search {
    display: flex;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    flex-shrink: 0;
    width: 260px;
    box-shadow: 0 1px 4px rgba(14,36,22,0.08), 0 0 0 1px rgba(14,36,22,0.04);
}
.t360-header-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 1px 4px rgba(14,36,22,0.08), 0 0 0 3px rgba(26,61,46,0.10);
}
.t360-header-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 0.83rem;
    color: var(--ink);
    background: transparent;
    font-family: var(--font-sans);
    min-width: 0;
}
.t360-header-search input::placeholder { color: var(--ink-20); }
.t360-header-search button {
    padding: 0 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.81rem;
    transition: background 0.2s;
    flex-shrink: 0;
}
.t360-header-search button:hover { background: var(--green-700); }

/* Search page - header shows label instead of search bar */
.t360-header-search-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-40);
    border: 1px solid var(--border);
    padding: 8px 16px;
    background: var(--bg-warm);
}
.t360-header-search-label i { color: var(--primary); font-size: 0.74rem; }

/* ROW 2: Nav pills */
.t360-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 0;
}

.t360-pill {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 5px 13px;
    border: 1px solid transparent;
    border-radius: var(--radius-xs);
    transition: all 0.20s ease;
    white-space: nowrap;
    font-family: var(--font-sans);
}
.t360-pill:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: rgba(255,255,255,0.12);
}
.t360-pill--active {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-color: rgba(255,255,255,0.16);
}
.t360-pill-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.12);
    margin: 0 6px;
}
.t360-pill--cta {
    background: var(--copper-500);
    color: #fff !important;
    border-color: var(--copper-500);
    box-shadow: 0 2px 8px rgba(201,126,54,0.35);
    margin-left: 4px;
}
.t360-pill--cta:hover {
    background: var(--copper-400);
    border-color: var(--copper-400);
    color: #fff;
    box-shadow: 0 3px 12px rgba(201,126,54,0.45);
}

/* -- Tools dropdown -- */
.t360-pill-drop {
    position: relative;
}
.t360-pill-drop-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}
.t360-drop-arrow {
    font-size: 0.57rem;
    opacity: 0.6;
    transition: transform 0.2s;
}
.t360-pill-drop:hover .t360-drop-arrow {
    transform: rotate(180deg);
}
.t360-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 6px;
    background: transparent;
    z-index: 200;
    min-width: 220px;
}
.t360-pill-drop:hover .t360-dropdown {
    display: block;
}
/* Bridge — invisible area covering gap so hover doesn't break */
.t360-dropdown::before {
    content: '';
    display: block;
    height: 6px;
    width: 100%;
}
.t360-dropdown-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 2px solid var(--copper-500);
    box-shadow: 0 8px 28px rgba(14,36,22,0.14);
}
.t360-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-family: var(--font-sans);
    font-size: 0.80rem;
    color: var(--ink-70);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.14s, color 0.14s;
}
.t360-drop-item:last-of-type { border-bottom: none; }
.t360-drop-item:hover { background: var(--green-10); color: var(--primary); }
.t360-drop-icon {
    font-family: var(--font-sans);
    font-size: 0.60rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: var(--green-900);
    width: 28px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.06em;
    border-radius: 2px;
}
.t360-drop-all {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-sans);
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--green-700);
    text-decoration: none;
    background: var(--green-10);
    border-top: 1px solid var(--green-50);
    text-align: center;
    transition: background 0.14s;
}
.t360-drop-all:hover { background: var(--green-25); color: var(--primary); }

/* -- Mobile drawer sub-links -- */
.t360-drawer-group { display: flex; flex-direction: column; }
/* Mobile bar - shown only on small screens */
.t360-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    height: 52px;
    position: sticky;
    top: 0;
    z-index: 1200;
    background: var(--green-800);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 2px 12px rgba(14,36,22,0.22);
}

.t360-mobile-title {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.t360-mobile-title:hover { opacity: 0.80; }
.t360-mobile-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.t360-mobile-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.70);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.90rem;
    transition: background 0.18s, color 0.18s;
}
.t360-mobile-icon:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Hamburger — 3 clean lines */
.t360-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: background 0.18s;
}
.t360-hamburger:hover { background: rgba(255,255,255,0.08); }
.t360-hamburger span {
    display: block;
    height: 1.5px;
    width: 18px;
    background: rgba(255,255,255,0.75);
    border-radius: 1px;
    transition: background 0.18s;
}
.t360-hamburger:hover span { background: #fff; }

/* -- Mobile Drawer -- */
.t360-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}
.t360-drawer--open { pointer-events: all; }

.t360-drawer-inner {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 285px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
    box-shadow: none;
    z-index: 1;
    overflow: hidden;
}
.t360-drawer--open .t360-drawer-inner {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(14,36,22,0.14);
}

.t360-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,20,14,0.40);
    opacity: 0;
    transition: opacity 0.32s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.t360-drawer--open .t360-drawer-overlay { opacity: 1; }

/* ── Stagger animation ── */
.t360-drawer-inner > * {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.t360-drawer--open .t360-drawer-inner > *:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: none; }
.t360-drawer--open .t360-drawer-inner > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.t360-drawer--open .t360-drawer-inner > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
.t360-drawer--open .t360-drawer-inner > *:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: none; }

/* Head */
.t360-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 52px;
    background: var(--green-800);
    flex-shrink: 0;
    border-bottom: 2px solid var(--copper-500);
    position: relative;
    overflow: hidden;
}
.t360-drawer-head::after {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.t360-drawer-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.t360-drawer-brand-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--copper-400);
    display: inline-block;
    animation: drawerDotPulse 2s ease-in-out infinite;
}
@keyframes drawerDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}
.t360-drawer-close {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.10);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    font-size: 0.76rem;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.t360-drawer-close:hover {
    background: rgba(255,255,255,0.20);
    color: #fff;
    transform: rotate(90deg);
}

/* CTA */
.t360-drawer-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    background: var(--green-25);
    border-bottom: 1px solid var(--green-100);
    color: var(--green-800);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s, padding-left 0.18s;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}
.t360-drawer-cta:hover { background: var(--green-50); color: var(--green-800); padding-left: 22px; }
.t360-drawer-cta i { font-size: 0.84rem; color: var(--green-700); }

/* Nav scroll area */
.t360-drawer-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0 0;
    background: var(--surface);
}
.t360-drawer-nav::-webkit-scrollbar { width: 3px; }
.t360-drawer-nav::-webkit-scrollbar-track { background: transparent; }
.t360-drawer-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Group labels */
.t360-drawer-group-label {
    padding: 12px 16px 4px;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--copper-600);
    font-family: var(--font-sans);
}

/* Links — with left indicator animation */
.t360-drawer-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ink-70);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.16s, color 0.16s;
    font-family: var(--font-sans);
    overflow: hidden;
}
.t360-drawer-link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.20s cubic-bezier(0.22,1,0.36,1);
    border-radius: 0 2px 2px 0;
}
.t360-drawer-link:hover::before { transform: scaleY(1); }
.t360-drawer-link:hover { background: var(--green-10); color: var(--primary); }
.t360-drawer-link i {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--green-600);
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: color 0.16s, transform 0.16s;
}
.t360-drawer-link:hover i { color: var(--primary); transform: scale(1.1); }
.t360-drawer-link--active {
    color: var(--primary);
    font-weight: 700;
    background: var(--green-10);
}
.t360-drawer-link--active::before { transform: scaleY(1); }
.t360-drawer-link--active i { color: var(--primary); }

/* Sub-links */
.t360-drawer-sub {
    display: none;
    background: var(--ink-02);
    border-bottom: 1px solid var(--border);
}
.t360-drawer-sub.open { display: block; animation: drawerSubOpen 0.22s ease; }
@keyframes drawerSubOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.t360-drawer-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 36px;
    font-size: 0.78rem;
    color: var(--ink-50);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.14s, color 0.14s, padding-left 0.14s;
    font-family: var(--font-sans);
}
.t360-drawer-sub-link:last-child { border-bottom: none; }
.t360-drawer-sub-link::before { content: '›'; color: var(--ink-20); font-size: 0.85rem; }
.t360-drawer-sub-link:hover { background: var(--green-10); color: var(--primary); padding-left: 40px; }

/* Chevron */
.t360-drawer-chevron {
    font-size: 0.68rem;
    color: var(--ink-30);
    transition: transform 0.22s cubic-bezier(0.22,1,0.36,1), color 0.16s;
    margin-left: auto;
}
.t360-drawer-chevron.open { transform: rotate(180deg); color: var(--primary); }

/* Footer */
.t360-drawer-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0;
    flex-shrink: 0;
    background: var(--ink-02);
}
.t360-drawer-small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-40);
    text-decoration: none;
    transition: color 0.16s;
    font-family: var(--font-sans);
    padding-right: 12px;
    border-right: 1px solid var(--border);
    margin-right: 12px;
    line-height: 1;
}
.t360-drawer-small:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.t360-drawer-small:hover { color: var(--primary); }


/* -- BREADCRUMB -- */
.breadcrumb-section {
    padding: 8px 0;
    background: var(--bg);
    font-size: 0.81rem;
    border-bottom: 1px solid var(--border);
    color: var(--ink-40);
}
.breadcrumb { margin-bottom: 0; background: transparent; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--ink-60); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ink-20); }

/* -- BUTTONS -- */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    font-size: 0.87rem;
    letter-spacing: 0.01em;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 2px 10px rgba(26,61,46,0.2);
}
.btn-primary:hover {
    background: var(--green-700) !important;
    border-color: var(--green-700) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,61,46,0.28);
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    font-size: 0.87rem;
    transition: all 0.25s var(--ease-out);
}
.btn-outline-primary:hover {
    background: var(--green-50) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* -- FORM CONTROLS -- */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,61,46,0.09);
}

/* -- CARDS -- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-med);
}
.card-body { padding: 1.5rem; }
.card-img-top { height: 200px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* -- BADGE -- */
.badge.bg-primary { background: var(--primary) !important; }
.badge.bg-success { background: var(--green-600) !important; }
.text-primary { color: var(--primary) !important; }
.bg-primary-subtle { background: var(--green-50) !important; }

/* -- HERO (legacy) -- */
.hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--green-50) 60%, #e5f2ea 100%);
    position: relative;
}
.hero-section h1 {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}
.hero-section p { color: var(--ink-60); margin: 0 0 10px; max-width: 700px; }

/* -- SEARCH BAR -- */
.search-bar-section {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    background: var(--surface);
}
.search-bar-section .form-control-lg {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 1rem 1.5rem;
    font-size: 0.97rem;
    border: 1px solid var(--border);
    font-family: 'Merriweather', serif;
}
.search-bar-section .form-control-lg:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,61,46,0.09); }
.search-bar-section .btn-lg { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 2rem; }

/* -- UTILITIES -- */
hr { border-color: var(--border); opacity: 1; }

/* -- BACK TO TOP -- */
/* ── Global floating WhatsApp (case inquiry) ── */
.t360-float-wa {
    position: fixed;
    bottom: 28px; right: 28px;
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff;
    font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
    padding: 10px 14px; border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(14,36,22,0.25);
    z-index: 1200;
    transition: transform 0.18s, box-shadow 0.18s;
}
.t360-float-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(14,36,22,0.3); color:#fff; }
.t360-float-wa .bi-whatsapp { font-size: 1.05rem; }
@media (max-width: 900px) {
    .t360-float-wa {
        bottom: 72px; right: 14px;
        width: 46px; height: 46px; padding: 0;
        justify-content: center; border-radius: 50%;
    }
    .t360-float-wa .bi-whatsapp { font-size: 1.25rem; }
    .t360-float-wa-label { display: none; }  /* icon-only on mobile */
}

.t360-btt {
    position: fixed;
    bottom: 84px; right: 28px;
    width: 38px; height: 38px;
    background: var(--green-800);
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.97rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, background 0.2s, color 0.2s;
}
.t360-btt--show { opacity: 1; visibility: visible; }
.t360-btt:hover { background: var(--green-700); color: #fff; }



/* ===============================================================
   PRINT STYLES
   =============================================================== */
@media print {
    .t360-header,
    .t360-mobile-bar,
    .t360-nav-wrap,
    .t360-drawer,
    .t360-footer,
    .t360-btt,
    .up-sidebar,
    .up-filter-bar,
    .up-pagination,
    .sm-share,
    .breadcrumb-section { display: none !important; }

    body {
        font-family: Georgia, serif;
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container { max-width: 100%; padding: 0; }

    a { color: #000; text-decoration: none; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
    a[href^="#"]::after,
    a[href^="javascript"]::after { content: ""; }

    .up-article,
    .cl-article,
    .cr-article,
    .gd-article { border: none !important; padding: 0 !important; box-shadow: none !important; }

    h1, h2, h3 { page-break-after: avoid; }
    table { page-break-inside: avoid; }
    tr { page-break-inside: avoid; }

    /* Case law print — show full content */
    .cl-meta-grid { display: block !important; }
    .cl-tabs-nav { display: none !important; }
    .cl-tab-pane { display: block !important; opacity: 1 !important; }
}
/* ===============================================================
   HEADER RESPONSIVE
   =============================================================== */
@media (max-width: 900px) {
    /* Hide desktop top bar and sticky nav, show mobile bar */
    .t360-header-top  { display: none; }
    .t360-header-nav  { display: none; }
    .t360-nav-wrap    { display: none; }
    .t360-mobile-bar  { display: flex; }
    .t360-hamburger   { display: flex; }
}

/* ===============================================================
   FOOTER
   =============================================================== */

.t360-footer {
    background: var(--green-800);
    border-top: none;
}
.t360-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--green-800) 0%, var(--green-600) 55%, var(--copper-500) 100%);
}

.t360-footer-inner {
    padding: 52px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Nameplate */
.t360-footer-nameplate {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 28px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.t360-footer-name {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    flex-shrink: 0;
    padding-top: 2px;
}
.t360-footer-name:hover { opacity: 0.82; }
.t360-footer-desc {
    font-size: 0.83rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.85;
    margin: 0;
}
/* WhatsApp footer widget */
.t360-footer-wa {
    flex-shrink: 0;
    border: 1px solid rgba(37,211,102,0.2);
    padding: 14px 16px;
    min-width: 220px;
}
.t360-footer-wa-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.t360-footer-wa-icon { color: #25D366; font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.t360-footer-wa-title { font-family: 'DM Sans',system-ui,sans-serif; font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.85); margin: 0 0 2px; }
.t360-footer-wa-sub   { font-family: 'DM Sans',system-ui,sans-serif; font-size: 0.67rem; color: rgba(255,255,255,0.38); margin: 0; line-height: 1.5; }
.t360-footer-wa-btn {
    display: block; text-align: center;
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.25);
    color: #25D366;
    font-family: 'DM Sans',system-ui,sans-serif;
    font-size: 0.73rem; font-weight: 700;
    padding: 8px 14px; text-decoration: none;
    transition: background .15s;
}
.t360-footer-wa-btn:hover { background: rgba(37,211,102,0.22); color: #25D366; }

/* Columns */
.t360-footer-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}
.t360-fcol { }
.t360-fcol-head {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--copper-300);
    margin: 0 0 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}
.t360-flink {
    display: block;
    font-size: 0.83rem;
    font-weight: 400;
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color 0.18s;
    font-family: var(--font-sans);
}
.t360-flink:hover { color: #fff; }
.t360-flink--ext { color: var(--copper-400); }
.t360-flink--ext:hover { color: #e8a860; }
.t360-footer-gstin {
    font-size: 0.70rem;
    color: rgba(255,255,255,0.50);
    margin: 14px 0 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}

/* Bottom strip */
.t360-footer-base { padding: 14px 0; }
.t360-footer-base-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.t360-footer-copy {
    font-size: 0.77rem;
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    margin: 0;
    line-height: 1.6;
}
.t360-footer-copy a {
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    transition: color 0.15s;
}
.t360-footer-copy a:hover { color: var(--copper-400); }
.t360-footer-legal { display: flex; align-items: center; gap: 16px; }
.t360-flegal-link {
    font-size: 0.74rem;
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color 0.15s;
}
.t360-flegal-link:hover { color: rgba(255,255,255,0.82); }

/* Footer responsive */
@media (max-width: 900px) {
    .t360-footer-nameplate { grid-template-columns: 1fr; gap: 14px; }
    .t360-footer-wa { min-width: unset; }
    .t360-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
    .t360-footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
    .t360-footer-base-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===============================================================
   PAGE LOADER
   =============================================================== */
#t360-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
#t360-loader.t360-loader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.t360-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.t360-loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: t360-pulse 1.4s ease-in-out infinite;
}
@keyframes t360-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}
.t360-loader-bar-wrap {
    width: 120px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    overflow: hidden;
}
.t360-loader-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 1px;
    animation: t360-bar 1s ease-in-out infinite;
    transform-origin: left;
}
@keyframes t360-bar {
    0% { width: 0%; margin-left: 0; }
    50% { width: 80%; margin-left: 0; }
    100% { width: 0%; margin-left: 100%; }
}

/* ===============================================================
   READING PROGRESS BAR
   =============================================================== */
#t360-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--copper-600);
    z-index: 9998;
    transition: width 0.1s linear;
    display: none;
}

/* ===============================================================
   ESTIMATED READ TIME - .t360-read-time
   =============================================================== */
.t360-read-time {
    font-size: 0.72rem;
    color: var(--ink-40);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-style: italic;
}
.t360-read-time i { font-size: 0.68rem; }

/* ===============================================================
   404 PAGE
   =============================================================== */
.e404-wrap {
    padding: 60px 0 72px;
    background: var(--bg-warm);
    min-height: 60vh;
}
.e404-main {
    max-width: 640px;
    margin: 0 auto;
}
.e404-code {
    font-family: 'Merriweather', serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    color: var(--border-med);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}
.e404-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.e404-sub {
    font-size: 0.90rem;
    color: var(--ink-60);
    line-height: 1.8;
    margin: 0 0 28px;
    font-weight: 300;
    max-width: 480px;
}

/* Search bar */
.e404-search { margin-bottom: 28px; }
.e404-search-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-med);
    background: var(--surface);
    box-shadow: 0 2px 12px rgba(15,36,25,0.06);
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.e404-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,61,46,0.08);
}
.e404-search-icon {
    display: flex;
    align-items: center;
    padding: 0 14px 0 16px;
    color: var(--ink-40);
    font-size: 0.85rem;
    pointer-events: none;
}
.e404-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-family: 'Merriweather', serif;
    font-size: 0.90rem;
    color: var(--ink);
    background: transparent;
    min-width: 0;
}
.e404-search-input::placeholder { color: var(--ink-20); font-weight: 300; }
.e404-search-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 20px;
    margin: 5px 5px 5px 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Merriweather', serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s;
    white-space: nowrap;
}
.e404-search-btn:hover { background: var(--green-700); }

/* Quick links */
.e404-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.e404-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-60);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--surface);
    transition: all 0.15s;
}
.e404-link i { font-size: 0.76rem; color: var(--primary); }
.e404-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.e404-link:hover i { color: #fff; }

/* Recent content */
.e404-recent-head {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin: 0 0 4px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
}
.e404-recent-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.12s;
    flex-wrap: wrap;
}
.e404-recent-item:hover { background: var(--green-25); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.e404-recent-title {
    flex: 1;
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    min-width: 0;
    transition: color 0.15s;
}
.e404-recent-item:hover .e404-recent-title { color: var(--primary); }
.e404-recent-date {
    font-size: 0.70rem;
    color: var(--ink-40);
    font-style: italic;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===============================================================
   SHARE MODULE - .sm- prefix
   =============================================================== */

/* Back + Share bar */
.sm-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0 0;
    margin-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.sm-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-60);
    text-decoration: none;
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--surface);
    transition: all 0.15s;
}
.sm-back i { font-size: 0.74rem; }
.sm-back:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.sm-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Merriweather', serif;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary);
    border: none;
    padding: 7px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s;
}
.sm-share-btn i { font-size: 0.76rem; }
.sm-share-btn:hover { background: var(--green-700); }

/* Modal overlay */
.sm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10,20,14,0.55);
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}
.sm-modal {
    background: var(--surface);
    width: 100%;
    max-width: 400px;
    border-radius: 0;
    border-top: 3px solid var(--primary);
    overflow: hidden;
}
.sm-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--ink-02);
}
.sm-modal-title {
    font-family: 'Merriweather', serif;
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.sm-modal-close {
    width: 28px; height: 28px;
    background: var(--ink-05);
    border: 1px solid var(--border);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-60);
    cursor: pointer;
    font-size: 0.81rem;
    transition: background 0.15s;
}
.sm-modal-close:hover { background: var(--green-50); color: var(--primary); }
.sm-modal-body { padding: 24px 20px 20px; }

/* Social icons */
.sm-share-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.sm-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    flex-shrink: 0;
}
.sm-icon:hover { transform: translateY(-2px); opacity: 0.85; }
.sm-icon--whatsapp  { background: #25d366; color: #fff; }
.sm-icon--twitter   { background: #1da1f2; color: #fff; }
.sm-icon--linkedin  { background: #0077b5; color: #fff; }
.sm-icon--facebook  { background: #1877f2; color: #fff; }
.sm-icon--email     { background: var(--ink-05); color: var(--ink-60); border: 1px solid var(--border); }

/* Copy link row */
.sm-copy-wrap {
    display: flex;
    gap: 8px;
}
.sm-copy-input {
    flex: 1;
    font-family: 'Merriweather', serif;
    font-size: 0.79rem;
    color: var(--ink-60);
    background: var(--bg-warm);
    border: 1px solid var(--border-med);
    border-radius: 0;
    padding: 8px 10px;
    outline: none;
    min-width: 0;
    cursor: text;
}
.sm-copy-btn {
    font-family: 'Merriweather', serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary);
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}
.sm-copy-btn:hover { background: var(--green-700); }

/* ===============================================================
   GLOBAL FOCUS VISIBLE - keyboard navigation accessibility
   =============================================================== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===============================================================
   GLOBAL PAGE MASTHEAD - .page-masthead prefix
   Used on: Tools pages, Services page, and any future pages
   =============================================================== */
.page-masthead {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--surface) 65%);
    border-bottom: 2px solid var(--green-100);
    padding: 22px 0 20px;
    position: relative;
    overflow: hidden;
}
.page-masthead::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: var(--green-100);
    opacity: 0.35;
    pointer-events: none;
}
.page-masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}
.page-masthead-left { display: flex; align-items: center; gap: 14px; }
.page-masthead-icon {
    width: 44px; height: 44px;
    background: var(--green-900);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.page-masthead-icon i,
.page-masthead-icon span {
    font-family: var(--font-serif);
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.04em;
    line-height: 1;
}
.page-masthead-icon i { font-size: 1rem; }
.page-masthead-breadcrumb {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin: 4px 0 0;
    font-family: var(--font-sans);
}
.page-masthead-breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 700; }
.page-masthead-breadcrumb a:hover { text-decoration: underline; }
.page-masthead-title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
}
/* wrapper div inside page-masthead-left needs flex-col */
.page-masthead-left > div {
    display: flex;
    flex-direction: column;
}
.page-masthead-sub {
    font-size: 0.81rem;
    color: var(--ink-40);
    margin: 5px 0 0;
    line-height: 1.6;
    max-width: 520px;
}
.page-masthead-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.page-masthead-badge {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--green-200);
    color: var(--green-700);
    background: #fff;
}
.page-masthead-meta {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    color: var(--ink-40);
    font-style: italic;
    border-left: 2px solid var(--green-200);
    padding-left: 12px;
}
@media (max-width: 640px) {
    .page-masthead-badges { display: none; }
    .page-masthead-meta { display: none; }
}

/* ======================================================
/* ================================================================
   ITR SEASON BANNER v4 — Interactive & Lively
   Same look, added: scan animation, pulse dot, D:H:M countdown,
   active-dl shimmer, CTA hover lift, topline shimmer
   ================================================================ */

/* ── Animations ── */
@keyframes itr-pulse {
    0%, 100% { opacity: 1;  transform: scale(1);   }
    50%       { opacity: .4; transform: scale(.65); }
}
@keyframes itr-fadein {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0);   }
}
@keyframes itr-flip {
    0%   { transform: translateY(0);    opacity: 1; }
    45%  { transform: translateY(-8px); opacity: 0; }
    55%  { transform: translateY(8px);  opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* Copper gradient topline — animated shimmer */
.itr-b-topline {
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--green-800) 0%,
        var(--copper-600) 30%,
        var(--copper-400) 55%,
        var(--copper-600) 70%,
        var(--green-800) 100%
    );
}

/* Full-width outer wrapper */
.itr-b {
    background: var(--green-950);
    border-bottom: 1px solid rgba(201, 126, 54, 0.22);
    position: relative;
}


/* Inner — uses .container so width matches nav & body */
.itr-b-container {
    display: flex;
    align-items: stretch;
    min-height: 56px;
    position: relative;
    z-index: 1;
    animation: itr-fadein 0.5s ease both;
}

/* ── LEFT: Season label block ── */
.itr-b-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    gap: 12px;
    min-width: 136px;
}
.itr-b-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
/* Mobile-only days — hidden on desktop */
.itr-b-mob-days {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}
.itr-b-mob-days-n {
    font-family: var(--font-serif);
    font-size: 1.60rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
}
.itr-b-mob-days-l {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.itr-b-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper-500);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pulsing live dot next to "Filing Season" */
.itr-b-eyebrow::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--copper-400);
    animation: itr-pulse 1.6s ease-in-out infinite;
    flex-shrink: 0;
}
.itr-b-heading {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
}
.itr-b-ay {
    font-family: var(--font-sans);
    font-size: 0.60rem;
    color: rgba(255, 255, 255, 0.60);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ── MIDDLE ── */
.itr-b-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 0;
    min-width: 0;
    overflow: hidden;
}

/* Three deadline cells */
.itr-b-deadlines {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}
.itr-b-dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    gap: 1px;
    position: relative;
    transition: background 0.3s ease;
}
.itr-b-dl:last-child { border-right: none; }

/* Active deadline — copper top bar + background */
.itr-b-dl--active {
    background: rgba(201, 126, 54, 0.10);
}
.itr-b-dl--active::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--copper-500);
}
.itr-b-dl-who {
    font-family: var(--font-sans);
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    white-space: nowrap;
}
.itr-b-dl-date {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.itr-b-dl--active .itr-b-dl-date {
    color: var(--copper-300);
}
.itr-b-dl-form {
    font-family: var(--font-sans);
    font-size: 0.56rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

/* Separator */
.itr-b-sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    align-self: stretch;
    margin: 10px 16px;
    flex-shrink: 0;
}

/* ── Countdown — D : H : M ── */
.itr-b-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 1px;
}
.itr-b-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.itr-b-cd-num {
    font-family: var(--font-sans);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
}
.itr-b-cd-unit {
    font-family: var(--font-sans);
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Trust signals */
.itr-b-trust {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 0 0 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.itr-b-trust-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    font-size: 0.70rem;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}
.itr-b-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--copper-500);
    flex-shrink: 0;
}

/* ── RIGHT: CTA ── */
.itr-b-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 0 12px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}
.itr-b-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: var(--copper-500);
    border: 1px solid var(--copper-500);
    border-radius: var(--radius-xs);
    padding: 8px 16px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 126, 54, 0.35);
    transition: background 0.20s ease, border-color 0.20s ease,
                box-shadow 0.20s ease, transform 0.15s ease;
}
.itr-b-cta-btn:hover {
    background: var(--copper-400);
    border-color: var(--copper-400);
    color: #fff;
    box-shadow: 0 4px 16px rgba(201, 126, 54, 0.55);
    transform: translateY(-2px);
}
.itr-b-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(201, 126, 54, 0.35);
}
.itr-b-cta-arr {
    font-size: 0.80rem;
    transition: transform 0.18s ease;
}
.itr-b-cta-btn:hover .itr-b-cta-arr {
    transform: translateX(3px);
}
.itr-b-cta-note {
    font-family: var(--font-sans);
    font-size: 0.60rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.itr-b--hidden { display: none !important; }

/* ── RESPONSIVE ── */

/* Trust hide below 1140px */
@media (max-width: 1140px) {
    .itr-b-trust { display: none; }
}

/* Seps hide below 980px — countdown repositioned on mobile */
@media (max-width: 980px) {
    .itr-b-sep { display: none; }
}

/* ── Mobile below 900px ──
   Row 1: brand (left)  |  days count (right)
   Row 2: deadlines — full width
   Row 3: cta-note (left)  |  button (right)
── */
@media (max-width: 900px) {

    /* Stack rows vertically, no gap (each row has own padding) */
    .itr-b-container {
        flex-direction: column;
        min-height: unset;
        padding: 0;
        gap: 0;
    }

    /* Row 1: brand + days */
    .itr-b-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.07);
        padding: 10px 16px 9px;
        min-width: unset;
        gap: 12px;
    }
    .itr-b-ay { display: none; }
    .itr-b-eyebrow { margin-bottom: 2px; }

    /* Mobile days — show in brand row */
    .itr-b-mob-days { display: flex; }

    /* Countdown in main — hidden on mobile (mob-days takes over) */
    .itr-b-countdown { display: none; }

    /* Row 2: main (deadlines only, trust hidden) */
    .itr-b-main {
        padding: 9px 16px;
        gap: 0;
        align-items: stretch;
        flex-wrap: nowrap;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .itr-b-deadlines {
        flex: 1;
        min-width: 0;
    }
    .itr-b-dl      { padding: 7px 0; flex: 1; }
    .itr-b-dl-date { font-size: 0.85rem; }
    .itr-b-sep     { display: none; }
    .itr-b-trust   { display: none; }

    /* Row 3: CTA */
    .itr-b-cta-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-left: none;
        border-top: none;
        padding: 9px 16px;
        gap: 10px;
        width: 100%;
    }
    .itr-b-cta-btn  { font-size: 0.75rem; padding: 9px 16px; white-space: nowrap; }
    .itr-b-cta-note { display: block; font-size: 0.72rem; color: rgba(255,255,255,.55); }
}

/* Small phones */
@media (max-width: 420px) {
    .itr-b-dl-form  { display: none; }
    .itr-b-dl-who   { font-size: 0.62rem; }
    .itr-b-cta-btn  { font-size: 0.70rem; padding: 8px 12px; }
    .itr-b-cta-note { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .itr-b-eyebrow::before { animation: none; }
}

/* ===============================================================
   MOBILE BOTTOM ACTION BAR
   Two sticky buttons: Ask a Question | Book Consultation
   Shown only on mobile (≤900px), appears after 120px scroll
   =============================================================== */

.t360-mob-bar {
    display: none; /* shown via JS after scroll */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--surface);
    border-top: 1.5px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15,36,25,0.10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.t360-mob-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.t360-mob-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 12px;
    font-family: 'Merriweather', serif;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.t360-mob-bar-btn i { font-size: 0.83rem; flex-shrink: 0; }

/* Left - Ask a Question: outlined/light */
.t360-mob-bar-btn--ask {
    background: var(--surface);
    color: var(--primary);
    border-right: 1px solid var(--border);
}
.t360-mob-bar-btn--ask:hover { background: var(--green-50); color: var(--primary); }

/* Right - Book Consultation: filled/primary */
.t360-mob-bar-btn--consult {
    background: var(--primary);
    color: #fff;
}
.t360-mob-bar-btn--consult:hover { background: var(--green-700); color: #fff; }

/* Push body content up so bar doesn't cover page bottom */
@media (max-width: 900px) {
    body { padding-bottom: 60px; }

    /* Shift back-to-top button above the bar */
    .t360-btt { bottom: 128px !important; }
}
