/**
 * Frontend Main Styles
 * Contains: CSS Variables, Reset, Base Typography, Container
 */

/* ==================== CSS Custom Properties ==================== */
:root {
    /* Primary Color Palette */
    --primary-blue: #4A90E2;
    --primary-blue-dark: #357ABD;
    --primary-blue-light: #E8F4FD;
    
    /* Secondary Colors */
    --accent-orange: #FF8A65;
    --accent-orange-light: #FFF3E0;
    --soft-lavender: #B39DDB;
    --gentle-green: #81C784;
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-xxl: 4rem;     /* 64px */
    
    /* Typography */
    --font-family-primary: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-heading: 'Poppins', 'Poppins Fallback', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Shadows */
    --shadow-soft: 0 2px 20px rgba(74, 144, 226, 0.1);
    --shadow-medium: 0 8px 30px rgba(74, 144, 226, 0.15);
    --shadow-strong: 0 12px 40px rgba(74, 144, 226, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-mobile-menu: 950;
    --z-header: 1000;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==================== CSS Reset ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-primary);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: var(--line-height-base);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Sticky footer layout:
   body is the flex column; #fpa-header-page (the content wrapper) grows to fill space;
   .site-footer is a direct body child and sits after the wrapper naturally. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Content wrapper grows to push footer to bottom */
#fpa-header-page {
    flex: 1 0 auto;
}

/* Main content area should expand to fill available space */
main#site-content {
    flex: 1 0 auto;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 2.5rem); }      /* max 40px */
h2 { font-size: clamp(1.5rem, 3.8vw, 2rem); }      /* max 32px */
h3 { font-size: clamp(1.3rem, 2.8vw, 1.5rem); }    /* max 24px */
h4 { font-size: clamp(1.15rem, 2.3vw, 1.25rem); }  /* max 20px */
h5 { font-size: clamp(1.05rem, 2vw, 1.125rem); }   /* max 18px */
h6 { font-size: 1rem; }                            /* 16px */

p {
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-secondary);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue-dark);
}

/* ==================== Focus Visible ==================== */
/* Global keyboard-only focus indicator â€” visible for keyboard users, hidden for mouse */
:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Remove default focus ring for mouse/touch interactions */
:focus:not(:focus-visible) {
    outline: none;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

/* ==================== Archive / Index / Search Listings ==================== */
.fpa-archive,
.fpa-index,
.fpa-search {
    width: min(100%, 1100px);
    margin-inline: auto;
    padding: clamp(24px, 4vw, 32px) clamp(14px, 3.5vw, 20px);
}

.fpa-archive__header,
.fpa-index__header,
.fpa-search__header {
    margin-bottom: clamp(18px, 3vw, 22px);
}

.fpa-archive__header h1,
.fpa-index__header h1,
.fpa-search__header h1 {
    font-size: clamp(1.6rem, 4.5vw, 2rem);
    line-height: 1.2;
}

.fpa-archive__header h1 {
    margin: 0 0 8px;
}

.fpa-index__header h1,
.fpa-search__header h1 {
    margin: 0;
}

.fpa-archive__description {
    color: #64748b;
}

.fpa-archive__list,
.fpa-index__list,
.fpa-search__list {
    display: grid;
    gap: clamp(14px, 2vw, 16px);
}

.fpa-archive__item,
.fpa-index__item,
.fpa-search__item {
    background: #fff;
    border: 1px solid #d9e6f6;
    border-radius: 12px;
    padding: clamp(14px, 2.6vw, 18px);
    min-width: 0;
}

.fpa-archive__item h2,
.fpa-index__item h2,
.fpa-search__item h2 {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    line-height: 1.3;
}

.fpa-archive__item > p,
.fpa-index__item > p,
.fpa-search__item > p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 0.92rem;
}

.fpa-archive__pagination,
.fpa-index__pagination,
.fpa-search__pagination {
    margin-top: clamp(18px, 3vw, 22px);
}

/* ==================== GDPR Cookie Banner ==================== */
.fpa-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--dark-gray);
    color: var(--white);
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}
.fpa-cookie-banner p {
    margin: 0;
    flex: 1 1 400px;
    color: #FFFFFF;
}
.fpa-cookie-banner a {
    color: var(--primary-blue-light);
    text-decoration: underline;
}
.fpa-cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}
.fpa-cookie-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: var(--radius-md, 6px);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}
.fpa-cookie-btn:hover { opacity: 0.85; }
.fpa-cookie-btn--accept {
    background: var(--primary-blue);
    color: var(--white);
}
.fpa-cookie-btn--decline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
}
/**
 * Responsive Styles
 * All media queries consolidated here
 * Mobile-first approach
 *
 * â”€â”€ Breakpoints â”€â”€
 *   576 px  â€” Small devices
 *   768 px  â€” Tablets (portrait)
 *   992 px  â€” Tablets (landscape) / small laptops
 *   1024 px â€” Tablet / desktop transition
 *   1200 px â€” Desktop
 *
 * Updated: 2026-02-20
 */

/* ==================== Small Devices (576px and up) ==================== */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* ==================== Medium Devices (768px and up) ==================== */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    /* Header adjustments */
    #fpa-header-site-header.fpa-header-full-header .fpa-header-brand {
        font-size: 3rem;
    }

    /* Form rows stay 2-column */
    .form-row,
    .fpa-popup-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================== Large Devices (992px and up) ==================== */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* ==================== Extra Large Devices (1200px and up) ==================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ==================== Tablet (768px â€“ 1024px) ==================== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Prevent elements overlapping on tablets */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-pet-illustration {
        width: 320px;
        height: 320px;
    }

    .hero-pet-image {
        width: 220px;
        height: 220px;
    }
}

/* ==================== Mobile Specific (max-width: 992px) ==================== */
@media (max-width: 992px) {
    #fpa-header-site-header.fpa-header-full-header {
        min-height: 210px;
    }

    .fpa-header-main {
        padding: 20px 10px 0;
    }

    #fpa-header-site-header.fpa-header-full-header .fpa-header-brand {
        font-size: 2.2rem;
    }
}

/* ==================== Mobile Specific (max-width: 768px) ==================== */
@media (max-width: 768px) {
    /* Forms stack vertically */
    .form-row,
    .fpa-popup-form-row {
        grid-template-columns: 1fr;
    }

    /* Footer stacks â€” handled by footer.css, but reinforce here */
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Header mobile adjustments */
    #fpa-header-site-header.fpa-header-full-header {
        min-height: 60px;
    }

    .fpa-header-main {
        display: none;
    }

    /* Popup adjustments */
    .firework-popup-container {
        width: 95%;
        max-height: 95vh;
    }

    /* Form adjustments */
    .firework-form {
        padding: 30px 20px;
    }
}

/* ==================== Small Mobile (max-width: 480px) ==================== */
@media (max-width: 480px) {
    :root {
        --space-md: 1rem;
        --space-lg: 1.5rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Buttons full-width on mobile */
    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hide action buttons on smallest screens */
    .fpa-header-action-buttons {
        display: none;
    }
}
/* -- Duplicate of critical.css removed (those styles are inlined in <head>) -- */

/**
 * Button Components
 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    color: var(--white);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF7043 100%);
    color: var(--white);
}

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

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

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.125rem;
}

/* Header Action Buttons */
.fpa-header-btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.fpa-header-register-btn {
    background: rgba(255, 255, 255, 0.25);
}

.fpa-header-event-btn {
    background: linear-gradient(135deg, #FF8A65, #FF7043);
}

.fpa-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* Highlight required/error fields */
.fpa-required-error {
    border: 2px solid #cc3366 !important;
    background: #fff0f6;
    box-shadow: 0 0 0 2px #cc336633;
    transition: border 0.2s, background 0.2s;
}
.fpa-required-valid {
    border: 2px solid #2ecc40 !important;
    background: #f0fff4;
    box-shadow: 0 0 0 2px #2ecc4033;
    transition: border 0.2s, background 0.2s;
}
/**
 * Form Components
 */

/* Form Container */
.firework-form {
    width: min(calc(100% - 2rem), 600px);
    margin: 0 auto;
    padding: clamp(22px, 5vw, 40px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Form Groups */
.form-group,
.fpa-popup-form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label,
.fpa-popup-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Form Inputs */
    .form-control,
    .form-group input,
    .form-group textarea,
    .form-group select,
    .fpa-popup-form-input,
    .fpa-popup-form-select,
    .fpa-popup-form-textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid #E9ECEF;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-family-primary);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.fpa-popup-form-input:focus,
.fpa-popup-form-select:focus,
.fpa-popup-form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.fpa-popup-form-input::placeholder,
.fpa-popup-form-textarea::placeholder {
    color: var(--medium-gray);
    opacity: 0.7;
}

/* Form Row */
.form-row,
.fpa-popup-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(14px, 2.5vw, 20px);
}

/* Form Help Text */
.form-help,
small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Form States */
.form-error {
    border-color: #dc3545;
}

.form-success {
    border-color: var(--gentle-green);
}

/* ===== FPA form page specific styles moved from inline templates ===== */

/* Event form container (page) */
#fpa-event-form-container {
    width: min(calc(100% - 2rem), 980px);
    margin: clamp(16px, 4vw, 36px) auto;
    padding: 0;
    background: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(74, 144, 226, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    position: relative;
}
#fpa-event-form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #FF8A65, #4A90E2);
    background-size: 200% 100%;
    animation: fpaFormAccentShimmer 4s ease-in-out infinite;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}
@keyframes fpaFormAccentShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 600px) {
    #fpa-event-form-container { margin: 16px; border-radius: 16px; }
    #fpa-event-form-container::before { border-radius: 16px 16px 0 0; }
}

.fpa-event-popup-header {
    text-align: center;
    margin-bottom: 0;
    padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 32px) clamp(18px, 3vw, 24px);
    background: linear-gradient(145deg, #eef5ff 0%, #f8fbff 60%, #fff8f3 100%);
    border-bottom: 1px solid rgba(74, 144, 226, 0.08);
    border-radius: 20px 20px 0 0;
}
.fpa-event-popup-header h1,
.fpa-event-popup-header h2 {
    color: #2C5AA0;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.3px;
}
.fpa-event-popup-header p {
    color: #5A7BA8;
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.65;
}
.fpa-event-popup-form { margin-top: 0; padding: clamp(18px, 3.2vw, 28px) clamp(14px, 3vw, 32px) clamp(22px, 3.5vw, 32px); }
.fpa-event-popup-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
@media (max-width: 900px) { .fpa-event-popup-row { gap: 14px; } }
.fpa-event-popup-group { margin-bottom: 22px; }
.fpa-event-popup-label { display:block; margin-bottom:8px; color:#2C5AA0; font-weight:600; font-size:0.95rem; letter-spacing:0.2px; }
.fpa-event-popup-input,
.fpa-event-popup-select,
.fpa-event-popup-textarea {
    width:100%; padding:14px 16px; border:2px solid #E5EBF5; border-radius:12px; font-size:15px; background:#FAFCFF; transition:all .3s ease; font-family:inherit;
}
.fpa-event-popup-input:focus,
.fpa-event-popup-select:focus,
.fpa-event-popup-textarea:focus {
    outline:none; border-color:#4A90E2; box-shadow:0 0 0 3px rgba(74,144,226,0.12), 0 2px 8px rgba(74,144,226,0.06); background:#fff;
}
.fpa-event-popup-small { display:block; margin-top:5px; color:#6C757D; font-size:13px; line-height:1.45; }
.fpa-event-popup-small.bold { font-weight:700; color:#4A90E2; }
.fpa-event-popup-checkbox-group { margin-bottom:18px; }
.fpa-event-popup-checkbox-label { display:flex; align-items:flex-start; font-weight:400; line-height:1.5; color:#475569; font-size:0.93rem; }
.fpa-event-popup-checkbox { width:auto; margin-right:10px; margin-top:2px; transform:scale(1.2); accent-color:#4A90E2; }
.fpa-event-popup-btn { display:inline-flex; align-items:center; gap:10px; padding:16px 32px; border:none; border-radius:14px; font-family:inherit; font-size:1.05rem; font-weight:700; text-decoration:none; cursor:pointer; transition:all .3s ease; width:100%; justify-content:center; margin-top:20px; background:linear-gradient(135deg,var(--accent-orange) 0%,#FF6F3D 100%); color:#fff !important; box-shadow:0 4px 16px rgba(255,138,101,0.3); letter-spacing:0.3px; }
.fpa-event-popup-btn i { color:#fff !important; }
.fpa-event-popup-btn:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(255,138,101,0.4); }
.fpa-event-popup-btn:disabled { opacity:.6; cursor:not-allowed; transform:none; }
.fpa-event-popup-message { padding:14px 18px; border-radius:12px; margin:16px 0; font-weight:500; text-align:center; display:none; }
.fpa-event-popup-message.success { background:#f0fff4; color:#2E7D32; border:1px solid #81C784; border-left:4px solid #28a745; display:block; }
.fpa-event-popup-message.error { background:#fff5f5; color:#C62828; border:1px solid #E57373; border-left:4px solid #dc3545; display:block; }
.fpa-event-popup-map-container { width:100%; height:480px; border-radius:14px; overflow:hidden; margin-bottom:8px; border:2px solid #E5EBF5; background:#FAFCFF; position:relative; transition:all .3s ease; }

/* Collapsible */
.fpa-collapsible-toggle { display:inline-flex; align-items:center; gap:8px; background:transparent; border:none; color:#357ABD; font-weight:600; cursor:pointer; padding:6px 8px; border-radius:8px; }
.fpa-collapsible-content.collapsed { display:none; }
.fpa-event-popup-map-container:hover { border-color:#4A90E2; box-shadow:0 4px 16px rgba(74,144,226,0.12); }
.fpa-event-popup-section-title { color:#2C5AA0; font-size:1.15rem; font-weight:700; margin:24px 0 14px; padding-bottom:8px; border-bottom:2px solid rgba(74,144,226,0.1); letter-spacing:0.2px; }
.fpa-event-popup-organizer-section { margin-top:24px; padding-top:8px; border-top:1px solid rgba(74,144,226,0.08); }

/* Privacy box — wraps postcode + email side-by-side with combined statement */
.fpa-event-privacy-box { border:2px solid #E5EBF5; border-radius:14px; padding:20px 20px 16px; background:#FAFCFF; margin-bottom:22px; }
.fpa-event-privacy-box .fpa-event-popup-row { margin-bottom:0; }
.fpa-event-privacy-box .fpa-event-popup-group { margin-bottom:12px; }
.fpa-event-privacy-statement { margin:8px 0 0; padding:0; color:#FF8A65; font-size:0.88rem; line-height:1.55; font-weight:500; }
.fpa-event-privacy-statement i { color:#FF8A65; margin-right:6px; }

/* ── Location section card (replaces privacy box + separate map group) ── */
.fpa-event-location-section { background:linear-gradient(145deg,#f0f7ff 0%,#fafcff 100%); border:2px solid #D0E4F8; border-radius:16px; padding:22px 22px 18px; margin-bottom:22px; }
.fpa-event-section-heading { color:#2C5AA0; font-family:'Poppins',sans-serif; font-size:1.05rem; font-weight:700; margin:0 0 18px; display:flex; align-items:center; gap:8px; }
.fpa-event-section-heading i { color:#FF8A65; font-size:1rem; }
.fpa-event-location-section .fpa-event-popup-group { margin-bottom:16px; }
.fpa-event-location-section .fpa-event-popup-group:last-child { margin-bottom:0; }
/* ── Map instruction chip ── */
.fpa-map-instruction-chip { display:inline-flex; align-items:center; gap:6px; background:rgba(74,144,226,0.1); border:1px solid rgba(74,144,226,0.25); color:#357ABD; font-size:0.85rem; font-weight:600; padding:6px 12px; border-radius:20px; margin-bottom:10px; }
.fpa-map-instruction-chip i { font-size:0.85rem; color:#4A90E2; }

/* Anonymity emphasis in header */
.fpa-event-anon-statement { color:#FF8A65 !important; font-weight:700 !important; font-size:1.05rem !important; margin-bottom:6px !important; }

/* Postcode nudge — soft prompt for partial postcode users */
.fpa-postcode-nudge { margin-top:6px; padding:8px 12px; border-radius:8px; font-size:0.85rem; line-height:1.45; font-weight:500; display:none; }
.fpa-postcode-nudge.fpa-nudge-partial { background:#FFF8E1; color:#F57F17; border:1px solid #FFE082; }
.fpa-postcode-nudge i { margin-right:5px; }

@media (max-width:600px) { .fpa-event-popup-header { padding:28px 20px 20px; border-radius:16px 16px 0 0; } .fpa-event-popup-header h1, .fpa-event-popup-header h2 { font-size:1.35rem; } .fpa-event-popup-form { padding:20px 16px 24px; } .fpa-event-popup-row { grid-template-columns:1fr; gap:0; } .fpa-event-popup-btn { padding:14px 20px; font-size:1rem; } .fpa-event-popup-map-container { height:320px; } .fpa-event-privacy-box { padding:16px 14px 12px; } .fpa-event-location-section { padding:16px 14px 14px; } .fpa-event-section-heading { font-size:0.95rem; } }

/* Signup form container (page) */
#fpa-signup-form-container { width:min(calc(100% - 2rem),720px); margin:clamp(16px, 4vw, 36px) auto; padding:0; background:#fff; border:none; border-radius:20px; box-shadow:0 12px 48px rgba(74,144,226,0.08), 0 2px 8px rgba(0,0,0,0.04); box-sizing:border-box; position:relative; }
#fpa-signup-form-container::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#4A90E2,#FF8A65,#4A90E2); background-size:200% 100%; animation:fpaFormAccentShimmer 4s ease-in-out infinite; border-radius:20px 20px 0 0; z-index:1; }
@media (max-width:600px) { #fpa-signup-form-container { margin:16px; border-radius:16px; } #fpa-signup-form-container::before { border-radius:16px 16px 0 0; } }
.fpa-signup-popup-header { text-align:center; margin-bottom:0; padding:clamp(24px, 4vw, 36px) clamp(16px, 3vw, 32px) clamp(18px, 3vw, 24px); background:linear-gradient(145deg,#eef5ff 0%,#f8fbff 60%,#fff8f3 100%); border-bottom:1px solid rgba(74,144,226,0.08); border-radius:20px 20px 0 0; }
.fpa-signup-popup-header h1, .fpa-signup-popup-header h2 { color:#2C5AA0; margin-bottom:10px; font-family:'Poppins',sans-serif; font-weight:800; font-size:1.9rem; letter-spacing:-0.3px; }
.fpa-signup-popup-header p { color:#5A7BA8; margin-bottom:0; font-size:1.05rem; line-height:1.65; }
.fpa-signup-popup-form { margin-top:0; padding:clamp(18px, 3.2vw, 28px) clamp(14px, 3vw, 32px) clamp(22px, 3.5vw, 32px); }
.fpa-signup-popup-group { margin-bottom:22px; }
.fpa-signup-popup-label { display:block; margin-bottom:8px; color:#2C5AA0; font-weight:600; font-size:0.95rem; letter-spacing:0.2px; }
.fpa-signup-popup-input, .fpa-signup-popup-select { width:100%; padding:14px 16px; border:2px solid #E5EBF5; border-radius:12px; font-size:15px; background:#FAFCFF; transition:all .3s ease; font-family:inherit; }
.fpa-signup-popup-input:focus, .fpa-signup-popup-select:focus { outline:none; border-color:#4A90E2; box-shadow:0 0 0 3px rgba(74,144,226,0.12), 0 2px 8px rgba(74,144,226,0.06); background:#fff; }
.fpa-signup-popup-small { display:block; margin-top:5px; color:#6C757D; font-size:13px; line-height:1.45; }
.fpa-signup-popup-checkbox-group { margin-bottom:18px; }
.fpa-collapsible-toggle { display:inline-flex; align-items:center; gap:8px; background:transparent; border:none; color:#357ABD; font-weight:600; cursor:pointer; padding:6px 8px; border-radius:8px; }
.fpa-collapsible-content.collapsed { display:none; }
.fpa-signup-popup-checkbox-label { display:flex; align-items:flex-start; font-weight:400; line-height:1.5; color:#475569; font-size:0.93rem; }
.fpa-signup-popup-checkbox { width:auto; margin-right:10px; margin-top:2px; transform:scale(1.2); accent-color:#4A90E2; }
.fpa-signup-popup-btn { display:inline-flex; align-items:center; gap:10px; padding:16px 32px; border:none; border-radius:14px; font-family:inherit; font-size:1.05rem; font-weight:700; text-decoration:none; cursor:pointer; transition:all .3s ease; width:100%; justify-content:center; margin-top:20px; background:linear-gradient(135deg,var(--accent-orange) 0%,#FF6F3D 100%); color:#fff !important; box-shadow:0 4px 16px rgba(255,138,101,0.3); letter-spacing:0.3px; }
.fpa-signup-popup-btn i { color:#fff !important; }
.fpa-signup-popup-btn:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(255,138,101,0.4); }
.fpa-signup-popup-btn:disabled { opacity:.6; cursor:not-allowed; transform:none; }
.fpa-signup-popup-message { padding:14px 18px; border-radius:12px; margin:16px 0; font-weight:500; text-align:center; display:none; }
.fpa-signup-popup-message.success { background:#f0fff4; color:#2E7D32; border:1px solid #81C784; border-left:4px solid #28a745; display:block; }
.fpa-signup-popup-message.error { background:#fff5f5; color:#C62828; border:1px solid #E57373; border-left:4px solid #dc3545; display:block; }
@media (max-width:600px) { .fpa-signup-popup-header { padding:28px 20px 20px; border-radius:16px 16px 0 0; } .fpa-signup-popup-header h1, .fpa-signup-popup-header h2 { font-size:1.35rem; } .fpa-signup-popup-form { padding:20px 16px 24px; } .fpa-signup-popup-btn { padding:14px 20px; font-size:1rem; } }

/* FAQ link inside form headers */
.fpa-form-faq-link { margin-top:8px; font-size:0.88rem; color:#6C757D; }
.fpa-form-faq-link a { color:var(--primary-blue, #4A90E2); text-decoration:underline; text-underline-offset:2px; font-weight:500; }
.fpa-form-faq-link a:hover { color:var(--accent-orange, #FF8A65); }

/* ── Decorative form badge ── */
.fpa-form-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 6px 24px rgba(74, 144, 226, 0.3);
    animation: fpaSuccessBadgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.fpa-form-badge i {
    color: #fff;
    font-size: 1.8rem;
}
.fpa-form-badge--event {
    background: linear-gradient(135deg, #FF8A65, #FF6F3D);
    box-shadow: 0 6px 24px rgba(255, 138, 101, 0.3);
}

/* ── Trust / security note ── */
.fpa-form-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f0faf0 0%, #f5fff5 100%);
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #2E7D32;
    margin: 20px 0 4px;
    font-weight: 500;
}
.fpa-form-trust-note i {
    color: #43A047;
    font-size: 0.95rem;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .fpa-form-badge { width: 60px; height: 60px; }
    .fpa-form-badge i { font-size: 1.5rem; }
    .fpa-form-trust-note { font-size: 0.8rem; padding: 10px 14px; }
}

/* End moved FPA form styles */

/* =====================================================
   Pet Impact Reward Panel â€” shown after postcode lookup
   ===================================================== */
.fpa-pet-impact-panel {
    margin: 14px 0 8px;
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.fpa-pet-impact-panel.fpa-pet-impact-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.fpa-pet-impact-inner {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFF8E1 40%, #E8F5E9 100%);
    border: 2px solid #FFB74D;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.12), 0 2px 8px rgba(76, 175, 80, 0.08);
    position: relative;
    overflow: hidden;
}
.fpa-pet-impact-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 183, 77, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(76, 175, 80, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.fpa-pet-impact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    position: relative;
}
.fpa-pet-impact-header i {
    color: #E53935;
    font-size: 1.25rem;
    animation: fpa-heart-pulse 1.5s ease-in-out infinite;
}
.fpa-pet-impact-header span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #E65100;
}
.fpa-pet-impact-counts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    position: relative;
}
.fpa-pet-impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.fpa-pet-impact-stat i {
    font-size: 1.8rem;
    margin-bottom: 2px;
}
.fpa-pet-impact-stat:first-child i { color: #8D6E63; }
.fpa-pet-impact-stat:last-child i { color: #FF8A65; }
.fpa-pet-impact-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #E65100 0%, #FF6D00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fpa-pet-impact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #795548;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fpa-pet-impact-divider {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #FFB74D, transparent);
    flex-shrink: 0;
}
.fpa-pet-impact-message {
    font-size: 0.92rem;
    color: #33691E;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    position: relative;
}
.fpa-pet-impact-source {
    font-size: 0.78rem;
    color: #8899AA;
    margin: 10px 0 0;
    position: relative;
}
.fpa-pet-impact-source .fpa-source-cite { font-style: normal; cursor: help; }
.fpa-pet-impact-source .fpa-source-visible { font-size: 1em; color: #8899AA; font-weight: 400; }
@keyframes fpa-heart-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Leaflet heatmap circle & tooltip */
.fpa-pet-density-circle { transition: opacity 0.4s ease; }
.fpa-pet-tooltip { background: rgba(230, 81, 0, 0.9) !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 6px 12px !important; font-size: 13px !important; font-weight: 600 !important; box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important; }
.fpa-pet-tooltip::before { border-top-color: rgba(230, 81, 0, 0.9) !important; }

@media (max-width: 600px) {
    .fpa-pet-impact-inner { padding: 14px 12px; }
    .fpa-pet-impact-header span { font-size: 0.92rem; }
    .fpa-pet-impact-number { font-size: 1.5rem; }
    .fpa-pet-impact-counts { gap: 16px; }
    .fpa-pet-impact-stat i { font-size: 1.4rem; }
}

/* =====================================================
   Organizer fieldset labels (public / private)
   ===================================================== */
.fpa-event-popup-fieldset-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 14px 0 10px;
    line-height: 1.4;
}
.fpa-event-popup-fieldset-label i { font-size: 0.95rem; flex-shrink: 0; }
.fpa-fieldset-public {
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}
.fpa-fieldset-public i { color: #43A047; }
.fpa-fieldset-private {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFF8E1 100%);
    color: #E65100;
    border: 1px solid #FFCC80;
}
.fpa-fieldset-private i { color: #EF6C00; }
/**
 * Alert & Message Components
 */

/* Success and Error Messages */
.success-message,
.message-success {
    background: transparent;
    color: #155724;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
}

.error-message,
.message-error {
    background: transparent;
    color: #721c24;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
}

.message-warning {
    background: transparent;
    color: #856404;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ffc107;
}

.message {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

/* Popup Error State */
/* Popup Error State (deprecated) - moved to `.message-error` in alerts.css and consolidated.
   Removed legacy `.popup-error` styles as popup UI has been deprecated and form pages
   now use `.message-error` / `.message` classes. */
/**
 * Firework Pet Alert - Simple Header & Navigation
 * Modern Blue/Orange Theme
 * Created: November 18, 2025
 */

/* ==================== CSS VARIABLES - HEADER SPECIFIC ==================== */
:root {
    --header-full-height: 280px;
    --header-duration-normal: 0.3s;
    --header-timing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== SKIP LINK ==================== */
.fpa-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue, #4A90E2);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.fpa-skip-link:focus {
    left: 0;
}

/* ==================== FULL HEADER (HERO) ==================== */
.fpa-header-site { 
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#fpa-header-site-header.fpa-header-full-header {
    width: 100%;
    min-height: var(--header-full-height);
    background: linear-gradient(145deg, #2C5AA0 0%, var(--primary-blue) 40%, #5BA3E8 100%);
    position: relative;
    z-index: var(--z-header);
    box-shadow: 0 8px 32px rgba(44, 90, 160, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: min-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient overlay for depth */
#fpa-header-site-header.fpa-header-full-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 138, 101, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 138, 101, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 8s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes gradientShift {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Decorative paw print pattern */
#fpa-header-site-header.fpa-header-full-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px),
        radial-gradient(circle at 85% 70%, rgba(255, 138, 101, 0.12) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 138, 101, 0.08) 1.5px, transparent 1.5px);
    background-size: 120px 120px;
    background-position: 0 0, 10px 10px, 0 0, 8px 8px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.fpa-header-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: clamp(28px, 5vw, 40px) 0 clamp(24px, 4vw, 35px);
    position: relative;
    z-index: 1;
}

.fpa-header-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(14px, 2.2vw, 24px);
    row-gap: 8px;
    text-align: left;
    margin-bottom: 35px;
    position: relative;
    padding-inline: clamp(12px, 3vw, 24px);
    max-width: min(100%, 960px);
    margin-inline: auto;
}

/* Shield logo area — matches v2 layout */
.fpa-header-content::before {
    content: none;
}

.fpa-header-content .fpa-header-logo-area {
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    left: auto;
    top: auto;
    transform: none;
    width: clamp(76px, 8vw, 110px);
    height: clamp(76px, 8vw, 110px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fpa-header-content .fpa-header-logo-area svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(255, 138, 101, 0.3));
}

#fpa-header-site-header.fpa-header-full-header .fpa-header-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    font-size: 3.2rem;
    color: var(--white);
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-family-heading);
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

/* Subtle underline accent */
#fpa-header-site-header.fpa-header-full-header .fpa-header-brand::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: none;
    width: min(320px, 75%);
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    border-radius: 2px;
    opacity: 0.8;
}

#fpa-header-site-header.fpa-header-full-header .fpa-header-tagline {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    line-height: 1.5;
}

/* ==================== MAIN NAVIGATION - GLASSMORPHISM ==================== */
.fpa-header-main-nav {
    width: 100%;
    min-height: 65px;
    height: auto;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(145deg, #2C5AA0 0%, #4A90E2 40%, #5BA3E8 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -65px;
    margin-left: 0;
    margin-right: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* When sticky (scrolled past header) - add solid blue background behind the glassmorphism */
.fpa-header-main-nav.scrolled {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(145deg, #2C5AA0 0%, #4A90E2 40%, #5BA3E8 100%);
}

.fpa-header-main-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 6px clamp(8px, 2vw, 16px);
    width: min(100%, 1200px);
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.2vw, 8px);
}

.fpa-header-menu-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    min-width: 0;
}

/* ==================== MENU LINKS WITH ORANGE ACCENTS ==================== */
.fpa-header-main-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 0 clamp(12px, 1.9vw, 22px);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    min-height: 44px;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Hover effect with orange gradient */
.fpa-header-main-menu a::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.fpa-header-main-menu a:hover::before {
    opacity: 1;
}

.fpa-header-main-menu a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 138, 101, 0.4);
    color: var(--white);
}

/* Current page indicator with orange accent */
.fpa-header-main-menu .current-menu-item > a {
    background: linear-gradient(135deg, rgba(255, 138, 101, 0.9) 0%, rgba(255, 111, 61, 0.9) 100%);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 138, 101, 0.3);
}

.fpa-header-main-menu .current-menu-item > a:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 992px) {
    #fpa-header-site-header.fpa-header-full-header { min-height: 240px; }
    .fpa-header-main { padding: 30px 15px 0; }
    .fpa-header-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        text-align: center;
        row-gap: 10px;
    }
    .fpa-header-content .fpa-header-logo-area { display: none; }
    #fpa-header-site-header.fpa-header-full-header .fpa-header-brand {
        grid-column: 1;
        justify-self: center;
        margin: 0 0 8px;
    }
    #fpa-header-site-header.fpa-header-full-header .fpa-header-brand::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
    }
    #fpa-header-site-header.fpa-header-full-header .fpa-header-tagline {
        grid-column: 1;
        text-align: center;
    }
    #fpa-header-site-header.fpa-header-full-header .fpa-header-brand { font-size: 2.6rem; }
    #fpa-header-site-header.fpa-header-full-header .fpa-header-tagline { font-size: 1.15rem; }
    .fpa-header-main-menu { gap: 4px; }
    .fpa-header-main-menu a { padding: 0 16px; font-size: 0.9rem; }
}

@media (max-width: 768px) {
    /* Hide entire desktop header on mobile */
    #fpa-header-site-header {
        display: none !important;
    }
    
    .fpa-header-content::before { display: none; }
    .fpa-header-main-nav { display: none; }
    .fpa-header-main-menu { 
        flex-wrap: wrap; 
        gap: 3px; 
        padding: 5px;
        justify-content: center;
    }
    .fpa-header-main-menu a { 
        padding: 0 12px; 
        font-size: 0.85rem; 
        height: 40px; 
    }
}

@media (max-width: 480px) {
    .fpa-header-main-menu a { 
        padding: 0 10px; 
        font-size: 0.8rem; 
        height: 36px; 
    }
}

/* ==================== UTILITY CLASSES ==================== */
.fpa-header-wrapper { 
    position: relative; 
    z-index: 1; 
}

/* Smooth scrolling + anchor offset for sticky nav */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

/* ==================== ADMIN BAR COMPATIBILITY ==================== */

/* Adjust sticky nav position when WordPress admin bar is present */
.admin-bar .fpa-header-main-nav {
    top: 32px;
}

.admin-bar .fpa-header-mobile-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .fpa-header-main-nav {
        top: 46px;
    }
    
    .admin-bar .fpa-header-mobile-nav {
        top: 46px;
    }
}

/* ==================== MOBILE NAVIGATION ==================== */

/* Hide mobile nav on desktop */
.fpa-header-mobile-nav,
.fpa-header-mobile-overlay,
.fpa-header-mobile-menu-panel {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile nav */
    .fpa-header-mobile-nav {
        display: flex;
        width: 100%;
        min-height: 65px;
        height: auto;
        background: 
            linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%),
            linear-gradient(145deg, #2C5AA0 0%, #4A90E2 40%, #5BA3E8 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        justify-content: center;
        align-items: center;
        margin-top: -65px;
        margin-left: 0;
        margin-right: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: background 0.3s ease;
    }
    
    /* Admin bar compatibility for mobile nav */
    .admin-bar .fpa-header-mobile-nav {
        top: 46px;
    }
    
    /* Push page content below the sticky mobile nav */
    main#site-content {
        padding-top: 65px;
    }
    
    /* Account for admin bar + nav */
    .admin-bar main#site-content {
        padding-top: 65px;
    }
    
    /* Anchor scroll offset */
    html {
        scroll-padding-top: 70px;
    }
    
    .fpa-header-mobile-nav-header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px 12px;
        width: 100%;
        max-width: 1200px;
        padding: 0 clamp(12px, 3vw, 20px);
    }
    
    .fpa-header-mobile-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--white);
        gap: 0;
        flex: 1 1 220px;
        min-width: 0;
    }
    
    .fpa-header-mobile-paw {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        flex-shrink: 0;
        line-height: 0;
    }

    .fpa-header-mobile-brand-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }
    
    .fpa-header-mobile-brand-text {
        font-family: var(--font-family-heading);
        font-weight: 700;
        font-size: clamp(1rem, 3.8vw, 1.25rem);
        color: var(--white);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        letter-spacing: 0.2px;
        line-height: 1.1;
    }

    .fpa-header-mobile-tagline {
        font-family: var(--font-family-body);
        font-size: clamp(0.56rem, 1.8vw, 0.68rem);
        color: rgba(255, 255, 255, 0.6);
        letter-spacing: 0.09em;
        text-transform: uppercase;
        white-space: normal;
        line-height: 1.2;
    }
    
    /* ── Mobile menu CTA buttons (inside slide-out panel) ── */
    .fpa-header-mobile-menu-ctas {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 20px;
        background: linear-gradient(135deg, #F0F7FF 0%, #E8F4FD 100%);
        border-bottom: 1px solid rgba(74, 144, 226, 0.12);
    }

    .fpa-header-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        letter-spacing: 0.2px;
    }

    .fpa-header-mobile-cta i {
        font-size: 0.9rem;
    }

    .fpa-header-mobile-cta--alerts {
        background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
        color: #fff;
        box-shadow: 0 2px 10px rgba(74, 144, 226, 0.25);
    }

    .fpa-header-mobile-cta--alerts:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(74, 144, 226, 0.35);
        color: #fff;
    }

    .fpa-header-mobile-cta--event {
        background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
        color: #fff;
        box-shadow: 0 2px 10px rgba(255, 138, 101, 0.25);
    }

    .fpa-header-mobile-cta--event:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(255, 138, 101, 0.35);
        color: #fff;
    }
    
    /* Hamburger menu toggle (button reset) */
    .fpa-header-mobile-menu-toggle {
        -webkit-appearance: none;
        appearance: none;
        font-size: 0;
        line-height: 0;
        color: transparent;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.12);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px;
        transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .fpa-header-hamburger {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    
    .fpa-header-mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.55);
        transform: scale(1.05);
    }
    
    /* Mobile slide-out menu panel */
    .fpa-header-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 90, 160, 0.6);
        backdrop-filter: blur(8px);
        z-index: 1998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        cursor: pointer;
    }
    
    .fpa-header-mobile-menu-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(360px, 90vw);
        max-width: none;
        height: 100vh;
        height: 100svh;
        background: linear-gradient(180deg, #fff 0%, #F8F9FA 100%);
        box-shadow: -8px 0 32px rgba(44, 90, 160, 0.3);
        z-index: 1999;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        display: block;
    }
    
    /* When menu is open (JS-toggled class) */
    .fpa-header-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
    
    .fpa-header-mobile-menu-panel.is-open {
        right: 0;
    }
    
    .fpa-header-mobile-menu-toggle.is-open .fpa-header-hamburger:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .fpa-header-mobile-menu-toggle.is-open .fpa-header-hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .fpa-header-mobile-menu-toggle.is-open .fpa-header-hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    .fpa-header-mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background: linear-gradient(135deg, #2C5AA0 0%, var(--primary-blue) 100%);
        color: white;
        border-bottom: 3px solid var(--accent-orange);
    }
    
    .fpa-header-mobile-menu-title {
        font-size: 1.3rem;
        font-weight: 800;
        font-family: var(--font-family-heading);
    }
    
    .fpa-header-mobile-close {
        background: rgba(255, 138, 101, 0.3);
        border: 2px solid rgba(255, 138, 101, 0.5);
        color: white;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
        line-height: 1;
    }
    
    .fpa-header-mobile-close:hover {
        background: var(--accent-orange);
        transform: scale(1.1) rotate(90deg);
    }
    
    .fpa-header-mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .fpa-header-mobile-menu-item {
        border-bottom: 1px solid rgba(44, 90, 160, 0.08);
    }
    
    .fpa-header-mobile-menu-item a {
        color: var(--primary-blue);
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 18px 20px;
        font-weight: 600;
        font-size: 1rem;
        border-left: 4px solid transparent;
        transition: background-color 0.3s ease, border-color 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
    }
    
    .fpa-header-mobile-menu-item a::before {
        content: '';
        width: 8px;
        height: 8px;
        background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
        border-radius: 50%;
        margin-right: 12px;
        opacity: 0;
        transform: scale(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .fpa-header-mobile-menu-item a:hover,
    .fpa-header-mobile-menu-item.current-menu-item a {
        background: linear-gradient(90deg, rgba(255, 138, 101, 0.08) 0%, transparent 100%);
        border-left-color: var(--accent-orange);
        padding-left: 25px;
    }
    
    .fpa-header-mobile-menu-item a:hover::before,
    .fpa-header-mobile-menu-item.current-menu-item a::before {
        opacity: 1;
        transform: scale(1);
    }
    
    .fpa-header-mobile-menu-item.current-menu-item a {
        color: #2C5AA0;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .fpa-header-mobile-brand-text {
        font-size: clamp(0.98rem, 5vw, 1.1rem);
    }

    .fpa-header-mobile-tagline {
        font-size: clamp(0.52rem, 2.5vw, 0.6rem);
    }

    .fpa-header-mobile-cta {
        padding: 10px 16px;
        font-size: 0.88rem;
    }
}
/**
 * Firework Pet Alert â€” Footer Styles
 * Synced with header.php design language: blue/orange palette,
 * Poppins headings, Font Awesome 6 icons, glassmorphism accents.
 *
 * â”€â”€ Breakpoints â”€â”€
 *   Desktop  : 1200 px +
 *   Tablet   : 768 â€“ 1024 px
 *   Mobile   : < 768 px
 *   Small    : < 480 px
 *
 * Updated: 2026-02-20
 */

/* ==================== FOOTER BASE ==================== */
.site-footer {
    background: linear-gradient(145deg, var(--text-primary) 0%, var(--dark-gray) 60%, #1a252f 100%);
    color: var(--light-gray);
    position: relative;
    padding: 60px 0 30px;
    /* Direct body child â€” no wrapper constraints, fills full width naturally */
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    /* Orange accent border matching header nav's accent styling */
    border-top: 3px solid var(--accent-orange);
}

/* Decorative paw-print pattern â€” mirrors header::after */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px),
        radial-gradient(circle at 85% 70%, rgba(74, 144, 226, 0.06) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 138, 101, 0.05) 1.5px, transparent 1.5px);
    background-size: 120px 120px;
    background-position: 0 0, 10px 10px, 0 0, 8px 8px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* ==================== FOOTER GRID â€” 4 columns at desktop ==================== */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* ==================== COLUMN HEADINGS ==================== */
.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-family-heading);
    letter-spacing: 0.3px;
}

/* Orange-to-blue gradient underline â€” mirrors header brand underline */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-blue));
    border-radius: 2px;
}

/* ==================== COLUMN LINKS ==================== */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(236, 240, 241, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Icon styling in footer links */
.footer-column a > i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
    color: var(--accent-orange);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-column a:hover > i {
    opacity: 1;
    transform: translateX(2px);
}

/* Slide-in accent bar on hover â€” uses primary-blue variable */
.footer-column a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 15px;
}

.footer-column a:hover::before {
    width: 8px;
}

/* ==================== COMPANY BRAND ==================== */
.footer-column p {
    color: rgba(236, 240, 241, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.company-logo {
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-family-heading);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.company-logo .fpa-footer-shield {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    line-height: 0;
    flex-shrink: 0;
}

.company-logo .fpa-footer-wordmark {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.company-logo .fpa-footer-tagline {
    font-size: 11px;
    color: rgba(236, 240, 241, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* ==================== CONTACT INFO ==================== */
.contact-info {
    margin-bottom: 25px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-top: 3px;
}

.contact-info li a,
.contact-info li span {
    color: rgba(236, 240, 241, 0.9);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info li a:hover {
    color: var(--white);
    padding-left: 0;
}

.contact-info li a::before {
    display: none;
}

/* ==================== SOCIAL LINKS â€” 44 px touch targets (WCAG 2.5.8) ==================== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Orange glow hover â€” matches header CTA hover style */
.social-link:hover {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 138, 101, 0.4);
    padding-left: 0;
    color: var(--white);
}

.social-link::before {
    display: none;
}

.social-link i {
    font-size: 1rem;
    line-height: 1;
}

/* ==================== PET TIPS & NEWSLETTER â€” glassmorphism accent ==================== */
.pet-tips-container {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.pet-tips {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
        linear-gradient(135deg, rgba(74, 144, 226, 0.12) 0%, rgba(53, 122, 189, 0.12) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tips-header {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.newsletter-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.newsletter-label {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--font-family-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.newsletter-label i {
    color: var(--accent-orange);
}

.newsletter-form {
    display: flex;
    flex: 1;
    gap: 10px;
    min-width: 300px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-family-primary);
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.newsletter-input::placeholder {
    color: rgba(236, 240, 241, 0.5);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Newsletter button â€” now uses header's orange gradient, matching CTA style */
.newsletter-btn {
    padding: 12px 22px;
    border: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6F3D 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 138, 101, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 138, 101, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-btn i {
    font-size: 0.85rem;
}

/* Hidden-by-default sr-only label */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==================== TIP ROTATION ==================== */
.tip-rotation {
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-tip {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    transition: opacity 0.8s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.active-tip i {
    color: var(--accent-orange);
    flex-shrink: 0;
}

.active-tip[data-tip="1"] {
    position: relative;
    opacity: 1;
}

/* Hidden tips â€” CSS class replaces inline style="display:none" */
.fpa-tip-hidden {
    display: none;
}

/* ==================== FOOTER BOTTOM ==================== */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 25px 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: rgba(236, 240, 241, 0.9);
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: rgba(236, 240, 241, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

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

.footer-links-sep {
    color: rgba(236, 240, 241, 0.5);
    font-size: 0.8rem;
}

/* ==================== RESPONSIVE â€” Tablet (max-width: 1024px) ==================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .newsletter-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
        min-width: 0;
    }

    .tip-rotation {
        min-height: 80px;
    }
}

/* ==================== RESPONSIVE â€” Mobile (max-width: 768px) ==================== */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Remove slide-in bar on mobile â€” not thumb-friendly */
    .footer-column a::before {
        display: none;
    }

    .footer-column a:hover {
        padding-left: 0;
    }

    .company-logo {
        align-items: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-inline {
        justify-content: center;
        text-align: center;
    }

    .newsletter-label {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

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

    .footer-links {
        justify-content: center;
    }

    .active-tip {
        font-size: 0.95rem;
    }

    .pet-tips {
        padding: 16px;
        border-radius: 12px;
    }
}

/* ==================== RESPONSIVE â€” Small mobile (max-width: 480px) ==================== */
@media (max-width: 480px) {
    .site-footer {
        padding: 36px 0 16px;
    }

    .footer-container,
    .pet-tips-container {
        padding: 0 16px;
    }

    .footer-column h3 {
        font-size: 1.15rem;
    }

    .newsletter-label {
        font-size: 1rem;
    }

    .company-logo {
        font-size: 1.5rem;
    }

    .active-tip {
        font-size: 0.9rem;
    }

    .pet-tips {
        padding: 12px;
    }

    .tip-rotation {
        min-height: 100px;
    }
}

/* ==================== PRINT ==================== */
@media print {
    .site-footer {
        background: white !important;
        color: black !important;
        box-shadow: none;
        border-top: 1px solid #ccc;
    }

    .footer-column h3,
    .footer-column a,
    .contact-info li a,
    .contact-info li span,
    .footer-links a {
        color: black !important;
    }

    .pet-tips-container,
    .social-links {
        display: none !important;
    }
}
