/* =========================================================
   Pay Commission Updates — Pro Design
   Professional, trustworthy "government-info-portal" palette
   ========================================================= */

:root {
    --pcu-navy:        #0a3d62;
    --pcu-navy-dark:   #07294a;
    --pcu-gold:        #d4a017;
    --pcu-gold-dark:   #b3860f;
    --pcu-bg:          #f6f8fb;
    --pcu-card:        #ffffff;
    --pcu-text:        #22303f;
    --pcu-text-muted:  #5c6b7a;
    --pcu-border:      #e3e8ef;
    --pcu-success:     #1e7e34;
    --pcu-success-bg:  #e6f4ea;
    --pcu-error:       #b3261e;
    --pcu-error-bg:    #fdecea;
    --pcu-radius:      12px;
    --pcu-shadow:      0 4px 18px rgba(10, 61, 98, 0.08);
    --pcu-shadow-hover:0 10px 28px rgba(10, 61, 98, 0.16);
}

/* ---------- Buttons ---------- */
.pcu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    line-height: 1.2;
}
.pcu-btn:focus-visible {
    outline: 3px solid var(--pcu-gold);
    outline-offset: 2px;
}
.pcu-btn-primary {
    background: var(--pcu-navy);
    color: #fff;
    box-shadow: var(--pcu-shadow);
}
.pcu-btn-primary:hover {
    background: var(--pcu-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--pcu-shadow-hover);
    color: #fff;
}
.pcu-btn-outline {
    background: transparent;
    color: var(--pcu-navy);
    border-color: var(--pcu-navy);
}
.pcu-btn-outline:hover {
    background: var(--pcu-navy);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Latest Posts Grid ---------- */
.pcu-latest-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 28px 0;
}
.pcu-latest-posts.pcu-columns-1 { grid-template-columns: 1fr; }
.pcu-latest-posts.pcu-columns-2 { grid-template-columns: repeat(2, 1fr); }
.pcu-latest-posts.pcu-columns-4 { grid-template-columns: repeat(4, 1fr); }

.pcu-post-card {
    background: var(--pcu-card);
    border-radius: var(--pcu-radius);
    overflow: hidden;
    border: 1px solid var(--pcu-border);
    box-shadow: var(--pcu-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcu-post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pcu-shadow-hover);
}
.pcu-post-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--pcu-navy), var(--pcu-navy-dark));
    overflow: hidden;
}
.pcu-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.pcu-post-card:hover .pcu-post-thumb img {
    transform: scale(1.06);
}
.pcu-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.85);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
}
.pcu-post-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--pcu-gold);
    color: var(--pcu-navy-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.pcu-post-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pcu-post-date {
    color: var(--pcu-text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.pcu-post-title {
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 10px;
}
.pcu-post-title a {
    color: var(--pcu-text);
    text-decoration: none;
}
.pcu-post-title a:hover {
    color: var(--pcu-navy);
    text-decoration: underline;
}
.pcu-post-excerpt {
    color: var(--pcu-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}
.pcu-post-body .pcu-btn {
    align-self: flex-start;
    padding: 9px 20px;
    font-size: 14px;
}
.pcu-no-posts {
    text-align: center;
    color: var(--pcu-text-muted);
    padding: 30px;
    background: var(--pcu-bg);
    border-radius: var(--pcu-radius);
}

@media (max-width: 900px) {
    .pcu-latest-posts,
    .pcu-latest-posts.pcu-columns-3,
    .pcu-latest-posts.pcu-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .pcu-latest-posts,
    .pcu-latest-posts.pcu-columns-2,
    .pcu-latest-posts.pcu-columns-3,
    .pcu-latest-posts.pcu-columns-4 {
        grid-template-columns: 1fr;
    }
}

/* ---------- Legal links row ---------- */
.pcu-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 18px 0;
    border-top: 1px solid var(--pcu-border);
    margin-top: 20px;
}
.pcu-legal-links a {
    color: var(--pcu-text-muted);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}
.pcu-legal-links a:hover {
    color: var(--pcu-gold-dark);
    text-decoration: underline;
}

/* ---------- Contact Form ---------- */
.pcu-contact-form {
    max-width: 640px;
    background: var(--pcu-card);
    border: 1px solid var(--pcu-border);
    border-radius: var(--pcu-radius);
    box-shadow: var(--pcu-shadow);
    padding: 32px;
    margin: 22px 0;
}
.pcu-form-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.pcu-form-row label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--pcu-text);
}
.pcu-form-row label span {
    color: var(--pcu-error);
}
.pcu-form-row input,
.pcu-form-row textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--pcu-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--pcu-text);
    background: var(--pcu-bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pcu-form-row input:focus,
.pcu-form-row textarea:focus {
    outline: none;
    border-color: var(--pcu-navy);
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.12);
    background: #fff;
}
.pcu-contact-form .pcu-btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}
.pcu-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.pcu-form-notice {
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14.5px;
}
.pcu-form-success {
    background: var(--pcu-success-bg);
    color: var(--pcu-success);
    border: 1px solid rgba(30, 126, 52, 0.25);
}
.pcu-form-error {
    background: var(--pcu-error-bg);
    color: var(--pcu-error);
    border: 1px solid rgba(179, 38, 30, 0.25);
}

/* ---------- Generic page content polish (About/Privacy/Terms/Disclaimer) ---------- */
.page .entry-content h2,
article h2 {
    color: var(--pcu-navy);
    margin-top: 34px;
}

/* =========================================================
   Pro Homepage — Header, Hero, Calculators, Timeline, FAQ,
   Footer. v2.0.0
   ========================================================= */

:root {
    --pcu-maroon:      #7a2e22;
    --pcu-maroon-dark: #5e2119;
    --pcu-cream:       #f7f1e6;
    --pcu-ticker-bg:   #d4a017;
    --pcu-ticker-text: #402c05;
}

html { scroll-behavior: smooth; }

.pcu-page {
    color: var(--pcu-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}
.pcu-page section, .pcu-page header, .pcu-page footer { box-sizing: border-box; }
.pcu-page *, .pcu-page *::before, .pcu-page *::after { box-sizing: border-box; }
.pcu-page img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.pcu-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--pcu-cream);
    border-bottom: 1px solid var(--pcu-border);
    transition: box-shadow 0.2s ease;
}
.pcu-header.pcu-scrolled { box-shadow: 0 4px 16px rgba(10, 61, 98, 0.12); }
.pcu-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.pcu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}
.pcu-logo-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    border: 2px solid var(--pcu-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: var(--pcu-maroon);
    background: #fff;
}
.pcu-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.pcu-logo-title { font-size: 19px; font-weight: 800; color: var(--pcu-navy); }
.pcu-logo-sub { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pcu-text-muted); }

.pcu-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.pcu-nav-link {
    color: var(--pcu-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.pcu-nav-link:hover { color: var(--pcu-maroon); border-bottom-color: var(--pcu-maroon); }

.pcu-header-cta { flex: 0 0 auto; white-space: nowrap; }
.pcu-header .pcu-btn-primary { background: var(--pcu-navy); }
.pcu-header .pcu-btn-primary:hover { background: var(--pcu-navy-dark); }

.pcu-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex: 0 0 40px;
}
.pcu-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--pcu-navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.pcu-nav-toggle.pcu-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pcu-nav-toggle.pcu-open span:nth-child(2) { opacity: 0; }
.pcu-nav-toggle.pcu-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Ticker ---------- */
.pcu-ticker {
    background: var(--pcu-ticker-bg);
    color: var(--pcu-ticker-text);
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pcu-ticker-track {
    display: inline-flex;
    animation: pcu-ticker-scroll 32s linear infinite;
    padding: 10px 0;
}
.pcu-ticker-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding: 0 40px;
    position: relative;
}
.pcu-ticker-item::before {
    content: "●";
    margin-right: 10px;
    font-size: 8px;
    color: var(--pcu-maroon);
}
@keyframes pcu-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .pcu-ticker-track { animation: none; }
}

/* ---------- Hero ---------- */
.pcu-hero { background: var(--pcu-bg); padding: 64px 24px; }
.pcu-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.pcu-eyebrow {
    color: var(--pcu-maroon);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.pcu-hero-title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--pcu-navy);
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
}
.pcu-hero-title .pcu-accent { color: var(--pcu-maroon); }
.pcu-hero-desc { font-size: 17px; color: var(--pcu-text-muted); line-height: 1.6; margin: 0 0 28px; max-width: 52ch; }
.pcu-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pcu-hero-actions .pcu-btn-primary { background: var(--pcu-maroon); }
.pcu-hero-actions .pcu-btn-primary:hover { background: var(--pcu-maroon-dark); }
.pcu-hero-actions .pcu-btn-outline { border-color: var(--pcu-navy); color: var(--pcu-navy); }

.pcu-hero-card {
    background: #fff;
    border-radius: var(--pcu-radius);
    box-shadow: var(--pcu-shadow-hover);
    overflow: hidden;
    border: 1px solid var(--pcu-border);
}
.pcu-hero-card-top {
    background: linear-gradient(90deg, var(--pcu-navy), var(--pcu-maroon) 50%, var(--pcu-gold) 100%);
    height: 6px;
}
.pcu-hero-card-top span { display: none; }
.pcu-hero-card-body { padding: 26px 26px 20px; }
.pcu-hero-figure { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcu-hero-figure-num { font-size: 40px; font-weight: 800; color: var(--pcu-navy); font-family: Georgia, serif; }
.pcu-hero-figure-label { color: var(--pcu-text-muted); font-size: 14px; }
.pcu-hero-figure-note { font-size: 12px; color: var(--pcu-text-muted); font-style: italic; margin: 4px 0 18px; }
.pcu-hero-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px dashed var(--pcu-border);
    font-size: 14px;
}
.pcu-hero-row span { color: var(--pcu-text-muted); }
.pcu-hero-row strong { color: var(--pcu-navy); }
.pcu-hero-footnote { font-size: 11px; color: var(--pcu-text-muted); margin: 16px 0 0; font-style: italic; }

/* ---------- Generic Section ---------- */
.pcu-section { padding: 64px 24px; scroll-margin-top: 90px; }
.pcu-section-alt { background: var(--pcu-bg); }
.pcu-section-inner { max-width: 1200px; margin: 0 auto; }
.pcu-section-title { font-size: 30px; font-weight: 800; color: var(--pcu-navy); margin: 0 0 8px; font-family: Georgia, serif; }
.pcu-section-sub { color: var(--pcu-text-muted); font-size: 16px; margin: 0 0 32px; max-width: 70ch; }

/* ---------- Calculators ---------- */
.pcu-calc-card {
    background: #fff;
    border: 1px solid var(--pcu-border);
    border-radius: var(--pcu-radius);
    box-shadow: var(--pcu-shadow);
    padding: 32px;
    max-width: 620px;
}
.pcu-calc-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.pcu-calc-row label { font-weight: 600; font-size: 14px; color: var(--pcu-navy); }
.pcu-calc-row input, .pcu-calc-row select {
    padding: 12px 14px;
    border: 1px solid var(--pcu-border);
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: var(--pcu-text);
    width: 100%;
}
.pcu-calc-row input:focus, .pcu-calc-row select:focus {
    outline: none;
    border-color: var(--pcu-navy);
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.12);
}
.pcu-calc-btn { width: 100%; margin-top: 6px; }
.pcu-calc-result {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--pcu-border);
}
.pcu-calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pcu-success-bg);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}
.pcu-calc-result-row strong { color: var(--pcu-navy); font-size: 20px; }
.pcu-calc-note { font-size: 13px; color: var(--pcu-text-muted); font-style: italic; margin: 10px 0 0; }

/* ---------- Timeline ---------- */
.pcu-timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 32px; }
.pcu-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--pcu-border);
}
.pcu-timeline-item { position: relative; padding-bottom: 34px; }
.pcu-timeline-item:last-child { padding-bottom: 0; }
.pcu-timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pcu-gold);
    border: 3px solid var(--pcu-navy);
}
.pcu-timeline-content h3 { margin: 0 0 6px; font-size: 17px; color: var(--pcu-navy); }
.pcu-timeline-content p { margin: 0; font-size: 14px; color: var(--pcu-text-muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.pcu-faq { max-width: 800px; margin: 0 auto; }
.pcu-faq-item { border-bottom: 1px solid var(--pcu-border); }
.pcu-faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pcu-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.pcu-faq-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pcu-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--pcu-navy);
    transition: transform 0.2s ease;
}
.pcu-faq-item.pcu-open .pcu-faq-icon { transform: rotate(45deg); background: var(--pcu-gold); color: #fff; }
.pcu-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.pcu-faq-answer p { margin: 0 4px 20px; color: var(--pcu-text-muted); font-size: 15px; line-height: 1.7; }

/* ---------- Footer ---------- */
.pcu-footer { background: var(--pcu-navy-dark); color: #dce6ef; }
.pcu-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}
.pcu-footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.pcu-footer-col p { font-size: 14px; line-height: 1.7; color: #b8c7d4; margin: 0; }
.pcu-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pcu-footer-col a { color: #cfdbe6; text-decoration: none; font-size: 14px; }
.pcu-footer-col a:hover { color: var(--pcu-gold); text-decoration: underline; }
.pcu-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 24px;
    text-align: center;
}
.pcu-footer-bottom p { margin: 0; font-size: 12.5px; color: #93a5b5; max-width: 900px; margin: 0 auto; line-height: 1.6; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .pcu-nav { position: fixed; top: 73px; left: 0; right: 0; bottom: 0; background: var(--pcu-cream); flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 24px; transform: translateX(-100%); transition: transform 0.25s ease; overflow-y: auto; }
    .pcu-nav.pcu-open { transform: translateX(0); }
    .pcu-nav-link { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--pcu-border); }
    .pcu-header-cta { display: none; }
    .pcu-nav-toggle { display: flex; }
    .pcu-hero-inner { grid-template-columns: 1fr; }
    .pcu-hero-title { font-size: 32px; }
    .pcu-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .pcu-hero { padding: 40px 16px; }
    .pcu-section { padding: 44px 16px; }
    .pcu-calc-card { padding: 22px; }
    .pcu-latest-posts { grid-template-columns: 1fr !important; }
}

/* =========================================================
   v2.2.0 — Auto-hide the active theme's own header/footer on
   our homepage (fixes duplicate menu + the extra gap below
   our footer) and tighten default WP wrapper spacing.
   Scoped ONLY to body.pcu-fullwidth-page so no other page on
   the site is affected.
   ========================================================= */
body.pcu-fullwidth-page .site-header,
body.pcu-fullwidth-page header.site-header,
body.pcu-fullwidth-page #masthead,
body.pcu-fullwidth-page .main-header-bar,
body.pcu-fullwidth-page .ast-primary-header-bar,
body.pcu-fullwidth-page .site-footer,
body.pcu-fullwidth-page footer.site-footer,
body.pcu-fullwidth-page #colophon,
body.pcu-fullwidth-page .footer-widgets,
body.pcu-fullwidth-page .footer-wrap,
body.pcu-fullwidth-page .elementor-location-header,
body.pcu-fullwidth-page .elementor-location-footer {
    display: none !important;
}

body.pcu-fullwidth-page,
body.pcu-fullwidth-page .site,
body.pcu-fullwidth-page .site-content,
body.pcu-fullwidth-page .content-area,
body.pcu-fullwidth-page .entry-content,
body.pcu-fullwidth-page .page-content,
body.pcu-fullwidth-page article.page,
body.pcu-fullwidth-page main,
body.pcu-fullwidth-page #main,
body.pcu-fullwidth-page #primary {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}
body.pcu-fullwidth-page .pcu-page { margin: 0; padding: 0; }

/* =========================================================
   v3.0.0 — global header/footer, sidebar/width fixes,
   other-calculators grid, view-all button, pagination.
   ========================================================= */

/* Hide theme sidebar/narrow-column layout wherever our page is used,
   and force full width so the grid never squeezes into 1 column. */
body.pcu-fullwidth-page #secondary,
body.pcu-fullwidth-page .widget-area,
body.pcu-fullwidth-page aside.sidebar,
body.pcu-fullwidth-page .sidebar,
body.pcu-fullwidth-page .elementor-location-header,
body.pcu-fullwidth-page .elementor-location-footer {
    display: none !important;
}
body.pcu-fullwidth-page .site,
body.pcu-fullwidth-page .site-content,
body.pcu-fullwidth-page .content-area,
body.pcu-fullwidth-page .entry-content,
body.pcu-fullwidth-page .page-content,
body.pcu-fullwidth-page article.page,
body.pcu-fullwidth-page article.post,
body.pcu-fullwidth-page main,
body.pcu-fullwidth-page #main,
body.pcu-fullwidth-page #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Give normal blog-post article content (title/body text) sensible
   reading width + padding again, since we zeroed the wrappers above —
   this targets the actual WordPress post content, not our own design. */
body.pcu-fullwidth-page article.post .entry-title,
body.pcu-fullwidth-page article.post > .entry-content,
body.pcu-fullwidth-page .single .entry-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
}

/* ---------- Other Calculators grid ---------- */
.pcu-calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pcu-calc-card-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--pcu-border);
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}
.pcu-calc-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: var(--pcu-shadow-hover);
    border-color: var(--pcu-navy);
}
.pcu-calc-mini-icon { font-size: 26px; margin-bottom: 4px; }
.pcu-calc-mini-title { font-weight: 700; font-size: 14.5px; color: var(--pcu-navy); }
.pcu-calc-mini-desc { font-size: 12.5px; color: var(--pcu-text-muted); }
.pcu-calc-mini-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--pcu-gold);
    color: #402c05;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pcu-calc-mini-note {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--pcu-success-bg);
    border-radius: 8px;
    font-size: 14px;
    color: var(--pcu-navy);
    text-align: center;
}

/* ---------- View all / pagination ---------- */
.pcu-view-all-wrap { text-align: center; margin-top: 32px; }
.pcu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
}
.pcu-pagination-status { font-size: 14px; color: var(--pcu-text-muted); }

@media (max-width: 900px) {
    .pcu-calc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .pcu-calc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pcu-calc-card-mini { padding: 14px; }
    .pcu-pagination { flex-direction: column; gap: 12px; }
}

/* =========================================================
   v3.1.0 — reference table style, and nicer single-post title
   typography (matches the rest of the design, since the theme's
   default post title/meta looked plain).
   ========================================================= */

.pcu-table-wrap { overflow-x: auto; }
.pcu-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--pcu-border);
    border-radius: var(--pcu-radius);
    overflow: hidden;
    font-size: 14.5px;
}
.pcu-table thead th {
    background: var(--pcu-navy);
    color: #fff;
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
}
.pcu-table tbody td {
    padding: 12px 16px;
    border-top: 1px solid var(--pcu-border);
}
.pcu-table tbody tr:nth-child(even) { background: var(--pcu-bg); }

/* Nicer typography for single blog post titles/meta, scoped to the
   fullwidth pages our plugin controls so no other layout is touched. */
body.pcu-fullwidth-page .single .entry-title,
body.pcu-fullwidth-page article.post .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--pcu-navy);
    margin: 0 0 14px;
}
body.pcu-fullwidth-page .single .entry-meta,
body.pcu-fullwidth-page .single .posted-on,
body.pcu-fullwidth-page .single .byline,
body.pcu-fullwidth-page article.post .entry-meta,
body.pcu-fullwidth-page article.post .posted-on,
body.pcu-fullwidth-page article.post .byline {
    font-size: 13px;
    color: var(--pcu-maroon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    display: inline-block;
}
body.pcu-fullwidth-page .single .entry-content h2,
body.pcu-fullwidth-page article.post .entry-content h2 {
    font-family: Georgia, serif;
    color: var(--pcu-navy);
    font-size: 24px;
    margin-top: 36px;
}
body.pcu-fullwidth-page .single .entry-content p,
body.pcu-fullwidth-page article.post .entry-content p {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--pcu-text);
}
