@charset "UTF-8";

/*
============================================================
  AOH Division 4 - Consolidated Stylesheet
 
  This file contains all custom styles for the website.
  Last Updated: September 2, 2025
============================================================
*/

/* Import Google Font for Header */
@import url("https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap");

/* === VARIABLES & THEME TOKENS === */
:root {
  --aoh-dark-green: #324114;
  --aoh-light-green: #3e6200;
  --aoh-gold: #dd911f;
  --aoh-gold-dark: #b37119;
  --aoh-white: #f7f7f5;
  --aoh-black: #000000;
  --aoh-dark-red: darkred;
  --aoh-link-green: #48ff00;
  --aoh-link-blue: #0000ee;
  --aoh-link-dark-blue: #0645ad;

  /* Header variables - consolidated */
  --header-h: clamp(110px, 15vw, 200px);
  --header-inner-max: 1400px;
  --pad-x: clamp(16px, 4vw, 72px);
  --pad-y: clamp(8px, 1.5vw, 16px);
  --gap: clamp(8px, 2vw, 28px);
  --icon: clamp(64px, 9vw, 130px);
  --logo-bleed: 1.18;
}

/* === GLOBAL, TYPOGRAPHY, & BASE STYLES === */
body,
.main-body {
  font-family: "Optima", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 120%;
  color: var(--aoh-white);
  background-color: var(--aoh-black);
  background-image: url(../images/AOH_BACK.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
}

h1 {
  font-family: "Optima", serif;
  font-size: 250%;
  color: white;
  line-height: 100%;
}

h2 {
  font-family: "Optima", serif;
  font-style: normal;
  color: var(--aoh-white);
  text-align: left;
  text-shadow: 2px 6px 9px rgba(0, 0, 0, 0.5);
  font-size: xx-large;
}

h3 {
  font-family: "Optima", serif;
  font-style: normal;
  color: var(--aoh-white);
  text-align: left;
  font-size: x-large;
}

h4 {
  font-family: "Optima", serif;
  font-style: normal;
  color: var(--aoh-gold);
  text-align: left;
  font-size: 180%;
}

p {
  line-height: 130%;
}

a {
  color: var(--aoh-link-green);
  text-decoration: none;
  font-weight: normal;
}

a:hover {
  color: var(--aoh-gold);
  text-decoration: underline;
}

hr.feature-line,
.event-line {
  border: none;
  border-top: 2px solid var(--aoh-gold);
  width: 100%;
  border-radius: 3px;
  margin-top: 20px;
  clear: both;
}

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

figure {
  margin: 0;
}

*:focus {
  outline: 0;
}

/* === LAYOUT & CONTAINERS === */
.aoh-container {
  background-color: var(--aoh-white);
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 10px 9px rgba(0, 0, 0, 0.5);
}

.aoh-main {
  background-color: var(--aoh-dark-green);
  background-image: url(../images/low-contrast-linen.png);
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.7);
}

.content-container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 25px 0;
}

/* === DYNAMIC HEADER === */
header {
  content: normal !important;
}

#main-header {
  position: relative;
  width: 100%;
  height: var(--header-h);
  min-height: var(--header-h);
  color: #fff;
  isolation: isolate;
  overflow: visible;
  border-bottom: 1px solid #fff;

  /* Background: vichy tile + dark green */
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 0,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0) 80%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("../images/dynamic-header/vichy.png") center/50px 50px repeat;
  background-color: #33411c;
}

/* Header inner container - consolidated */
#main-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: var(--header-inner-max);
  margin-inline: auto;
  padding: var(--pad-y) var(--pad-x);
  box-sizing: border-box;
  height: 100%;
  overflow: visible;
}

/* Left logo section */
.header-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: clamp(180px, 10vw, 280px);
}

.header-logo {
  height: calc(var(--header-h) - 2 * var(--pad-y));
  width: auto;
  display: block;
  transform: scale(var(--logo-bleed));
  transform-origin: left center;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.6));
}

/* Center title section */
.header-title {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Title as live text instead of image */
.title-block {
  max-width: 1100px;
  line-height: 1.05;
  text-wrap: balance;
  white-space: normal;
}

.title-top {
  font-family: "Optima", serif;
  font-size: clamp(28px, 4.2vw, 66px);
  letter-spacing: 0.01em;
  color: var(--aoh-gold);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.title-sub {
  font-family: "Optima", serif;
  font-size: clamp(16px, 2vw, 28px);
  margin-top: 0.18em;
  color: var(--aoh-white);
  opacity: 0.95;
}

/* Optional vertical divider */
.header-title::after {
  content: "";
  display: block;
  height: 70%;
  width: 1px;
  margin-left: clamp(12px, 2.5vw, 24px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset;
  align-self: center;
}

/* Right section */
.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: clamp(120px, 10vw, 220px);
}

#header-icon {
  height: calc(var(--header-h) * 0.72);
  max-height: calc(var(--header-h) - 2 * var(--pad-y));
  width: auto;
  display: block;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.6));
}

/* Date styling */
#header-date {
  font-family: "Optima", serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  margin-left: auto;
  padding-left: 1rem;
}

/* === NAVIGATION & FOOTER === */
nav {
  background-color: var(--aoh-light-green);
  font-family: "Optima", sans-serif;
}

.footer {
  background-color: #252f11;
  text-align: center;
  color: var(--aoh-white);
  background-image: url(../images/low-contrast-linen.png);
  border-top: thin solid var(--aoh-white);
  clear: both;
  padding: 20px 0;
}

.footer_text {
  color: var(--aoh-white);
  font-size: small;
  line-height: 200%;
}

.footer-icons {
  height: 60px;
  width: auto;
  margin: 0 7px 15px 7px;
  transition: transform 0.2s ease-in-out;
}

.footer-icons:hover {
  transform: scale(1.1);
}

/* === COMPONENTS === */
.spacer {
  background-color: var(--aoh-gold);
  text-align: center;
  color: var(--aoh-white);
  border-bottom: thin solid var(--aoh-white);
  border-top: thin solid var(--aoh-white);
  font-size: 120%;
  padding: 7px;
}

.main-image {
  content: url("../images/home/home_image_2025.png");
  width: 100%;
  display: block;
}

.home-feature {
  padding: 30px;
  overflow: hidden;
}

.feature-photo {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  border: 3px solid var(--aoh-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.grand-marshal-name {
  color: var(--aoh-gold);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  color: var(--aoh-link-green);
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.2s;
}

.back-link:hover {
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--aoh-gold);
  text-decoration: none;
}

/* === HOME NEWS GRID === */
.home-news {
  width: 100%;
  padding: 5px 0 30px 0;
  margin-top: 20px;
  background-color: var(--aoh-gold);
  border-top: thin solid var(--aoh-white);
  background-image: url("../images/home/debut-light.png");
}

.home-news-title {
  color: white;
  text-align: center;
  padding-top: 10px;
  margin-bottom: 0;
}

.home-news-divider {
  border-top: 1px solid var(--aoh-dark-green);
  margin: 1rem auto;
  width: 90%;
}

.flex-container-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 20px;
}

.flex-child-home {
  display: flex;
  flex-direction: column;
  background: white;
  color: var(--aoh-black);
  border-radius: 10px;
  box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.flex-child-home figcaption {
  width: 100%;
  padding: 15px;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.flex-child-home h1 {
  font-size: 130%;
  color: var(--aoh-dark-green);
  margin: 0 0 10px 0;
}

.flex-child-home p {
  color: var(--aoh-black);
  font-size: 90%;
  margin-bottom: auto;
}

.flex-child-home a {
  margin-top: auto;
  margin-bottom: 1rem;
  color: var(--aoh-link-blue);
}

.flex-child-home a:hover {
  color: var(--aoh-gold);
}

/* === TABLES === */
table {
  width: 100%;
  margin: 30px auto;
  border-collapse: collapse;
  background: var(--aoh-dark-green);
  box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.5);
}

table tr:nth-of-type(odd) {
  background: rgba(37, 47, 17, 0.7);
}

table th {
  background: var(--aoh-gold);
  background-image: url(../images/low-contrast-linen.png);
  color: var(--aoh-white);
  font-weight: bold;
}

table td,
table th {
  padding: 10px;
  border: 1px solid var(--aoh-white);
  text-align: left;
}

/* === GRAND MARSHALS TABLE === */
.gm-table {
  width: 100%;
  margin-top: 0;
}

.gm-table th {
  position: sticky;
  top: 0;
  z-index: 10;
}

.gm-table .gm-year {
  width: 25%;
}

/* === CALENDAR PAGE === */
.text-superscript {
  font-size: medium;
  vertical-align: super;
  margin-left: 2px;
}

.events-subtitle {
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--aoh-gold);
}

.disclaimer {
  font-size: 0.9rem;
  color: #ccc;
}

/* === EVENT CARDS === */
.events-list {
  list-style: none;
  margin: 20px 0 36px;
  padding: 0;
  display: grid;
  gap: 22px;
}

.events-list > li {
  margin: 0;
  padding: 0;
}

.event-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: stretch;
  /* This stretches the columns to be full height */
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url("../images/home/debut-light.png");
  background-color: var(--aoh-white);
}

.event-date {
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
  background-color: #dde0d7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #4a4a4a;
}

.event-date-weekday {
  font-family: "Optima", serif;
  font-size: 1.5rem;
  opacity: 0.95;
}

.event-date-month {
  font-family: "Optima", serif;
  font-size: 1.5rem;
  opacity: 0.95;
}

.event-date-day {
  font-size: 3rem;
  line-height: 0.75;
  font-weight: 700;
  color: var(--aoh-dark-green);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.event-date-year {
  font-size: 1.25rem;
  opacity: 0.85;
}

.event-body {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px 22px;
}

.event-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: #1a1d13;
}

.event-body::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--aoh-light-green);
  opacity: 0.35;
  margin-top: -2px;
}

.event-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
  color: #223;
}

.event-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-meta i {
  width: 1.05em;
  text-align: center;
  color: #444;
}

.event-body a,
.event-meta a {
  color: var(--aoh-gold);
  font-weight: normal;
  text-decoration: none;
}

.event-body a:hover,
.event-meta a:hover {
  color: var(--aoh-gold-dark);
  text-decoration: underline;
}

.event-actions {
  display: none !important;
}

/* === OFFICERS PAGE === */
.page-title {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.officer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.officer-card {
  width: 300px;
  text-align: center;
  margin-bottom: 20px;
}

.officer-card img {
  border-radius: 50%;
  border: 5px solid var(--aoh-gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
  width: 250px;
  height: 250px;
  object-fit: cover;
}

.officer-card h3 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 1.5rem;
  color: var(--aoh-white);
}

.officer-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--aoh-white);
}

.past-presidents-section {
  margin-top: 40px;
}

.past-presidents-list {
  list-style-type: none;
  padding-left: 0;
  margin: 20px auto 0 auto;
  display: grid;
  gap: 10px 40px;
  justify-content: center;
  /* Centers the entire grid */
  justify-items: center;
  /* Centers content within cells */
}

.past-presidents-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.past-presidents-list strong {
  color: var(--aoh-gold);
}

/* === HISTORY PAGE / GENERIC ARTICLE === */
.main-article h2 {
  text-align: center;
}

.main-article p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.main-page-image {
  margin-bottom: 2rem;
  text-align: center;
  max-width: 100%;
}

.main-page-image img {
  width: 100%;
  border-radius: 10px;
  border: 3px solid var(--aoh-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.main-page-image figcaption {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 0.5rem;
}

.img-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  border: 3px solid var(--aoh-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.img-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  border: 3px solid var(--aoh-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.motto-text {
  margin-bottom: 30px;
  color: var(--aoh-gold);
  font-style: italic;
  text-align: center;
  clear: both;
}

.signature-block {
  margin-top: 2rem;
  line-height: 1.5;
}

.signature-block .name {
  font-weight: bold;
}

.signature-block .title {
  font-style: italic;
}

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

.inset-photo {
  float: right;
  width: clamp(220px, 28%, 340px);
  margin: 0 0 1rem 1.25rem;
}

.inset-photo .photo-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.inset-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.inset-photo figcaption {
  margin: 0.5rem 0 0 0;
  padding: 0 0.25rem;
  text-align: center;
  color: #eee;
  background: transparent;
}

.hero-banner {
  border-bottom: 2px solid var(--aoh-white);
}

.hero-banner img {
  width: 100%;
  display: block;
}

/* === PARADE PAGES === */
.parade-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 30px;
}

.main-parade-image {
  border-radius: 10px;
  border: 3px solid var(--aoh-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.parade-info-box {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  color: var(--aoh-white);
}

.parade-info-box h3 {
  color: var(--aoh-gold);
  font-size: 1.5rem;
  margin-top: 0;
}

.parade-info-box .info-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.parade-info-box .info-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(221, 145, 31, 0.3);
  color: var(--aoh-link-green);
}

.parade-info-box .info-list a:hover {
  color: var(--aoh-gold);
}

.parade-info-box p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.parade-info-box .phone-number {
  color: var(--aoh-gold);
  white-space: nowrap;
}

.save-the-date {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  border: 2px solid var(--aoh-gold);
  border-radius: 10px;
}

.parade-date {
  color: var(--aoh-gold);
}

.parade-route-map {
  margin: 20px 0 50px 0;
  border-radius: 10px;
  border: 3px solid var(--aoh-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* === FORMS === */
.form-container {
  margin: 30px 0;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 25px;
}

.form-container form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--aoh-gold);
}

.form-container form input[type="text"],
.form-container form input[type="email"],
.form-container form input[type="tel"],
.form-container form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #555;
  background-color: #333;
  color: var(--aoh-white);
  font-family: "Optima", serif;
  font-size: 1rem;
}

.form-container form input:focus,
.form-container form textarea:focus {
  outline: none;
  border-color: var(--aoh-gold);
  box-shadow: 0 0 5px var(--aoh-gold);
}

.form-submit-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: none;
  background-color: var(--aoh-gold);
  color: var(--aoh-dark-green);
  font-family: "Optima", serif;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s, transform 0.1s;
}

.form-submit-button:hover {
  background-color: var(--aoh-gold-dark);
}

.form-submit-button:active {
  transform: scale(0.98);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-field {
  margin-bottom: 15px;
}

fieldset {
  border: 1px solid var(--aoh-gold);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

legend {
  width: auto;
  padding: 0 10px;
  color: var(--aoh-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.checkbox-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pledge-field {
  justify-content: flex-start;
}

.pledge-field input[type="checkbox"] {
  margin-right: 15px;
  width: auto;
}

.radio-group {
  display: flex;
  align-items: center;
}

.radio-group input[type="radio"] {
  margin: 0 5px 0 15px;
  width: auto;
}

.radio-group label {
  margin: 0;
  font-weight: normal;
  color: var(--aoh-white);
}

/* === MEMBERSHIP PAGE === */
.membership-requirements {
  list-style-type: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.membership-requirements li {
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-bottom: 0.5rem;
}

.membership-requirements li::before {
  content: "✓";
  color: var(--aoh-gold);
  font-weight: bold;
  margin-right: 0.5em;
}

.cta-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-button.primary {
  background-color: var(--aoh-gold);
  color: var(--aoh-dark-green);
  border: 2px solid var(--aoh-gold);
}

.cta-button.primary:hover {
  background-color: var(--aoh-gold-dark);
  color: var(--aoh-dark-green);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--aoh-gold);
  border: 2px solid var(--aoh-gold);
}

.cta-button.secondary:hover {
  background-color: var(--aoh-gold);
  color: var(--aoh-dark-green);
}

.adobe-reader-link {
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.adobe-reader-link img {
  border: none;
  box-shadow: none;
  margin-right: 15px;
}

/* === DONATION SECTION === */
.donation-section {
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.donation-intro {
  text-align: left;
}

.zeffy-embed-container {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  border: 3px solid var(--aoh-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.zeffy-embed-container iframe {
  position: absolute;
  border: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.zeffy-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px dashed var(--aoh-gold);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
}

.zeffy-placeholder p {
  color: var(--aoh-gold);
  font-size: 1.2rem;
}

/* === SPONSORS === */
.sponsor-section {
  background-color: var(--aoh-gold);
  padding: 20px;
  margin: 30px -5.55%;
  border-radius: 15px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.sponsor-card {
  background-color: var(--aoh-white);
  color: var(--aoh-black);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sponsor-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.sponsor-card h3 {
  color: var(--aoh-dark-green);
  font-size: 1.3rem;
  margin: 5px 0;
  text-align: center;
}

.sponsor-card p {
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-align: center;
}

.sponsor-card a {
  color: var(--aoh-link-dark-blue);
}

/* === PHOTO GALLERY === */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.album-card {
  text-decoration: none;
}

.album-card:hover {
  text-decoration: none;
}

.album-card figure {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--aoh-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover figure {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.album-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.album-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--aoh-white);
  padding: 30px 15px 15px 15px;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: left;
  transition: color 0.3s ease;
}

.album-card:hover figcaption {
  color: var(--aoh-gold);
}

.gallery-iframe-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 3px solid var(--aoh-white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.gallery-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* === JOURNAL GALLERY === */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.journal-card {
  text-decoration: none;
  color: var(--aoh-white);
  font-weight: bold;
  text-align: center;
}

.journal-card:hover {
  text-decoration: none;
}

.journal-card figure {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover figure {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.journal-card img {
  display: block;
  width: 100%;
}

.journal-card figcaption {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--aoh-white);
  transition: color 0.3s ease;
}

.journal-card:hover figcaption {
  color: var(--aoh-gold);
}

.journal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journal-card:hover .journal-overlay {
  opacity: 1;
}

.download-icon {
  font-size: 4rem;
  color: var(--aoh-white);
}

.download-text {
  font-size: 1.2rem;
  color: var(--aoh-white);
  margin-top: 10px;
}

/* ============================================================
  RESPONSIVE STYLES / MEDIA QUERIES
============================================================ */

/* Large screens - fine-tune title scaling */
@media (min-width: 1100px) and (max-width: 1450px) {
  .title-top {
    font-size: clamp(26px, 3.6vw, 60px);
  }

  .title-sub {
    font-size: clamp(15px, 1.8vw, 26px);
  }
}

@media (min-width: 1400px) and (max-width: 1600px) {
  .title-top {
    font-size: clamp(26px, 3.8vw, 60px);
  }

  .title-sub {
    font-size: clamp(15px, 1.8vw, 26px);
  }

  #main-header .header-inner {
    padding-bottom: calc(var(--pad-y) + 8px);
  }
}

/* Very large screens */
@media (min-width: 1920px) {
  :root {
    --header-inner-max: 1500px;
  }
}

@media (min-width: 2560px) {
  :root {
    --header-inner-max: 1600px;
  }
}

/* Large tablets and small desktop */
@media (max-width: 1199px) {
  .aoh-container,
  .aoh-main {
    width: 100%;
  }
}

@media (max-width: 980px) {
  #header-date {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
  }

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

  .donation-intro {
    text-align: left;
  }
}

/* Event cards responsive - stack on small screens */
@media (max-width: 820px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .event-date-day {
    font-size: 2.5rem;
    margin: 0 0 0 8px;
  }
}

/* Tablets and mobile */
@media (max-width: 768px) {
  .main-image {
    content: url("../images/home/home_image_600.png");
  }

  /* Responsive floated images */
  .img-left,
  .img-right,
  .feature-photo,
  .inset-photo {
    float: none;
    display: block;
    margin: 20px auto;
    width: 80%;
  }

  /* Stack parade grid */
  .parade-top-grid {
    grid-template-columns: 1fr;
  }

  /* Stack form grids */
  .form-grid,
  .form-grid-3,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-section {
    margin: 30px 0;
  }

  .checkbox-field {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Responsive tables (except Grand Marshal table) */
  table:not(.gm-table),
  table:not(.gm-table) thead,
  table:not(.gm-table) tbody,
  table:not(.gm-table) th,
  table:not(.gm-table) td,
  table:not(.gm-table) tr {
    display: block;
  }

  table:not(.gm-table) thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table:not(.gm-table) tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  table:not(.gm-table) td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  table:not(.gm-table) td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }

  /* Calendar table labels */
  td:nth-of-type(1):before {
    content: "DATE";
  }

  td:nth-of-type(2):before {
    content: "TIME";
  }

  td:nth-of-type(3):before {
    content: "EVENT";
  }

  td:nth-of-type(4):before {
    content: "LOCATION";
  }

  .past-presidents-list {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Small mobile - narrow phones */
@media (max-width: 680px) {
  /* Event cards mobile polish */
  .event-card {
    border-radius: 18px;
  }

  .event-date {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .event-date-weekday {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
  }
  .event-date-day {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
  }
  .event-date-year {
    font-size: 1.2rem;
    color: #555;
  }
}

/* ===== Breadcrumb Styles ===== */
.breadcrumb {
  background-color: #252f11;
  /* Dark green background */
  padding: 0.75rem 1rem;
}

.breadcrumb-item a {
  color: #dd911f;
  /* Gold color for links */
}

.breadcrumb-item a:hover {
  color: #48ff00;
  /* White on hover */
}

.breadcrumb-item.active {
  color: #dd911f;
  /* Light gray for the current page */
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #dd911f;
  /* Gold for the "/" separator */
}

/* --- Junior Division stories --- */
.jr-stories {
  /* This is your original container style - it works great! */
  background: #dd911f; /* Updated color from your design mockup */
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  font-family: "Optima", serif;
}

.jr-stories .section-title {
  /* Your original title style, with text-align added */
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
}

/* NEW: This creates the white card for each story */
.story-card {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  margin-top: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* The old border between stories is no longer needed */

/* UPDATED: Text styles are now inside the card */
.story-card h4 {
  color: #333333;
  font-weight: 700;
  margin-bottom: 1rem;
}

.story-card p {
  color: #252f11;
  line-height: 1.6;
}

/* Your link styles, now targeted within the card */
.story-card a {
  color: #0000ee;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.story-card a:hover,
.story-card a:focus {
  color: #48ff00;
  text-decoration: underline;
}

/* --- REPLACED Photo Styles --- */
/* The old .jr-photos and .jr-photo rules for circles are gone. */
/* These new rules create the side-by-side rounded squares. */

.story-photos {
  display: flex;
  gap: 1rem; /* Creates space between photos */
  justify-content: center;
}

.story-photo {
  width: 48%; /* Each photo takes up nearly half of its column */
  margin: 0;
}

.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Makes the images square */
  object-fit: cover; /* Prevents images from stretching */
  border-radius: 10px; /* Rounded corners for the images */
  display: block;
  background-color: #e0e0e0; /* Gray placeholder color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- Your media query is still useful --- */
@media (min-width: 768px) {
  .jr-story .text-col {
    padding-right: 2rem;
  }

  .jr-story .photos-col {
    padding-left: 1rem;
  }
}

.text-card-grid {
  display: grid;
  /* This creates responsive columns of a fixed size */
  grid-template-columns: repeat(auto-fit, 280px);
  /* This now correctly centers the group of columns */
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.sponsor-text-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* <-- ADD THIS LINE */
}

.sponsor-text-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Make the sponsor name larger */
.sponsor-text-card h4 {
  margin-top: auto;
  font-size: 1.3em;
  text-align: center;
  color: #324114;
}

.sponsor-cta {
  margin-bottom: auto;
}

.sponsor-cta p {
  margin: 0 0 3px 0;
  font-size: 0.9em;
  color: #555;
}

.sponsor-cta a {
  font-size: 1em;
  color: #007bff;
  text-decoration: none;
  margin: 0 5px;
}

.sponsor-cta a:hover {
  text-decoration: underline;
}

.sponsor-text-card .sponsor-cta div {
  display: flex;
  flex-direction: column; /* stack vertically */
  justify-content: center;
  align-items: center;
}

/* === MOBILE HEADER - Title Text Only === */
@media (max-width: 768px) {
  /* Hide logo and seasonal icon on mobile */
  .header-left,
  .header-right {
    display: none;
  }

  /* Center the title section */
  #main-header .header-inner {
    justify-content: center;
  }

  /* Remove the vertical divider on mobile since there's no right section */
  .header-title::after {
    display: none;
  }

  /* Optional: Adjust title sizing for mobile-only display */
  .title-top {
    font-size: clamp(22px, 5.5vw, 42px);
  }

  .title-sub {
    font-size: clamp(14px, 3.2vw, 24px);
  }
}
@media (max-width: 480px) {
  .event-date {
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap; /* Allow wrapping only on the smallest screens */
  }
  .event-date-weekday {
    font-size: 1.1rem;
  }
  .event-date-day {
    font-size: 1.6rem;
  }
  .event-date-year {
    font-size: 1.1rem;
  }
}
