/* TS2C Base */

:root {
  --green-deep: #0f2a1a;
  --green: #14532d;
  --green-title: #1b6b1f;
  --gold: #c9b458;
  --gold-soft: #e8dca8;
  --gold-hot: #ffd30d;
  --cream: #f1e8d4;
  --parchment: #e9dfc8;
  --parchment-dark: #d8cba9;
  --ink: #1d1d1b;
  --red: #a4161a;
  --red-deep: #7a0f12;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-sans: "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
}

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

html { scroll-behavior: smooth;
  scroll-padding-top: 100px; 
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--green-deep);
}

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

a { color: inherit; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Textures ---------- */

.tex-dark {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.07), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,.35), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #1a3d26, #0c2216 70%);
  color: var(--cream);
}

.tex-parchment {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(120,90,40,.12), transparent 50%),
    repeating-linear-gradient(0deg, rgba(120,90,40,.035) 0 1px, transparent 1px 4px),
    var(--parchment);
  color: var(--ink);
}

.tex-stone {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 1px, transparent 1px 3px),
    #b9ad94;
  color: #111;
}

/* ---------- Headings ---------- */

/* Don't margin the bottom of the hero section */
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
.hero-frame > :last-child { margin-bottom: 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--green-title);
  text-align: center;
  letter-spacing: .02em;
}

.on-dark .section-title { color: var(--gold-soft); }

.subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  margin-bottom: 1.25rem;
}

.italic-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: #2a2a22;
  text-align: center;
}

/* ---------- Header / nav ---------- */

   @media (max-width: 900px) {
     .site-header .wrap { flex-direction: column; }
   }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 28, 18, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201,180,88,.35);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: .05em;
}

.brand svg { width: 34px; height: 38px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover, .nav a:focus-visible { border-color: var(--gold); }

/* ---------- Hero ---------- */

.hero { padding: clamp(2rem, 6vw, 3rem) 0; }

.hero-frame {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(2rem, 3vw, 1rem) clamp(0.75rem, 2.5vw, 1rem);
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 6px;
  text-align: center;
}

.holly {
  position: absolute;
  width: 68px;
  height: 68px;
}
.holly.tl { top: -22px; left: -22px; }
.holly.tr { top: -22px; right: -22px; transform: scaleX(-1); }
.holly.bl { bottom: -22px; left: -22px; transform: scaleY(-1); }
.holly.br { bottom: -22px; right: -22px; transform: scale(-1); }


.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.3rem);
  letter-spacing: .03em;
  color: var(--gold-soft);
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.hero .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 auto .5rem;
  max-width: 35ch;
}

.hero .badge { width: min(60%, 260px); margin: 1.5rem auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }

.hero blockquote {
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  line-height: 1.25;
  color: var(--gold-soft);
}

.hero .discover {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  margin: 0;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .8rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  border: 1px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
  transition: transform .15s, box-shadow .15s;
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.5);
}

/* ---------- Brotherhood ---------- */

.brotherhood { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.brotherhood-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 900px) {
  .brotherhood-grid { grid-template-columns: 1.1fr 1fr; }
  
}



.brotherhood .section-title {
  text-align: left;
  color: var(--green-title);
  font-variant: small-caps;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin: 1.25rem 0;
}

.photo {
  margin: 0;
  background: #0b0b0b;
    width: fit-content;  
    height: fit-content;  
  padding: 5px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px #000 inset;
}

.photo .ph {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b3b35, #1f1f1b);
  color: #bdb48f;
  font-family: var(--font-sans);
  font-size: .8rem;
  text-align: center;
  padding: .5rem;
}

.photo.tall .ph { aspect-ratio: 3 / 4; }

.brotherhood p { font-family: var(--font-sans); font-weight: 700; text-align: justify; hyphens: auto; }

/* ---------- Mission ---------- */

.mission { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.mission-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .mission-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);   /* was 1.3fr / 1fr */
    gap: 2.5rem;
  }
  
}

.group-photo .ph { 
    width: fit-content;   /* box shrinks to the image */
  
 }

.emblem {
  margin: 1.5rem auto 0;
  width: fit-content;   /* box shrinks to the image */
  max-width: min(100%, 360px);  /* optional cap so a huge file can't take over */
}

.emblem .ph { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #d9d9d4, #8f8f89); color: #333; }

.mission h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  text-align: center;
}

.mission blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.mission .contact {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
}

.mission .contact a { color: var(--gold); }

/* ---------- Training ---------- */

.training { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-block: 1px solid #b9a97a; }

.training-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .training-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .training-grid > article:first-child { padding-right: 2.5rem; border-right: 1px solid rgba(0,0,0,.45); }
  .training-grid > article:last-child { padding-left: 2.5rem; }
}

.training article > p { text-align: center; }

.learn-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.learn-list {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  max-width: 24rem;
  font-size: 1.1rem;
}

.learn-list li {
  position: relative;
  padding-left: 1.4rem;
  margin: .25rem 0;
}

.learn-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: #d02a2a;
}

.business-list {
  list-style: none;
  max-width: 22rem;
  margin: 1.25rem auto;
  padding: 0;
  font-size: 1.1rem;
}

.business-list li {
  position: relative;
  padding-left: 1.5rem;
  margin: .5rem 0;
}

.business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: #000;
}

.certified {
  width: min(60%, 200px);
  margin: 1.5rem auto 0.5rem;
}

.pull-quote {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* ---------- Administrators ---------- */

.admins { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.admins .section-title { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2rem); }

.admin-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
  align-items: start;
}

@media (min-width: 640px) {
  .admin-card { grid-template-columns: 200px 1fr; }
}

.admin-photo {
  border: 5px solid var(--green);
  background: var(--green);
}

.admin-photo .ph {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e6e0d0, #bdb49b);
  color: #555;
  font-family: var(--font-sans);
  font-size: .8rem;
}

/* Drop the bg when exist an image */
.admin-photo .ph:has(img) { background: none; }

.admin-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.admin-card p { margin: 0 0 .9rem; font-size: .97rem; }

.location {
  margin-top: 1rem;
  text-align: center;
}

.location h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--green-title);
}

.location .photo { max-width: 340px; margin: 1rem auto; border: 5px solid var(--green); padding: 0; background: var(--green); }
.location .photo .ph { aspect-ratio: 16 / 9; }

.location strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #0d1b4a;
}

.location address { font-style: normal; font-family: var(--font-sans); }





/* ---------- Footer ---------- */

.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--gold-soft);
  border-top: 1px solid rgba(201,180,88,.35);
}

.site-footer p { margin: .25rem 0; }

/* ---------- Readability (desktop) ---------- */

body { font-size: 1.125rem; line-height: 1.75; }

@media (min-width: 900px) {
  body { font-size: 1.1875rem; }
}

.brotherhood p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.8;
  text-align: left;
  hyphens: manual;
  max-width: 60ch;
  color: #141414;
}

.mission blockquote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 40rem;
  margin-inline: auto;
  color: #fff;
}

.mission .contact { font-size: 1.35rem; }

.italic-lead { font-size: clamp(1.35rem, 2.4vw, 1.6rem) !important; line-height: 1.5; color: #1a1a14; }
.hero .tagline, .hero .discover { font-size: 1.5rem; }
.site-header .wrap {
  padding-block: .85rem;
  width: min(100% - 2rem, 1280px);
  flex-wrap: nowrap;
}
.brand { font-size: 1.6rem; gap: .8rem; flex-shrink: 0; }
.brand img {
  display: block;
  height: 90px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
.brand-text {
   color: inherit;
  text-decoration: none;
  font: inherit;
  display: inline-block;
   max-width: 15ch; 
  }

.nav {
  font-family: var(--font-display);
  font-weight: 700;
  flex-wrap: nowrap;
  font-size: 1.2rem;          
  letter-spacing: .02em;   
  align-items: center;      
  gap: .5rem 2rem;
}
.nav a { 
  /* padding: .5rem 0; border-bottom-width: 3px; white-space: nowrap;  */
    display: block;
  max-width: 10ch;
  padding: .4rem .25rem;
  text-align: center;
  line-height: 1.3;  

}
@media (max-width: 1250px) {
  .site-header .wrap { flex-direction: column; }
  .nav { justify-content: center; font-size: 1.05rem; gap: .25rem 1.25rem; }
}

/* Parchment sections: darker ink, limit line length */
.tex-parchment { color: #151512; }
.training article > p,
.admin-card p {
  max-width: 62ch;
  margin-inline: auto;
}
.training article > p { font-size: 1.15rem; line-height: 1.75; }
.admin-card p { font-size: 1.1rem; line-height: 1.75; }
.learn-list, .business-list { font-size: 1.25rem; }
.business-list { max-width: 26rem; }

/* Business Side closing paragraph */
.training article p[style] { font-size: 1.15rem; line-height: 1.75; }

.location address { font-size: 1.1rem; }

/* ---------- Accessibility ---------- */

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}



 /* The menu for mobile */
.hamburger {
  display: none; /* Hide on desktop */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger svg {
  display: block; /* Removes weird spacing under the SVG */
  width: 30px;
  height: 28px;
  color: #fbd6da; /* Light pink/red to fit the Santa theme */
}

/* Hamburger hover grow effect */
.hamburger:hover {
  transform: scale(1.5); /* Slightly enlarges the icon */
}


.close-menu {
  display: none; 
}

/* HAMBURGER ON MOBILE */
@media (max-width: 768px) {
  

.hamburger,
.close-menu { display: none; }

.hamburger {
  background: none;
  border: 0;
  padding: .5rem;
  color: var(--cream);
  cursor: pointer;
}
.hamburger svg { display: block; width: 30px; height: 28px; }

@media (hover: hover) {
  .hamburger { transition: transform .2s, color .2s; }
  .hamburger:hover { color: var(--gold-soft); transform: scale(1.15); }
}

@media (max-width: 768px) {
  .site-header .wrap { flex-direction: row; }   /* undo the 900px column stack */
  .hamburger { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 3rem 1.5rem 1rem;          /* top room for the X */
    font-size: 1.15rem;
    background: rgba(10, 28, 18, .97);  /* matches header */
    border-bottom: 1px solid rgba(201,180,88,.35);
    max-height: calc(100dvh - 80px);    /* roughly the header height */
    overflow-y: auto;
  }
  .nav.active { display: flex; }

  .nav a {
    display: block;
    border-bottom: 1px solid rgba(201,180,88,.2);
    max-width: none;
    text-align: left;
    line-height: 1.4;
    padding: .75rem 0;
  }


  .close-menu {
    display: block;
    position: absolute;
    top: .5rem;
    right: 1rem;
    background: none;
    border: 0;
    color: var(--cream);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
  }
  .close-menu:hover { color: var(--gold-soft); }
}


} /* end mobile */



/* ---------- Single Event page ---------- */
 
.subdetails {
  font-size: .5em !important;
  text-align: center !important;
}
.event-meta {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
}
 
/* Schedule cards */
.day-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .day-list { grid-template-columns: repeat(3, 1fr); }
    .mission-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }

}
 
.day {
  padding: 1.5rem;
  background: rgba(255,255,255,.35);
  border: 1px solid var(--parchment-dark);
  border-top: 4px solid var(--red);
}


.day h3 {
  text-align: center;
}
 
.day-date {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
 
.day h3 {
  margin: .25rem 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-title);
}
 
.day-time {
  margin: 0 0 .75rem;
  font-family: var(--font-serif);
  font-style: italic;
}

.day .day-time { font-size: 1.5rem !important; font-weight: 700 !important; }
 
.day p { margin: 0 0 .75rem; font-size: 1.05rem; line-height: 1.7; }
 
.note { font-size: .95rem; font-style: italic; }
 
/* Course book pricing */
.price-list {
  list-style: none;
  max-width: 32rem;
  margin: 1rem auto;
  padding: 0;
}
.price-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.25);
}
.price-list strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red-deep);
}
 
/* Location text block */
.admin-card-text p {
  max-width: 62ch;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.75;
}
 
/* Section headings / text on the dark "Before You Arrive" section */
#prep h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  text-align: center;
}
 
/* Embedded video */
.video {
  max-width: 720px;
  margin: 1.5rem auto;
  aspect-ratio: 16 / 9;
  border: 5px solid var(--green);
  background: #000;
}
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
 
/* Body copy inside the register section */
#register .wrap > p:not([class]) {
  max-width: 62ch;
  margin-inline: auto;
  font-size: 1.15rem;
  line-height: 1.75;
}


.restrained-img {
  display: block;
  max-width: min(100%, 300px);
  height: auto;
  margin: 1rem auto;
}

.restrained-img.shadow {
  box-shadow: 0 4px 12px rgb(0 0 0 / .48);

}

.event-photo {
  width: auto;            /* override .photo's fit-content */
  max-width: 100%;
  margin-inline: auto;
}
.event-photo img {
  width: 100%;
  height: auto;
}


.img-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  text-decoration: none;
  line-height: 0;
  margin: none;
}
.img-link:hover,
.img-link:focus { background: none; box-shadow: none; transform: none;
 }
.img-link:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }


.event-pricing-subline {
  font-weight: bold;
  font-size:1.1em;
}


/* ---------- event feature (single event page) ---------- */

.eventfeature { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.eventfeature-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .eventfeature-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);   /* was 1.3fr / 1fr */
    gap: 2.5rem;
  }
  
}

.group-photo .ph { 
    width: fit-content;   /* box shrinks to the image */
  
 }

.emblem {
  margin: 1.5rem auto 0;
  width: fit-content;   /* box shrinks to the image */
  max-width: min(100%, 360px); 
}

.emblem .ph { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #d9d9d4, #8f8f89); color: #333; }

.eventfeature h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #fff;
  text-align: center;
}

.eventfeature blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

.eventfeature .contact {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  font-size: 1.15rem;
}

.eventfeature .contact a { color: var(--gold); }



/* ---------- Contact form ---------- */

.contact-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255,255,255,.35);
  border: 1px solid var(--parchment-dark);
  border-top: 4px solid var(--red);
}

.field { display: grid; gap: .35rem; }

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-title);
}

.field input {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  background: #fbf7ec;
  border: 1px solid #b9a97a;
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
  transition: border-color .15s, box-shadow .15s;
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,180,88,.35);
}

.field input:user-invalid { border-color: var(--red); }

.contact-form .btn {
  justify-self: center;
  margin-top: .5rem;
  cursor: pointer;
  font-size: 1.05rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  background: #fbf7ec;
  border: 1px solid #b9a97a;
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
  transition: border-color .15s, box-shadow .15s;
}

.field textarea {
  resize: vertical;      /* let users make it taller, not wider */
  min-height: 8rem;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,180,88,.35);
}

.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }

.hiddenstuff { position: absolute; left: -9999px; }




/* ---------- Re-Usable ---------- */

.subline {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  font-size: 1.5rem;
}

.subline a { color: var(--gold); }



/* ---------- Two Column ---------- */
.twocolumn { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.twocolumn a {
  color: #a4161a;
}

.twocolumn-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .twocolumn-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.twocolumn .section-title {
  text-align: left;
  font-variant: small-caps;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .5rem;
}

.twocolumn .photo { width: auto; }
.twocolumn .photo img { width: 100%; height: auto; }

.twocolumn p {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 60ch;
}

/* Link button for twocol type pages, similar to btn */
.twocol-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .8rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  border: 1px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
  transition: transform .15s, box-shadow .15s;
}

.twocol-btn:hover, .twocol-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.5);
}



/* ---------- Call to action bar ---------- */

.cta-bar {
  margin-top: 2.5rem;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  color: var(--gold-soft);
  background: linear-gradient(180deg, #8f1418, #5d0b0e);
  border-block: 2px solid var(--gold);
  box-shadow: inset 0 0 22px rgba(0,0,0,.45);
}

.cta-bar a {  text-decoration: none; display: block; font-size: 1.7rem; }
.cta-bar a:hover { text-decoration: underline; }

.cta-highlight { color: var(--gold-hot); }

/* ---------- Multi-item cards ---------- */


.card-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

 
.card .card-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  text-align: left;
}
 
.card .card-title {
  margin: .25rem 0 .75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--green-title);
}
 
.card .card-meta {
  margin: 0 0 .75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: left;
}
 
.card p {
  margin: 0 0 .75rem;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}
.training .card p { max-width: none; margin-inline: 0; text-align: left; font-size: 1.05rem; }
 
.card p:last-child { margin-bottom: 0; }
 
.card a { color: var(--green); text-underline-offset: .15em; }
.card a:hover { color: var(--red); }
 
.card .note { font-size: .95rem; font-style: italic; }
 

.card {
  padding: 1.5rem;
  background: #fbf7ec;   
  border: 1px solid #b9a97a;
  border-top: 4px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(60,40,10,.12),
              0 8px 20px rgba(60,40,10,.12);
  transition: transform .15s, box-shadow .15s;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(60,40,10,.15),
                0 14px 28px rgba(60,40,10,.18);
  }
}





/* Sponsors page  */
.hero-frame h1.platinum,
.hero-frame h2.platinum {
  background: linear-gradient(
    110deg,
    #d9dce1 0%, #ffffff 20%, #c9cdd3 38%, #ffffff 52%,
    #cfd3d9 68%, #f7f8fa 85%, #d9dce1 100%
  ) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
          background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;

  mix-blend-mode: normal !important;
  opacity: 1 !important;
  text-shadow: none !important;

  filter:
    drop-shadow(0 2px 2px rgba(0,0,0,.5))
    drop-shadow(0 0 10px rgba(235,240,250,.35)) !important;
  letter-spacing: .04em;
  animation: platinum-shine 6s ease-in-out infinite;
}


@keyframes platinum-shine {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0% 0; }
}


/* For a small logo on a page like the WV Fire logo  */
.photo.inlinelogo,
.photo.inlinelogo img {
  background: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  height: auto !important;
}

.photo.inlinelogo {
  padding: 0 !important;
}

.photo.inlinelogo::before,
.photo.inlinelogo::after {
  display: none !important;
}

.photo.inlinelogo img {
  width: auto !important;
  max-width: 120px;
  object-fit: contain !important;
  margin: 0 auto;
  display: block;
}

/* For thumbnail of vertical image, like scholarship application pdf */
.photo.inlinethumb,
.photo.inlinethumb img {
  background: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  height: auto !important;

}

.photo.inlinethumb img {
  width: auto !important;
  max-height: 300px;
  object-fit: contain !important;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.45));
  transition: transform .3s ease;

}

.photo.inlinethumb img:hover {
  transform: scale(1.05);
}


.mobile-br { display: none; }

@media (max-width: 600px) {
  .mobile-br { display: inline; }
}


/* Events list on home page */


.events {
  padding-top: 10px;
}

.events h2 {
  color: var(--gold-hot);
  text-align: center;
}


.event-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
  gap: 1.5rem;
}
.event-card {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: 8px;
  color: #222;
  border: 3px solid #c9a227;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.event-card .btn {
  margin-top: auto;         
}
.event-card time { font-weight: bold; color: #a51c1c; }

.event-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: #222;
  border: 3px solid #c9a227;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}

.event-empty-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #a51c1c;
  margin-top: 0;
}

address a {
  text-decoration: none;
}


.eventcard-img {
  display: contents; 
}

.eventcard-img img {
  flex: 1 1 200px;
  min-height: 0;
  max-height: max-content;       
  width: calc(100% + 2.5rem);
  margin: 0rem -1.25rem 1rem;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}
