/* =============================================
   CSS RESET & VARIABLES
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --green-dark:   #006837;
  --green-mid:    #3d7a34;
  --green-light:  #39b54a;
  --tan:          #e8dcc8;
  --tan-dark:     #c9b58a; /* FIX: was #39b54a (same as green-light — likely unintentional) */
  --tan-mid:      #884e1a;
  --cream:        #f2e6dc;
  --cream-dark:   #c9a283;
  --brown:        #884e1a;
  --brown-dark:   #5c3d1e; /* FIX: was #39b54a (same as green-light — likely unintentional) */
  --brown-mid:    #7a5230;
  --text-dark:    #1a1a1a;
  --text-body:    #3a3a3a;
  --white:        #ffffff;
  --font-display: 'nexa-rust-sans-black-2', sans-serif;
  --font-body:    'dm-sans', sans-serif;
  --color-secondary-text: #006837;

  /* Responsive spacing scale */
  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(50px, 8vw, 80px);

  --fixed-header: 60px;
  --h-header: 60px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  background-color: #c9a283; /* FIX: was background-colour (typo) */
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: scroll;  /* FIX: was overflow:scroll — restricted to y to not conflict with overflow-x */
}

/* =============================================
   FONT FACE
============================================= */
@font-face {
  font-family: 'nexa-rust-sans-black-2', sans-serif;
}

/* =============================================
   NOISE TEXTURE OVERLAY UTILITY
============================================= */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .5;
}

/* =============================================
   NAV BUTTONS
============================================= */
.btn-nav-ghost {
  color: var(--tan);
  border: 1.5px solid rgba(232,220,200,.5);
  background: transparent;
  border-radius: 3px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font-body);
}
.btn-nav-ghost:hover { background: rgba(232,220,200,.12); border-color: var(--tan); }

.btn-nav-solid {
  background: var(--tan);
  color: var(--green-dark);
  border: 1.5px solid var(--tan);
  border-radius: 3px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font-body);
}
.btn-nav-solid:hover { background: var(--white); border-color: var(--white); }

/* =============================================
   NAV
============================================= */
.nav {
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

.nav__links {
  display: none;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}

/* Social icon nav links */
:where(.nav, .gh-head-menu) .nav-youtube a,
:where(.nav, .gh-head-menu) .nav-linkedin a,
:where(.nav, .gh-head-menu) .nav-threads a,
:where(.nav, .gh-head-menu) .nav-tiktok a,
:where(.nav, .gh-head-menu) .nav-instagram a,
:where(.nav, .gh-head-menu) .nav-facebook a,
:where(.nav, .gh-head-menu) .nav-email a {
  font-size: 0 !important;
}

:where(.nav, .gh-head-menu) .nav-youtube a::before,
:where(.nav, .gh-head-menu) .nav-linkedin a::before,
:where(.nav, .gh-head-menu) .nav-threads a::before,
:where(.nav, .gh-head-menu) .nav-tiktok a::before,
:where(.nav, .gh-head-menu) .nav-instagram a::before,
:where(.nav, .gh-head-menu) .nav-facebook a::before {
  font-family: "Font Awesome 6 Brands";
  display: inline-block;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

:where(.nav, .gh-head-menu) .nav-email a::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

:where(.nav, .gh-head-menu) .nav-youtube a::before   { content: "\f167"; }
:where(.nav, .gh-head-menu) .nav-linkedin a::before  { content: "\f08c"; }
:where(.nav, .gh-head-menu) .nav-threads a::before   { content: "\e618"; }
:where(.nav, .gh-head-menu) .nav-tiktok a::before    { content: "\e07b"; }
:where(.nav, .gh-head-menu) .nav-instagram a::before { content: "\f16d"; }
:where(.nav, .gh-head-menu) .nav-facebook a::before  { content: "\f09a"; }
:where(.nav, .gh-head-menu) .nav-email a::before     { content: "\f0e0"; }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/2026/03/robert-tractor.jpg');
}
.hero__bg-tour {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,38,15,.88) 38%, rgba(20,38,15,.3) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.2) 0%, transparent 30%);
  background-color: #2a4a22;
  background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/size/w1000/2026/03/motorhome-1-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__body-tour {
   color: var(--brown-dark);                                    
    background-color: rgba(232, 220, 200, 0.7);  
    padding: 2rem !important;
    margin: 2rem 2rem;
    border-radius: 5px; /* ← rounded edges */
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(90px, 10vh, 110px) var(--pad-x) clamp(40px, 5vh, 60px);
  max-width: 800px;
}

                                                              
 .hero__content-tour {
    position: relative;                          
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(90px, 5vh, 110px) var(--pad-x) clamp(40px, 5vh, 60px);              
    max-width: 800px;                                         
  } 

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tan-dark);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 26px;
  letter-spacing: -.02em;
}
.hero__heading em {
  font-style: italic;
  color: var(--tan);
}
.hero__heading-tour {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 900;
  color: var(--tan-dark) !important;
  line-height: 1.03;
  margin-bottom: 26px;
  letter-spacing: -.02em;
}
.hero__heading-tour em {
  font-style: italic;
  color: var(--brown) !important;
}
.hero__body {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
    background-color: rgb(69, 32, 8, 0.4);  
    padding: 2rem;
    margin: 1rem 2rem;
    border-radius: 8px; /* ← rounded edges */
}
.hero__body-tour {
   color: var(--brown-dark);                                    
    background-color: rgba(232, 220, 200, 0.7);  
    padding: 0.5rem 1rem;
    margin: 1rem 2rem;
    border-radius: 8px; /* ← rounded edges */
}
.hero__btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
      margin-left: 28px;
    justify-content: left; /* ← right-aligned */
}
  .hero__btns-tour {                                               
    display: flex;                               
    gap: 15px;                                                
    flex-wrap: wrap;
    margin-left: 28px;
    justify-content: left; /* ← right-aligned */
  }
@media (max-width: 480px) {
  .hero__btns { flex-direction: column; }
}

.btn-primary {
  display: inline-block;
  background: var(--green-light);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 15px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
  font-family: var(--font-body);
  letter-spacing: .02em;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 3px;
  padding: 15px 36px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary { text-align: center; }
}

/* Hero email strip */
.hero__strip {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.5);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__strip-label {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__strip form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 440px;
}
.hero__strip input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 3px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color .2s;
}
.hero__strip input[type="email"]:focus { outline: none; border-color: rgba(255,255,255,.5); }
.hero__strip input[type="email"]::placeholder {   background:
    linear-gradient(to right, rgba(20,38,15,.88) 38%, rgba(20,38,15,.3) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.2) 0%, transparent 30%); }
.hero__strip button {
  background: var(--tan);
  color: var(--brown-dark);
  border: none;
  border-radius: 3px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-body);
}
.hero__strip button:hover { background: var(--white); }

/* Hero Ghost signup card overrides */
.hero .kg-signup-card-split {
  background-color: #006837 !important;
}

.kg-signup-card-split .kg-signup-card-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 12%;
  gap: 20px;
}

.kg-signup-card-split .kg-signup-card-content > h5 {
  flex: 1;
  margin: 0;
  text-align: center;
  vertical-align: middle;
}

.kg-signup-card-split .kg-signup-card-content > .kg-signup-card-form {
  flex: 1;
  justify-content: flex-start !important;
}

@media (max-width: 1024px) {
  .kg-signup-card-split .kg-signup-card-content {
    flex-direction: column;
    padding: 20px;
  }

  .kg-signup-card-split .kg-signup-card-content > h5 {
    text-align: center;
  }

  .kg-signup-card-split .kg-signup-card-content > .kg-signup-card-form {
    width: 100%;
    justify-content: center !important;
  }
}

/* =============================================
   SECTION SHARED
============================================= */
.section {
  padding: var(--pad-y) var(--pad-x);
}

.section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 900;
  text-align: center;
  color: var(--brown-dark);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.section-body {
  text-align: center;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* =============================================
   WORKSHOP THEMES
============================================= */
.themes { background: var(--cream); }

.discussion {
  background: var(--cream);
  margin-bottom: -150px;
}
.themes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.theme-card {
  background: var(--white);
  border: 1px solid var(--tan-mid);
  border-radius: 6px;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.theme-card:hover {
  box-shadow: 0 12px 40px rgba(45,90,39,.12);
  transform: translateY(-3px);
}

.theme-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--green-mid);
}
.theme-card__icon svg,
.theme-card__icon span { width: 100%; height: 100%; } /* FIX: was 'svg, span' which applied globally */

.theme-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 14px;
}
.theme-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

.theme-card:nth-child(1) span {
  color: #006837;
}

/* =============================================
   TOUR DATES
============================================= */
.tour {
  background: var(--brown);
  position: relative;
  overflow: hidden;
}
.tour::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/2026/03/landing-tour-dates.jpg');
  background-position: center;
  background-blend-mode: multiply;
  background-size: cover;
}
.tour .section-eyebrow { color: var(--tan-dark); }
.tour .section-heading { color: var(--tan); }
.tour .section-body { color: rgba(232,220,200,.7); }

.tour__wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.tour__wrapper > h2 {
  color: #f2e6dc !important;
}

/* MOBILE FIRST — vertical timeline */
.tour__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
  padding: 0 0 0 28px;
}
.tour__timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(201,185,154,.5) 10%,
    rgba(201,185,154,.5) 90%,
    transparent 100%);
}
.tour-stop {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  cursor: default;
}
.tour-stop__dot {
  position: absolute;
  left: -28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tan);
  border: 2px solid var(--brown);
  outline: 2px solid rgba(201,185,154,.5);
  z-index: 1;
  transition: transform .2s, outline-color .2s;
}
.tour-stop__dot.current {
  background: green !important;
  opacity: .5;
  animation: blink 1.6s ease-in-out infinite;
}
.tour-stop__dot.done {
  background: green !important;
  opacity: 1;
}
.tour-stop:hover .tour-stop__dot { transform: scale(1.5); outline-color: var(--tan); }
.tour-stop__date {
  font-size: 14px;
  font-weight: 700;
  color: var(--tan);
  letter-spacing: .04em;
  white-space: nowrap;
}
.tour-stop__city {
  font-size: 13px;
  color: rgba(232,220,200,.6);
  white-space: nowrap;
}

/* DESKTOP — horizontal */
@media (min-width: 640px) {
  .tour__timeline {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 16px 0;
  }
  .tour__timeline::before {
    left: 0; right: 0;
    top: 22px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(to right,
      transparent 0%,
      rgba(201,185,154,.5) 10%,
      rgba(201,185,154,.5) 90%,
      transparent 100%);
  }
  .tour-stop {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
  }
  .tour-stop__dot {
    position: relative;
    left: auto;
    margin-bottom: 4px;
  }
  .tour-stop__date,
  .tour-stop__city { text-align: center; }
  .tour-stop__city { font-size: 12px; }
}

/* =============================================
   FORMS
============================================= */
.forms { 
  background: var(--cream-dark); 
  /* background-image: url(https://ontour.thehandsthatfeedus.ca/content/images/2026/03/thtfu_road.png);
  background-size: 100%;
  background-position: left;
  background-repeat: no-repeat; */
}
.forms__inner { max-width: 820px; margin: 0 auto; }

.on-tour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--tan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.on-tour__dot {
  width: 8px;
  height: 8px;
  background: var(--tan);
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--tan-mid);
  margin-bottom: 40px;
  overflow-x: auto;
}
.tab {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-body);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
  transition: all .2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.tab.active { color: var(--green-dark); border-bottom-color: var(--green-dark); }
.tab:hover:not(.active) { color: var(--green-mid); }

.tab-panel { display: none; animation: fadeUp .3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 8px;
}
.tab-panel > p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

/* FIX: Removed invalid 'tab-panel html' and 'tab-panel iframe' selectors */
.tab-panel > iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 0;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.wide { grid-column: 1 / -1; }

.fg label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-mid);
}

.fg input,
.fg textarea,
.fg select {
  padding: 11px 14px;
  border: 1px solid var(--tan-mid);
  border-radius: 3px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,122,53,.1);
}
.fg textarea { resize: vertical; min-height: 96px; }

.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--tan-mid);
  border-radius: 3px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all .15s;
}
.radio-row label:hover { border-color: var(--green-mid); color: var(--green-dark); }
.radio-row input { accent-color: var(--green-mid); }

.btn-submit {
  margin-top: 28px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--green-mid); transform: translateY(-1px); }

/* =============================================
   JOIN US / PHOTO GRID
============================================= */
.join {
  background: #026837;
  padding: var(--pad-y) var(--pad-x) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(78,158,68,.3), transparent 70%);
}
.join .section-eyebrow { color: rgba(201,185,154,.7); }
.join .section-heading { color: var(--tan); }
.join .section-body { color: rgba(232,220,200,.75); }

.join__subscribe {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.join__subscribe input {
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-radius: 3px;
  font-size: 15px;
  font-family: var(--font-body);
  width: min(300px, 100%);
  transition: border-color .2s;
}
.join__subscribe input:focus { outline: none; border-color: rgba(255,255,255,.5); }
.join__subscribe input::placeholder { color: rgba(255,255,255,.4); }
.join__subscribe button {
  background: var(--tan);
  color: var(--brown-dark);
  border: none;
  border-radius: 3px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-body);
}
.join__subscribe button:hover { background: var(--white); }

.join__legal {
  font-size: 12px;
  color: rgba(232,220,200,.4);
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

/* Photo mosaic */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 4px;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 160px); }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

.photo-cell {
  overflow: hidden;
  position: relative;
}
.photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.85) saturate(.9);
  transition: filter .4s, transform .5s;
}
.photo-cell:hover img { filter: brightness(1) saturate(1.05); transform: scale(1.04); }

.photo-cell:nth-child(1) { background: #3a6232; }
.photo-cell:nth-child(2) { background: #2e5128; }
.photo-cell:nth-child(3) { background: #4a7040; }
.photo-cell:nth-child(4) { background: #355c2d; }
.photo-cell:nth-child(5) { background: #264920; }
.photo-cell:nth-child(6) { background: #3f6836; }
.photo-cell:nth-child(7) { background: #2b5225; }
.photo-cell:nth-child(8) { background: #446638; }

.photo-cell__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .25;
}
.photo-cell__placeholder svg { width: 48px; height: 48px; color: white; }

/* =============================================
   TRAILER / WATCH
============================================= */
.trailer {
  background: var(--tan);
  padding: var(--pad-y) var(--pad-x);
  position: relative;
}
.trailer::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--green-dark), var(--green-light));
}

.trailer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.trailer__video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 60px rgba(59,36,16,.25);
}
.trailer__thumb {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a3510 50%, #0e2008 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trailer__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,.03) 18px,
    rgba(255,255,255,.03) 20px
  );
}

.trailer__play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trailer__play-btn {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.trailer__play-btn:hover {
  transform: scale(1.1);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.trailer__play-btn svg { width: 28px; height: 28px; fill: var(--green-dark); margin-left: 5px; }

.trailer__text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  color: var(--brown-dark);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.trailer__text p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.trailer__links { display: flex; flex-direction: column; gap: 12px; }
.trailer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 16px;
  border: 1px solid rgba(45,90,39,.2);
  border-radius: 4px;
  background: rgba(45,90,39,.04);
  transition: all .2s;
}
.trailer__link:hover {
  background: rgba(45,90,39,.1);
  border-color: var(--green-mid);
  padding-left: 20px;
}
.trailer__link svg { width: 18px; height: 18px; flex-shrink: 0; }
.trailer__link-arrow { margin-left: auto; width: 16px !important; }

.trailer__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.trailer__video-wrap > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =============================================
   NEWSLETTER STRIP
============================================= */
.newsletter {
  background: var(--cream);
  padding: clamp(40px, 6vw, 60px) var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--tan-mid);
}
.newsletter p { color: var(--text-body); font-size: 15px; margin-bottom: 18px; }
.newsletter form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  padding: 12px 18px;
  border: 1px solid var(--tan-mid);
  border-radius: 3px;
  font-size: 15px;
  font-family: var(--font-body);
  width: min(300px, 100%);
}
.newsletter input:focus { outline: none; border-color: var(--green-mid); }
.newsletter button {
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}
.newsletter button:hover { background: var(--green-mid); }
.newsletter__legal { font-size: 12px; color: #999; margin-top: 12px; }
.newsletter__legal a { color: #777; }

/* =============================================
   FOOTER
============================================= */
.footer {
  padding: var(--pad-y) var(--pad-x);
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(24px, 4vw, 40px);
}

/* =============================================
   TYPOGRAPHY OVERRIDES
============================================= */
body h2,
.section-heading {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal; /* FIX: 'bold' is not a valid font-style value */
}

/* FIX: Merged h1 rules — previously split across two selectors causing .section-heading
   to be overridden inconsistently */
body h1,
.hero__heading {
  font-family: 'nexa-rust-sans-black-2' !important;
  font-style: normal;
  font-weight: 900;
}

body p {
  font-family: dm-sans, sans-serif;
  font-style: normal;
  font-weight: 100;
}

body h3 {
  font-family: dm-sans, sans-serif;
  font-style: normal;
  font-weight: 100;
  text-transform: uppercase !important;
}

h4 {
  font-family: DM Sans, sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
}

h5 {
  text-align: center;
  color: #f2e6dc;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 2rem;
  line-height: 140%;
  height: 140%;
  vertical-align: middle;
}
h5 > span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

h1, h2, h3,
h1.gh-article-title > p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  color: #452008 !important;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* =============================================
   SOCIAL GRID
============================================= */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 30px 10px;
  font-family: sans-serif;
}

.social-item {
  display: inline-flex; /* FIX: was '-inline-flex' (invalid) */
  flex-direction: row;  /* FIX: was 'auto' (invalid) */
  align-items: center;
  text-decoration: none !important;
  gap: 10px;
  color: #888;
  transition: all 0.3s ease;
}
.social-item i { font-size: 28px; }
.social-item span {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.icon-youtube:hover   { color: #FF0000; }
.icon-facebook:hover  { color: #1877F2; }
.icon-instagram:hover { color: #E4405F; }
.icon-linkedin:hover  { color: #0A66C2; }
.icon-tiktok:hover    { color: #000000; }
.icon-threads:hover   { color: #000000; }
.icon-email:hover     { color: #3498db; }

.social-item:hover { transform: translateY(-5px); }

/* =============================================
   ANNOUNCEMENT BAR & HEADER
============================================= */
#announcement-bar-root {
  top: 0;
  left: 0;
  right: 0;
  position: fixed !important;
  width: 100%;
  max-height: 20px;
  z-index: 999;
}
#announcement-bar-root button {
  display: none;
}

.gh-site > header {
  top: 4.4rem;
  left: 0;
  right: 0;
  position: fixed !important;
  width: 100%;
  z-index: 999;
}

/* =============================================
   GHOST THEME OVERRIDES
============================================= */
.kg-bookmark-metadata { display: none; }

.gh-content > p,
time,
.post-meta-length { color: #452008 !important; }

.kg-image-card > img { min-width: 400px; }

article { padding: 1em; }

.gh-copyright { display: none; }

.gh-site,
.post-feed { margin-top: var(--fixed-header); }

.gh-article-excerpt { display: none; }

.gh-card-wrapper {
  display: grid;
  justify-content: center;
}

  .gh-card-excerpt {                                                            
    display: none;                                                              
  }                                                                             
                                                                              
  @media (min-width: 768px) {                                                   
    .gh-card-excerpt {
      display: grid !important;
        justify-content: center;
 /* or whatever its current display value is */      
    }                                                                           
  }

.gh-cover { margin-top: -70px; }

.kg-image-card img,
.feature-image img { pointer-events: none; }



.gh-subscribe-title { color: #fff !important; }

.kg-signup-card-disclaimer { display: none; }

.kg-signup-card-fields { max-width: 100% !important; }

.kg-signup-card-button { background-color: #f2e6dc !important; }

.kg-signup-card-button-default { color: #000000; }

.kg-signup-card-button-default span {
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
}

/* FIX: Removed stray closing brace that was orphaning the rules below it */
h3.kg-signup-card-heading {
  margin-left: 0;
  width: auto;
  max-width: 600px;
}

.kg-signup-card-form {
  padding-bottom: 20px;
  padding-top: 20px;
  justify-content: right !important;
  margin-top: 0;
  margin-bottom: 0;
}
section#join  .kg-signup-card-form {
  margin-top: -50px !important;
}

/* kg-signup-card-content layout defined above in hero overrides section */

span.kg-signup-card-button-default { padding: 20px; }

/* =============================================
   SECTION BACKGROUND DECORATIONS
============================================= */
#workshops {
  background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/2026/03/leaf.png');
  background-repeat: no-repeat;
  background-size: clamp(20px, 4vw, 100px);
  background-position: bottom 0px right clamp(10px, 2vw, 50px);
}

#panel-book {
  background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/2026/03/on-tour.png');
  background-repeat: no-repeat;
  background-size: clamp(40px, 7vw, 200px);
  background-position: bottom 0px left clamp(20px, 3.5vw, 100px);
}

@media (max-width: 480px) {
  #workshops,
  #book { background-image: none; }
}

/* =============================================
   MATERIAL SYMBOLS
============================================= */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}
span.material-symbols-outlined { font-size: 52px !important; }

/* =============================================
   GHOST SITE MARGIN
============================================= */
.site-content { margin-top: var(--fixed-header); }

.post-image {
  width: 100%;
  border-radius: 10px;
  margin: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}
body.home-template .tab-panel .kg-embed-card {
  margin-top: -50px;
}
 .social-icons {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    justify-content: center;
    }
    .social-icons a {
        margin: 10px;
    }
    .gh-topic-footer > .gh-topic-link#older {
      text-align: left !important;
      margin-right:100px;
    }
    .gh-inner > iframe {
      display: flex;
      justify-content: center;
      width: 560px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero__body > a {
      text-decoration: underline;
      color: #39b54a;

    }
    .kg-signup-card#tour {
      background-image: url('https://ontour.thehandsthatfeedus.ca/content/images/2026/02/thtfu-brown-texture.png');
    }
    #host a {
      color: #3d7a34 !important;
      text-decoration: underline;
      text-transform: uppercase;
      font-weight: bold;
    }

/* =============================================
   ANCHOR SCROLL OFFSET
============================================= */
.anchor {
  scroll-margin-top: calc(var(--h-header) + 2.5em);
}
