/* ============================================================
   Poke Forecast — Astra Child Theme
   pokeforecast-theme.css
   Full Pokemon TCG aesthetic: Red / Yellow / Navy / White
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────────────────────── */

:root {
    --pf-red:           #CC0000;
    --pf-red-dark:      #990000;
    --pf-red-light:     #FDEAEA;
    --pf-yellow:        #FFCB05;
    --pf-yellow-dark:   #E5B500;
    --pf-yellow-light:  #FFFBEA;
    --pf-navy:          #1B2A4A;
    --pf-navy-dark:     #0F1923;
    --pf-navy-light:    #2A3D63;
    --pf-blue:          #3B4CCA;
    --pf-blue-light:    #EBF0FF;
    --pf-white:         #FFFFFF;
    --pf-off-white:     #F9F9FB;
    --pf-gray-50:       #F4F5F7;
    --pf-gray-100:      #E9ECEF;
    --pf-gray-300:      #CED4DA;
    --pf-gray-500:      #9CA3AF;
    --pf-gray-700:      #495057;
    --pf-gray-900:      #212529;
    --pf-green:         #16A34A;
    --pf-green-light:   #DCFCE7;

    /* Astra variable overrides */
    --ast-global-color-0:  #CC0000;
    --ast-global-color-1:  #FFCB05;
    --ast-global-color-2:  #1B2A4A;
    --ast-global-color-3:  #333333;
    --ast-global-color-4:  #F4F5F7;
    --ast-global-color-5:  #FFFFFF;
    --ast-global-color-6:  #3B4CCA;
    --ast-global-color-7:  #E5E7EB;

    /* Typography */
    --pf-font-display: 'Oswald', 'Arial Black', sans-serif;
    --pf-font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;
    --pf-font-mono:    'Courier New', monospace;

    /* Spacing */
    --pf-radius:    10px;
    --pf-radius-lg: 16px;
    --pf-radius-xl: 24px;

    /* Shadows */
    --pf-shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --pf-shadow:     0 4px 20px rgba(0,0,0,0.12);
    --pf-shadow-lg:  0 8px 40px rgba(0,0,0,0.18);
}

/* ── 2. Base / Reset ──────────────────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--pf-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--pf-gray-900);
    background-color: var(--pf-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── 3. Typography ────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6,
.entry-title,
.ast-blog-single-element.ast-title,
.site-title {
    font-family: var(--pf-font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--pf-navy);
    letter-spacing: -0.3px;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; font-weight: 700; }

p { margin-bottom: 1.25rem; }

a {
    color: var(--pf-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--pf-red); }

strong { font-weight: 700; }

blockquote {
    border-left: 5px solid var(--pf-yellow);
    background: var(--pf-yellow-light);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--pf-radius) var(--pf-radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--pf-navy);
}

code {
    font-family: var(--pf-font-mono);
    font-size: 0.875em;
    background: var(--pf-gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--pf-red);
}

hr {
    border: none;
    border-top: 2px solid var(--pf-yellow);
    margin: 2.5rem 0;
    opacity: 0.4;
}

/* ── 4. Site Layout ───────────────────────────────────────────────────────── */

.ast-container,
.ast-container-fluid {
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

#page {
    background: var(--pf-off-white);
}

.site-content {
    padding-top: 0;
}

/* ── 5. HEADER ────────────────────────────────────────────────────────────── */

/* Main header bar */
#masthead,
.ast-primary-header-bar,
.main-header-bar {
    background: var(--pf-navy) !important;
    border-bottom: 4px solid var(--pf-yellow) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    padding: 0 !important;
}

/* Header inner */
.ast-main-header-wrap,
.ast-header-break-point .ast-main-header-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
}

/* ── Site Logo / Branding ── */

.pf-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.pf-logo-svg {
    height: 52px;
    width: auto;
    display: block;
}

.ast-site-logo-img {
    max-height: 56px;
    width: auto;
}

.site-title a,
.ast-site-name a {
    font-family: var(--pf-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--pf-yellow) !important;
    text-decoration: none;
}

.site-description,
.ast-site-description {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ── Primary Navigation ── */

.main-navigation,
.ast-main-header-bar-alignment {
    display: flex;
    align-items: center;
}

.main-navigation ul,
.ast-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.main-navigation ul li a,
.ast-nav-menu li > a,
.ast-header-break-point .ast-primary-menu > li > a {
    font-family: var(--pf-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.85rem 1.1rem !important;
    display: block;
    transition: color 0.2s ease, background 0.2s ease;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}

.main-navigation ul li a:hover,
.ast-nav-menu li:hover > a,
.main-navigation ul li:hover > a {
    color: var(--pf-yellow) !important;
    background: rgba(255,255,255,0.06);
    border-bottom-color: var(--pf-yellow);
}

.main-navigation ul li.current-menu-item > a,
.ast-nav-menu li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a {
    color: var(--pf-yellow) !important;
    border-bottom-color: var(--pf-yellow);
    background: rgba(255, 203, 5, 0.08);
}

/* Dropdown menus */
.main-navigation ul ul,
.ast-nav-menu .sub-menu {
    background: var(--pf-navy-dark);
    border: 1px solid rgba(255,203,5,0.2);
    border-top: 3px solid var(--pf-yellow);
    border-radius: 0 0 var(--pf-radius) var(--pf-radius);
    box-shadow: var(--pf-shadow);
    min-width: 200px;
}

.main-navigation ul ul li a,
.ast-nav-menu .sub-menu li > a {
    border-bottom: none !important;
    border-left: 3px solid transparent;
    padding: 0.7rem 1rem !important;
    font-size: 0.85rem !important;
}

.main-navigation ul ul li a:hover,
.ast-nav-menu .sub-menu li:hover > a {
    border-left-color: var(--pf-yellow);
    background: rgba(255,255,255,0.05) !important;
}

/* ── Mobile Menu ── */

.ast-mobile-menu-buttons .menu-toggle,
.ast-menu-toggle {
    background: transparent !important;
    border: 2px solid var(--pf-yellow) !important;
    color: var(--pf-yellow) !important;
    border-radius: var(--pf-radius);
    padding: 8px 12px !important;
    font-size: 0.8rem;
    font-family: var(--pf-font-display);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.ast-mobile-menu-buttons .menu-toggle:hover,
.ast-menu-toggle:hover {
    background: var(--pf-yellow) !important;
    color: var(--pf-navy) !important;
}

/* Mobile menu dropdown */
.ast-mobile-menu-container,
.ast-header-break-point .ast-mobile-menu-container,
#ast-mobile-header .ast-mobile-menu-container,
.ast-header-break-point #ast-mobile-header {
    background: var(--pf-navy-dark) !important;
    border-top: 3px solid var(--pf-yellow) !important;
}

.ast-mobile-menu-container .menu-item > a,
.ast-header-break-point .ast-mobile-menu-container .menu-item > a,
.ast-mobile-menu-container li > a {
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 0.9rem 1.25rem !important;
    font-family: var(--pf-font-display);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent !important;
}

.ast-mobile-menu-container .menu-item > a:hover,
.ast-mobile-menu-container .menu-item.current-menu-item > a,
.ast-header-break-point .ast-mobile-menu-container .menu-item > a:hover {
    color: var(--pf-yellow) !important;
    background: rgba(255,203,5,0.06) !important;
}

/* ── Sticky Header ── */

.ast-header-sticked {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}

/* ── 6. MAIN CONTENT AREA ─────────────────────────────────────────────────── */

.ast-article-single,
.ast-article-post {
    background: var(--pf-white);
}

.site-content #content {
    padding: 2.5rem 0;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    background: var(--pf-white);
    border-radius: var(--pf-radius-lg);
    box-shadow: var(--pf-shadow-sm);
    overflow: hidden;
    border: 1px solid var(--pf-gray-100);
}

/* Page content */
.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--pf-gray-900);
}

.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--pf-yellow);
    display: inline-block;
}

.entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--pf-red);
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

.entry-content ul li::marker {
    color: var(--pf-yellow);
}

/* Page header / entry header */
.entry-header {
    padding: 2rem 2rem 0;
}

.entry-content {
    padding: 1.5rem 2rem 2rem;
}

/* No top padding on homepage — hero sits flush against header spacer */
.home .entry-content {
    padding-top: 0 !important;
}

/* No top padding on plugin-generated pages */
body:has(#pfdb-wrap) .entry-content,
body:has(#pfseal-wrap) .entry-content {
    padding-top: 0 !important;
}

/* ── 8. POST / PAGE TITLES ────────────────────────────────────────────────── */

.entry-title {
    font-family: var(--pf-font-display);
    font-weight: 700;
    color: var(--pf-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

.entry-title a {
    color: var(--pf-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.entry-title a:hover {
    color: var(--pf-red);
}

/* ── 9. POST META ─────────────────────────────────────────────────────────── */

.ast-post-meta-wrap,
.entry-meta,
.ast-article-post .post-meta {
    font-size: 0.82rem;
    color: var(--pf-gray-500);
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.entry-meta a {
    color: var(--pf-gray-700);
    font-weight: 600;
}

.entry-meta a:hover {
    color: var(--pf-red);
}

/* Category labels on posts */
.cat-links a,
.ast-breadcrumbs-wrapper a,
.wp-block-post-terms a {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: var(--pf-red-light);
    color: var(--pf-red) !important;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.cat-links a:hover,
.wp-block-post-terms a:hover {
    background: var(--pf-red);
    color: var(--pf-white) !important;
}

/* ── 10. FEATURED IMAGES ──────────────────────────────────────────────────── */

.ast-single-post-order .ast-post-thumbnail-wrap img,
.ast-blog-single-element.ast-featured-image img,
.post-thumbnail img {
    border-radius: var(--pf-radius) var(--pf-radius) 0 0;
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* ── 11. BLOG ARCHIVE / CARD GRID ─────────────────────────────────────────── */

.ast-article-post {
    background: var(--pf-white);
    border: 2px solid var(--pf-gray-100);
    border-radius: var(--pf-radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    margin-bottom: 2rem;
}

.ast-article-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--pf-shadow);
    border-color: var(--pf-yellow);
}

/* Blog post card — title */
.blog .entry-title,
.archive .entry-title {
    font-size: 1.3rem;
}

/* Blog post card — excerpt */
.ast-excerpt {
    font-size: 0.95rem;
    color: var(--pf-gray-700);
    line-height: 1.65;
}

/* Blog post card — "Read More" */
.ast-read-more,
.read-more-container a,
.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--pf-red);
    color: var(--pf-yellow) !important;
    border-radius: var(--pf-radius);
    font-family: var(--pf-font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.ast-read-more:hover,
.more-link:hover {
    background: var(--pf-red-dark);
    color: var(--pf-yellow) !important;
    transform: translateX(2px);
    text-decoration: none;
}

.ast-read-more::after,
.more-link::after {
    content: '→';
}

/* Blog pagination */
.ast-pagination-wrapper,
.navigation.pagination {
    margin: 2.5rem 0;
    text-align: center;
}

.ast-pagination-wrapper .page-numbers,
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--pf-radius);
    border: 2px solid var(--pf-gray-300);
    color: var(--pf-navy);
    font-weight: 700;
    font-family: var(--pf-font-display);
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
    margin: 0 2px;
}

.ast-pagination-wrapper .page-numbers:hover,
.pagination .page-numbers:hover {
    background: var(--pf-yellow);
    border-color: var(--pf-yellow);
    color: var(--pf-navy);
}

.ast-pagination-wrapper .page-numbers.current,
.pagination .page-numbers.current {
    background: var(--pf-red);
    border-color: var(--pf-red);
    color: var(--pf-yellow);
}

/* ── 12. SINGLE POST ──────────────────────────────────────────────────────── */

.pf-single-post .entry-header {
    padding: 2.5rem 2rem 1.5rem;
    background: var(--pf-navy);
    color: var(--pf-white);
    margin: 0;
}

.pf-single-post .entry-title {
    color: var(--pf-yellow);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.pf-single-post .entry-meta {
    color: rgba(255,255,255,0.65);
}

.pf-single-post .entry-meta a {
    color: rgba(255,255,255,0.85);
}

.pf-single-post .entry-meta a:hover {
    color: var(--pf-yellow);
}

.pf-single-post .entry-content {
    padding: 2rem;
}

/* Related posts section */
.ast-article-single-adjacent {
    background: var(--pf-gray-50);
    border-radius: var(--pf-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Author box */
.ast-author-details {
    background: var(--pf-yellow-light);
    border: 2px solid var(--pf-yellow);
    border-radius: var(--pf-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.ast-author-details .ast-author-bio-text {
    font-size: 0.95rem;
    color: var(--pf-navy);
}

/* ── 13. SIDEBAR ──────────────────────────────────────────────────────────── */

.ast-sidebar-layout-3 .secondary,
#secondary {
    background: var(--pf-white);
    border-radius: var(--pf-radius-lg);
    border: 2px solid var(--pf-gray-100);
    padding: 1.5rem;
}

.widget-title,
.widgettitle {
    font-family: var(--pf-font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pf-navy);
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--pf-yellow);
    margin-bottom: 1rem;
}

.widget ul li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--pf-gray-100);
    font-size: 0.9rem;
}

.widget ul li a {
    color: var(--pf-gray-700);
    font-weight: 500;
}

.widget ul li a:hover {
    color: var(--pf-red);
}

/* Search widget */
.search-field {
    border: 2px solid var(--pf-gray-300);
    border-radius: var(--pf-radius);
    padding: 0.6rem 1rem;
    font-family: var(--pf-font-body);
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s;
}

.search-field:focus {
    border-color: var(--pf-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,76,202,0.12);
}

.search-submit {
    background: var(--pf-red);
    color: var(--pf-yellow);
    border: none;
    border-radius: var(--pf-radius);
    padding: 0.6rem 1.25rem;
    font-family: var(--pf-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
    width: 100%;
}

.search-submit:hover {
    background: var(--pf-red-dark);
}

/* ── 14. BUTTONS ──────────────────────────────────────────────────────────── */

.ast-button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link,
.button,
.btn {
    font-family: var(--pf-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.75rem 1.75rem;
    border-radius: var(--pf-radius);
    background: var(--pf-red);
    color: var(--pf-yellow);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 1;
}

.ast-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.button:hover,
.btn:hover {
    background: var(--pf-red-dark);
    color: var(--pf-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204,0,0,0.3);
    text-decoration: none;
}

/* Outline button variant */
.ast-button.ast-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--pf-red);
    color: var(--pf-red);
}

.ast-button.ast-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--pf-red);
    color: var(--pf-yellow);
}

/* Yellow CTA button */
.pf-btn-yellow,
.ast-button.pf-btn-yellow {
    background: var(--pf-yellow);
    color: var(--pf-navy);
}

.pf-btn-yellow:hover {
    background: var(--pf-yellow-dark);
    color: var(--pf-navy);
    box-shadow: 0 6px 16px rgba(255,203,5,0.4);
}

/* ── 15. FORMS ────────────────────────────────────────────────────────────── */

input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
    border: 2px solid var(--pf-gray-300);
    border-radius: var(--pf-radius);
    padding: 0.65rem 1rem;
    font-family: var(--pf-font-body);
    font-size: 0.95rem;
    color: var(--pf-navy);
    background: var(--pf-white);
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--pf-blue);
    box-shadow: 0 0 0 3px rgba(59,76,202,0.12);
}

label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pf-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

/* ── 16. BREADCRUMBS ──────────────────────────────────────────────────────── */

.ast-breadcrumbs-wrapper {
    font-size: 0.82rem;
    padding: 0.6rem 0;
    color: var(--pf-gray-500);
}

.ast-breadcrumbs-wrapper a {
    color: var(--pf-blue);
}

.ast-breadcrumbs-wrapper a:hover {
    color: var(--pf-red);
}

/* ── 17. FOOTER ───────────────────────────────────────────────────────────── */

#colophon,
.ast-footer-overlay,
footer.site-footer {
    background: var(--pf-navy-dark) !important;
    border-top: 4px solid var(--pf-yellow);
    color: rgba(255,255,255,0.75);
}

/* Footer widget area */
.footer-widget-area {
    padding: 3rem 0 2rem;
}

.footer-widget-area .widget-title {
    color: var(--pf-yellow);
    border-bottom-color: rgba(255,203,5,0.3);
}

.footer-widget-area .widget p,
.footer-widget-area .widget li {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-widget-area .widget a {
    color: rgba(255,255,255,0.75);
}

.footer-widget-area .widget a:hover {
    color: var(--pf-yellow);
}

/* Footer navigation */
.footer-nav-wrap,
.ast-small-footer-wrap,
.ast-footer-copyright {
    background: rgba(0,0,0,0.2) !important;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ast-small-footer .menu,
.ast-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.ast-small-footer .menu li a,
.ast-footer-menu li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    padding: 0.25rem 0.75rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: color 0.2s;
}

.ast-small-footer .menu li:last-child a,
.ast-footer-menu li:last-child a {
    border-right: none;
}

.ast-small-footer .menu li a:hover,
.ast-footer-menu li a:hover {
    color: var(--pf-yellow);
}

/* Footer copyright */
.ast-footer-copyright,
.site-info {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 0.5rem 1rem;
    line-height: 1.6;
}

.ast-footer-copyright a,
.site-info a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.ast-footer-copyright a:hover,
.site-info a:hover {
    color: var(--pf-yellow);
}

/* Footer brand accent */
#colophon::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--pf-red) 0%, var(--pf-yellow) 50%, var(--pf-blue) 100%);
}

/* ── 18. PAGE-SPECIFIC STYLES ─────────────────────────────────────────────── */

/* Home page — below hero, above fold */
.pf-home .site-content,
.home #page,
.home #primary,
.home .site-main {
    background: var(--pf-navy) !important;
    padding-top: 0 !important;
}

/* Home page content area */
.pf-home .entry-content {
    padding: 0 2rem 2rem;
    max-width: 840px;
    margin: 0 auto;
}

/* Steps grid in home page content */
.pf-home .entry-content > div[style*="grid"] {
    margin: 1.5rem 0;
}

/* About page */
.page-id-3 .entry-header {
    background: var(--pf-navy);
    color: var(--pf-white);
}

.page-id-3 .entry-title {
    color: var(--pf-yellow);
}

/* Legal pages (Privacy, Terms, Disclaimer, Cookie, DMCA) */
.page-id-5 .entry-content,
.page-id-6 .entry-content,
.page-id-7 .entry-content,
.page-id-8 .entry-content,
.page-id-9 .entry-content {
    max-width: 780px;
}

/* Disclaimer callout */
.entry-content > p[style*="background:#fff3cd"] {
    border-left: 5px solid var(--pf-yellow);
    border-radius: 0 var(--pf-radius) var(--pf-radius) 0;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

/* ── 19. NOTICE BOXES / CALLOUTS ──────────────────────────────────────────── */

.pf-notice {
    padding: 1rem 1.25rem;
    border-radius: var(--pf-radius);
    margin: 1.5rem 0;
    border-left: 5px solid currentColor;
    font-size: 0.95rem;
}

.pf-notice-warning {
    background: var(--pf-yellow-light);
    color: #7a5100;
    border-left-color: var(--pf-yellow);
}

.pf-notice-info {
    background: var(--pf-blue-light);
    color: var(--pf-navy);
    border-left-color: var(--pf-blue);
}

.pf-notice-success {
    background: var(--pf-green-light);
    color: #14532d;
    border-left-color: var(--pf-green);
}

.pf-notice-danger {
    background: var(--pf-red-light);
    color: #7f1d1d;
    border-left-color: var(--pf-red);
}

/* ── 20. TABLE STYLES ─────────────────────────────────────────────────────── */

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    overflow: hidden;
    box-shadow: var(--pf-shadow-sm);
}

.entry-content table thead tr {
    background: var(--pf-navy);
    color: var(--pf-yellow);
}

.entry-content table th {
    font-family: var(--pf-font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    text-align: left;
}

.entry-content table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--pf-gray-100);
    color: var(--pf-gray-900);
}

.entry-content table tr:hover td {
    background: var(--pf-yellow-light);
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

/* ── 21. 404 PAGE ─────────────────────────────────────────────────────────── */

.error404 .entry-header {
    background: var(--pf-navy);
    padding: 4rem 2rem;
    text-align: center;
}

.error404 .entry-title {
    color: var(--pf-yellow);
    font-size: 4rem;
}

.error404 .entry-content {
    text-align: center;
    padding: 3rem 2rem;
}

.error404 .entry-content p {
    font-size: 1.1rem;
    color: var(--pf-gray-700);
}

/* ── 22. ACCESSIBILITY & FOCUS ────────────────────────────────────────────── */

:focus-visible {
    outline: 3px solid var(--pf-yellow);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    background: var(--pf-yellow);
    color: var(--pf-navy);
    font-family: var(--pf-font-display);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 0 0 var(--pf-radius) var(--pf-radius);
}

/* ── 23. SELECTION ────────────────────────────────────────────────────────── */

::selection {
    background: var(--pf-yellow);
    color: var(--pf-navy);
}

::-moz-selection {
    background: var(--pf-yellow);
    color: var(--pf-navy);
}

/* ── 24. SCROLLBAR (WebKit) ───────────────────────────────────────────────── */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pf-navy-dark); }
::-webkit-scrollbar-thumb {
    background: var(--pf-yellow);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--pf-yellow-dark); }

/* ── 25. ANIMATIONS ───────────────────────────────────────────────────────── */

@keyframes pf-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pf-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.pf-fade-in {
    animation: pf-fade-up 0.5s ease forwards;
}

/* ── 26. RESPONSIVE ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
    .entry-header,
    .entry-content {
        padding: 1.25rem;
    }
    .ast-small-footer .menu {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .ast-small-footer .menu li a {
        border-right: none;
    }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .ast-container,
    .ast-container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ── 27. PRINT ────────────────────────────────────────────────────────────── */

@media print {
    #masthead,
    #colophon,
    .ast-breadcrumbs-wrapper,
    .ast-read-more,
    .navigation {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .entry-title {
        color: black;
    }
}

/* ── Mobile Menu — nuclear color override ────────────────────────────────── */
#ast-mobile-header,
#ast-mobile-header .ast-mobile-menu-container,
.ast-mobile-menu-container,
.ast-header-break-point .ast-mobile-menu-container,
.ast-header-break-point #ast-mobile-header,
.ast-below-header-section,
.ast-mobile-menu-wrap {
    background: var(--pf-navy-dark) !important;
    background-color: var(--pf-navy-dark) !important;
    border-top: 3px solid var(--pf-yellow) !important;
}

.ast-mobile-menu-container ul,
.ast-mobile-menu-container li,
.ast-header-break-point .ast-mobile-menu-container ul,
.ast-header-break-point .ast-mobile-menu-container li {
    background: transparent !important;
    background-color: transparent !important;
}

.ast-mobile-menu-container li a,
.ast-mobile-menu-container li > a,
.ast-mobile-menu-container .menu-item > a,
.ast-header-break-point .ast-mobile-menu-container li a,
.ast-header-break-point .main-navigation .mobile-menu li a {
    color: rgba(255,255,255,0.9) !important;
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 1rem 1.25rem !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: block !important;
}

.ast-mobile-menu-container li a:hover,
.ast-mobile-menu-container li.current-menu-item > a,
.ast-header-break-point .ast-mobile-menu-container li a:hover {
    color: var(--pf-yellow) !important;
    background-color: rgba(255,203,5,0.06) !important;
}

/* ============================================================
   CUSTOM HEADER — replaces Astra header entirely
   ============================================================ */

/* ── Header wrapper ── */
.pf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--pf-navy);
    border-bottom: 4px solid var(--pf-yellow);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    width: 100%;
}

/* WordPress admin bar pushes html down with margin-top — compensate */
.admin-bar .pf-header {
    top: 32px;
}

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

.pf-header-spacer {
    height: 76px;
}

.admin-bar .pf-header-spacer {
    height: 108px; /* 76 + 32 */
}

@media screen and (max-width: 782px) {
    .admin-bar .pf-header-spacer {
        height: 122px; /* 76 + 46 */
    }
}

.pf-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ── Logo ── */
.pf-header-logo a,
.pf-site-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pf-yellow) !important;
    text-decoration: none !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pf-header-logo .custom-logo {
    max-height: 52px;
    width: auto;
    display: block;
}

/* ── Desktop nav ── */
.pf-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pf-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.pf-nav-menu li {
    position: relative;
}

.pf-nav-menu li a {
    display: block;
    padding: 0.85rem 1rem;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.pf-nav-menu li a:hover,
.pf-nav-menu li.current-menu-item > a,
.pf-nav-menu li.current_page_item > a {
    color: var(--pf-yellow) !important;
    border-bottom-color: var(--pf-yellow);
    background: rgba(255,203,5,0.06);
}

/* ── Dropdown ── */
.pf-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--pf-navy-dark);
    border: 1px solid rgba(255,203,5,0.2);
    border-top: 3px solid var(--pf-yellow);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
}

.pf-nav-menu li:hover > .sub-menu {
    display: block;
}

.pf-nav-menu .sub-menu li a {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    border-left: 3px solid transparent;
    padding: 0.65rem 1rem !important;
    font-size: 0.82rem !important;
}

.pf-nav-menu .sub-menu li a:hover {
    border-left-color: var(--pf-yellow);
    border-bottom-color: rgba(255,255,255,0.06) !important;
    background: rgba(255,255,255,0.04) !important;
}

/* ── Hamburger button ── */
.pf-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid var(--pf-yellow);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.pf-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--pf-yellow);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.pf-hamburger:hover {
    background: rgba(255,203,5,0.12);
}

.pf-hamburger.pf-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pf-hamburger.pf-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pf-hamburger.pf-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu drawer ── */
.pf-mobile-menu {
    display: none;
    background: var(--pf-navy-dark);
    border-top: 1px solid rgba(255,203,5,0.2);
}

.pf-mobile-menu.pf-open {
    display: block;
}

.pf-mobile-menu-inner {
    padding: 0.5rem 0 1rem;
}

.pf-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pf-mobile-nav-menu li a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.pf-mobile-nav-menu li a:hover,
.pf-mobile-nav-menu li.current-menu-item > a,
.pf-mobile-nav-menu li.current_page_item > a {
    color: var(--pf-yellow) !important;
    background: rgba(255,203,5,0.06);
    padding-left: 2rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .pf-nav { display: none; }
    .pf-hamburger { display: flex; }
    .pf-header-spacer { height: 76px; }
    /* pf-mobile-menu stays display:none until JS adds pf-open class */
    /* Force hide ALL Astra mobile nav elements — use only pf-mobile-menu */
    .ast-mobile-menu-buttons,
    .ast-mobile-menu-wrap,
    .ast-mobile-menu-container,
    #ast-mobile-header,
    .ast-mobile-header,
    .ast-below-header-wrap,
    .main-header-bar .ast-mobile-menu-buttons {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .pf-header-inner { padding: 0 1rem; }
    .pf-site-name { font-size: 1.2rem; }
}

/* ── Hide Astra's original header ── */
#masthead,
.ast-primary-header-bar,
.main-header-bar,
.ast-above-header-wrap,
.ast-below-header-wrap,
.ast-header-break-point .main-navigation,
.ast-header-break-point .ast-mobile-menu-container,
.ast-header-break-point .ast-mobile-menu-buttons,
#ast-fixed-header,
.ast-desktop-header {
    display: none !important;
}

/* ── Logo size constraint on mobile ── */
.pf-header-logo {
    flex-shrink: 0;
    max-width: 55%;
    overflow: hidden;
}

.pf-header-logo img,
.pf-header-logo .custom-logo {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ── Remove bullet points from all nav lists ── */
.pf-nav-menu,
.pf-nav-menu li,
.pf-mobile-nav-menu,
.pf-mobile-nav-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

.pf-nav-menu li::before,
.pf-mobile-nav-menu li::before {
    display: none !important;
    content: none !important;
}

/* ============================================================
   CUSTOM FOOTER — replaces Astra footer
   ============================================================ */

.pf-footer {
    background: var(--pf-navy-dark);
    border-top: 4px solid var(--pf-yellow);
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
}

/* ── Footer Widget Areas ─────────────────────────────────────────────────── */
.pf-footer-widgets-wrap {
    background: var(--pf-navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 3rem 0 2.5rem;
}

.pf-footer-widgets-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 3-column widget area */
.pf-footer-col-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .pf-footer-col-area { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 480px) {
    .pf-footer-col-area { grid-template-columns: 1fr; gap: 1.5rem; }
}

.pf-footer-widget {
    color: rgba(255,255,255,0.65);
}

.pf-footer-widget-title {
    font-family: var(--pf-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pf-yellow);
    margin: 0 0 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,203,5,0.25);
}

.pf-footer-widget a,
.pf-footer-widget .pf-footer-widget a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    line-height: 2.2;
    display: block;
    transition: color 0.2s;
}

.pf-footer-widget a:hover {
    color: var(--pf-yellow) !important;
}

.pf-footer-widget ul,
.pf-footer-widget ol,
.pf-footer-widget .menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pf-footer-widget li {
    list-style: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide sub-menu items in footer nav */
.pf-footer-widget .sub-menu {
    display: none !important;
}

.pf-footer-widget p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0.75rem;
}

/* Flexible row widget area */
.pf-footer-flex-area {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.pf-footer-flex-widget {
    flex: 1 1 200px;
    color: rgba(255,255,255,0.65);
}

.pf-footer-flex-widget-title {
    font-family: var(--pf-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pf-yellow);
    margin: 0 0 0.75rem;
}

.pf-footer-flex-widget a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s;
    font-size: 0.875rem;
}

.pf-footer-flex-widget a:hover {
    color: var(--pf-yellow) !important;
}

/* ── Footer bottom bar ───────────────────────────────────────────────────── */

.pf-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--pf-red) 0%, var(--pf-yellow) 50%, var(--pf-blue) 100%);
    margin-bottom: 1.5rem;
}

.pf-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.pf-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pf-footer-menu li a {
    display: block;
    padding: 0.25rem 0.75rem;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: color 0.2s;
}

.pf-footer-menu li:last-child a { border-right: none; }
.pf-footer-menu li a:hover { color: var(--pf-yellow) !important; }

.pf-footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    line-height: 1.6;
}

.pf-footer-copy a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.pf-footer-copy a:hover { color: var(--pf-yellow); }

/* Hide Astra footer */
#colophon,
.ast-small-footer,
.site-footer,
.ast-footer-overlay {
    display: none !important;
}

.pf-footer-legal {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.28);
    line-height: 1.6;
    max-width: 780px;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
