/*
Theme Name: HealthLotto
Theme URI:
Author: Joshua Squire
Description: A custom WordPress theme for HealthLotto
Version: 1.0
Text Domain: healthlotto
Fonts:   font-family: "Give You Glory", cursive; |   font-family: "Inter", sans-serif;
*/

html {
    scroll-padding-top: 100px; /* clears fixed header on anchor jumps */
}

:root {
    --deep-purple: #2e093f;
    --mid-purple:  #9f519f;
    --coral:       #f15c59;
    --light-coral: #f48680;
    --light-bg:    #f7f3f9;
}

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

body {
    font-family: "Inter", sans-serif;
    color: #333;
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--mid-purple);
    text-decoration: none;
}

a:hover {
    color: var(--coral);
}

p {
    margin-bottom: 0.25rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3, p {
	text-wrap-style: balance;
}

/* ================================
   Pre-Header
   z-index 999 — one below the fixed
   nav so they never fight on scroll
================================ */

.pre-header {
    background: var(--deep-purple);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 999;
    letter-spacing: 0.02em;
}

.pre-header a {
    color: var(--light-coral);
}

/* ================================
   Buttons
================================ */

.btn {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    padding: 11px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(241,92,89,0.4);
}

.btn:hover {
    background: var(--light-coral);
    color: #fff;
    box-shadow: 0 6px 20px rgba(241,92,89,0.5);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 11px 26px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ================================
   Site Header — overlays hero
================================ */

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

header.site-header.scrolled {
    background: var(--deep-purple);
    padding: 0.75rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================================
   Logo
================================ */

.site-branding {
    flex-shrink: 0;
}

header.site-header .site-branding .custom-logo {
    width: auto;
    max-width: 280px;
    height: auto;
    max-height: 140px;
    display: block;
    transition: max-height 0.35s ease;
}

header.site-header.scrolled .site-branding .custom-logo {
    max-height: 60px;
}

.site-title a {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
}


/* ================================
   Navigation
================================ */

/* ── Desktop nav (Kadence renders this inside .site-header) ─────── */

.header-navigation .nav-menu,
.desktop-nav .nav-menu,
.site-header nav .nav-menu {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.header-navigation .nav-menu li,
.desktop-nav .nav-menu li { 
	position: relative; 
    cursor: pointer;
}

.header-navigation .nav-menu a,
.desktop-nav .nav-menu a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
    white-space: nowrap;
}

.header-navigation .nav-menu a:hover,
.desktop-nav .nav-menu a:hover { color: var(--coral); }

.header-navigation .nav-menu .sub-menu,
.desktop-nav .nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 200;
    list-style: none;
}

.header-navigation .nav-menu li:hover > .sub-menu,
.desktop-nav .nav-menu li:hover > .sub-menu { display: block; }

.header-navigation .nav-menu .sub-menu a,
.desktop-nav .nav-menu .sub-menu a {
    color: var(--deep-purple);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.header-navigation .nav-menu .sub-menu a:hover,
.desktop-nav .nav-menu .sub-menu a:hover {
    color: var(--coral);
    background: var(--light-bg);
}

/* ── Hamburger toggle ────────────────────────────────────────────── */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #fff;
    padding: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

/* ── Mobile nav drawer ───────────────────────────────────────────── */
/* Uses exact IDs/classes confirmed from live DOM inspection          */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-purple);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    /* Hidden state — visibility approach keeps DOM always accessible  */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-nav::-webkit-scrollbar { display: none; }

.mobile-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

body.nav-open { overflow: hidden; }

/* X — absolutely pinned to top-right, nothing overlaps it */
.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    transition: background 0.2s;
    z-index: 10;
}

.mobile-nav-close:hover { background: rgba(255,255,255,0.22); }

/* Drawer top bar — logo left, X sits absolutely in top-right */
.mobile-nav-header {
    display: flex;
    align-items: center;
    padding: 18px 72px 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 90px;
    flex-shrink: 0;
}

.mobile-nav-brand { display: flex; align-items: center; }
.mobile-nav-brand a {
    border-bottom: none;
}
.mobile-nav-logo {
    max-height: 100px;
    width: auto;
    display: block;
}

.mobile-nav-site-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

/* Menu items */
.mobile-nav > ul,
.mobile-nav > .nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 8px 0 48px;
    flex: 1;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    min-height: 52px;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    transition: background 0.15s;
}

.mobile-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.mobile-nav .sub-menu {
    display: none;
    position: static;
    background: rgba(0,0,0,0.2);
    padding: 0;
    list-style: none;
    box-shadow: none;
}

.mobile-nav li.open > .sub-menu { display: block; }

.mobile-nav .sub-menu a {
    padding-left: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 46px;
    color: rgba(255,255,255,0.7);
}

/* ================================
   Hero
   — radial gradient depth borrowed
     from coming-soon page
================================ */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--deep-purple);
    background-image:
        linear-gradient(rgba(46,9,63,0.92), rgba(46,9,63,0.65)),
        url('images/hospital-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 200px 20px 40px;
    overflow: hidden;
}

/* Radial gradient depth layer — matches coming-soon body::before */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(159,81,159,0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(241,92,89,0.18) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

/* Frosted stat pill */
.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 6px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0;
    backdrop-filter: blur(6px);
}

.hero-stat::before {
    content: "✦";
    color: var(--coral);
    font-size: 0.7rem;
}

/* GYG headline — clamp for fluid sizing */
.hero h1 {
    font-family: "Give You Glory", cursive;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 3rem;
}

/* BUG FIX: was margin:2rem (all sides) causing horizontal overflow */
p.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.85;
    line-height: 1.75;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Partner Logo Strip
================================ */

.trust-strip {
    background: #fff;
    border-top: 1px solid rgba(46,9,63,0.07);
    border-bottom: 1px solid rgba(46,9,63,0.07);
    padding: 36px 20px;
}

.trust-strip-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-top: 2rem;
    margin-bottom: 0;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    margin: 1rem auto;
    max-width: 1200px;
}

.logo-item {
    flex: 0 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    max-height: 150px;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ================================
   Section Headers — shared across
   ALL pages (front, taxonomy, inner)
================================ */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Eyebrow — small uppercase label above headings */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-purple);
    display: block;
    margin-bottom: 8px;
}

/* Section h2 — large Inter heading */
.section-header h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--deep-purple);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

/* GYG variant for short decorative headings */
.section-header h2.heading-gyg,
.section-header h3.heading-gyg {
    font-family: "Give You Glory", cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    color: var(--deep-purple);
}

/* section-eyebrow used directly as an h2 or h3 tag */
h2.section-eyebrow,
h3.section-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-purple);
    display: block;
    margin-bottom: 8px;
}

.section-header p {
    color: #666;
    margin-top: 12px;
    font-size: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   How It Works
================================ */

.how-it-works {
    padding: 80px 20px;
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    cursor: default;
    margin: 0 auto;
}

/* Frosted glass treatment — matches cs-unit on coming-soon */
.step-card {
    text-align: center;
    padding: 36px 28px;
    border-radius: 16px;
    background: var(--light-bg);
    border: 1px solid rgba(46,9,63,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(46,9,63,0.1);
}

.step-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    display: block;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-purple);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ================================
   Raffles Section
================================ */

.raffles-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.raffle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.raffle-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(46,9,63,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.raffle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(46,9,63,0.13);
}

.raffle-card-image img,
.raffle-card > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.raffle-card-body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

a.raffle-organization {
    display: block;
    color: var(--mid-purple);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

a.raffle-organization:hover {
    color: var(--coral);
}

.raffle-title,
.raffle-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-purple);
    margin-bottom: 8px;
    line-height: 1.35;
}

.raffle-title a,
.raffle-card-body h3 a {
    color: var(--deep-purple);
    text-decoration: none;
}

.raffle-title a:hover,
.raffle-card-body h3 a:hover {
    color: var(--coral);
}

.raffle-description,
.raffle-card-body p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.55;
    flex: 1;
}
p.raffle-description {
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.raffle-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 10px;
}

.raffle-closing-date {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
}

/* ================================
   Winners
================================ */

.winners-section {
    padding: 80px 20px;
    background: #fff;
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    font-size: .85rem;
    box-shadow: 0 4px 20px rgba(46,9,63,0.08);
	text-transform: capitalize;
}

.winners-table thead {
    background: var(--deep-purple);
    color: #fff;
}

.winners-table th,
.winners-table td {
    padding: 16px 18px;
    text-align: left;
}
.winners-table td[data-label=Name] {
    font-weight: 700;
}
.winners-table tbody tr:nth-child(even) {
    background: var(--light-bg);
}
body .archive-content .winners-table tbody tr:nth-child(even) {
	background: #e6e0e9;
}
.winners-table tbody tr:hover {
    background: #ede6f5;
}

/* ================================
   Organization Hero (taxonomy page)
   — matches coming-soon depth via
     radial gradient overlay
================================ */

.org-hero {
    position: relative;
    width: 100%;
    min-height: 35vh;
    padding: 160px 20px 80px;
    gap: 16px;
    text-align: center;
    background: var(--deep-purple);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Same radial depth as hero and coming-soon */
.org-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(159,81,159,0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(241,92,89,0.18) 0%, transparent 50%);
    pointer-events: none;
}

.org-hero > * {
    position: relative;
    z-index: 1;
}

/* Inter 800 on org hero — org names are too long for GYG */
.org-hero h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.org-hero p {
    max-width: 1200px;
    text-wrap-style: balance;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
    font-weight: 300;
}

/* White card pill — works for any logo regardless of background type */
.org-logo-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.org-logo {
    max-height: 70px;
    max-width: 200px;
    width: auto;
    display: block;
}

/* Org description block below the hero */
.org-description {
    padding: 48px 0 16px;
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
}

/* ================================
   Mission Band
   — radial gradient depth to match hero
================================ */

.mission-band {
    position: relative;
    background: var(--deep-purple);
    color: #fff;
    padding: 80px 20px;
    overflow: hidden;
}

.mission-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(159,81,159,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(241,92,89,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.mission-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-coral);
    display: block;
    margin-bottom: 10px;
}

.mission-text .section-eyebrow,
.mission-text h3.section-eyebrow {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 18px;
    text-transform: none;
}

.mission-text p {
    font-size: 1rem;
    opacity: 0.82;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 14px;
}

.mission-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Frosted glass stat cards — matches cs-unit on coming-soon exactly */
.mission-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.78rem;
    opacity: 0.6;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 6px;
    text-transform: uppercase;
}

/* ================================
   Inner pages
================================ */

main#main-content, .content-page-body {
    min-height: 80vh;
    padding: 5rem 5%;
}

main#main-content h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--deep-purple);
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

.content-page-body p {
    margin: 1rem 0;
}
.content-page-inner li {
    margin: 0 3rem;
}
.content-page-body h2 {
    margin: 3rem 0 0;
}
/* ================================
   Footer
================================ */

.site-footer {
    background: var(--deep-purple);
    color: rgba(255,255,255,0.75);
    padding: 60px 20px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--mid-purple);
}

.footer-site-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
	align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-charity-info, .footer-charitydetails {
    background: rgba(0,0,0,0.2);
    border-left: 3px solid var(--coral);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

.footer-logo {
    width: 100%;
    height: auto;
    display: block;
}

.footer-logo-placeholder {
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul,
.footer-col .footer-menu {
    list-style: none;
}

.footer-col ul li a,
.footer-col .footer-menu li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    transition: color 0.2s;
    padding: .5rem 0;
    display: block;
}

.footer-col ul li a:hover,
.footer-col .footer-menu li a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0 30px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--light-coral);
}

/* ================================
   Responsive — Tablet ≤992px
================================ */

@media (max-width: 992px) {

    /* Header — always solid on tablet/mobile */
    header.site-header {
        background: var(--deep-purple);
        padding: 0.85rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    header.site-header .site-branding .custom-logo {
        max-height: 70px;
    }

    .header-inner {
        position: relative;
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-stat {
        margin-top: 1.5rem;
        font-size: 0.82rem;
    }

    /* Show hamburger, hide desktop nav on mobile */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide desktop nav — covers actual .desktop-nav class and Kadence wrappers */
    .desktop-nav,
    .header-navigation,
    .site-header .nav-menu,
    .kadence-header-nav,
    .primary-menu-container,
    #primary-menu,
    .header-menu-container {
        display: none !important;
    }


    /* Steps — single column */
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        gap: 20px;
    }

    .step-card {
        padding: 28px 24px;
        text-align: center;
        display: block;
    }

    .step-icon {
        font-size: 2.2rem;
        margin-bottom: 14px;
        display: block;
    }

    /* Raffle grid — single column on tablet */
    .raffle-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    /* Mission */
    .mission-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mission-stat-stack {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .mission-stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 18px 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo-col {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    /* Org hero */
    .org-hero {
        padding-top: 110px;
        padding-bottom: 56px;
        gap: 14px;
    }
}

/* ================================
   Responsive — Mobile ≤600px
================================ */

@media (max-width: 600px) {

    .pre-header {
        font-size: 0.78rem;
        padding: 8px 16px;
    }

    /* Hero */
    .hero {
        padding: 80px 16px 50px;
    }

    .hero h1 {
        margin: 0 0 1.5rem;
    }

    .hero-stat {
        margin-top: 1.25rem;
        font-size: 0.78rem;
        padding: 5px 16px;
    }

    p.hero-sub {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Full-width buttons — easy to tap */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions .btn,
    .hero-actions .btn-outline {
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Trust strip */
    .trust-strip {
        padding: 28px 16px;
    }

    .logos-grid {
        gap: 1.25rem 2rem;
    }

    .logo-item {
        flex: 0 1 100px;
    }

    /* Section padding */
    .how-it-works,
    .raffles-section,
    .winners-section,
    .mission-band {
        padding: 56px 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    /* Steps */
    .steps-grid {
        max-width: 100%;
        gap: 16px;
    }

    /* Raffle grid */
    .raffle-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mission stats — 2 per row */
    .mission-stat-stack {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .mission-stat {
        flex: 1 1 calc(50% - 6px);
        padding: 16px 18px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Winners — remove section background so cards sit on page bg */
    .winners-section {
        background: var(--light-bg);
    }

    /* Remove table-level box-shadow — each row is its own card */
    .winners-table {
        box-shadow: none;
    }

    /* Winners table — stacked card layout on mobile */
    .winners-table thead {
        display: none;
    }

    .winners-table,
    .winners-table tbody {
        display: block;
        width: 100%;
    }

    /* Each row = standalone card */
    .winners-table tbody tr {
        display: block;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(46,9,63,0.08);
        margin-bottom: 14px;
        padding: 18px 20px 14px;
    }

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

    .winners-table tbody tr:hover {
        background: #fff;
        box-shadow: 0 4px 16px rgba(46,9,63,0.13);
    }

    /* All tds block, no flex — full width stacked */
    .winners-table td {
        display: block;
        padding: 0;
        border: none;
        font-size: 0.85rem;
        color: #666;
        line-height: 1.4;
    }

    /* Name — prominent, full width, no label */
    .winners-table td[data-label="Name"] {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--deep-purple);
        margin-bottom: 6px;
        white-space: normal;
        word-break: break-word;
    }

    .winners-table td[data-label="Name"]::before {
        display: none;
    }

    /* Meta fields — label on left, value on right */
    .winners-table td[data-label="Location"],
    .winners-table td[data-label="Organization"],
    .winners-table td[data-label="Raffle"],
    .winners-table td[data-label="Date"] {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 5px 0;
        font-size: 0.85rem;
        color: #555;
        border-bottom: 1px solid rgba(46,9,63,0.05);
    }

    .winners-table td[data-label="Date"] {
        border-bottom: none;
    }

    .winners-table td[data-label="Location"]::before,
    .winners-table td[data-label="Organization"]::before,
    .winners-table td[data-label="Raffle"]::before,
    .winners-table td[data-label="Date"]::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--mid-purple);
        flex-shrink: 0;
        margin-right: 12px;
    }

    /* Footer — single column */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 36px;
    }

    .footer-logo-col {
        grid-column: auto;
    }

    .site-footer {
        padding: 44px 16px 0;
    }

    /* Org hero */
    .org-hero {
        padding: 90px 16px 48px;
    }

    .org-logo-wrap {
        padding: 12px 20px;
    }

    .org-logo {
        max-height: 52px;
    }

    /* Inner pages */
    main#main-content {
        padding: 6rem 16px 3rem;
    }
}