/*
Theme Name: Vote for Larson
Theme URI: https://voteforlarson.com
Author: Vote for Larson Campaign
Author URI: https://voteforlarson.com
Description: Campaign website theme for Chief Larson Anderson — Norway House Cree Nation. Features sections for vision, youth investment, upcoming projects, past successes, and community engagement.
Version: 1.0.2
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vote-for-larson
Tags: one-column, custom-logo, featured-images, full-width-template
*/

/* ================= CSS RESET & VARIABLES ================= */
:root {
  --primary-red: #CF2E2E;
  --slate-blue: #607d8b;
  --dark-charcoal: #222222;
  --text-white: #ffffff;
  --text-dark: #333333;
  --heading-dark: #1E293B;
  --section-alt-bg: #5f7595;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-handwritten: 'Dancing Script', cursive;
}

/* ================= GLOBAL OVERFLOW FIX ================= */

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

/* ================= HERO MOBILE GRADIENT OVERLAY ================= */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

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

@media (max-width: 768px) {
  .hero {
    background-position: center center;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }
}

/* ================= BASE STYLES ================= */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

p,
li,
.content-list li {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 0;
}

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

figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

/* ================= LAYOUT - CONTAINER ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= NAVIGATION ================= */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  width: 100%;
  padding: 25px 0;
  box-shadow: none;
}

.nav.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px 4rem;
  box-sizing: border-box;
}

.nav img {
  max-width: 300px;
}

.nav__logo {
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__menu a {
  color: var(--text-dark);
  text-decoration: none !important;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav__menu a:hover {
  color: var(--primary-red);
}

.nav__donate-btn {
  background-color: var(--primary-red);
  color: var(--text-white) !important;
  padding: 0.7rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.nav__donate-btn:hover {
  background-color: #a82424;
  color: var(--text-white) !important;
  transform: translateY(-2px);
}

/* Hamburger toggle - hidden on desktop */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animated X when open */
.nav__toggle.active .nav__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ================= HERO SECTION ================= */
.hero {
  background-color: var(--dark-charcoal);
  background-image: url('https://www.voteforlarson.ca/wp-content/themes/vote-for-larson-theme/images/chief-larson-anderson-hero.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-white);
  overflow: hidden;
  position: relative;
}

.hero__content {
  padding: 4rem 0 5rem;
}

.hero__text {
  max-width: 700px;
}

.hero__text h1 {
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero__text p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.hero__text b {
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  display: inline-block;
  font-family: var(--font-heading);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--primary-red);
  color: var(--text-white);
}

.btn--primary:hover {
  background-color: #a82424;
  transform: translateY(-2px);
}

.btn.secondary {
  background: #334155;
  color: var(--text-white);
}

.btn.secondary:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-block;
  background-color: var(--primary-red);
  padding: 1rem 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  min-width: 200px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #a82424;
  transform: translateY(-2px);
}

/* ================= SECTIONS ================= */
.section {
  padding: 5rem 0;
}

.section--light {
  background-color: var(--text-white);
}

.section--alt {
  background-color: var(--section-alt-bg);
  color: var(--text-white);
}

.section--alt p,
.section--alt li {
  color: var(--text-white);
}

.section--alt h3 {
  color: var(--text-white);
}

/* Vibrant red for elements on blue/grey backgrounds */
.section--alt .section__subtitle,
.section--alt .stat-highlight,
.section--alt .stat-number,
.section--alt .slider__dot.active,
.section--alt .content-list b {
  color: #FF4D4D;
}

.section--alt .slider__dot.active {
  background: #FF4D4D;
  border-color: #FF4D4D;
}

.section--alt .pillar__title {
  border-top-color: #FF4D4D;
}

/* Section Headers */
.section__header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section__intro {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section__label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-dark);
}

/* ================= VISION / PILLARS SECTION ================= */
#vision {
  background-color: #f8f9fa;
}

#vision .section__header {
  margin-bottom: 3rem;
}

/* 2x2 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary-red);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-dark);
  margin: 0 0 0.25rem;
}

.pillar__tagline {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.pillar p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.pillar p:last-of-type {
  margin-bottom: 0;
}

.pillar__list {
  list-style: disc;
  padding-left: 20px;
  margin: 0.75rem 0 1rem;
}

.pillar__list li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.pillar__list--stats {
  list-style: none;
  padding-left: 0;
}

.pillar__list--stats li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-red);
}

.stat-highlight {
  color: var(--primary-red);
  font-weight: 700;
}

.pillar__footer {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--slate-blue);
  margin-top: 1rem;
  font-size: 15px;
}

/* ================= PAST SUCCESSES INTRO ================= */
#past-successes {
  text-align: center;
}

#past-successes .section__header {
  max-width: 1200px;
}

.success-metrics {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 550px;
  text-align: left;
}

.success-metrics li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 16px;
}

.success-metrics .list-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ================= CONTENT GRID (Past Success Items) ================= */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Reverse layout for alternating sections */
.content-grid--reverse {
  direction: rtl;
}

.content-grid--reverse > * {
  direction: ltr;
}

.content-grid__media {
  margin: 0;
}

.content-grid__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.content-grid__text h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section--light .content-grid__text h3 {
  color: var(--heading-dark);
}

.section--alt .content-grid__text h3 {
  color: var(--text-white);
}

.content-list {
  list-style: disc;
  padding-left: 20px;
  margin: 1rem 0;
}

.content-list li {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

/* ================= UPCOMING PROJECTS GRID ================= */
#upcoming-projects {
  background: linear-gradient(135deg, var(--section-alt-bg) 0%, #4a6380 100%);
}

#upcoming-projects .section__header {
  margin-bottom: 3rem;
}

#upcoming-projects .section__title {
  color: #fff;
}

#upcoming-projects .section__subtitle {
  color: rgba(255,255,255,0.9);
}

#upcoming-projects .section__intro {
  color: rgba(255,255,255,0.85);
}

.upcoming-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.upcoming-grid .upcoming-card {
  width: calc((100% - 3rem) / 3);
}

.upcoming-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: block;
  text-decoration: none;
  aspect-ratio: 16/9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.upcoming-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.upcoming-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.upcoming-card:hover .upcoming-card__img {
  transform: scale(1.05);
}

.upcoming-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  padding: 3rem 1.25rem 1.25rem;
  transition: background 0.3s ease;
}

.upcoming-card:hover .upcoming-card__overlay {
  background: linear-gradient(to top, rgba(207, 46, 46, 0.9) 0%, rgba(0,0,0,0) 100%);
}

.upcoming-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* LightGallery custom styles */
.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.95);
}

.lg-toolbar,
.lg-actions .lg-next,
.lg-actions .lg-prev {
  background-color: rgba(0, 0, 0, 0.6);
}

.lg-sub-html {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 40px;
}

.lg-sub-html h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  color: white;
}

.lg-sub-html p {
  font-family: var(--font-body);
  font-size: 16px;
  margin: 0;
  color: rgba(255,255,255,0.85);
}

/* ================= GSAP SLIDER ================= */
.slider-container {
  position: relative;
  width: 100%;
}

.slider {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background: #000;
  position: relative;
}

.slider__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}

.slider__slide.active {
  opacity: 1;
  visibility: visible;
}

.slider__img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.slider__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* Slider Arrows */
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.slider__arrow:hover {
  background: var(--primary-red);
}

.slider__arrow:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(207, 46, 46, 0.5);
}

.slider__arrow svg {
  width: 24px;
  height: 24px;
}

.slider__arrow--prev {
  left: 10px;
}

.slider__arrow--next {
  right: 10px;
}

/* Slider Dots */
.slider__nav {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  gap: 10px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider__dot.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.slider__dot:hover {
  border-color: rgba(0, 0, 0, 0.5);
}

/* Dots on dark background */
.section--alt .slider__dot {
  border-color: rgba(255, 255, 255, 0.5);
}

.section--alt .slider__dot.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.section--alt .slider__dot:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

/* ================= HOW TO VOTE SECTION ================= */
.how-to-vote {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.how-to-vote__header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-to-vote__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 0.5rem;
}

.how-to-vote__date {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.how-to-vote__date strong {
  color: var(--primary-red);
  font-weight: 700;
}

.how-to-vote__countdown-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 1rem;
}

.how-to-vote__countdown-label strong {
  font-weight: 700;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__number {
  width: 80px;
  height: 80px;
  border: 3px solid var(--heading-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-dark);
  background: white;
}

.countdown__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 0.5rem;
  text-transform: capitalize;
}

/* Voting Methods */
.how-to-vote__content {
  max-width: 900px;
  margin: 0 auto;
}

.how-to-vote__intro {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 2rem;
}

.voting-method {
  margin-bottom: 2rem;
}

.voting-method__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 0.5rem;
}

.voting-method__description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.voting-method__description a {
  color: var(--primary-red);
  text-decoration: underline;
}

.voting-method__description a:hover {
  color: #a82424;
}

.how-to-vote__note {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.how-to-vote__contact {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.how-to-vote__contact-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.how-to-vote__contact-list li {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.how-to-vote__contact-list a {
  color: var(--primary-red);
  text-decoration: underline;
}

.how-to-vote__contact-list a:hover {
  color: #a82424;
}

/* ================= WITH GRATITUDE SECTION ================= */
.gratitude-section {
  background-color: #faf8f5;
  text-align: center;
}

.gratitude-letter {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--text-white);
  border-radius: 12px;
  padding: 3rem 4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--primary-red);
}

.gratitude-letter__content {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: left;
}

.gratitude-letter__content p {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.gratitude-letter__ekosani {
  font-family: var(--font-handwritten);
  font-size: 28px;
  color: var(--primary-red);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.gratitude-letter__signature {
  font-family: var(--font-handwritten);
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-red);
  text-align: right;
  margin-top: 2rem;
  margin-bottom: 0;
}

/* ================= PILLAR ICONS ================= */
.pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffeaea 0%, #fff5f5 100%);
  color: var(--primary-red);
  margin-bottom: 1.25rem;
}

.pillar__icon svg {
  width: 36px;
  height: 36px;
}

/* ================= YOUTH SECTION ================= */
.youth-section {
  background-color: #f8f9fa;
}

.youth-section .section__header {
  margin-bottom: 3rem;
}

.youth-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.youth-item--reverse {
  direction: rtl;
}

.youth-item--reverse > * {
  direction: ltr;
}

.youth-item__media {
  border-radius: 12px;
  overflow: hidden;
}

.youth-item__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.youth-item__content h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 0.25rem;
}

.youth-item__subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.youth-item__content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.youth-checklist {
  background: var(--text-white);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.youth-checklist h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-red);
  margin: 0 0 0.75rem;
}

.youth-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.youth-checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.youth-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 700;
  font-size: 16px;
}

.youth-closing {
  text-align: center;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 3rem;
  background: var(--text-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--primary-red);
}

.youth-closing h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 1rem;
}

.youth-closing p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

/* ================= CTA SECTION ================= */
.cta {
  background-color: var(--dark-charcoal);
  background-image: url('https://www.voteforlarson.ca/wp-content/themes/vote-for-larson-theme/images/chief-larson-anderson-footer.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-white);
  padding: 6rem 0;
}

.cta__content {
  max-width: 600px;
}

.cta__content h2 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta__content img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.cta__content p {
  font-family: var(--font-body);
  font-size: 21px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-white);
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: #111;
  color: #777;
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer p {
  font-family: var(--font-body);
  font-size: 14px;
  margin: 0;
  color: #777;
}

/* ================= ACCESSIBILITY ================= */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress Admin Bar Fix */
body.admin-bar .site-header {
  top: 32px;
}

/* ===============================================================
   RESPONSIVE STYLES
   =============================================================== */

/* ---------- Large Desktop (1200px) ---------- */
@media (max-width: 1200px) {
  .hero__text h1 {
    font-size: 58px;
  }

  .section__title,
  .cta__content h2 {
    font-size: 48px;
  }

  .pillars-grid {
    gap: 2rem;
  }

  .pillar {
    padding: 2rem;
  }

  /* Nav: reduce side padding and menu gap */
  .nav {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .nav__menu {
    gap: 1.25rem;
  }

  .nav__menu a {
    font-size: 14px;
  }

  .nav__donate-btn {
    padding: 0.6rem 1.5rem;
    font-size: 14px;
  }
}

/* ---------- Tablet (992px) ---------- */
@media (max-width: 992px) {
  .container {
    width: 95%;
    padding: 0 1.5rem;
  }

  .nav.container {
    padding: 15px 2rem;
  }

  /* Nav: shrink logo and tighten further */
  .nav__logo img {
    height: 32px;
  }

  .nav__menu {
    gap: 1rem;
  }

  .nav__menu a {
    font-size: 13px;
  }

  .nav__donate-btn {
    padding: 0.5rem 1.25rem;
    font-size: 13px;
  }

  .hero__text h1 {
    font-size: 48px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .hero__text p {
    font-size: 18px;
  }

  .section {
    padding: 4rem 0;
  }

  .section__title,
  .cta__content h2 {
    font-size: 42px;
  }

  .section__subtitle {
    font-size: 20px;
  }

  .content-grid__text h3,
  .pillar__title {
    font-size: 28px;
  }

  .content-grid {
    gap: 2.5rem;
  }

  .cta {
    padding: 5rem 0;
  }

  .cta__content p {
    font-size: 19px;
  }

  /* Upcoming Projects */
  .upcoming-grid {
    gap: 1.25rem;
  }

  .upcoming-grid .upcoming-card {
    width: calc((100% - 2.5rem) / 3);
  }

  .upcoming-card__title {
    font-size: 16px;
  }

  /* How To Vote */
  .how-to-vote__title {
    font-size: 36px;
  }

  .how-to-vote__intro {
    font-size: 20px;
  }

  .countdown__number {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  /* Gratitude - tablet */
  .gratitude-letter {
    padding: 2.5rem 3rem;
  }

  .gratitude-letter__content,
  .gratitude-letter__content p {
    font-size: 20px;
  }

  /* Youth - tablet */
  .youth-item {
    gap: 2rem;
  }

  .youth-item__content h3 {
    font-size: 28px;
  }
}

/* ---------- Mobile (768px) ---------- */
@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
  }

  /* Navigation - hamburger collapse */
  .nav__toggle {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
    padding: 1rem 1.5rem !important;
  }

  .nav.container {
    padding: 15px 1rem;
    flex-wrap: wrap;
  }

  .nav__logo img {
    height: 35px;
  }

  .nav__menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 1rem 0 0;
    border-top: 1px solid #eee;
    margin-top: 1rem;
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__menu li {
    width: 100%;
  }

  .nav__menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav__menu a:hover {
    padding-left: 0.5rem;
  }

  .nav__donate-btn {
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.75rem 2rem !important;
    font-size: 16px !important;
  }

  /* Hero */
  .hero {
    background-position: center center;
    background-size: cover;
  }

  .hero__content {
    padding: 3rem 0;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__text h1 {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__text p {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  .section__header {
    margin-bottom: 2rem;
  }

  .section__title,
  .cta__content h2 {
    font-size: 32px;
  }

  .section__subtitle {
    font-size: 18px;
  }

  .section__label {
    font-size: 18px;
  }

  /* Pillars - Stack to single column */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pillar {
    padding: 1.75rem;
  }

  .pillar__title {
    font-size: 26px;
  }

  /* Content Grid - Stack with image on top */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Reset direction for mobile - image always first */
  .content-grid--reverse {
    direction: ltr;
  }

  /* Reorder: image/slider on top, text below */
  .content-grid__media,
  .content-grid .slider-container {
    order: -1;
  }

  .content-grid__text {
    order: 1;
  }

  .content-grid__text h3 {
    font-size: 26px;
    margin-bottom: 1rem;
  }

  /* Slider */
  .slider__caption {
    font-size: 14px;
    padding: 0.75rem;
  }

  .slider__arrow {
    width: 38px;
    height: 38px;
  }

  .slider__arrow svg {
    width: 20px;
    height: 20px;
  }

  /* CTA */
  .cta {
    padding: 4rem 0;
    text-align: center;
  }

  .cta__content {
    max-width: 100%;
  }

  .cta__content p {
    font-size: 18px;
  }

  .cta-btn {
    min-width: 200px;
  }

  /* How To Vote */
  .how-to-vote {
    padding: 3rem 0;
  }

  .how-to-vote__title {
    font-size: 28px;
  }

  .how-to-vote__date {
    font-size: 16px;
  }

  .how-to-vote__countdown-label {
    font-size: 16px;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown__number {
    width: 60px;
    height: 60px;
    font-size: 24px;
    border-width: 2px;
  }

  .countdown__label {
    font-size: 12px;
  }

  .how-to-vote__intro {
    font-size: 18px;
  }

  .voting-method__title {
    font-size: 18px;
  }

  /* Upcoming Projects */
  .upcoming-grid {
    gap: 1rem;
  }

  .upcoming-grid .upcoming-card {
    width: calc((100% - 1rem) / 2);
    aspect-ratio: 16/10;
  }

  .upcoming-card__title {
    font-size: 13px;
  }

  .upcoming-card__overlay {
    padding: 1.5rem 0.75rem 0.75rem;
  }

  /* Gratitude section */
  .gratitude-letter {
    padding: 2rem 1.5rem;
  }

  .gratitude-letter__content,
  .gratitude-letter__content p {
    font-size: 18px;
    line-height: 1.7;
  }

  .gratitude-letter__ekosani {
    font-size: 22px;
  }

  .gratitude-letter__signature {
    font-size: 20px;
  }

  /* Pillar icons */
  .pillar__icon {
    width: 60px;
    height: 60px;
  }

  .pillar__icon svg {
    width: 30px;
    height: 30px;
  }

  /* Youth section */
  .youth-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .youth-item--reverse {
    direction: ltr;
  }

  .youth-item__media {
    order: -1;
  }

  .youth-item__content {
    order: 1;
  }

  .youth-item__content h3 {
    font-size: 26px;
  }

  .youth-item__subtitle {
    font-size: 14px;
  }

  .youth-checklist {
    padding: 1.25rem;
  }

  .youth-checklist h4 {
    font-size: 16px;
  }

  .youth-checklist li {
    font-size: 14px;
  }

  .youth-closing {
    padding: 2rem 1.5rem;
  }

  .youth-closing h3 {
    font-size: 26px;
  }

  .youth-closing p {
    font-size: 16px;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 1rem;
  }
}

/* ---------- Small Mobile (480px) ---------- */
@media (max-width: 480px) {
  .hero__text h1 {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__text p {
    font-size: 16px;
  }

  .section__title,
  .cta__content h2 {
    font-size: 28px;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .pillar__title,
  .content-grid__text h3 {
    font-size: 24px;
  }

  .pillar {
    padding: 1.5rem;
  }

  .cta__content p {
    font-size: 17px;
  }

  /* How To Vote */
  .how-to-vote__title {
    font-size: 24px;
  }

  .countdown__number {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .countdown__label {
    font-size: 11px;
  }

  .how-to-vote__intro {
    font-size: 16px;
  }

  /* Upcoming Projects */
  .upcoming-grid {
    gap: 1rem;
  }

  .upcoming-grid .upcoming-card {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .upcoming-card__title {
    font-size: 14px;
  }

  /* Gratitude - small mobile */
  .gratitude-letter {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .gratitude-letter__content,
  .gratitude-letter__content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .gratitude-letter__ekosani {
    font-size: 20px;
  }

  .gratitude-letter__signature {
    font-size: 18px;
  }

  /* Pillar icons - small mobile */
  .pillar__icon {
    width: 52px;
    height: 52px;
  }

  .pillar__icon svg {
    width: 26px;
    height: 26px;
  }

  /* Youth - small mobile */
  .youth-item {
    margin-bottom: 2.5rem;
  }

  .youth-item__content h3 {
    font-size: 22px;
  }

  .youth-item__subtitle {
    font-size: 13px;
  }

  .youth-item__content p {
    font-size: 15px;
  }

  .youth-checklist {
    padding: 1rem;
  }

  .youth-checklist h4 {
    font-size: 15px;
  }

  .youth-checklist li {
    font-size: 13px;
    padding-left: 1.5rem;
  }

  .youth-closing {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .youth-closing h3 {
    font-size: 22px;
  }

  .youth-closing p {
    font-size: 15px;
  }
}

/* ================= PRINT STYLES ================= */
@media print {
  .hero__actions,
  .flickity-page-dots,
  .flickity-button,
  .nav__menu,
  .cta-btn {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section--alt {
    background: #eee;
    color: #000;
  }

  .hero {
    background: #333;
    color: white;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:var(--wp--style--block-background-padding,1.25em 2.375em)}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg}
.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:var(--wp--style--block-background-padding,1.25em 2.375em)}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}