/* 
Theme Name: PakalaTax
Theme URI: https://pakalatax.com/
Author: PakalaTax Team
Description: Premium Big4 Enterprise theme for PAKALA TAX - High-end tax, accounting, and global consulting operations.
Version: 14.8.1
Text Domain: pakalatax
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Google Fonts loaded via wp_enqueue_style in inc/enqueue.php — non-render-blocking with print/swap */

/* =========================================
   UNIFIED DESIGN SYSTEM (v13.9.0)
   Single Source of Truth — All variables here
   ========================================= */

:root {
    /* Brand Colors */
    --color-navy: #0A192F;
    --color-gold: #D4AF37;
    --color-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-muted: #6C757D;
    --color-body: #1a1a1a;

    /* Enterprise Design System Tokens */
    --primary-navy: #0A192F;      /* Unified with --color-navy */
    --gradient-navy-mid: #0B3D91; /* Mid-tone navy for gradient stops */
    --primary-cobalt: #1E73BE;
    --highlight-accent: #A23490;
    --text-primary: #111827;
    --text-gray: #374151;
    --text-muted: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --border-base: #E5E7EB;
    --wc-dark: #1a1a2e;
    --wc-green: #00A36C;

    /* WC Component Tokens (whizconsulting-style) */
    --wc-green-hover: #008f5d;
    --wc-green-light: #f0fdf4;
    --wc-navy-ms: #0067B8;
    --wc-dark-soft: #2d2d44;
    --wc-text: #2f2f2f;
    --wc-text-muted: #666666;
    --wc-text-light: #999999;
    --wc-bg-white: #ffffff;
    --wc-bg-light: #f8f9fa;
    --wc-bg-lighter: #fafbfc;
    --wc-border: #e8ecef;
    --wc-border-hover: #d0d5dd;
    --wc-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --wc-shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.05);
    --wc-shadow-hero: 0 20px 60px rgba(0, 0, 0, 0.05);
    --wc-shadow-premium: 0px 20px 50px rgba(0, 0, 0, 0.1);
    --wc-radius: 8px;
    --wc-radius-lg: 12px;
    --wc-radius-pill: 40px;
    --wc-padding-card: 40px;
    --wc-gutter-bento: 20px;

    /* Fluid Responsive Tokens */
    --container-width: 1600px;
    --section-spacing: clamp(40px, 8vw, 100px);

    /* Accessibility */
    --premium-gold-text: #8a7019;
    --accessible-gold-text: #B8860B;

    /* v5.36 Legacy Color Compat */
    --color-primary-navy: #0F172A;
    --color-primary-blue: #1B365D;
    --color-deep-navy: #020617;
    --color-steel: #64748B;
    --color-warm-gray: #9CA3AF;
    --color-success-green: #059669;
    --color-success-light: #ECFDF5;
    --color-premium-gold: #D4AF37;
    --color-gold-text: #8A7019;
    --color-neutral-900: #111827;
    --color-neutral-600: #4B5563;
    --color-neutral-400: #9CA3AF;
    --color-neutral-100: #F3F4F6;

    /* Action / CTA Colors */
    --action-orange: #E8590C;
    --action-orange-hover: #D14808;
    --color-primary: #0A192F;    /* Unified with --primary-navy */

    /* Typography */
    --font-primary: 'Segoe UI', Aptos, Calibri, Corbel, 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Segoe UI', Aptos, Calibri, 'Inter', sans-serif;
    --font-body: 'Segoe UI', Aptos, Calibri, Corbel, 'Inter', 'Open Sans', sans-serif;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Type Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing (8px grid) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Layout — Microsoft.com-style full-width */
    --container-max-width: 1600px;
    --content-max-width: 900px;
    --border-radius: 8px;
    --section-padding-y: 100px;
    --card-padding: 40px;
    --card-radius: 10px;
    --btn-radius: 6px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --wc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --body-line-height: 1.75;
}

/* =========================================
   TYPOGRAPHY SYSTEM
   ========================================= */

body {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h2, .h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

h5, .h5 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.lead {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--color-muted);
}

.small, small {
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* Responsive Typography */
@media (max-width: 767px) {
    h1, .h1, .display-3, .display-4 { font-size: var(--text-3xl); }
    h2, .h2, .display-5 { font-size: var(--text-2xl); }
    h3, .h3 { font-size: var(--text-xl); }
    .lead { font-size: var(--text-base); }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1, .h1, .display-3, .display-4 { font-size: var(--text-4xl); }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

/* Focus States */
*:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* Skip to Content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    background-color: var(--color-navy);
    color: var(--color-white);
    clip: auto;
    height: auto;
    width: auto;
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 15px 23px;
    z-index: 100000;
}

/* Touch Targets */
button,
[role="button"],
input[type="submit"],
input[type="button"] {
    min-height: 44px;
}

/* =========================================
   BUTTON SYSTEM
   ========================================= */

.btn,
.pt-btn-premium,
.cta-header-btn,
.wc-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 44px;
    line-height: 1.5;
}

.btn-primary,
.pt-btn-premium,
.pt-btn-premium-gold {
    background: var(--color-gold);
    color: var(--color-navy);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover,
.pt-btn-premium:hover,
.pt-btn-premium-gold:hover {
    background: var(--color-navy);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-sm,
.wc-btn-sm {
    padding: 8px 24px;
    font-size: var(--text-sm);
}

.btn-lg {
    padding: 16px 40px;
    font-size: var(--text-lg);
}

.cta-header-btn {
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 10px 25px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    border-radius: 4px;
}

.cta-header-btn:hover {
    background: var(--color-navy);
    color: var(--color-gold);
}

@media (max-width: 767px) {
    .btn-mobile-full {
        width: 100%;
        display: block;
    }
}

/* =========================================
   GRID & LAYOUT SYSTEM
   ========================================= */

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Section Spacing */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-sm {
    padding: var(--spacing-xl) 0;
}

.section-lg {
    padding: 5rem 0;
}

/* =========================================
   SPACING UTILITIES
   ========================================= */

.m-0 { margin: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* =========================================
   BIG 4 LAYOUT - EMERGENCY OVERRIDE
   ========================================= */

body.page-template-default .big4-layout-standard {
    display: block;
    width: 100%;
    max-width: 100%;
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* 1. Global Reset for Big4 Elements */
.big4-layout-standard * {
    box-sizing: border-box;
}

/* 2. Colors */
.bg-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

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

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

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

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

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

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* 3. Hero Fix */
.big4-layout-standard .hero-section {
    position: relative;
    padding: 100px 20px;
    margin-bottom: 0;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .big4-layout-standard .hero-section {
        padding: 60px 16px;
        min-height: 400px;
    }
}

.big4-layout-standard .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.92);
    z-index: 1;
}

.big4-layout-standard .hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.big4-layout-standard .display-4,
.big4-layout-standard .display-3 {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-white);
}

@media (max-width: 767px) {
    .big4-layout-standard .display-4,
    .big4-layout-standard .display-3 {
        font-size: var(--text-3xl);
    }
}

/* 4. Grid System — Full-Width (Microsoft.com-style) */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 80px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row.align-items-center {
    align-items: center;
}

.row.g-4 {
    gap: 1.5rem;
    margin: 0;
}
.row.g-4 > [class*="col-"] {
    padding: 0;
}

.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-5,
.col-lg-6,
.col-lg-7 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
}

/* 5. Components */
.pt-btn-premium {
    display: inline-block;
    padding: 18px 40px;
    background: var(--color-gold);
    color: var(--color-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.pt-btn-premium:hover {
    background: var(--color-white);
    transform: translateY(-3px);
}

.flow-step {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #efefef;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.flow-step .h2,
.flow-step .text-gold {
    font-size: 2rem;
}

.flow-step h3 {
    font-size: 0.95rem !important;
    line-height: 1.4;
}

.flow-step p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.step-badge {
    width: 50px;
    height: 50px;
    background: var(--color-navy);
    color: var(--color-gold);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* 6. Typography — handled by UNIFIED DESIGN SYSTEM above */

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* 7. Hide "Entry Header" default WP styles */
.entry-header {
    display: none;
}

/* =========================================
   All component/section styles in assets/css/main.css
   This file: variables, typography, buttons, grid, layout
   ========================================= */

/* =====================================================
   HOMEPAGE SECTIONS — Guide Alignment (v14.0)
   ===================================================== */

/* Industry Cards on Homepage */
.pt-industry-card {
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}
.pt-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Testimonial card borders */
.testimonial-card-gold { border-left: 4px solid var(--color-gold, #D4AF37); }
.testimonial-card-cobalt { border-left: 4px solid var(--color-cobalt, #1E73BE); }
.testimonial-card-navy { border-left: 4px solid var(--color-navy, #0A192F); }

/* Text color helpers (if not already defined) */
.text-gold { color: var(--color-gold, #D4AF37) !important; }
.text-cobalt { color: var(--color-cobalt, #1E73BE) !important; }

/* Certification bar pill badges */
.pt-cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s;
}
.pt-cert-pill:hover {
    border-color: var(--color-gold, #D4AF37);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.pt-cert-pill i { color: var(--color-gold, #D4AF37); }

/* Star ratings */
.text-gold-star { color: var(--color-gold, #D4AF37); font-size: 0.8rem; }

/* Hover lift effect */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

/* CTA Booking Grid Cards */
.pt-cta-option {
    padding: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: all 0.3s;
}
.pt-cta-option:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

/* Responsive adjustments for new homepage sections */
@media (max-width: 768px) {
    .pt-industry-card { padding: 16px 8px !important; }
    .pt-industry-card h4 { font-size: 0.75rem !important; }
}

/* ─── Plans & Pricing Page ─── */
.pt-plans-diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.pt-diff-card {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}
.pt-diff-card h4 { color: #0A192F; font-size: .9rem; margin-bottom: 6px; }
.pt-diff-card p  { color: #6B7280; font-size: .8rem; line-height: 1.5; }
.pt-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.pt-plan-card {
    background: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    position: relative;
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pt-plan-card:hover {
    border-color: #1E73BE;
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.pt-plan-popular { border-color: #1E73BE; }
.pt-popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #D4AF37; color: #0A192F;
    padding: 4px 16px; border-radius: 20px;
    font-size: .65rem; font-weight: 700; text-transform: uppercase; white-space: nowrap;
}
.pt-plan-icon {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 1.3rem;
}
.pt-plan-card h3 { color: #0A192F; font-size: 1.05rem; margin-bottom: 6px; }
.pt-plan-desc { color: #6B7280; font-size: .8rem; margin-bottom: 16px; }
.pt-plan-price { margin-bottom: 18px; }
.pt-plan-price .amount { font-size: 2.2rem; font-weight: 800; color: #0A192F; }
.pt-plan-price .period { color: #6B7280; font-size: .82rem; }
.pt-plan-features {
    list-style: none; padding: 0; margin: 0 0 20px;
    text-align: left; font-size: .82rem; color: #6B7280;
}
.pt-plan-features li { padding: 5px 0; }
.pt-plan-features i { color: #059669; margin-right: 8px; font-size: .7rem; }
.pt-plan-btn { display: block; padding: 12px; font-size: .88rem; text-align: center; }

/* ─── Calculator Pages ─── */
.pt-calc-card {
    background: #fff;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.pt-calc-field { margin-bottom: 18px; }
.pt-calc-field label {
    font-size: .82rem; font-weight: 600; color: #374151;
    display: block; margin-bottom: 6px;
}
.pt-calc-field input,
.pt-calc-field select {
    width: 100%; padding: 12px 16px;
    border: 1px solid #D1D5DB; border-radius: 8px;
    font-size: 1rem; color: #0A192F; font-weight: 600;
    box-sizing: border-box; outline: none;
    background: #fff; transition: border-color .2s;
}
.pt-calc-field input:focus,
.pt-calc-field select:focus { border-color: #1E73BE; }
.pt-calc-reset {
    flex: 0 0 100px; padding: 14px;
    background: #F3F4F6; color: #6B7280;
    border: 1px solid #D1D5DB; border-radius: 8px;
    font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.pt-calc-reset:hover { background: #E5E7EB; }
.pt-calc-results {
    border-radius: 12px; padding: 24px; color: #fff;
}
.pt-calc-label {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: 2px; font-weight: 700;
    color: rgba(255,255,255,.5); margin-bottom: 4px;
}
.pt-calc-big { font-size: 1.8rem; font-weight: 800; color: #fff; }
.pt-calc-stat {
    background: rgba(255,255,255,.08);
    border-radius: 8px; padding: 14px; text-align: center;
}

/* ─── Plans / Calc Responsive ─── */
@media (max-width: 992px) {
    .pt-plan-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-plans-diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .pt-plan-grid { grid-template-columns: 1fr; }
    .pt-plans-diff-grid { grid-template-columns: 1fr; }
    .pt-calc-card { padding: 24px 18px; }
}

/* =========================================
   FULL-WIDTH LAYOUT SYSTEM — Microsoft.com-style
   v14.1.0 — Sections stretch 100vw, content capped at 1600px
   =========================================

   DESIGN PRINCIPLE (same as microsoft.com):
   • Every <section> and wrapper stretches full viewport width
   • Background colors / images bleed edge-to-edge
   • Inner .container caps content at 1600px with fluid padding
   • On 4K screens, generous padding prevents text from touching edges
   • On mobile, 20px side padding
*/

/* --- Force full-viewport-width on ALL structural wrappers --- */
#page,
.site,
.site-content,
.site-main,
main,
article,
.entry-content,
.pakalatax-elementor-content,
.pakalatax-elementor-homepage {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
}

/* --- Sections: full-width backgrounds --- */
section,
.wc-section,
.wc-section-light,
.wc-section-dark,
.hero-section,
.hero-section-v3,
.trust-bar,
.cta-banner,
.wc-hero,
.entry-content > section,
.entry-content > div,
.elementor-section,
.elementor-section-wrap > .elementor-section,
.e-con {
    max-width: 100% !important;
    width: 100% !important;
}

/* --- Inner containers: capped at 1600px with fluid padding --- */
.container,
.site-content .container,
.entry-content .container,
.b4-container,
.elementor-container {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 4vw, 80px);
    padding-right: clamp(20px, 4vw, 80px);
    width: 100%;
}

/* --- Header & Footer: full-width with inner constraint --- */
.site-header-shell,
.site-footer,
.footer-main,
.footer-bottom {
    max-width: 100% !important;
    width: 100% !important;
}

.site-header-shell .container,
.site-footer .container,
.footer-main .container,
.footer-bottom .container,
.header-top .container,
.header-main .container {
    max-width: 1600px !important;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 80px);
    padding-right: clamp(20px, 4vw, 80px);
}

/* --- Archive grids: full-width sections, contained cards --- */
.wc-section .container,
.wc-section-light .container {
    max-width: 1600px !important;
}

/* --- Jurisdiction bar: full-width --- */
.pt-jurisdiction-bar {
    max-width: 100% !important;
    width: 100% !important;
}

/* --- Remove any 1200px caps still lurking in media queries --- */
@media screen and (min-width: 1400px) {
    .container,
    .b4-container {
        max-width: 1600px !important;
        padding-left: clamp(40px, 5vw, 120px);
        padding-right: clamp(40px, 5vw, 120px);
    }
}

/* --- Ultra-wide (4K) screens: generous breathing room --- */
@media screen and (min-width: 2000px) {
    .container,
    .b4-container {
        max-width: 1800px !important;
        padding-left: 120px;
        padding-right: 120px;
    }
}

/* --- Mobile: tight padding, no overflow --- */
@media (max-width: 768px) {
    .container,
    .b4-container,
    .site-header-shell .container,
    .site-footer .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
