/* ═══════════════════════════════════════════════════════════
   GFC Custom Theme — Main Stylesheet
   Pixel-perfect recreation of Divi-built GoFundCreation.com
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ───────────────────────────────── */
:root {
    /* Brand Colors */
    --gfc-deep-teal: #002d33;
    --gfc-dark-teal: #012d33;
    --gfc-gold: #b2821a;
    --gfc-white: #ffffff;
    --gfc-black: #000000;

    /* Text Colors */
    --gfc-text-dark: #333333;
    --gfc-text-medium: #666666;
    --gfc-link-green: #30ba47;

    /* Overlays */
    --gfc-overlay-dark: rgba(1, 45, 51, 0.95);
    --gfc-progress-bg: rgba(0, 45, 51, 0.3);
    --gfc-shadow: rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-heading: 'Lato', Helvetica, Arial, 'Lucida Grande', sans-serif;
    --font-body: 'Source Sans Pro', Helvetica, Arial, 'Lucida Grande', sans-serif;
    --font-accent: 'Open Sans', sans-serif;

    /* Spacing */
    --container-width: 80%;
    --container-max: 1080px;
    --container-wide: 1440px;
    --section-padding: 3%;
    --section-padding-lg: 54px;
    --row-padding: 2%;
    --row-padding-lg: 27px;
    --gutter: 5.5%;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7em;
    color: var(--gfc-text-dark);
    background: var(--gfc-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gfc-link-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gfc-gold);
}

ul, ol {
    list-style: none;
}

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3em;
    color: var(--gfc-text-dark);
    font-weight: 700;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 50px;
    color: var(--gfc-deep-teal);
}

h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gfc-gold);
}

h4 {
    font-size: 22px;
}

p {
    font-size: 18px;
    line-height: 1.7em;
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ─── Layout ──────────────────────────────────────────────── */
.container {
    width: var(--container-width);
    max-width: var(--container-max);
    margin: 0 auto;
}

.container--wide {
    max-width: var(--container-wide);
}

.container--full {
    width: 90%;
    max-width: 3000px;
}

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

.section--dark {
    background-color: var(--gfc-deep-teal);
    color: var(--gfc-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--dark a {
    color: var(--gfc-white);
}

.section--dark h3 {
    color: var(--gfc-gold);
}

.section--overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 51, 0.40);
    z-index: 1;
}

.section--overlay > .container {
    position: relative;
    z-index: 2;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: var(--row-padding) 0;
    align-items: center;
}

.row--reverse {
    flex-direction: row-reverse;
}

.col-1\/2 {
    flex: 1 1 calc(50% - 30px);
    min-width: 300px;
}

.col-1\/3 {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 0;
}

.col-2\/3 {
    flex: 1 1 calc(66.666% - 15px);
    min-width: 0;
}

.col-full {
    flex: 1 1 100%;
}

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

.text-white {
    color: var(--gfc-white);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--gfc-gold);
    line-height: 1.4;
}

/* Swipe animation base — single pseudo-element, no seam */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: transform 0.4s ease;
}

.btn::after {
    display: none;
}

/* Ghost (on dark bg) — gold fills, swipes away on hover */
.btn--ghost {
    background: transparent;
    color: var(--gfc-white);
    border-color: var(--gfc-gold);
}

.btn--ghost::before {
    background-color: var(--gfc-gold);
    transform: scaleX(1);
    transform-origin: center;
}

.btn--ghost:hover {
    color: var(--gfc-white);
    border-color: var(--gfc-gold);
    background: rgba(178, 130, 26, 0.15);
}

.btn--ghost:hover::before {
    transform: scaleX(0);
}

/* Solid — same as ghost visually, swipes away to show border */
.btn--solid {
    background: transparent;
    color: var(--gfc-white);
    border-color: var(--gfc-gold);
}

.btn--solid::before {
    background-color: var(--gfc-gold);
    transform: scaleX(1);
    transform-origin: center;
}

.btn--solid:hover {
    color: var(--gfc-gold);
}

.btn--solid:hover::before {
    transform: scaleX(0);
}

/* Dark (on light bg) — no fill, gold sweeps IN on hover */
.btn--dark {
    background: transparent;
    color: var(--gfc-deep-teal);
    border-color: var(--gfc-gold);
}

.btn--dark::before {
    background-color: var(--gfc-gold);
    transform: scaleX(0);
    transform-origin: center;
}

.btn--dark:hover {
    color: var(--gfc-white);
}

.btn--dark:hover::before {
    transform: scaleX(1);
}

/* ─── Top Header ──────────────────────────────────────────── */
#top-header {
    background: var(--gfc-black);
    padding: 0.75em 0;
}

#top-header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.secondary-menu {
    display: flex;
    gap: 0;
    align-items: center;
}

.secondary-menu li {
    position: relative;
}

.secondary-menu li:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.3);
    margin: 0 12px;
}

.secondary-menu a {
    color: var(--gfc-white);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.secondary-menu a:hover {
    color: var(--gfc-gold);
}
/* Mobile secondary menu — hidden on desktop, shown in mobile nav dropdown */
.mobile-secondary-menu {
    display: none;
}


.cart-link {
    color: var(--gfc-white);
    font-size: 14px;
    font-weight: 600;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}
.cart-link::before {
    content: '|';
    color: rgba(255, 255, 255, 0.3);
    margin: 0 12px;
}

.cart-link:hover {
    color: var(--gfc-gold);
}

/* ─── Main Header ─────────────────────────────────────────── */
#main-header {
    background: var(--gfc-deep-teal);
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Offset sticky header when WP admin bar is present */
.admin-bar #main-header {
    top: 32px;
}

#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-container {
    flex-shrink: 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 42px;
    width: auto;
    transition: height 0.3s ease;
}


/* Primary Nav */
#primary-nav {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    color: var(--gfc-white);
    font-size: 17px;
    font-weight: 500;
    padding: 20px 18px;
    display: block;
    transition: color 0.3s ease;
}

.primary-menu > li > a:hover {
    color: var(--gfc-gold);
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    color: var(--gfc-white);
}

/* CTA menu item — with swipe effect */
.primary-menu > li.cta-menu > a,
.primary-menu > li.menu-item-type-custom:last-child > a {
    background: var(--gfc-gold);
    border: 1px solid var(--gfc-gold);
    border-radius: 5px;
    padding: 10px 25px;
    margin-left: 10px;
    color: var(--gfc-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-menu > li.cta-menu > a::before,
.primary-menu > li.menu-item-type-custom:last-child > a::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--gfc-gold);
    z-index: -1;
    transition: transform 0.4s ease;
    transform: scaleX(1);
    transform-origin: center;
}

.primary-menu > li.cta-menu > a::after,
.primary-menu > li.menu-item-type-custom:last-child > a::after {
    display: none;
}

.primary-menu > li.cta-menu > a:hover,
.primary-menu > li.menu-item-type-custom:last-child > a:hover {
    color: var(--gfc-white);
    background: rgba(178, 130, 26, 0.15);
}

.primary-menu > li.cta-menu > a:hover::before,
.primary-menu > li.menu-item-type-custom:last-child > a:hover::before {
    transform: scaleX(0);
}

/* Dropdown */
.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--gfc-deep-teal);
    min-width: 220px;
    border-top: 3px solid var(--gfc-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

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

.primary-menu .sub-menu a {
    color: var(--gfc-white);
    padding: 12px 20px;
    display: block;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-menu .sub-menu a:hover {
    color: var(--gfc-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gfc-white);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--gfc-white);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ─── Hero Section ────────────────────────────────────────── */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 82px 0;
    text-align: center;
    color: var(--gfc-white);
    min-height: 440px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 51, 0.40);
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero__label {
    color: var(--gfc-gold);
    margin-bottom: 20px;
}

.hero__title {
    font-size: 60px;
    color: var(--gfc-white);
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero__text {
    font-size: 18px;
    color: var(--gfc-white);
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.hero .btn {
    margin-top: 10px;
}

/* ─── Section Heading Pattern ─────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h3 {
    margin-bottom: 15px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gfc-text-medium);
}

.section--overlay .section-header p,
.section--dark .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

/* ─── Two-Column Alternating ──────────────────────────────── */
.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    align-items: center;
    padding: 32px 0;
}

.two-col--reverse {
    flex-direction: row-reverse;
}

.two-col__text {
    flex: 1 1 calc(50% - 25px);
    min-width: 300px;
}

.two-col__image {
    flex: 1 1 calc(50% - 25px);
    min-width: 300px;
}

.two-col__image img {
    border-radius: 10px;
    box-shadow: 10px 10px 0 0 var(--gfc-shadow);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Transparency page image proportions */
.page-template-page-transparency .two-col__image img {
    aspect-ratio: 1 / 1;
    max-height: none;
}

@media (max-width: 1360px) {
    .page-template-page-transparency .two-col__image img {
        aspect-ratio: 6 / 5;
    }
}

@media (max-width: 1100px) {
    .page-template-page-transparency .two-col__image img {
        aspect-ratio: 5 / 4;
    }
}

/* Tighten gap between the two zigzag sections on transparency page */
#dollar-impact {
    padding-bottom: 0;
}
#vetting-process {
    padding-top: 0;
}



.two-col__text h3 {
    margin-bottom: 12px;
}

.two-col__text h2 {
    margin-bottom: 20px;
}

.two-col__text p {
    margin-bottom: 15px;
}

.two-col__text .btn {
    margin-top: 15px;
}

/* ─── How It Works (3-step blurbs) ────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 45, 51, 0.08);
    color: var(--gfc-deep-teal);
    font-size: 36px;
}

.step-card__icon--gold {
    background: rgba(178, 130, 26, 0.1);
    color: #E09900;
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 15px;
}

.step-card__text {
    font-size: 16px;
    color: var(--gfc-text-medium);
    line-height: 1.7;
}

/* ─── Featured Projects (Campaign Cards) ──────────────────── */
.campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.campaign-card {
    background: var(--gfc-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.campaign-card__image {
    position: relative;
    aspect-ratio: 11 / 8;
    overflow: hidden;
}

.campaign-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.campaign-card:hover .campaign-card__image img {
    transform: scale(1.05);
}

/* Campaign overlay button with clip-path swipe */
.campaign-card__overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: var(--gfc-white) !important;
    background: transparent;
    border: 1px solid var(--gfc-gold);
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    z-index: 2;
}

.campaign-card__overlay-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--gfc-gold);
    z-index: -1;
    transition: transform 0.4s ease;
    transform: scaleX(1);
    transform-origin: center;
}

.campaign-card__overlay-btn::after {
    display: none;
}

.campaign-card:hover .campaign-card__overlay-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.campaign-card__overlay-btn:hover::before {
    transform: scaleX(0);
}

.campaign-card__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campaign-card__excerpt {
    flex: 1;
}

.campaign-card__progress {
    margin-top: auto;
}

.campaign-card__title {
    font-family: var(--font-body);
    font-size: 30px;
    font-weight: 700;
    min-height: 2.4em;
    color: var(--gfc-deep-teal);
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.campaign-card__title a {
    color: inherit;
}

.campaign-card__title a:hover {
    color: var(--gfc-gold);
}

.campaign-card__excerpt {
    font-size: 16px;
    color: var(--gfc-text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Progress Bar */
.progress-bar {
    height: 40px;
    background: var(--gfc-progress-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar__fill {
    height: 100%;
    background: var(--gfc-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    min-width: 50px;
    transition: width 1s ease-out;
}

.progress-bar__text {
    color: var(--gfc-white);
    font-weight: 700;
    font-size: 16px;
}

.campaign-card__funding {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 15px;
    min-height: 3em;
}

.campaign-card__funding .funding-raised {
    width: 100%;
    font-size: 20px;
    color: var(--gfc-deep-teal);
}

.funding-raised {
    font-weight: 700;
}

.funding-goal {
    color: var(--gfc-text-medium);
}

.funding-days {
    margin-left: auto;
    color: var(--gfc-gold);
    font-weight: 600;
}

/* ─── Pricing Tables ──────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--gfc-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card__header {
    background: var(--gfc-deep-teal);
    padding: 40px 20px 20px;
    color: var(--gfc-white);
}

.pricing-card__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--gfc-white);
    padding-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.pricing-card__price {
    font-size: 48px;
    font-weight: 700;
    color: var(--gfc-white);
}

.pricing-card__price span {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-card__body {
    padding: 30px 25px;
}

.pricing-card__features {
    margin-bottom: 25px;
}

.pricing-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: var(--gfc-text-medium);
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

/* ─── Blurb Cards (Icon + Text) ───────────────────────────── */
.blurb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.blurb-card {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blurb-card .btn {
    margin-top: auto;
}

.blurb-card__icon {
    width: 150px;
    height: 130px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--gfc-gold);
}

.blurb-card__title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0;
}

.blurb-card__text {
    font-size: 16px;
    color: var(--gfc-text-medium);
    line-height: 1.7;
}

/* Dark section blurbs */
.section--dark .blurb-card__title,
.section--overlay .blurb-card__title {
    color: var(--gfc-white);
}

.section--dark .blurb-card__text,
.section--overlay .blurb-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* ─── Timeline ────────────────────────────────────────────── */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gfc-gold);
}

.timeline__item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gfc-gold);
    border: 3px solid var(--gfc-white);
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gfc-gold);
    margin-bottom: 8px;
}

.timeline__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.timeline__text {
    font-size: 16px;
    color: var(--gfc-text-medium);
    line-height: 1.7;
}

/* ─── Blog Cards ──────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--gfc-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 25px;
}

.blog-card__date {
    font-size: 14px;
    color: var(--gfc-text-medium);
    margin-bottom: 10px;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.blog-card__title a {
    color: inherit;
}

.blog-card__title a:hover {
    color: var(--gfc-gold);
}

.blog-card__excerpt {
    font-size: 16px;
    color: var(--gfc-text-medium);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card__link {
    font-weight: 600;
    color: var(--gfc-gold);
    font-size: 16px;
}

.blog-card__link:hover {
    color: var(--gfc-deep-teal);
}

/* ─── Testimonials ────────────────────────────────────────── */
.testimonial {
    background: rgba(0, 45, 51, 0.03);
    border-left: 4px solid var(--gfc-gold);
    padding: 30px 35px;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
}

.testimonial__quote {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--gfc-text-dark);
    margin-bottom: 15px;
}

.testimonial__author {
    font-weight: 700;
    color: var(--gfc-deep-teal);
    font-size: 16px;
}

/* ─── CTA Sections ────────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 56px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ─── Photo Credit ────────────────────────────────────────── */
.photo-credit {
    font-size: 13px;
    color: var(--gfc-text-medium);
    font-style: italic;
    margin-top: 10px;
}

.section--dark .photo-credit,
.section--overlay .photo-credit {
    color: rgba(255, 255, 255, 0.5);
}

/* ─── Footer ──────────────────────────────────────────────── */
#site-footer {
    position: relative;
    overflow: hidden;
    background: #073b44;
    color: var(--gfc-white);
}

#site-footer::before {
    content: none;
}

.footer-main {
    position: relative;
    padding: 56px 0 44px;
    border-top: 2px solid var(--gfc-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 44px 36px;
    width: 90%;
    max-width: 1400px;
}

.footer-col {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.footer-kicker,
.footer-section-kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gfc-gold);
    opacity: 0.9;
}

.footer-kicker::before,
.footer-section-kicker::before {
    content: none;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gfc-white);
    margin-bottom: 16px;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 8px;
    background: var(--gfc-gold);
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.footer-menu li {
    margin-bottom: 9px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--gfc-gold);
}

.footer-recent-posts li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-recent-posts a {
    display: block;
    color: var(--gfc-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.3s ease;
}

.footer-recent-posts a:hover {
    color: var(--gfc-gold);
}

/* Footer Search */
.footer-search {
    margin-bottom: 20px;
}

.footer-search .search-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.footer-search .search-field {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: var(--gfc-white);
    font-size: 14px;
    font-family: var(--font-body);
}

.footer-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-search .search-submit {
    padding: 12px 18px;
    background: var(--gfc-gold);
    border: 1px solid var(--gfc-gold);
    border-radius: 0 10px 10px 0;
    color: var(--gfc-white);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}

.footer-newsletter-copy {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    color: var(--gfc-white);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background: var(--gfc-gold);
    border-color: var(--gfc-gold);
    color: var(--gfc-white);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    background: rgba(0, 0, 0, 0.14);
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    line-height: 1.8;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    width: 90%;
    max-width: 1400px;
}

.footer-bottom__copyright {
    white-space: nowrap;
}

.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a:hover {
    color: var(--gfc-gold);
}

/* ─── Single Post Hero ─────────────────────────────────────── */
.post-hero {
    padding: 80px 0 60px;
    min-height: auto;
}

.post-hero::before {
    background: rgba(0, 45, 51, 0.50);
}

.post-hero__cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.post-hero__cat-tag {
    display: inline-block;
    background: var(--gfc-gold);
    color: var(--gfc-white) !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    transition: opacity 0.3s ease;
}

.post-hero__cat-tag:hover {
    opacity: 0.8;
    color: var(--gfc-white) !important;
}

.post-hero__title {
    font-size: 44px;
    font-weight: 700;
    color: var(--gfc-white);
    max-width: 850px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.post-hero__meta {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.post-hero__meta span:not(:last-child)::after {
    content: '·';
    margin: 0 10px;
    opacity: 0.5;
}

@media (max-width: 767px) {
    .post-hero {
        padding: 80px 0 50px;
    }
    .post-hero__title {
        font-size: 30px;
    }
}

.post-meta {
    font-size: 15px;
    color: var(--gfc-text-medium);
    margin-bottom: 30px;
}

.post-meta span:not(:last-child)::after {
    content: '·';
    margin: 0 8px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px 56px;
}

.post-content h2 {
    font-size: 36px;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 24px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gfc-deep-teal);
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.5em 2em;
    list-style: revert;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content img {
    border-radius: 10px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 4px solid var(--gfc-gold);
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(0, 45, 51, 0.03);
    border-radius: 0 10px 10px 0;
}

.post-content blockquote p {
    font-style: italic;
    font-size: 20px;
    color: var(--gfc-deep-teal);
}

/* ─── Page Template ───────────────────────────────────────── */
.page-content {
    padding: 48px 0;
}

.page-content .container {
    max-width: 900px;
}

/* ─── Blog Archive ────────────────────────────────────────── */
.archive-header {
    background: var(--gfc-deep-teal);
    padding: 60px 0;
    text-align: center;
}

.archive-header h1 {
    color: var(--gfc-white);
    font-size: 42px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 40px 0 60px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a {
    background: var(--gfc-white);
    border: 1px solid #ddd;
    color: var(--gfc-text-dark);
}

.pagination a:hover {
    background: var(--gfc-gold);
    border-color: var(--gfc-gold);
    color: var(--gfc-white);
}

.pagination .current {
    background: var(--gfc-deep-teal);
    color: var(--gfc-white);
    border: 1px solid var(--gfc-deep-teal);
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.blog-card__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--gfc-gold);
    color: var(--gfc-white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gfc-info-banner {
    display: grid;
    gap: 6px;
    padding: 26px 16px 12px;
    margin-top: 18px;
    margin-bottom: 0;
    border-left: 4px solid var(--gfc-gold);
    border-radius: 0 10px 10px 0;
    background: rgba(0, 45, 51, 0.04);
}

.gfc-info-banner p {
    margin: 0;
}

.gfc-inline-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 4px solid var(--gfc-gold);
    border-radius: 0 12px 12px 0;
    background: rgba(0, 45, 51, 0.04);
}

.gfc-inline-note p {
    margin: 0;
    line-height: 1.75;
}

.gfc-blog-filter {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    margin: 42px 0 28px;
}

.gfc-blog-search {
    position: relative;
}

.gfc-blog-filter input,
.gfc-blog-filter select,
.gfc-mini-form input,
.gfc-funding-form input,
.gfc-funding-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 45, 51, 0.18);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--gfc-text-dark);
}

.gfc-blog-filter input,
.gfc-blog-filter select {
    min-height: 52px;
    padding: 0 16px;
}

.gfc-blog-filter select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 5px;
    background-color: var(--gfc-white);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gfc-deep-teal) 50%),
        linear-gradient(135deg, var(--gfc-deep-teal) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.gfc-blog-filter .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    line-height: 1;
    white-space: nowrap;
}

.gfc-blog-search-help {
    margin: -12px 0 24px;
    font-size: 14px;
    color: rgba(0, 45, 51, 0.72);
}

.gfc-blog-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 10px;
    border: 1px solid rgba(0, 45, 51, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 36px rgba(0, 45, 51, 0.14);
}

.gfc-blog-search-group + .gfc-blog-search-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 45, 51, 0.08);
}

.gfc-blog-search-group__label {
    padding: 4px 8px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gfc-gold);
}

.gfc-blog-search-item {
    display: grid;
    gap: 4px;
    padding: 12px 12px 11px;
    border-radius: 10px;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gfc-blog-search-item:hover,
.gfc-blog-search-item.is-active {
    background: rgba(0, 45, 51, 0.05);
    transform: translateX(2px);
}

.gfc-blog-search-item__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
}

.gfc-blog-search-item__meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(0, 45, 51, 0.55);
}

.gfc-blog-search-item__snippet {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0, 45, 51, 0.78);
}

.gfc-blog-search-empty {
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 45, 51, 0.72);
}

.gfc-blog-filter input:focus,
.gfc-blog-filter select:focus,
.gfc-mini-form input:focus,
.gfc-funding-form input:focus,
.gfc-funding-form textarea:focus {
    outline: none;
    border-color: var(--gfc-gold);
}

.gfc-blog-grid {
    padding-top: 10px;
}

#request-funding {
    scroll-margin-top: 110px;
}

.gfc-mini-form,
.gfc-funding-form {
    display: grid;
    gap: 14px;
}

.gfc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gfc-form-help {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 10px;
}

.gfc-form-status {
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(178, 130, 26, 0.14);
    color: var(--gfc-white);
    font-size: 15px;
}

.gfc-account-gateway {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 12px;
    background: rgba(0, 45, 51, 0.04);
    border: 1px solid rgba(0, 45, 51, 0.08);
    text-align: center;
}

.gfc-account-gateway h2 {
    margin-bottom: 16px;
}

.gfc-account-gateway__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 26px 0 18px;
}

.gfc-account-gateway__meta {
    color: var(--gfc-text-medium);
    font-size: 15px;
}

.gfc-form-panel {
    align-self: stretch;
    padding: 28px;
    border-radius: 12px;
    background: rgba(0, 45, 51, 0.04);
    box-shadow: none;
}

.gfc-inline-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
    gap: 22px;
    align-items: start;
    margin: 24px 0;
}

.gfc-inline-split__media img {
    width: 100%;
    border-radius: 0;
    object-fit: contain;
}

.gfc-inline-split__media figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--gfc-text-medium);
}

.gfc-phase-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border: 1px solid rgba(0, 45, 51, 0.1);
}

.gfc-phase-table th,
.gfc-phase-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 45, 51, 0.1);
    text-align: left;
}

.gfc-phase-table thead th,
.gfc-phase-table tfoot td {
    background: rgba(0, 45, 51, 0.06);
    font-weight: 700;
}

.gfc-logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gfc-deep-teal), #0a5963);
    color: var(--gfc-white);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .gfc-blog-filter,
    .gfc-form-grid,
    .gfc-inline-split {
        grid-template-columns: 1fr;
    }

    .gfc-account-gateway__actions {
        display: grid;
    }

    .gfc-blog-search-help {
        margin-top: 0;
    }

    .gfc-404-route-grid {
        grid-template-columns: 1fr;
    }

    .gfc-404-callout h3 {
        font-size: 28px;
    }
}

/* ─── Search Results ──────────────────────────────────────── */
.search-results-list {
    padding: 60px 0;
}

.search-result-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.search-result-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.search-result-item h2 a {
    color: var(--gfc-deep-teal);
}

.search-result-item h2 a:hover {
    color: var(--gfc-gold);
}

/* ─── 404 ─────────────────────────────────────────────────── */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--gfc-gold);
    line-height: 1;
}

.error-404 h2 {
    font-size: 36px;
    margin: 20px 0;
}

.gfc-404-hero::before {
    background: linear-gradient(180deg, rgba(0, 45, 51, 0.72), rgba(0, 45, 51, 0.82));
}

.gfc-404-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.gfc-404-search-panel {
    margin: 24px 0 28px;
    padding: 20px 22px;
    border: 1px solid rgba(0, 45, 51, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 45, 51, 0.03), rgba(0, 45, 51, 0.01));
    box-shadow: 0 18px 34px rgba(0, 45, 51, 0.08);
}

.gfc-404-search-panel .search-form {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 45, 51, 0.12);
}

.gfc-404-search-panel .search-field {
    flex: 1;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(0, 45, 51, 0.12);
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 16px;
}

.gfc-404-search-panel .search-submit {
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--gfc-gold);
    border-radius: 0 12px 12px 0;
    background: var(--gfc-gold);
    color: var(--gfc-white);
    font-weight: 700;
}

.gfc-404-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gfc-404-route-card {
    display: grid;
    gap: 8px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(0, 45, 51, 0.1);
    border-radius: 16px;
    background: var(--gfc-white);
    box-shadow: 0 18px 32px rgba(0, 45, 51, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gfc-404-route-card:hover {
    transform: translateY(-4px);
    border-color: rgba(178, 130, 26, 0.3);
    box-shadow: 0 24px 40px rgba(0, 45, 51, 0.12);
}

.gfc-404-route-card__eyebrow,
.gfc-404-callout__kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gfc-gold);
}

.gfc-404-route-card strong {
    font-size: 20px;
    line-height: 1.3;
    color: var(--gfc-deep-teal);
}

.gfc-404-route-card span:last-child {
    color: var(--gfc-text-medium);
    line-height: 1.7;
}

.gfc-404-callout {
    padding: 28px 26px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(178, 130, 26, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(0, 45, 51, 0.98), rgba(6, 54, 61, 0.94));
    color: var(--gfc-white);
    box-shadow: 0 28px 44px rgba(0, 45, 51, 0.2);
}

.gfc-404-callout h3 {
    margin: 12px 0 14px;
    color: var(--gfc-white);
    font-size: 32px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.gfc-404-callout p,
.gfc-404-callout .icon-list__item div {
    color: rgba(255, 255, 255, 0.82);
}

.gfc-404-callout .icon-list {
    margin-top: 18px;
}

.gfc-404-callout .icon-list__item {
    align-items: flex-start;
}

/* ═══ SINGLE CAMPAIGN PAGE ═══════════════════════════════════ */

/* Campaign Hero */
.campaign-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    color: var(--gfc-white);
}

.campaign-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 51, 0.70);
    z-index: 1;
}

.campaign-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
}

/* Campaign Video/Image */
.campaign-video {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.campaign-video img,
.campaign-video iframe,
.campaign-video video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Campaign Sidebar */
.campaign-hero__cats {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.campaign-hero__title {
    font-family: var(--font-heading);
    font-size: 39px;
    font-weight: 700;
    color: var(--gfc-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.campaign-hero__goal {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.campaign-hero__goal-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--gfc-white);
}

.campaign-hero__goal-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.campaign-hero__progress {
    margin-bottom: 25px;
}

/* Preset donation buttons */
.campaign-hero__presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.preset-btn {
    background: transparent;
    border: 2px solid var(--gfc-gold);
    border-radius: 4px;
    color: var(--gfc-white);
    font-size: 17px;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 40px;
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--gfc-gold);
    color: var(--gfc-white);
}

/* Custom amount + back button */
.campaign-hero__donate {
    display: flex;
    gap: 12px;
    align-items: center;
}

.campaign-hero__custom-amount {
    display: flex;
    align-items: center;
    background: var(--gfc-white);
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #000;
}

.campaign-hero__custom-amount .dollar-sign {
    padding: 0 8px;
    color: #333;
    font-size: 17px;
    font-weight: 700;
}

.campaign-hero__custom-amount input {
    border: none;
    padding: 8px 10px;
    width: 100px;
    font-size: 17px;
    color: #333;
    background: transparent;
    outline: none;
}

.campaign-hero__back-btn {
    white-space: nowrap;
    font-weight: 800;
    font-size: 16px;
    padding: 10px 22px;
}

/* ─── Campaign Content Area ───────────────────────────────── */
.campaign-content {
    background: #f9f9f9;
    padding: 75px 0 50px;
}

.campaign-content__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
}

.campaign-content__about-label {
    color: #2e9643;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-bottom: 8px;
}

.campaign-content__about-title {
    color: var(--gfc-text-dark);
    font-size: 27px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 25px;
}

.campaign-content__short-desc {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--gfc-text-dark);
}

.campaign-content__description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gfc-text-dark);
}

.campaign-content__description h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--gfc-text-dark);
    margin: 35px 0 15px;
}

.campaign-content__description h3 {
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--gfc-text-dark);
    margin: 30px 0 12px;
}

.campaign-content__description ul,
.campaign-content__description ol {
    margin: 15px 0 20px 25px;
    list-style: revert;
}

.campaign-content__description li {
    margin-bottom: 6px;
}

.campaign-content__description img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Campaign Stats Bar */
.campaign-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
    margin: 40px 0;
}

.campaign-stats-bar__item {
    text-align: center;
}

.campaign-stats-bar__value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--gfc-text-dark);
}

.campaign-stats-bar__label {
    display: block;
    font-size: 14px;
    color: var(--gfc-text-medium);
    margin-top: 4px;
}

/* First Backer CTA */
.campaign-first-backer {
    background: var(--gfc-white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.campaign-first-backer h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.campaign-first-backer p {
    margin-bottom: 20px;
    color: var(--gfc-text-medium);
}

/* ─── Campaign Sidebar (Updates + Related) ────────────────── */
.campaign-updates__heading,
.campaign-related__heading {
    color: #2e9643;
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.campaign-updates__sub {
    font-size: 15px;
    color: var(--gfc-text-medium);
    margin-bottom: 25px;
}

.campaign-updates__empty {
    color: var(--gfc-text-medium);
    font-style: italic;
}

.campaign-update-item {
    padding-left: 24px;
    padding-bottom: 28px;
    margin-bottom: 0;
    border-left: 2px solid #ddd;
    position: relative;
}

.campaign-update-item:last-child {
    padding-bottom: 0;
}

.campaign-update-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gfc-gold);
}

.campaign-update-item h4 {
    font-size: 14px;
    font-weight: 400;
    color: var(--gfc-text-medium);
    margin-bottom: 4px;
}

.campaign-update-item p strong {
    font-size: 16px;
    color: var(--gfc-text-dark);
}

.campaign-related {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.campaign-related__item {
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.campaign-related__item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.campaign-related__item h4 a {
    color: var(--gfc-deep-teal);
}

.campaign-related__item h4 a:hover {
    color: var(--gfc-gold);
}

.campaign-related__meta {
    font-size: 13px;
    color: var(--gfc-text-medium);
    display: block;
    margin-bottom: 8px;
}

.campaign-related__item p {
    font-size: 15px;
    color: var(--gfc-text-medium);
    line-height: 1.6;
}

/* Campaign page responsive */
@media (max-width: 980px) {
    .campaign-hero__inner,
    .campaign-content__inner {
        grid-template-columns: 1fr;
    }

    .campaign-hero__title {
        font-size: 30px;
    }

    .campaign-hero__goal-amount {
        font-size: 32px;
    }

    .campaign-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .campaign-stats-bar {
        grid-template-columns: 1fr;
    }

    .campaign-hero__donate {
        flex-direction: column;
    }
}

/* ─── WooCommerce Overrides ───────────────────────────────── */
.woocommerce .button,
.woocommerce input.button,
.woocommerce a.button {
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
}

.woocommerce .button.alt,
.woocommerce input.button.alt {
    background-color: var(--gfc-gold) !important;
    border-color: var(--gfc-gold) !important;
}

.woocommerce .button.alt:hover {
    background-color: #9a7016 !important;
}

/* ─── Forms ───────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    transition: border-color 0.3s ease;
    background: var(--gfc-white);
    color: var(--gfc-text-dark);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gfc-gold);
    box-shadow: 0 0 0 3px rgba(178, 130, 26, 0.1);
}

/* ─── Two-Col Equal (side-by-side text columns) ──────────── */
.two-col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px 0;
}

.two-col-equal__col {
    min-width: 0;
}

@media (max-width: 980px) {
    .two-col-equal {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ─── Icon List (checkmark lists) ─────────────────────────── */
.icon-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.icon-list__item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.6;
}

.icon-list__icon {
    flex-shrink: 0;
    margin-top: 3px;
}

.icon-list__item strong {
    color: var(--gfc-deep-teal);
}

.section--overlay .icon-list__item strong,
.section--dark .icon-list__item strong {
    color: var(--gfc-white);
}

/* ─── Hero Short Variant ──────────────────────────────────── */
.hero--short {
    min-height: 300px;
    padding: 80px 0;
}

.hero--short::before {
    background: rgba(0, 45, 51, 0.43);
}

/* Contact Us page — green overlay to match live site forest photo */
.page-id-5894 .hero--short::before,
.page-id-6044 .hero--short::before,
.page-id-6041 .hero--short::before {
    background: rgba(5, 56, 10, 0.55);
}

/* ─── FAQ Cards ──────────────────────────────────────────── */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faq-card {
    background: var(--gfc-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-card__question {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.faq-card__question a {
    color: var(--gfc-deep-teal);
}

.faq-card__question a:hover {
    color: var(--gfc-gold);
}

.faq-card__date {
    display: block;
    font-size: 14px;
    color: var(--gfc-text-medium);
    margin-bottom: 15px;
    font-style: italic;
}

.faq-card__answer {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gfc-text-dark);
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── White CTA Section ──────────────────────────────────── */
.section--white-cta {
    background: var(--gfc-white);
}

.section--white-cta h2 {
    color: var(--gfc-deep-teal);
}

.section--white-cta p {
    color: var(--gfc-text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Light Overlay Section ───────────────────────────────── */
.section--light-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section--light-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.80);
    z-index: 1;
}

.section--light-overlay > .container {
    position: relative;
    z-index: 2;
}

.section--light-overlay h2 {
    color: var(--gfc-deep-teal);
}

.section--light-overlay h3 {
    color: var(--gfc-gold);
}

.section--light-overlay p {
    color: var(--gfc-text-dark);
}

/* ─── Featured Project in Two-Col ─────────────────────────── */
.two-col__featured-project {
    flex: 0 1 38%;
    min-width: 280px;
}

.two-col__featured-project .campaign-card {
    max-width: 100%;
}

/* ─── Utility Classes ─────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 15px; }
.mb-1 { margin-bottom: 15px; }
.mt-2 { margin-top: 30px; }
.mb-2 { margin-bottom: 30px; }
.mt-3 { margin-top: 50px; }
.mb-3 { margin-bottom: 50px; }

/* ─── Responsive ──────────────────────────────────────────── */

/* Large Desktop */
@media (min-width: 1350px) {
    .section {
        padding: var(--section-padding-lg) 0;
    }

    .row {
        padding: var(--row-padding-lg) 0;
    }
}

/* Campaign grid breakpoints */
@media (min-width: 900px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .campaigns-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing grid - 3 columns on wider screens */
@media (min-width: 1135px) {
    .pricing-card {
        min-height: 700px;
        display: flex;
        flex-direction: column;
    }
    .pricing-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .pricing-card__body .btn {
        margin-top: auto;
    }
}

/* Tablet */
@media (max-width: 980px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 36px;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }

    #primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gfc-deep-teal);
        border-top: 3px solid var(--gfc-gold);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    #primary-nav.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 0 16px;
        gap: 0;
    }

    .primary-menu > li > a {
        padding: 13px 28px;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.01em;
        border-left: 3px solid transparent;
        transition: border-color 0.2s, background 0.2s;
    }

    .primary-menu > li > a:hover {
        border-left-color: var(--gfc-gold);
        background: rgba(255, 255, 255, 0.04);
    }

    .primary-menu > li.current-menu-item > a,
    .primary-menu > li.current_page_item > a {
        border-left-color: var(--gfc-gold);
    }

    .primary-menu > li.cta-menu,
    .primary-menu > li.menu-item-type-custom:last-child {
        padding: 16px 28px 8px;
    }

    .primary-menu > li.cta-menu > a,
    .primary-menu > li.menu-item-type-custom:last-child > a {
        display: block;
        text-align: center;
        margin: 0;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 6px;
        border-left: none;
    }

    .primary-menu > li.cta-menu > a:hover,
    .primary-menu > li.menu-item-type-custom:last-child > a:hover {
        border-left: none;
        background: transparent;
    }

    .primary-menu .sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
    }

    /* Two-col stacking */
    .two-col,
    .two-col--reverse {
        flex-direction: column;
    }

    .two-col__text,
    .two-col__image {
        flex: 1 1 100%;
        min-width: unset;
    }

    /* Grid adjustments */
    .steps-grid,
    .blurb-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col {
        padding: 0;
    }

    .footer-bottom__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom__links {
        justify-content: flex-start;
    }

    /* Row/Col */
    .row {
        flex-direction: column;
    }

    .col-1\/2,
    .col-1\/3,
    .col-2\/3 {
        flex: 1 1 100%;
    }

    /* Section padding */
    .section {
        padding: 50px 0;
    }

    /* Top header — hidden on mobile, secondary links moved into hamburger menu */
    #top-header {
        display: none;
    }

    .mobile-secondary-menu {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 14px 28px 20px;
        margin: 0;
    }

    .mobile-secondary-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 16px;
    }

    .mobile-secondary-list li a {
        display: block;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.5);
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-secondary-list li a:hover {
        color: var(--gfc-gold);
    }

    .mobile-cart-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 8px 16px;
        color: var(--gfc-gold);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid rgba(178, 130, 26, 0.3);
        border-radius: 5px;
        transition: background 0.2s, color 0.2s;
    }

    .mobile-cart-link:hover {
        background: var(--gfc-gold);
        color: var(--gfc-deep-teal);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social {
        gap: 10px;
    }

    .gfc-404-hero__actions,
    .gfc-404-search-panel .search-form {
        display: grid;
    }

    .gfc-404-search-panel .search-field,
    .gfc-404-search-panel .search-submit {
        border-radius: 12px;
        border-right: 1px solid rgba(0, 45, 51, 0.12);
    }

    .gfc-404-callout {
        padding: 24px 22px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 28px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero {
        padding: 60px 0;
    }

    .blog-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        padding: 0;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .container {
        width: 90%;
    }

    .campaign-card__funding {
        font-size: 16px;
    }

    .single-post-header h1 {
        font-size: 30px;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .container {
        width: 92%;
    }

    .campaign-card__title {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════
   WooCommerce Cart & Checkout — Crowdfunding Experience
   ═══════════════════════════════════════════════════════════ */


/* ─── Checkout Hero — force white text ───────────────────── */
.hero--checkout h1,
.hero--checkout p,
.hero--checkout .hero__title,
.hero--checkout .hero__text {
    color: var(--gfc-white) !important;
}
/* ─── Step Indicator ─────────────────────────────────────── */
.checkout-steps {
    background: var(--gfc-white);
    border-bottom: 1px solid #e8e8e8;
    padding: 24px 0;
}

.checkout-steps__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.checkout-step--active {
    opacity: 1;
}

.checkout-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: var(--gfc-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.checkout-step--active .checkout-step__num {
    background: var(--gfc-gold);
}

.checkout-step__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--gfc-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.checkout-step__line {
    width: 60px;
    height: 2px;
    background: #ddd;
    margin: 0 16px;
    flex-shrink: 0;
}

.checkout-step__line--active {
    background: var(--gfc-gold);
}

/* ─── Checkout Layout (main + sidebar) ───────────────────── */
.checkout-page-content {
    background: #f5f5f0;
    padding: 50px 0 80px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.checkout-layout__main {
    min-width: 0;
}

.checkout-layout__sidebar {
    position: sticky;
    top: 100px;
}

/* ─── Campaign Context Card (sidebar) ────────────────────── */
.checkout-campaign-card {
    background: var(--gfc-white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.checkout-campaign-card__label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gfc-gold);
    margin-bottom: 16px;
}

.checkout-campaign-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.checkout-campaign-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 16px;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.checkout-campaign-card__title a {
    color: inherit;
    text-decoration: none;
}

.checkout-campaign-card__title a:hover {
    color: var(--gfc-gold);
}

.checkout-campaign-card__progress .progress-bar {
    margin-bottom: 10px;
}

.checkout-campaign-card__stats {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-medium);
}

.checkout-campaign-card__stats span:first-child {
    font-weight: 700;
    color: var(--gfc-deep-teal);
}

/* ─── Trust Signals ──────────────────────────────────────── */
.checkout-trust {
    background: var(--gfc-white);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.checkout-trust__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--gfc-text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.checkout-trust__item:last-child {
    border-bottom: none;
}

.checkout-trust__item svg {
    color: var(--gfc-gold);
    flex-shrink: 0;
}

/* ─── Impact Message ─────────────────────────────────────── */
.checkout-impact {
    background: linear-gradient(135deg, var(--gfc-deep-teal), #014d56);
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.checkout-impact p {
    font-family: var(--font-body);
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* ─── Cart Page ──────────────────────────────────────────── */
.woocommerce-cart .checkout-page-content {
    padding: 50px 0 80px;
}

/* Cart Table — Modern Card Style */
.woocommerce table.shop_table {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 30px;
    background: var(--gfc-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.woocommerce table.shop_table thead {
    background: var(--gfc-deep-teal);
}

.woocommerce table.shop_table thead th {
    color: var(--gfc-white) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 24px;
    border: none;
}

.woocommerce table.shop_table td {
    padding: 24px;
    vertical-align: middle;
    border-top: 1px solid #f0f0f0;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gfc-text-dark);
}

.woocommerce table.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.woocommerce table.shop_table .product-name a {
    color: var(--gfc-deep-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--gfc-gold);
}

.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-weight: 700;
    color: var(--gfc-deep-teal);
    font-size: 18px;
}

.woocommerce table.shop_table .product-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fdf2f2;
    color: #cc3333 !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce table.shop_table .product-remove a:hover {
    background: #cc3333;
    color: var(--gfc-white) !important;
}

/* Hide quantity column for crowdfunding */
.woocommerce table.shop_table .product-quantity {
    display: none;
}

.woocommerce table.shop_table thead th.product-quantity {
    display: none;
}

.qty-display {
    font-weight: 700;
    color: var(--gfc-text-dark);
}

/* Update cart / actions row */
.woocommerce .actions {
    text-align: right;
    padding: 16px 24px !important;
    background: #fafafa;
}

.woocommerce table.shop_table td .button,
.woocommerce .actions .button {
    background-color: var(--gfc-deep-teal) !important;
    color: var(--gfc-white) !important;
    border: none !important;
    padding: 12px 28px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.woocommerce table.shop_table td .button:hover,
.woocommerce .actions .button:hover {
    background-color: var(--gfc-gold) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 130, 26, 0.3) !important;
}

/* Hide coupon */
.woocommerce .coupon {
    display: none;
}

/* ─── Pledge Summary (Cart Totals) ───────────────────────── */
.woocommerce .cart_totals {
    float: none;
    width: 100%;
    background: var(--gfc-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.woocommerce .cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce .cart_totals table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce .cart_totals table th {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--gfc-text-medium);
    padding: 14px 0;
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce .cart_totals table td {
    padding: 14px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
}

.woocommerce .cart_totals table tr:last-child th,
.woocommerce .cart_totals table tr:last-child td {
    border-bottom: none;
    padding-top: 20px;
    font-size: 24px;
}

.woocommerce .cart_totals table tr:last-child th {
    color: var(--gfc-text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Continue to Checkout button */
.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    background: linear-gradient(135deg, var(--gfc-gold), #c99420) !important;
    color: var(--gfc-white) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 18px 40px !important;
    border-radius: 8px !important;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease !important;
    margin-top: 24px;
    border: none !important;
    box-shadow: 0 4px 16px rgba(178, 130, 26, 0.3);
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #c99420, var(--gfc-gold)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(178, 130, 26, 0.4) !important;
}

/* Empty cart */
.woocommerce .cart-empty,
.woocommerce .wc-empty-cart-message {
    text-align: center;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--gfc-text-medium);
    padding: 80px 20px 20px;
    line-height: 1.7;
}

.woocommerce .return-to-shop {
    text-align: center;
    padding-bottom: 60px;
}

.woocommerce .return-to-shop a {
    display: inline-block;
    background: linear-gradient(135deg, var(--gfc-gold), #c99420);
    color: var(--gfc-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(178, 130, 26, 0.3);
}

.woocommerce .return-to-shop a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(178, 130, 26, 0.4);
    color: var(--gfc-white);
}

/* ─── Checkout Page ──────────────────────────────────────── */
.woocommerce-checkout .checkout-page-content {
    padding: 50px 0 80px;
}

/* Billing form card */
.woocommerce-checkout .col2-set {
    background: var(--gfc-white);
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.woocommerce-checkout .col2-set .col-1 {
    width: 100%;
}

.woocommerce-checkout .col2-set .col-2 {
    display: none; /* Hide shipping for donations */
}

/* Section headers */
.woocommerce-checkout h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gfc-deep-teal);
    font-size: 22px;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: 0;
}

.woocommerce-checkout h3#order_review_heading {
    font-size: 22px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 20px;
}

/* Form fields — two column on desktop */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.woocommerce-checkout .form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce-checkout .form-row {
    margin-bottom: 0;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--gfc-text-medium);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.woocommerce-checkout .form-row label .required {
    color: var(--gfc-gold);
}

.woocommerce-checkout .form-row label .optional {
    font-weight: 400;
    font-size: 12px;
    color: #aaa;
    text-transform: none;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gfc-text-dark);
    background: #fafafa;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--gfc-gold);
    box-shadow: 0 0 0 4px rgba(178, 130, 26, 0.1);
    background: var(--gfc-white);
    outline: none;
}

.woocommerce-checkout .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Select2 dropdown */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 4px;
    line-height: normal;
    color: var(--gfc-text-dark);
    font-size: 16px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
}

/* ─── Order Review — Card Style ──────────────────────────── */
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: var(--gfc-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: none;
    border-radius: 0;
    overflow: visible;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 12px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    background: var(--gfc-deep-teal);
    color: var(--gfc-white) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0 12px;
    border: none;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    font-family: var(--font-body);
    font-size: 16px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gfc-text-medium);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    font-weight: 700;
    color: var(--gfc-deep-teal);
    text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
    font-size: 16px;
    padding-top: 12px;
    color: var(--gfc-text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 28px;
    padding-top: 12px;
    color: var(--gfc-deep-teal);
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    color: var(--gfc-text-dark);
    font-weight: 600;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    margin-top: 8px;
}

.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    transition: background 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    background: #fafafa;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--gfc-text-dark);
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--gfc-gold);
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.woocommerce-checkout #payment div.payment_box {
    background: #f5f5f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 14px;
    font-size: 14px;
    color: var(--gfc-text-medium);
    line-height: 1.6;
    border: 1px solid #e8e8e8;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

/* Privacy/terms */
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
    padding: 20px 0;
    font-size: 14px;
    color: var(--gfc-text-medium);
    line-height: 1.6;
}

.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a {
    color: var(--gfc-gold);
    text-decoration: underline;
}

/* Confirm contribution button */
.woocommerce-checkout #payment .place-order {
    padding: 0;
    margin-top: 8px;
}

.woocommerce-checkout #place_order {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--gfc-gold), #c99420) !important;
    color: var(--gfc-white) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 20px 40px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(178, 130, 26, 0.3);
}

.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #c99420, var(--gfc-gold)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(178, 130, 26, 0.4) !important;
}

/* Anonymous checkbox */
.woocommerce-checkout .woocommerce-checkout-review-order .form-row {
    margin: 16px 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--gfc-gold);
    width: 18px;
    height: 18px;
}

/* ─── WooCommerce Notices ────────────────────────────────── */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
    background: var(--gfc-white);
    border-left: 4px solid var(--gfc-gold);
    padding: 18px 24px;
    border-radius: 0 8px 8px 0;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gfc-text-dark);
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.woocommerce-notices-wrapper .woocommerce-error {
    background: var(--gfc-white);
    border-left: 4px solid #cc3333;
    padding: 18px 24px;
    border-radius: 0 8px 8px 0;
    font-family: var(--font-body);
    font-size: 15px;
    color: #cc3333;
    margin-bottom: 24px;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-info a {
    color: var(--gfc-gold);
    font-weight: 700;
}

/* ─── Hide order tip plugin ──────────────────────────────── */
.woocommerce-cart .wpcot-tips,
.woocommerce-cart .wpcot-tip,
.woocommerce-cart .wpcot-wrapper,
.woocommerce-checkout .wpcot-tips,
.woocommerce-checkout .wpcot-tip,
.woocommerce-checkout .wpcot-wrapper {
    display: none !important;
}


/* Hide redundant subtotal row in checkout order review (amount already shown in line item) */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:not(.order-total) {
    display: none;
}

/* Also hide on cart — the subtotal row in cart_totals table */
.woocommerce .cart_totals table tr:not(:last-child) {
    display: none;
}

/* Since only total row remains, remove top border but keep padding */
.woocommerce .cart_totals table tr:last-child th,
.woocommerce .cart_totals table tr:last-child td {
    border-top: none;
    padding: 16px;
}

/* Hide the header row in checkout review since there's only one item */
.woocommerce-checkout .woocommerce-checkout-review-order-table thead {
    display: none;
}

/* Style the single line item more cleanly without table headers */
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td {
    border-top: none;
    padding: 4px 0 8px;
}

/* Make the total row stand out more */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
    border-top: 2px solid #f0f0f0;
}

/* ─── Cart/Checkout Polish Fixes ──────────────────────────── */

/* Hide redundant price column (same as subtotal for donations) */
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table thead th.product-price {
    display: none;
}

/* Rename subtotal header via CSS */
.woocommerce table.shop_table thead th.product-subtotal {
    font-size: 12px;
}


/* Cart totals (Pledge Summary) should fill the main column */
.woocommerce-cart .cart_totals,
.woocommerce .cart_totals {
    max-width: 100% !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Total contribution row - keep text on one line */
.woocommerce .cart_totals table tr:last-child th {
    white-space: nowrap;
}

/* Form field inputs should stretch full width */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row .select2-container,
.woocommerce-checkout .form-row select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* WooCommerce form-row wrappers */
.woocommerce-checkout .form-row {
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    margin-bottom: 16px !important;
}

/* First/Last name specific — WooCommerce uses form-row-first and form-row-last */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
}

/* "Your Contribution" heading should be inside the review card */
.woocommerce-checkout h3#order_review_heading {
    background: var(--gfc-white);
    border-radius: 12px 12px 0 0;
    padding: 36px 36px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

/* Remove the teal header from cart table — cleaner look */
.woocommerce-cart table.shop_table thead {
    background: #f5f5f0;
}

.woocommerce-cart table.shop_table thead th {
    color: var(--gfc-text-medium) !important;
    font-size: 12px;
}

/* Cart table product row alignment */
.woocommerce table.shop_table .product-name {
    font-family: var(--font-heading);
}

/* Continue to Checkout button full width */
.woocommerce .cart_totals .wc-proceed-to-checkout {
    margin-top: 0;
}

/* The order review table total amount shouldn't wrap */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
    white-space: nowrap;
}

/* ─── Cart/Checkout Responsive ───────────────────────────── */
@media (max-width: 980px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout__sidebar {
        position: static;
        order: -1;
    }

    .checkout-steps__inner {
        max-width: 100%;
        padding: 0 20px;
    }

    .checkout-step__label {
        font-size: 12px;
    }

    .checkout-step__line {
        width: 30px;
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .col2-set {
        padding: 24px;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 24px;
    }

    .woocommerce table.shop_table,
    .woocommerce table.shop_table thead,
    .woocommerce table.shop_table tbody,
    .woocommerce table.shop_table tr,
    .woocommerce table.shop_table td {
        display: block;
    }

    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table tr {
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
    }

    .woocommerce table.shop_table td {
        padding: 8px 0;
        text-align: left;
        border: none;
    }

    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        font-weight: 700;
        font-family: var(--font-body);
        margin-right: 10px;
        color: var(--gfc-text-medium);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .woocommerce .cart_totals {
        padding: 24px;
    }

    .checkout-campaign-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .checkout-step__label {
        display: none;
    }

    .checkout-step__line {
        width: 40px;
    }

    .checkout-steps {
        padding: 18px 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   WP Crowdfunding Dashboard — Full Visual Overhaul
   Brand-aligned styling for /dashboard/ experience
   ═══════════════════════════════════════════════════════════ */

/* ─── Dashboard: Break out of .container constraint ──────── */
.page-template-default .post-content:has(.wpneo-wrapper) {
    max-width: none;
    width: 100%;
}

.page-template-default .container:has(.wpneo-wrapper) {
    max-width: 1320px;
    width: 92%;
}

/* ─── Dashboard Wrapper & Base Typography ────────────────── */
.wpneo-wrapper {
    font-family: var(--font-body);
    color: var(--gfc-text-dark);
    font-weight: 400;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 64px;
}

.wpneo-wrapper h4,
.wpneo-wrapper .wpneo-col6 h4,
.wpneo-wrapper .wpneo-content h4 {
    font-family: var(--font-heading);
    color: var(--gfc-deep-teal);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ─── Top Navigation Bar ─────────────────────────────────── */
.wpneo-head.wpneo-shadow {
    background: var(--gfc-deep-teal);
    padding: 0 32px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 45, 51, 0.15);
    border: none;
}

.wpneo-links .wpneo-links-list a {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    line-height: 60px;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    text-decoration: none;
}

.wpneo-links .wpneo-links-list a:hover {
    color: var(--gfc-gold);
}

.wpneo-links .wpneo-links-list.active a,
.wpneo-links .wpneo-links-list a[style*="color"] {
    color: #fff !important;
}

/* Active tab underline */
.wpneo-links .wpneo-links-list.active {
    border-bottom: 3px solid var(--gfc-gold);
}

/* Dropdown arrow */
.wpcrowd-arrow-down {
    border-color: rgba(255, 255, 255, 0.7);
}

/* Submenu dropdowns */
.wp-crowd-submenu {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 45, 51, 0.18);
    padding: 8px 0;
    border: 1px solid rgba(0, 45, 51, 0.08);
}

.wp-crowd-submenu .wpneo-links-lists a {
    color: var(--gfc-text-dark) !important;
    font-size: 13px !important;
    line-height: 38px !important;
    padding: 0 20px !important;
    display: block;
    transition: background 0.15s ease, color 0.15s ease;
}

.wp-crowd-submenu .wpneo-links-lists a:hover {
    background: rgba(0, 45, 51, 0.04);
    color: var(--gfc-deep-teal) !important;
}

/* "Add New Campaign" / "Request Funding" button */
.wp-crowd-new-campaign {
    float: none;
    display: flex;
    align-items: center;
    margin-top: 0;
}

/* Make the nav bar a flex container for vertical centering */
.wpneo-head.wpneo-shadow .wpneo-links {
    display: flex;
    align-items: center;
}

.wpneo-head.wpneo-shadow .wpneo-links .wpneo-links-list {
    margin-right: 0;
}

.wp-crowd-new-campaign {
    margin-left: auto;
}

.wp-crowd-new-campaign .wp-crowd-btn,
a.wp-crowd-btn.wp-crowd-btn-primary {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(178, 130, 26, 0.25);
}

.wp-crowd-new-campaign .wp-crowd-btn:hover,
a.wp-crowd-btn.wp-crowd-btn-primary:hover {
    background: #9a6f15 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 130, 26, 0.35);
}

/* ─── Summary Section (Date Range + Stat Boxes) ──────────── */
.wpneo-dashboard-head-left {
    font-family: var(--font-body);
    color: var(--gfc-text-medium);
}

.wpneo-dashboard-head-left ul li a {
    color: var(--gfc-text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.wpneo-dashboard-head-left ul li a:hover {
    color: var(--gfc-gold);
}

.wpneo-dashboard-head-left ul li.active {
    background: var(--gfc-deep-teal);
    border-radius: 5px;
    padding: 4px 10px;
}

.wpneo-dashboard-head-left ul li.active a {
    color: #fff;
}

/* Date inputs */
.dashboard-head-date input[type="text"] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-dark);
    transition: border-color 0.2s ease;
}

.dashboard-head-date input[type="text"]:focus {
    border-color: var(--gfc-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(178, 130, 26, 0.12);
}

/* Search button */
.dashboard-head-date input[type="submit"] {
    background: var(--gfc-deep-teal) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dashboard-head-date input[type="submit"]:hover {
    background: #013d45 !important;
}

/* Stat summary boxes */
.wpneo-dashboard-summary ul li {
    background: #f8fafb;
    border: 1px solid #e5e9ec;
    border-radius: 12px;
    padding: 28px 28px;
    transition: all 0.2s ease;
}

.wpneo-dashboard-summary ul li:hover {
    border-color: rgba(0, 45, 51, 0.15);
    box-shadow: 0 2px 8px rgba(0, 45, 51, 0.06);
}

.wpneo-dashboard-summary ul li.active {
    background: var(--gfc-deep-teal) !important;
    border-color: var(--gfc-deep-teal);
    box-shadow: 0 4px 16px rgba(0, 45, 51, 0.2);
}

.wpneo-dashboard-summary ul li .wpneo-value {
    font-family: var(--font-heading);
    color: var(--gfc-deep-teal);
    font-size: 32px;
    font-weight: 700;
}

.wpneo-dashboard-summary ul li.active .wpneo-value {
    color: #fff;
}

.wpneo-dashboard-summary ul li .wpneo-value-info {
    font-family: var(--font-body);
    color: var(--gfc-text-medium);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.wpneo-dashboard-summary ul li.active .wpneo-value-info {
    color: rgba(255, 255, 255, 0.8);
}

/* Active stat box arrow */
.wpneo-dashboard-summary ul li.active:after {
    border-color: var(--gfc-deep-teal) transparent transparent transparent;
}

/* ─── Chart Area ─────────────────────────────────────────── */
.wpneo-dashboard-chart {
    background: #fff;
    border: 1px solid #e5e9ec;
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 40px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ─── Card Containers (Shadow Boxes) ─────────────────────── */
.wpneo-shadow {
    background: #fff;
    border: 1px solid #e5e9ec;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.wpneo-shadow:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ─── My Campaigns Grid ──────────────────────────────────── */
.wpneo-row .wpneo-col6 {
    margin-bottom: 32px;
}

/* Campaign card inner content */
.wpneo-shadow .wpneo-padding15,
.wpneo-shadow .wpneo-padding25 {
    padding: 28px;
}

/* Campaign card titles */
.wpneo-listings-dashboard .wpneo-listing-content h4 a,
.wpneo-listings-dashboard h4 a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.wpneo-listings-dashboard .wpneo-listing-content h4 a:hover,
.wpneo-listings-dashboard h4 a:hover {
    color: var(--gfc-gold);
}

/* Campaign metadata (days to go, author, totals) */
.wpneo-listings-dashboard .wpneo-funding-data,
.wpneo-listings-dashboard .wpneo-location,
.wpneo-listings-dashboard .wpneo-author {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gfc-text-medium);
    line-height: 1.6;
}

/* Progress bars in campaign cards */
.wpneo-raised-bar {
    background: #e5e9ec;
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
    margin: 8px 0;
}

.wpneo-raised-bar > div,
.wpneo-raised-bar .wpneo-raised-bar-percent {
    background: linear-gradient(90deg, var(--gfc-gold), #d4a82a) !important;
    border-radius: 20px;
    height: 100%;
}

/* ─── Balance Section ────────────────────────────────────── */
.wpneo-wrapper .wpneo-col6 h4,
.wpneo-wrapper .wpneo-content h4 {
    font-size: 24px;
    margin: 0 0 20px;
    color: var(--gfc-deep-teal);
}

/* Current balance display */
.wpneo-content p,
.wpneo-shadow p {
    font-family: var(--font-body);
    color: var(--gfc-text-dark);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── Form Elements (Inputs, Selects, Textareas) ─────────── */
.wpneo-fields input[type="text"],
.wpneo-fields input[type="email"],
.wpneo-fields input[type="number"],
.wpneo-fields input[type="password"],
.wpneo-fields textarea,
.wpneo-fields select,
#wpneofrontenddata .wpneo-fields input[type="text"],
#wpneofrontenddata .wpneo-fields input[type="email"],
#wpneofrontenddata .wpneo-fields input[type="number"],
#wpneofrontenddata .wpneo-fields select,
#wpneofrontenddata .wpneo-fields textarea {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-dark);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpneo-fields input[type="text"]:focus,
.wpneo-fields input[type="email"]:focus,
.wpneo-fields input[type="number"]:focus,
.wpneo-fields input[type="password"]:focus,
.wpneo-fields textarea:focus,
#wpneofrontenddata .wpneo-fields input:focus,
#wpneofrontenddata .wpneo-fields textarea:focus {
    border-color: var(--gfc-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(178, 130, 26, 0.12);
}

/* Field labels */
.wpneo-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 8px;
}

.wpneo-single {
    padding-bottom: 20px;
}

.wpneo-name > p {
    font-weight: 700;
    color: var(--gfc-deep-teal);
}

/* ─── Buttons (Submit, Save, Edit, etc.) ──────────────────── */
.wp-crowd-btn,
.wpneo-save-btn,
.wpneo-edit-btn,
#addcampaignupdate,
#wpneo_active_edit_form,
.wpneo_withdraw_button,
input[type="submit"].wpneo-submit-campaign,
#wpneofrontenddata .wpneo-form-action input[type="submit"].wpneo-submit-campaign {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(178, 130, 26, 0.2);
    text-transform: none;
    letter-spacing: 0.01em;
}

.wp-crowd-btn:hover,
.wpneo-save-btn:hover,
.wpneo-edit-btn:hover,
.wpneo_withdraw_button:hover,
input[type="submit"].wpneo-submit-campaign:hover {
    background: #9a6f15 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(178, 130, 26, 0.3);
}

/* Secondary / cancel buttons */
.wpneo-cancel-btn {
    background: #e5e9ec;
    color: var(--gfc-text-dark);
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: background 0.2s ease;
}

.wpneo-cancel-btn:hover {
    background: #d1d5db;
}

/* ─── "My Information" Section ───────────────────────────── */
#wpneo-dashboard-form .wpneo-name {
    margin-top: 12px;
}

/* Disabled / read-only fields */
.wpneo-fields input[type="text"]:disabled,
.wpneo-fields input[type="email"]:disabled {
    background: #f8fafb;
    color: var(--gfc-text-medium);
    border: 1px solid #e5e9ec !important;
    padding: 10px 14px !important;
    height: auto;
    cursor: default;
}

/* ─── Pagination ─────────────────────────────────────────── */
.wpneo-pagination ul li a,
.wpneo-pagination ul li span.current {
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gfc-text-dark);
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

.wpneo-pagination ul li a:hover {
    border-color: var(--gfc-gold);
    color: var(--gfc-gold);
    background: rgba(178, 130, 26, 0.04);
}

.wpneo-pagination ul li span.current {
    background: var(--gfc-deep-teal);
    color: #fff;
    border-color: var(--gfc-deep-teal);
}

/* ─── Tables (Pledges, Payments, etc.) ────────────────────── */
table.stripe-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e9ec;
}

table.stripe-table thead tr {
    background: var(--gfc-deep-teal);
}

table.stripe-table thead tr th {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    border: none;
}

table.stripe-table tbody tr {
    transition: background 0.15s ease;
}

table.stripe-table > tbody > :nth-child(odd) {
    background: #f8fafb !important;
}

table.stripe-table > tbody > :nth-child(even) {
    background: #fff;
}

table.stripe-table tbody tr:hover {
    background: rgba(178, 130, 26, 0.04) !important;
}

table.stripe-table td {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-dark);
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* ─── Modal Overlays ─────────────────────────────────────── */
.wpneo-modal-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

div.wpneo-modal-wrapper-head {
    background: var(--gfc-deep-teal);
}

div.wpneo-modal-wrapper-head span {
    color: #fff;
    font-family: var(--font-heading);
}

.wpneo-modal-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--gfc-deep-teal);
}

/* ─── Alert / Info Boxes ─────────────────────────────────── */
.wpneocf-alert-info {
    background: rgba(178, 130, 26, 0.06);
    border-left: 4px solid var(--gfc-gold);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    font-family: var(--font-body);
    color: var(--gfc-text-dark);
}

/* ─── WPC Order Tip — already hidden via functions.php ──── */


/* Campaign card title box — remove inner shadow look */
.wpneo-listings-dashboard .wpneo-listing-content,
.wpneo-listings-dashboard .wpneo-shadow .wpneo-padding15 {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Campaign funding metadata */
.wpneo-listings-dashboard .wpneo-funding-data span {
    font-weight: 600;
    color: var(--gfc-deep-teal);
}

/* Total and Goal labels */
.wpneo-listings-dashboard .wpneo-col6 > .wpneo-shadow ~ div,
.wpneo-listings-dashboard .wpneo-funding-data {
    font-size: 13px;
    line-height: 1.5;
}

/* ─── Reduce gap between hero and dashboard nav ──────────── */
.wpneo-wrapper {
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

/* ─── Balance & My Information card polish ───────────────── */
.wpneo-content.wpneo-shadow {
    padding: 32px;
}

.wpneo-content.wpneo-shadow h4 {
    margin-top: 0;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 45, 51, 0.08);
}


/* ─── Dashboard two-column layout spacing ─────────────────── */
.wpneo-wrapper > .wpneo-row {
    gap: 36px;
    margin-left: 0;
    margin-right: 0;
}

.wpneo-wrapper > .wpneo-row > .wpneo-col6 {
    flex: 1 1 0;
    max-width: calc(50% - 18px);
    padding: 0;
}

/* Summary section spacing */
.wpneo-dashboard-summary {
    margin-top: 28px;
    margin-bottom: 24px;
}

/* ─── Dashboard Campaign Cards (actual markup) ──────────── */
.wp-dashboard-row .wpneo-col6 {
    margin-bottom: 28px;
    padding-left: 10px;
    padding-right: 10px;
}

.wp-dashboard-row .wpcrowd-listing {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 0;
    line-height: 0;
    height: 200px;
}

.wp-dashboard-row .wpcrowd-listing img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 0 !important;
}

.wp-dashboard-row .wpcrowd-listing a {
    display: block;
    line-height: 0;
}

.wp-dashboard-row .wpcrowd-listing-content {
    background: #fff;
    border: 1px solid #e5e9ec;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px 20px 20px;
}

/* ─── Card metadata layout ──────────────────────────────── */
.wpcrowd-admin-metadata {
    margin-top: 4px;
}

.wpcrowd-admin-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* Each meta item as a block row */
.wpcrowd-admin-meta-info .wpneo-meta-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gfc-text-medium);
    line-height: 1.8;
}

/* Hide the "by author" line — redundant in personal dashboard */
.wpcrowd-admin-meta-info .wpneo-meta-wrap:nth-child(2) {
    display: none;
}

/* "Days to go" pill styling */
.wpcrowd-admin-meta-info .wpneo-meta-wrap:first-child {
    width: 100%;
    margin-bottom: 12px;
}

.wpcrowd-admin-meta-info .wpneo-meta-wrap:first-child .info-text {
    display: inline-block;
    background: rgba(0, 45, 51, 0.06);
    color: var(--gfc-deep-teal);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* Total and Goal — side by side */
.wpcrowd-admin-meta-info .wpneo-meta-wrap:nth-child(3),
.wpcrowd-admin-meta-info .wpneo-meta-wrap:nth-child(4) {
    flex: 1;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0 0;
    border-top: 1px solid #f0f2f4;
}

.wpcrowd-admin-meta-info .wpneo-meta-wrap:nth-child(3) {
    padding-right: 12px;
}

.wpcrowd-admin-meta-info .wpneo-meta-wrap:nth-child(4) {
    padding-left: 12px;
    border-left: 1px solid #f0f2f4;
}

/* Meta labels */
.wpcrowd-admin-meta-info .wpneo-meta-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

/* Meta values (prices) */
.wpcrowd-admin-meta-info .woocommerce-Price-amount {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
}

.wp-dashboard-row .wpcrowd-admin-title {
    margin-top: 0;
    margin-bottom: 4px;
}

.wp-dashboard-row .wpcrowd-admin-title h3 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.4;
    border: none;
    background: none;
}

.wp-dashboard-row .wpcrowd-admin-title h3 a {
    font-family: var(--font-heading);
    color: var(--gfc-deep-teal);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
    display: block;
    padding: 0;
}

.wp-dashboard-row .wpcrowd-admin-title h3 a:hover {
    color: var(--gfc-gold);
}

/* Campaign metadata below cards */
.wp-dashboard-row .wpneo-col6 > span,
.wp-dashboard-row .wpneo-col6 > div:not(.wpcrowd-listing):not(.wpcrowd-listing-content) {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gfc-text-medium);
}

/* ─── Dashboard Responsive ───────────────────────────────── */
/* ─── Dashboard Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .wpneo-head {
        border-radius: 0;
        margin-left: -24px;
        margin-right: -24px;
        padding: 0 16px;
    }

    .wpneo-links .wpneo-links-list a {
        font-size: 13px;
        margin-right: 16px;
        line-height: 48px;
    }

    .wpneo-dashboard-summary ul li {
        width: 100%;
        margin-bottom: 8px;
    }

    .wpneo-row .wpneo-col6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wpneo-wrapper {
        padding: 0 16px 32px;
    }
}

/* ─── Campaign Listing View — fix hover bars ─────────────── */
/* ─── Dashboard PJAX Loading Spinner ─────────────────────── */
.gfc-pjax-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.gfc-pjax-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e9ec;
    border-top-color: var(--gfc-gold);
    border-radius: 50%;
    animation: gfc-spin 0.7s linear infinite;
}

@keyframes gfc-spin {
    to { transform: rotate(360deg); }
}

/* PJAX nav active state */
.wpneo-links a.gfc-nav-active {
    color: var(--gfc-gold) !important;
    font-weight: 700;
}

/* ─── Dashboard Nav Dropdown — prevent text wrapping ─────── */
.wp-crowd-submenu {
    min-width: 220px;
    width: auto !important;
}

.wp-crowd-submenu a {
    white-space: nowrap;
}

/* ─── Donor-First Dashboard Reorientation ────────────────── */

/* Hide "Request Funding" button — not yet available to public */
.wp-crowd-new-campaign {
    display: none !important;
}

/* Hide Balance/Deposit widget on dashboard home (creator payout concept) */
.wpneo-wrapper > .wpneo-row > .wpneo-col6:last-child .wpneo-content.wpneo-shadow:first-child {
    display: none;
}

/* Make "My Campaigns" heading less prominent on dashboard home */
.wpneo-wrapper > .wpneo-row > .wpneo-col6:first-child > .wpneo-shadow > h4 {
    font-size: 15px;
    color: var(--gfc-slate);
    font-weight: 600;
}

/* Reorder dropdown items — backed/donor items first */
.wp-crowd-submenu {
    display: flex;
    flex-direction: column;
}

/* Backed Campaigns (was My Invested) — first */
.wp-crowd-submenu a[href*="backed_campaigns"] { order: 1; }
/* Donation History (was Backed Campaign) — second */
.wp-crowd-submenu a[href*="page_type=backed_campaign"] { order: 2; }
/* Contributions Received (was Pledges Received) — third */
.wp-crowd-submenu a[href*="pledges_received"] { order: 3; }
/* Bookmarks — fourth */
.wp-crowd-submenu a[href*="bookmark"] { order: 4; }
/* Payments — fifth */
.wp-crowd-submenu a[href*="payments"] { order: 5; }
/* Deposits — sixth */
.wp-crowd-submenu a[href*="deposits"] { order: 6; }

/* My Projects (was My Campaigns) — last, with separator */
.wp-crowd-submenu a[href*="page_type=campaign"] { order: 10; }
.wp-crowd-submenu a[href*="page_type=campaign"]:not([href*="backed"]) {
    order: 10;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #e5e9ec;
    color: var(--gfc-slate);
    font-size: 13px;
}

/* "My Information" card — bump up, full width when Balance hidden */
.wpneo-wrapper > .wpneo-row > .wpneo-col6:last-child {
    display: flex;
    flex-direction: column;
}

/* ─── Fix dropdown reordering — target wrapper divs, not links ── */
.wp-crowd-submenu .wpneo-links-lists {
    display: block;
}

/* Target by link href within the wrapper div */
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="backed_campaigns"]) { order: 1; }
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="page_type=backed_campaign"]):not(:has(a[href*="backed_campaigns"])) { order: 2; }
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="pledges_received"]) { order: 3; }
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="bookmark"]) { order: 4; }
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="payments"]) { order: 5; }
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="deposits"]) { order: 6; }

/* My Projects — last, visually separated */
.wp-crowd-submenu .wpneo-links-lists:has(a[href*="page_type=campaign"]):not(:has(a[href*="backed"])) {
    order: 10;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e5e9ec;
}

.wp-crowd-submenu .wpneo-links-lists:has(a[href*="page_type=campaign"]):not(:has(a[href*="backed"])) a {
    color: var(--gfc-slate);
    font-size: 13px;
}

/* ─── Make My Projects section dynamic on dashboard home ─── */
/* Hide the entire left column (My Projects) by default on dashboard */
.wpneo-wrapper > .wpneo-row > .wpneo-col6:first-child > .wpneo-shadow:has(.wp-dashboard-row:empty),
.wpneo-wrapper > .wpneo-row > .wpneo-col6:first-child > .wpneo-shadow.gfc-no-campaigns {
    display: none;
}

/* When My Projects is hidden, let right column go full width */
.wpneo-wrapper > .wpneo-row > .wpneo-col6:first-child:has(.gfc-no-campaigns) {
    display: none;
}

.wpneo-wrapper > .wpneo-row > .wpneo-col6:last-child:only-child,
.wpneo-wrapper > .wpneo-row:has(.gfc-no-campaigns) > .wpneo-col6:last-child {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}


/* ═══════════════════════════════════════════════════════════════
   LISTING CARDS — Campaign listing view (/dashboard/?page_type=campaign)
   Single consolidated block. Card = flex row, 480px image left,
   content right. Image fills full card height with object-fit: cover.
   ═══════════════════════════════════════════════════════════════ */
.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 .wpneo-listing-img {
    flex: 0 0 480px !important;
    width: 480px !important;
    min-width: 480px !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    line-height: 0 !important;
    float: none !important;
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 .wpneo-listing-img a {
    flex: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 .wpneo-listing-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    min-height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    float: none !important;
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 .wpneo-listing-img .overlay {
    display: none !important;
}

.wpneo-listings-dashboard.wpneo-shadow.wpneo-padding15 .wpneo-listing-content {
    flex: 1 1 0% !important;
    width: auto !important;
    float: none !important;
    padding: 24px 28px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   MY ACCOUNT PAGE — WooCommerce account, styled to match GFC
   ═══════════════════════════════════════════════════════════════ */

/* Layout: sidebar + content */
.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 240px !important;
    flex-shrink: 0;
}

.woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    flex: 1;
}

.woocommerce-account .woocommerce {
    display: flex;
    gap: 48px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* Sidebar navigation */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #f0f2f4;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--gfc-text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--gfc-gold);
    background: rgba(178, 130, 26, 0.04);
    border-left-color: var(--gfc-gold);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--gfc-gold);
    background: rgba(178, 130, 26, 0.06);
    border-left-color: var(--gfc-gold);
    font-weight: 700;
}

/* Sidebar card wrapper */
.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e9ec;
    overflow: hidden;
    align-self: flex-start;
}

/* Content area */
.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e9ec;
    padding: 40px;
}

.woocommerce-MyAccount-content p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gfc-text-dark);
    line-height: 1.7;
}

.woocommerce-MyAccount-content a {
    color: var(--gfc-gold);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
    color: #9a6f15;
}

/* Hide raw shortcode/page content around WooCommerce My Account */
/* Uses font-size:0 to hide bare text nodes (unrendered shortcodes) */
.woocommerce-account .page-content .container {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

.woocommerce-account .page-content .container > *:not(.woocommerce) {
    display: none !important;
}

.woocommerce-account .page-content .container > .woocommerce {
    display: flex !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: inherit !important;
}

/* Hide "Account Dashboard" heading and subtitle above the layout */
.woocommerce-account .gfc-page-subtitle,
.woocommerce-account .entry-header {
    /* Keep hero, hide any duplicate content headings */
}

/* Orders table styling (donation receipts) */
.woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e9ec;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table thead th {
    background: var(--gfc-deep-teal);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    border: none;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table td {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-dark);
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* Form fields on account edit, address pages */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="text"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="email"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input[type="password"],
.woocommerce-MyAccount-content .woocommerce-address-fields input[type="text"],
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gfc-text-dark);
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: var(--gfc-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(178, 130, 26, 0.12);
}

.woocommerce-MyAccount-content label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    display: block;
    margin-bottom: 6px;
}

/* Save button */
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .woocommerce-Button {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .woocommerce-Button:hover {
    background: #9a6f15 !important;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 24px 16px;
        gap: 24px;
    }

    .woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MY ACCOUNT SUBPAGES — Addresses, Orders, Account Details, Login
   ═══════════════════════════════════════════════════════════════ */

/* ─── Addresses Page ─────────────────────────────────────── */
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3,
.woocommerce-MyAccount-content .woocommerce-Addresses header h2,
.woocommerce-MyAccount-content .woocommerce-Addresses header h3,
.woocommerce-MyAccount-content .woocommerce-Addresses h2,
.woocommerce-MyAccount-content .woocommerce-Addresses h3 {
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--gfc-deep-teal) !important;
    margin-bottom: 8px !important;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title a,
.woocommerce-MyAccount-content .woocommerce-Addresses header a {
    font-size: 14px !important;
}

/* Address columns side by side */
.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
    max-width: 50%;
}

/* ─── Donation Receipts / Orders Page ────────────────────── */
/* Remove blue accent bar */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    border-top: none !important;
    border-left: 4px solid var(--gfc-gold) !important;
    background: rgba(178, 130, 26, 0.06) !important;
    color: var(--gfc-text-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 16px 20px 16px 48px !important;
    border-radius: 0 8px 8px 0 !important;
    margin-bottom: 24px !important;
    position: relative !important;
}

/* Fix the blue info/notice icon */
.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-message::before {
    color: var(--gfc-gold) !important;
}

.woocommerce-MyAccount-content .woocommerce-error {
    border-left-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.06) !important;
}

.woocommerce-MyAccount-content .woocommerce-error::before {
    color: #dc3545 !important;
}

/* ─── Account Details / Edit Form ────────────────────────── */
/* Fix separator line color */
.woocommerce-MyAccount-content fieldset {
    border: none !important;
    border-top: 2px solid rgba(0, 45, 51, 0.08) !important;
    padding-top: 24px !important;
    margin-top: 24px !important;
}

.woocommerce-MyAccount-content fieldset legend {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--gfc-deep-teal) !important;
    padding: 0 8px 0 0 !important;
}

/* Form row spacing */
.woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 20px !important;
}

/* Fix field backgrounds */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--gfc-text-dark) !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    background: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    border-color: var(--gfc-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(178, 130, 26, 0.12) !important;
}

/* Password visibility toggle */
.woocommerce-MyAccount-content .show-password-input {
    color: var(--gfc-text-medium) !important;
}

/* Old login CSS removed — consolidated into not-logged-in section below */

/* ─── Global WooCommerce button overrides ────────────────── */
.woocommerce-account button.woocommerce-Button,
.woocommerce-account input.woocommerce-Button,
.woocommerce-account .woocommerce-Button--next,
.woocommerce-account .woocommerce-Button--previous {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.woocommerce-account button.woocommerce-Button:hover,
.woocommerce-account input.woocommerce-Button:hover {
    background: #9a6f15 !important;
}



/* ─── WooCommerce notice buttons (Browse products, etc.) ─── */
.woocommerce-MyAccount-content .woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-message a.button,
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content a.button,
.woocommerce-account a.button {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

.woocommerce-MyAccount-content .woocommerce-info a.button:hover,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-account a.button:hover {
    background: #9a6f15 !important;
}

/* ─── Login page layout fix — center form, heading inside card ─── */
/* ─── Login / Not-logged-in My Account — full restyle ────── */

/* Hide shortcode junk on login page too */
.woocommerce-account:not(.logged-in) .page-content .container {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

.woocommerce-account:not(.logged-in) .page-content .container > *:not(.woocommerce) {
    display: none !important;
}

/* Login wrapper — centered column */
.woocommerce-account:not(.logged-in) .page-content .container > .woocommerce,
.woocommerce-account:not(.logged-in) .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 48px 0 !important;
    gap: 0 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--gfc-text-dark) !important;
}

/* "Login" heading — inside the card top */
.woocommerce-account:not(.logged-in) .woocommerce > h2 {
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--gfc-deep-teal) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 32px 40px 0 !important;
    background: #fff;
    border: 1px solid #e5e9ec;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

/* Login form — card body */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form.login {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #e5e9ec !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    padding: 24px 40px 40px !important;
    box-sizing: border-box !important;
}

/* Form fields — full width */
.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="text"],
.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="email"],
.woocommerce-account:not(.logged-in) .woocommerce-form-login input[type="password"],
.woocommerce-account:not(.logged-in) .woocommerce-form.login input[type="text"],
.woocommerce-account:not(.logged-in) .woocommerce-form.login input[type="email"],
.woocommerce-account:not(.logged-in) .woocommerce-form.login input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
}

/* Labels */
.woocommerce-account:not(.logged-in) .woocommerce-form-login label,
.woocommerce-account:not(.logged-in) .woocommerce-form.login label {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--gfc-deep-teal) !important;
}

/* Form rows */
.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
.woocommerce-account:not(.logged-in) .woocommerce-form.login .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

/* Button — full width gold */
.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
.woocommerce-account:not(.logged-in) .woocommerce-form.login button[type="submit"] {
    background: var(--gfc-gold) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    box-shadow: 0 2px 8px rgba(178, 130, 26, 0.2) !important;
    margin-top: 8px !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"]:hover,
.woocommerce-account:not(.logged-in) .woocommerce-form.login button[type="submit"]:hover {
    background: #9a6f15 !important;
    transform: translateY(-1px) !important;
}

/* Remember me */
.woocommerce-account:not(.logged-in) .woocommerce-form__label-for-checkbox {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--gfc-text-medium) !important;
}

/* Lost password link */
.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
    text-align: center !important;
    margin-top: 16px !important;
}

.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
    color: var(--gfc-gold) !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

/* Hide notices wrapper if empty */
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper:empty {
    display: none !important;
}

/* Remove column wrappers */
.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2,
.woocommerce-account:not(.logged-in) .col-1,
.woocommerce-account:not(.logged-in) .col-2 {
    max-width: 100% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Address title — stack heading and link vertically, left-aligned */
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title a {
    margin-top: 4px !important;
    text-align: left !important;
}

/* Remove divider from last footer post */
.footer-recent-posts li:last-child {
    border-bottom: none !important;
}

/* Hide WooCommerce product gallery on single campaign pages (hero already shows the image) */
.single-product .woocommerce-product-gallery,
.single-product .campaign-content__description .gallery,
.single-product .campaign-content__description .wp-caption,
.single-product .campaign-content__description .tiled-gallery,
/* Inline-split media visible on campaign pages */
.single-product .campaign-content__description .gfc-inline-split {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
}

/* Remove divider from last related article */
.campaign-related__item:last-child {
    border-bottom: none !important;
}

/* Checkout & Cart page spacing */
.woocommerce-checkout .page-content .container,
.woocommerce-cart .page-content .container {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 40px 30px !important;
}
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce {
    overflow: visible !important;
}
.woocommerce table.shop_table {
    width: 100% !important;
    table-layout: auto !important;
}

/* Checkout/Cart table cell padding */
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    padding: 12px 16px !important;
}

/* Cart/Checkout notice icon fix */
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
    padding-left: 48px !important;
    position: relative !important;
}

/* Cart empty state — full width, no sidebar overlap */
.woocommerce-cart .page-content .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
}

/* Hide crowdfunding sidebar on cart/checkout */
.woocommerce-cart .wpneo-sidebar,
.woocommerce-checkout .wpneo-sidebar,
.woocommerce-cart .campaign-content__sidebar,
.woocommerce-checkout .campaign-content__sidebar {
    display: none !important;
}

/* WooCommerce notices — gold instead of blue */
.woocommerce-info {
    border-top-color: var(--gfc-gold) !important;
}
.woocommerce-info::before {
    color: var(--gfc-gold) !important;
}
.woocommerce-message {
    border-top-color: var(--gfc-gold) !important;
}
.woocommerce-message::before {
    color: var(--gfc-gold) !important;
}

/* Force gold on ALL WooCommerce notices — override everything */
.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info,
body .woocommerce-info {
    border-top-color: var(--gfc-gold) !important;
    border-color: var(--gfc-gold) !important;
}
.woocommerce .woocommerce-info::before,
.woocommerce-page .woocommerce-info::before,
body .woocommerce-info::before {
    color: var(--gfc-gold) !important;
}
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message,
body .woocommerce-message {
    border-top-color: var(--gfc-gold) !important;
    border-color: var(--gfc-gold) !important;
}
.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-message::before,
body .woocommerce-message::before {
    color: var(--gfc-gold) !important;
}

/* WooCommerce buttons — match site style */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .wc-block-components-button,
.woocommerce .return-to-shop a,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background-color: var(--gfc-teal) !important;
    color: var(--gfc-white) !important;
    border: 2px solid var(--gfc-teal) !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .return-to-shop a:hover {
    background-color: var(--gfc-gold) !important;
    border-color: var(--gfc-gold) !important;
    color: var(--gfc-white) !important;
}

/* Kill box-shadow on WooCommerce buttons */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .return-to-shop a,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .return-to-shop a:hover {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Disable swipe animation on WooCommerce buttons */
.woocommerce .button::before,
.woocommerce a.button::before,
.woocommerce button.button::before,
.woocommerce input.button::before,
.woocommerce .return-to-shop a::before {
    display: none !important;
}

/* ─── Mission Log: Instrument Panel ───────────────────────── */
.ml-instruments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.ml-instrument {
    text-align: center;
    flex: 0 1 150px;
}

.ml-instrument__gauge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gfc-deep-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: rgba(0, 45, 51, 0.05);
    position: relative;
}

.ml-instrument__gauge::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 45, 51, 0.15);
}

.ml-instrument__gauge--gold {
    border-color: var(--gfc-gold);
    background: rgba(178, 130, 26, 0.05);
}

.ml-instrument__gauge--gold::before {
    border-color: rgba(178, 130, 26, 0.2);
}

.ml-instrument__value {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--gfc-deep-teal);
    line-height: 1;
}

.ml-instrument__gauge--gold .ml-instrument__value {
    color: var(--gfc-gold);
    font-size: 1.1rem;
}

.ml-instrument__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gfc-text-medium);
    line-height: 1.3;
}

/* ─── Mission Log: Field Journal Timeline ─────────────────── */
.ml-journal {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 60px;
}

.ml-journal::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(178, 130, 26, 0.4);
}

.ml-entry {
    position: relative;
    margin-bottom: 2.5rem;
}

.ml-entry:last-child {
    margin-bottom: 0;
}

.ml-entry__marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ml-entry__date {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gfc-gold);
    margin-bottom: 0.5rem;
}

.ml-entry__card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(178, 130, 26, 0.25);
    border-radius: 8px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

.ml-entry__title {
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gfc-white);
    margin-bottom: 0.5rem;
}

.ml-entry__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.ml-entry__tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    background: rgba(178, 130, 26, 0.2);
    color: var(--gfc-gold);
    border: 1px solid rgba(178, 130, 26, 0.35);
}

.ml-entry__tag--upcoming {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Upcoming entries: dimmed, dashed border */
.ml-entry--upcoming .ml-entry__card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.15);
}

.ml-entry--upcoming .ml-entry__title {
    color: rgba(255, 255, 255, 0.7);
}

.ml-entry--upcoming .ml-entry__text {
    color: rgba(255, 255, 255, 0.55);
}

/* Dot markers for upcoming */
.ml-entry__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.ml-entry__dot--pulse {
    border-color: var(--gfc-gold);
    background: var(--gfc-gold);
    animation: mlPulse 2s ease-in-out infinite;
}

@keyframes mlPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(178, 130, 26, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(178, 130, 26, 0); }
}

/* ─── Mission Log: Research Disciplines ───────────────────── */
.ml-disciplines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.ml-discipline {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(0, 45, 51, 0.12);
    border-radius: 8px;
    transition: border-color 0.2s, transform 0.2s;
}

.ml-discipline:hover {
    border-color: var(--gfc-gold);
    transform: translateY(-3px);
}

.ml-discipline__icon {
    margin-bottom: 0.75rem;
}

.ml-discipline h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    margin-bottom: 0.5rem;
}

.ml-discipline p {
    font-size: 0.85rem;
    color: var(--gfc-text-medium);
    line-height: 1.4;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .ml-journal {
        padding-left: 40px;
    }

    .ml-journal::before {
        left: 13px;
    }

    .ml-entry__marker {
        left: -40px;
        width: 28px;
        height: 28px;
    }

    .ml-entry__marker svg {
        width: 18px;
        height: 18px;
    }

    .ml-entry__card {
        padding: 1rem;
    }

    .ml-instrument__gauge {
        width: 90px;
        height: 90px;
    }

    .ml-instrument__value {
        font-size: 1.2rem;
    }

    .ml-instrument__gauge--gold .ml-instrument__value {
        font-size: 0.9rem;
    }

    .ml-instruments {
        gap: 1rem;
    }

    .ml-instrument {
        flex: 0 1 100px;
    }
}


/* ─── Mission Log: Solid dots for completed entries ───────── */
.ml-entry__dot--solid {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--gfc-gold);
    background: var(--gfc-gold);
}


/* ─── Fluent Form in Footer ──────────────────────────────── */
.footer-col--newsletter .ff-el-group {
    margin-bottom: 0 !important;
}

.footer-col--newsletter .fluentform {
    margin: 0;
}

.footer-col--newsletter .ff-el-input--content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col--newsletter .ff-el-input--content input[type="email"] {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: inherit !important;
}

.footer-col--newsletter .ff-el-input--content input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-col--newsletter .ff-el-input--content input[type="email"]:focus {
    border-color: var(--gfc-gold) !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.footer-col--newsletter .ff-btn-submit {
    width: 100% !important;
    padding: 12px 20px !important;
    background: var(--gfc-gold) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: background 0.2s !important;
}

.footer-col--newsletter .ff-btn-submit:hover {
    background: #c9941f !important;
}

/* Hide Fluent Form labels and extra elements in footer */
.footer-col--newsletter .ff-el-input--label,
.footer-col--newsletter .ff-el-section-break,
.footer-col--newsletter .ff-message-success {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-col--newsletter .ff-el-input--label label {
    display: none !important;
}

.footer-col--newsletter .ff-t-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-col--newsletter .ff-t-cell {
    width: 100% !important;
    padding: 0 !important;
}

.footer-col--newsletter .ff-el-group .ff-btn-submit {
    margin-top: 0 !important;
}


/* ─── Tighter header-to-cards gap in overlay sections ───── */
.section--overlay .section-header {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

.section--overlay .blurb-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ─── Nav CTA button text bold ───────────────────────────── */
.cta-menu a,
.primary-menu .cta-menu a {
    font-weight: 700 !important;
}

/* ─── Ghost button: light-bg hover fix ───────────────────── */
.section:not(.section--overlay):not(.section--dark) .btn--ghost:hover,
.section--light-overlay .btn--ghost:hover {
    color: var(--gfc-deep-teal) !important;
    background: transparent !important;
}


/* ─── Fix Presto Player video aspect ratio ───────────────── */
presto-player {
    aspect-ratio: 16 / 9;
    display: block;
    width: 100%;
}

.presto-block-video {
    aspect-ratio: 16 / 9;
    overflow: visible;
}


/* ─── Post Author Byline ─────────────────────────────────── */
.post-byline {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 45, 51, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-byline__avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}

.post-byline__avatar img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gfc-gold);
}

.post-byline__name {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gfc-deep-teal);
    line-height: 1.2;
}

.post-byline__role {
    font-family: "Lato", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gfc-gold);
    margin-top: 2px;
}

.post-byline__bio {
    font-size: 0.9rem;
    color: var(--gfc-text-medium);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .post-byline {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ─── Gold link color for body content only ──────────────── */
.post-content a,
.post-byline__bio a,
.campaign-content__description a,
.two-col__text a:not(.btn),
.gfc-inline-note a,
.gfc-form-panel a,
.section-header p a,
.footer-newsletter-copy a,
.footer-description a,
.footer-recent-posts a,
.blurb-card__text a {
    color: var(--gfc-gold);
}

.post-content a:hover,
.post-byline__bio a:hover,
.campaign-content__description a:hover,
.two-col__text a:not(.btn):hover,
.gfc-inline-note a:hover,
.section-header p a:hover,
.blurb-card__text a:hover {
    color: #c9941f;
}

/* Footer links */
#site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

#site-footer a:hover {
    color: var(--gfc-gold);
}


/* ─── Classy underline on body content links ─────────────── */
.post-content a,
.post-byline__bio a,
.campaign-content__description a,
.two-col__text a:not(.btn),
.section-header a,
.gfc-inline-note a,
.blurb-card__text a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(178, 130, 26, 0.4);
}

.post-content a:hover,
.post-byline__bio a:hover,
.campaign-content__description a:hover,
.two-col__text a:not(.btn):hover,
.section-header a:hover,
.gfc-inline-note a:hover,
.blurb-card__text a:hover {
    text-decoration-color: var(--gfc-gold);
}

/* Fix admin bar overlap on mobile */
@media screen and (max-width: 782px) {
    .admin-bar #main-header {
        top: 46px;
    }
}


/* Exclude Easy Footnotes links from underline rule */
.post-content a.easy-footnote,
.post-content a.easy-footnote-to-top,
.post-content sup a,
.post-content .easy-footnotes-wrapper a {
    text-decoration: none;
    text-underline-offset: unset;
    text-decoration-color: unset;
}

.post-navigation a,
.post-navigation a:visited {
    color: var(--gfc-gold);
}

.post-navigation a:hover,
.post-navigation a:focus {
    color: var(--gfc-gold);
}
