/**
 * SheetPro Theme Custom Styles
 */

/* WordPress Core Alignment */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* WordPress Navigation */
.nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: 0.5rem 1rem; border: 1px solid #e5e7eb; border-radius: 0.5rem; }
.nav-links .current { background: #00843D; color: white; border-color: #00843D; }
.nav-links a:hover { background: #f9fafb; }

/* Custom Logo */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 40px; width: auto; }

/* Navigation Menu Items */
.menu-item a { color: #374151; font-weight: 500; transition: color 0.15s; }
.menu-item a:hover { color: #00843D; }
.current-menu-item a { color: #00843D; }

/* Widget Styles */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; color: white; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 0.5rem; }
.widget ul li a { color: #9ca3af; transition: color 0.15s; }
.widget ul li a:hover { color: white; }

/* FAQ accordion (as-*) */
.as-faq-q[aria-expanded="true"] .as-faq-q-mark svg { transform: rotate(180deg); }

/* Download Button Animation */
.download-btn { position: relative; overflow: hidden; }
.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.download-btn:active::after { width: 200px; height: 200px; }

/* Mobile Menu */
#mobile-menu.active { display: block; }

/* Cookie Banner Animation */
#cookie-banner.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: #00843D;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 40;
}
#scroll-to-top:hover { background: #006B31; transform: translateY(-2px); }
#scroll-to-top.show { display: flex; }

/* Print Styles */
@media print {
    header, footer, .download-btn, #cookie-banner, #scroll-to-top { display: none !important; }
    body { font-size: 12pt; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #00843D;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   EXCEL MOCKUP STYLES
   ===================================================== */

.excel-mockup-container {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.excel-mockup-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.excel-window {
    background: #f3f3f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 11px;
}

/* Title Bar */
.excel-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #217346 0%, #1a5c38 100%);
    padding: 6px 12px;
    color: white;
}

.excel-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.excel-icon {
    width: 18px;
    height: 18px;
}

.excel-filename {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.95;
}

.excel-titlebar-buttons {
    display: flex;
    gap: 8px;
}

.excel-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.excel-btn.minimize { background: #f5c242; }
.excel-btn.maximize { background: #3dc04f; }
.excel-btn.close { background: #ed594a; }

/* Ribbon */
.excel-ribbon {
    background: #217346;
    padding: 4px 12px;
    border-bottom: 1px solid #1a5c38;
}

.excel-ribbon-tabs {
    display: flex;
    gap: 16px;
    color: white;
    font-size: 11px;
}

.excel-ribbon-tabs span {
    padding: 4px 0;
    opacity: 0.7;
    cursor: pointer;
}

.excel-ribbon-tabs span.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

/* Formula Bar */
.excel-formula-bar {
    display: flex;
    align-items: center;
    background: white;
    border-bottom: 1px solid #d6d6d6;
    padding: 4px 8px;
    gap: 8px;
}

.excel-cell-ref {
    min-width: 50px;
    padding: 2px 6px;
    background: #f5f5f5;
    border: 1px solid #d6d6d6;
    font-size: 10px;
    text-align: center;
}

.excel-fx {
    color: #666;
    font-style: italic;
    font-size: 10px;
}

.excel-formula-input {
    flex: 1;
    padding: 2px 6px;
    background: white;
    border: 1px solid #d6d6d6;
    font-size: 10px;
    color: #333;
    min-height: 18px;
}

/* Spreadsheet Grid */
.excel-sheet-area {
    background: white;
    overflow: hidden;
}

.excel-grid {
    display: grid;
    grid-template-columns: 30px repeat(5, 1fr);
    border: 1px solid #d6d6d6;
}

.excel-corner {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.excel-col-header {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    padding: 4px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.excel-row-header {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    padding: 4px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.excel-cell {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 4px 6px;
    min-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

/* Cell Types */
.excel-cell.header-cell {
    background: #217346;
    color: white;
    font-weight: 600;
}

.excel-cell.number-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.excel-cell.currency-cell {
    text-align: right;
    color: #1a5c38;
    font-weight: 500;
}

.excel-cell.total-label {
    font-weight: 600;
    text-align: right;
}

.excel-cell.total-cell {
    font-weight: 700;
    text-align: right;
    background: #f0f7f4;
}

.excel-cell.total-cell.highlight {
    background: #d4edda;
    color: #155724;
}

.excel-cell.positive {
    color: #28a745;
}

.excel-cell.warning {
    color: #ffc107;
}

.excel-cell.critical {
    color: #dc3545;
    font-weight: 600;
}

/* Sheet Tabs */
.excel-sheet-tabs {
    display: flex;
    align-items: flex-end;
    background: #e0e0e0;
    padding: 4px 8px 0;
    gap: 2px;
}

.excel-sheet-tab {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 4px 4px 0 0;
    font-size: 10px;
    color: #666;
    cursor: pointer;
    border: 1px solid #c0c0c0;
    border-bottom: none;
}

.excel-sheet-tab.active {
    background: white;
    color: #333;
    font-weight: 500;
}

.excel-sheet-tab-add {
    padding: 4px 8px;
    color: #888;
    cursor: pointer;
    font-size: 12px;
}

/* Status Bar */
.excel-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #217346;
    padding: 3px 12px;
    color: white;
    font-size: 10px;
}

.excel-status-left {
    opacity: 0.9;
}

.excel-zoom {
    opacity: 0.8;
}

/* Decorative Elements */
.excel-mockup-shadow {
    position: absolute;
    bottom: -15px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

.excel-mockup-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

/* Preview Notice */
.excel-preview-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.excel-preview-notice .notice-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.excel-preview-notice p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.excel-preview-notice strong {
    color: white;
}

/* ============ AussieSheets find/search (as-find) — label-wrapped field ============ */
.as-find { display: block; }
.as-find-field { position: relative; display: flex; align-items: center; width: 100%; }
.as-find--header { display: none; max-width: 30rem; margin-left: 2.5rem; margin-right: 2.5rem; }
@media (min-width: 768px) { .as-find--header { display: block; flex: 1; } }
@media (max-width: 1100px){ .as-find--header { margin-left:1.25rem; margin-right:1.25rem; } }
.as-find-input {
  width: 100%; padding: 0.55rem 2.6rem 0.55rem 2.4rem;
  font-size: 0.875rem; color: #111827;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 0.6rem;
  outline: none; transition: box-shadow .15s, border-color .15s; -webkit-appearance: none;
}
.as-find-input:focus { border-color: var(--as-green,#00843D); box-shadow: 0 0 0 3px rgba(0,132,61,.18); background:#fff; }
.as-find-icon { position:absolute; left:0.8rem; top:50%; transform:translateY(-50%); display:flex; width:1rem; height:1rem; color:#9ca3af; pointer-events:none; }
.as-find-icon svg { width:100%; height:100%; }
.as-find-go { position:absolute; right:0.35rem; top:50%; transform:translateY(-50%); background:transparent; border:0; cursor:pointer; padding:0.3rem; color:#9ca3af; display:flex; align-items:center; }
.as-find-go:hover { color: var(--as-green,#00843D); }
/* hero variant: pill field with trailing solid button */
.as-find--hero { max-width:36rem; margin:0 0 2rem; }
.as-find--hero .as-find-input { padding:1rem 7.8rem 1rem 2.9rem; font-size:1rem; background:#fff; border:0; border-radius:0.85rem; box-shadow:0 20px 40px -12px rgba(0,0,0,.35); }
.as-find--hero .as-find-icon { left:1.1rem; width:1.25rem; height:1.25rem; }
.as-find-go--text { position:absolute; right:0.5rem; top:50%; transform:translateY(-50%); background:var(--as-gold,#FFCD00); color:var(--as-ink,#0F2417); font-weight:700; border:0; border-radius:0.6rem; padding:0.6rem 1.4rem; cursor:pointer; transition:background .15s, transform .15s; }
.as-find-go--text:hover { background:#FFD93B; transform:translateY(-50%) scale(1.02); }
/* mobile variant */
.as-find--mobile { padding:0 0.5rem 0.5rem; display:block; }

/* primary nav (as-nav) */
.as-nav { gap: 1.75rem; }
.as-nav > ul { display:flex; align-items:center; gap:1.75rem; margin:0; padding:0; list-style:none; }
.as-nav > ul > a, .as-nav > ul > li, .as-nav > ul > li > a, .as-nav a { white-space: nowrap; }
.as-navlink:hover { color: var(--as-green,#00843D); }
.as-crumb:hover { color: var(--as-green,#00843D); }

/* ═══════════════════════════════════════════════════
   AussieSheets identity — Australian green & gold
   Green #00843D (primary) + Gold #FFCD00 (accent)
   Overrides the Tailwind blue palette site-wide
   ═══════════════════════════════════════════════════ */
:root {
    --as-green: #00843D;
    --as-green-dark: #006B31;
    --as-green-light: #00A651;
    --as-gold: #FFCD00;
    --as-gold-dark: #E6B800;
    --as-ink: #0F2417;
    --avg-primary: #00843D;
    --avg-secondary: #00A651;
}
/* Blue overrides → green/gold */
.from-blue-900 { --tw-gradient-from: #00843D !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0,132,61,0)) !important; }
.via-blue-800 { --tw-gradient-stops: var(--tw-gradient-from), #00763A, var(--tw-gradient-to, rgba(0,118,58,0)) !important; }
.to-blue-700 { --tw-gradient-to: #006B31 !important; }
.bg-blue-600, .bg-blue-700 { background-color: #00843D !important; }
.hover\:bg-blue-700:hover { background-color: #006B31 !important; }
.hover\:bg-blue-600:hover { background-color: #00843D !important; }
.text-blue-600 { color: #00843D !important; }
.text-blue-700 { color: #006B31 !important; }
.hover\:text-blue-600:hover { color: #00843D !important; }
.hover\:text-blue-700:hover { color: #006B31 !important; }
.text-blue-100 { color: #C8EBD5 !important; }
.text-blue-200 { color: #A6DCBC !important; }
.text-blue-800, .text-blue-900 { color: #00843D !important; }
.bg-blue-100 { background-color: #DCF2E5 !important; }
.bg-blue-50 { background-color: #ECF8F1 !important; }
.bg-blue-800, .bg-blue-900 { background-color: #00843D !important; }
.border-blue-200 { border-color: #BFE6CE !important; }
.border-blue-600 { border-color: #00843D !important; }
.hover\:bg-blue-50:hover { background-color: #ECF8F1 !important; }
.hover\:border-blue-200:hover { border-color: #BFE6CE !important; }
.group:hover .group-hover\:text-blue-600 { color: #00843D !important; }
.focus\:ring-blue-500:focus { --tw-ring-color: #00843D !important; }
.focus\:border-blue-500:focus { border-color: #00843D !important; }
.bg-white\/10 { background-color: rgba(255,255,255,0.12) !important; }
/* keep download/success greens distinct from brand green */
.bg-green-500 { background-color: #15803d !important; }
.hover\:bg-green-600:hover { background-color: #166534 !important; }

/* ═══════════════════════════════════════════════════
   AussieSheets structural classes (as-*)
   Self-contained — do not depend on purged Tailwind utilities
   ═══════════════════════════════════════════════════ */

/* shared helpers */
.as-measure { max-width: 42rem; }
.as-header-inner { width: 100%; }
.as-hero-copy { min-width: 0; }
.as-foot-col { min-width: 0; }
.as-foot-logo-mark { display: inline-flex; }

/* ---------- Header ---------- */
.as-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #eef1ee; box-shadow: 0 1px 2px rgba(15,36,23,.04); }
.as-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.25rem; }
.as-brand { flex-shrink: 0; }
.as-brand-link { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.as-logo-mark { display: inline-flex; }
.as-wordmark { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.as-wordmark-a { color: var(--as-green); }
.as-wordmark-b { color: var(--as-gold-dark); }
.as-btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--as-green); color: #fff; font-weight: 600; padding: .55rem 1.1rem; border-radius: .6rem; text-decoration: none; transition: background .15s; white-space: nowrap; }
.as-btn-primary:hover { background: var(--as-green-dark); }
.as-btn-block { display: block; text-align: center; margin-top: .5rem; }

/* ---------- Hero ---------- */
.as-hero { background: linear-gradient(160deg, #00843D 0%, #00763A 55%, #006B31 100%); color: #fff; position: relative; overflow: hidden; }
.as-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,205,0,.22) 0%, rgba(255,205,0,0) 70%); pointer-events: none; }
.as-hero-inner { position: relative; z-index: 1; }
.as-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; align-items: center; }
.as-hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #C8EBD5; margin-bottom: 1.1rem; }
.as-hero-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--as-gold); box-shadow: 0 0 0 4px rgba(255,205,0,.25); }
.as-hero-title { font-size: 2.4rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.1rem; }
.as-hero-sub { font-size: 1.12rem; line-height: 1.6; color: #DDF2E6; max-width: 34rem; margin: 0 0 1.75rem; }
.as-hero-actions { margin-top: 1.5rem; }
.as-hero-link { display: inline-flex; align-items: center; gap: .25rem; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(255,205,0,.6); padding-bottom: 2px; transition: border-color .15s; }
.as-hero-link:hover { border-color: var(--as-gold); }
.as-hero-link-icon { width: 1.1rem; height: 1.1rem; }
.as-hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.as-hero-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; padding: 1.25rem; backdrop-filter: blur(4px); }
.as-hero-stat--wide { grid-column: span 2; }
.as-hero-stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.as-hero-stat--wide .as-hero-stat-num { color: var(--as-gold); }
.as-hero-stat-label { display: block; margin-top: .4rem; font-size: .82rem; color: #C8EBD5; }
@media (min-width: 1024px) {
    .as-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; padding: 5.5rem 0; }
    .as-hero-title { font-size: 3.25rem; }
}

/* ---------- Section heads ---------- */
.as-section-head { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; margin-bottom: 2.5rem; }
.as-section-head-link { display: inline-flex; align-items: center; color: var(--as-green); font-weight: 600; text-decoration: none; transition: color .15s; }
.as-section-head-link:hover { color: var(--as-green-dark); }
@media (min-width: 768px) {
    .as-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ---------- Features ---------- */
.as-feature { background: #fff; border: 1px solid #eef1ee; border-radius: 1rem; padding: 1.6rem; text-align: left; box-shadow: 0 1px 2px rgba(15,36,23,.03); transition: box-shadow .2s, transform .2s; }
.as-feature:hover { box-shadow: 0 12px 28px -12px rgba(15,36,23,.18); transform: translateY(-2px); }
.as-feature-icon { width: 3rem; height: 3rem; border-radius: .85rem; display: flex; align-items: center; justify-content: center; background: #DCF2E5; color: var(--as-green); margin-bottom: 1rem; }
.as-feature-title { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin: 0 0 .4rem; }
.as-feature-text { color: #4b5563; font-size: .95rem; line-height: 1.55; margin: 0; }

/* ---------- Template card ---------- */
.as-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eef1ee; border-radius: 1rem; padding: 1.35rem; box-shadow: 0 1px 2px rgba(15,36,23,.03); transition: box-shadow .2s, transform .2s, border-color .2s; height: 100%; }
.as-card:hover { box-shadow: 0 16px 34px -16px rgba(15,36,23,.22); transform: translateY(-3px); border-color: #BFE6CE; }
.as-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.as-card-badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff; }
.as-card-downloads { display: inline-flex; align-items: center; font-size: .8rem; color: #9ca3af; }
.as-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; }
.as-card-title a { color: #0f172a; text-decoration: none; transition: color .15s; }
.as-card:hover .as-card-title a { color: var(--as-green); }
.as-card-desc { color: #6b7280; font-size: .9rem; line-height: 1.5; margin: 0 0 1.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .9rem; border-top: 1px solid #f1f4f1; }
.as-card-cta { display: inline-flex; align-items: center; color: var(--as-green); font-weight: 600; font-size: .9rem; text-decoration: none; }
.as-card-cta:hover { color: var(--as-green-dark); }
.as-card-free { font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--as-gold-dark); background: #FFF7D6; padding: .2rem .55rem; border-radius: 999px; }

/* ---------- E-E-A-T trust band ---------- */
.as-trust { padding: 4.5rem 0; background: #ECF8F1; border-top: 1px solid #DCF2E5; border-bottom: 1px solid #DCF2E5; }
.as-trust-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--as-green); margin-bottom: .75rem; }
.as-trust-lead { max-width: 44rem; margin-left: auto; margin-right: auto; }
.as-trust-link { font-size: 1rem; }

/* ---------- CTA ---------- */
.as-cta { padding: 4rem 0; }
.as-cta-panel { }
.as-cta-inner { background: linear-gradient(120deg, #00843D 0%, #006B31 100%); border-radius: 1.5rem; padding: 2.75rem; display: flex; flex-direction: column; gap: 1.75rem; align-items: flex-start; box-shadow: 0 30px 60px -30px rgba(0,107,49,.6); position: relative; overflow: hidden; }
.as-cta-inner::before { content: ""; position: absolute; left: -60px; bottom: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,205,0,.18) 0%, rgba(255,205,0,0) 70%); }
.as-cta-copy { position: relative; z-index: 1; }
.as-cta-title { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 0 0 .75rem; letter-spacing: -.01em; }
.as-cta-text { font-size: 1.1rem; color: #DDF2E6; margin: 0 0 1rem; max-width: 40rem; }
.as-cta-note { font-size: .85rem; color: #A6DCBC; margin: 0; }
.as-cta-action { position: relative; z-index: 1; }
.as-cta-btn { display: inline-flex; align-items: center; background: var(--as-gold); color: var(--as-ink); font-weight: 700; padding: .95rem 1.8rem; border-radius: .75rem; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(255,205,0,.55); transition: transform .15s, background .15s; }
.as-cta-btn:hover { background: #FFD93B; transform: translateY(-2px); }
@media (min-width: 1024px) {
    .as-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3.25rem 3.5rem; }
}

/* ---------- Footer ---------- */
.as-foot { background: #0C1F13; color: #b8c4bc; }
.as-foot-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.as-foot-head { color: #fff; font-weight: 700; font-size: .95rem; margin: 0 0 1rem; }
.as-foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.as-foot-list a { color: #b8c4bc; text-decoration: none; transition: color .15s; }
.as-foot-list a:hover { color: var(--as-gold); }
.as-foot-brand { }
.as-foot-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-bottom: 1rem; }
.as-foot-logo-text { color: #fff; font-weight: 800; font-size: 1.2rem; }
.as-foot-tagline { font-size: .9rem; color: #93a399; margin: 0 0 .5rem; }
.as-foot-made { font-size: .85rem; color: var(--as-gold); margin: 0; }
.as-foot-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid #1c3324; display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; }
.as-foot-bottom p { margin: 0; font-size: .85rem; color: #8b9b90; }
.as-foot-bottom-tag { color: #6f7f74 !important; }
@media (min-width: 768px) {
    .as-foot-grid { grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 2rem; }
    .as-foot-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Page hero (legal / about / contact) ---------- */
.as-page-hero { background: linear-gradient(160deg, #00843D 0%, #006B31 100%); color: #fff; padding: 4rem 0; }
.as-page-hero-sub { color: #DDF2E6; }
.as-page-hero-meta { color: #A6DCBC; }

/* ---------- Author / E-E-A-T cards ---------- */
.as-author { display: flex; gap: 1rem; align-items: flex-start; }
.as-author-avatar { flex-shrink: 0; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: linear-gradient(135deg, #00843D, #00A651); color: #fff; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(0,132,61,.5); }
.as-author-role { font-size: .85rem; color: var(--as-green); font-weight: 600; margin: .1rem 0 0; }

/* ═══════════════════════════════════════════════════
   Missing Tailwind utilities used by new/legal markup
   (purged build lacks these — exact Tailwind values)
   ═══════════════════════════════════════════════════ */
.max-w-5xl { max-width: 64rem; }
.max-w-2xl { max-width: 42rem; }
.ml-1 { margin-left: 0.25rem; }
.mt-auto { margin-top: auto; }
.bg-green-100 { background-color: #dcfce7; }
.bg-purple-100 { background-color: #f3e8ff; }
.text-purple-600 { color: #9333ea; }
.bg-orange-100 { background-color: #ffedd5; }
.text-orange-600 { color: #ea580c; }
/* green utilities (replace former blue source classes) */
.text-green-700 { color: #006B31; }
.hover\:text-green-700:hover { color: #006B31; }
.prose-a\:text-green-700 :is(a) { color: #006B31; }

/* ═══════════════════════════════════════════════════
   AussieSheets restructured components (as-*)
   Self-contained; diverge from donor DOM/skeleton
   ═══════════════════════════════════════════════════ */

/* ---------- Template card grid (auto-fit, diverges from md/lg cols) ---------- */
.as-card-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 640px) { .as-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .as-card-grid { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 2rem; } }

/* ---------- FAQ accordion (list/heading/button skeleton) ---------- */
.as-faq { padding: 4rem 0; background: #F4F8F5; }
.as-faq-head { max-width: 40rem; margin: 0 0 2.5rem; }
.as-faq-sub { margin-top: 1rem; font-size: 1.125rem; color: #4b5563; }
.as-faq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.as-faq-item { background: #fff; border: 1px solid #E2EBE5; border-radius: 0.9rem; overflow: hidden; box-shadow: 0 1px 2px rgba(15,36,23,.04); }
.as-faq-qhead { margin: 0; font-size: 1rem; }
.as-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; background: transparent; border: 0; cursor: pointer; text-align: left; font: inherit; font-weight: 600; color: #0f172a; transition: background .15s; }
.as-faq-q:hover { background: #EEF5F0; }
.as-faq-q-text { flex: 1; }
.as-faq-q-mark { flex-shrink: 0; display: flex; width: 1.25rem; height: 1.25rem; color: var(--as-green,#00843D); transition: transform .2s; }
.as-faq-q-mark svg { width: 100%; height: 100%; }
.as-faq-a { padding: 0 1.35rem 1.35rem; color: #4b5563; }
.as-faq-a.hidden { display: none; }
.as-faq-list--compact .as-faq-item { border-radius: 0.7rem; }
.as-faq-list--compact .as-faq-q { padding: 0.95rem 1.1rem; }
.as-faq-list--compact .as-faq-a { padding: 0 1.1rem 1.1rem; }

/* ---------- Cookie consent (as-consent) — keeps #cookie-banner id behaviour ---------- */
.as-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; background: #0C1F13; color: #e7efe9; border: 1px solid #1c3324; border-radius: 1rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); }
.as-consent.hidden { display: none; }
.as-consent-inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.4rem; }
.as-consent-text { margin: 0; font-size: .9rem; line-height: 1.55; color: #cfdcd4; }
.as-consent-link { color: var(--as-gold,#FFCD00); text-decoration: underline; }
.as-consent-link:hover { color: #FFD93B; }
.as-consent-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.as-consent-btn { font: inherit; font-size: .875rem; font-weight: 600; padding: .55rem 1.1rem; border-radius: .6rem; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.as-consent-btn--ghost { background: rgba(255,255,255,.08); color: #e7efe9; }
.as-consent-btn--ghost:hover { background: rgba(255,255,255,.16); }
.as-consent-btn--primary { background: var(--as-gold,#FFCD00); color: var(--as-ink,#0F2417); }
.as-consent-btn--primary:hover { background: #FFD93B; }
@media (min-width: 768px) {
    .as-consent { left: 50%; right: auto; transform: translateX(-50%); max-width: 60rem; width: calc(100% - 2rem); }
    .as-consent-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}
/* animate-in when JS removes .hidden + adds .show */
#cookie-banner.as-consent.show { display: block; animation: slideUp 0.3s ease; }

/* ---------- Single/archive page-hero accents ---------- */
.as-hero-tag { background: rgba(255,255,255,.16); color: #fff; }
.as-hero-tag:hover { background: rgba(255,255,255,.28); }
.as-hero-frame { border-color: rgba(255,255,255,.25) !important; }
.as-ico-green { color: var(--as-green,#00843D); }

/* ---------- Mini card (related templates) ---------- */
.as-minicard { background: #fff; border: 1px solid #eef1ee; border-radius: 0.8rem; padding: 1rem; box-shadow: 0 1px 2px rgba(15,36,23,.03); transition: box-shadow .2s, border-color .2s; }
.as-minicard:hover { box-shadow: 0 12px 26px -14px rgba(15,36,23,.2); border-color: #BFE6CE; }
.as-minicard:hover .as-minicard-title { color: var(--as-green,#00843D); }

/* ---------- Category card hover ---------- */
.as-cat-card:hover { border-color: #BFE6CE !important; }
.as-cat-card:hover .as-cat-title { color: var(--as-green,#00843D); }

/* ---------- Icon tiles / soft panels / buttons / focus ---------- */
.as-icon-tile { background-color: #DCF2E5; }
.as-icon-tile-ico { color: var(--as-green,#00843D); }
.as-link { color: var(--as-green,#00843D); }
.as-link:hover { color: var(--as-green-dark,#006B31); }
.as-soft-panel { background-color: #ECF8F1; }
.as-btn-solid { background-color: var(--as-green,#00843D); transition: background .15s; }
.as-btn-solid:hover { background-color: var(--as-green-dark,#006B31); }
.as-btn-outline { color: var(--as-green,#00843D); border-color: #BFE6CE; }
.as-btn-outline:hover { background-color: #ECF8F1; }
.as-filter-active { background-color: #ECF8F1; color: var(--as-green-dark,#006B31); }
.as-focus-ring:focus { border-color: var(--as-green,#00843D); --tw-ring-color: var(--as-green,#00843D); outline: none; }
