/* ── Woody color palette — overrides dot-org theme green ─────────── */
/* These CSS variable overrides cascade correctly because this file    */
/* loads after the theme's compiled stylesheet.                        */


:root {
  --primary-400: #c07d3a;  /* warm amber oak    */
  --primary-500: #a0621e;  /* medium walnut      */
  --primary-600: #7a4a18;  /* dark walnut        */
  --primary-700: #5c3410;  /* deep brown         */
  --primary-800: #3d2b1f;  /* darkest / espresso */
}

/* ── Page title spacing ───────────────────────────────────────────── */

.title {
  margin-block-start: 40px;
  margin-block-end: 30px;
}

/* ── Club Officers page ───────────────────────────────────────────── */

.officers-photo-wrap {
  margin: 0 0 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  border: 3px solid var(--primary-400);
  max-height: 280px;
}

.officers-photo {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.officer-card {
  background: #fdf6ee;
  border: 1px solid var(--primary-400);
  border-top: 4px solid var(--primary-500);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.officer-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
}

.officer-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-800);
}

/* ── Club History page ────────────────────────────────────────────── */

.history-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.history-text {
  flex: 1;
}

.history-vase {
  flex: 0 0 260px;
  margin: 0;
}

.history-vase img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 4px solid var(--primary-400);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.history-vase figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--primary-600);
  margin-top: 0.6rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .history-layout {
    flex-direction: column;
  }

  .history-vase {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ── Homepage two-column layout ───────────────────────────────────── */

.homepage-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "sidebar"
    "prose";
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .homepage-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "prose sidebar";
    align-items: start;
  }
}

.homepage-prose {
  grid-area: prose;
}

.homepage-sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Next Meeting card ─────────────────────────────────────────────── */

.next-meeting-card {
  background: #fdf6ee;
  border: 1px solid var(--primary-400);
  border-top: 4px solid var(--primary-500);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  padding: 1.25rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.next-meeting-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary-600);
}

.next-meeting-card__date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-800);
  line-height: 1.3;
}

.next-meeting-card__details {
  font-size: 0.95rem;
  color: var(--primary-700);
}

.next-meeting-card__location {
  font-size: 0.875rem;
  color: var(--primary-600);
}

.next-meeting-card__demo {
  font-size: 0.875rem;
  color: var(--primary-700);
  font-style: italic;
}

.next-meeting-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-500);
  text-decoration: none;
}

.next-meeting-card__link:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

/* ── Contact page ─────────────────────────────────────────────────── */

.contact-card {
  max-width: 520px;
  border: 1px solid var(--primary-400);
  border-top: 4px solid var(--primary-500);
  border-radius: 8px;
  background: #fdf6ee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary-800);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-600);
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--primary-500);
  text-decoration: underline;
}

.contact-person {
  font-size: 0.9rem;
  color: var(--primary-700);
}

/* ── Homepage hero section ────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  max-height: 700px;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero__content {
  text-align: center;
  color: white;
  max-width: 90%;
}

.hero__title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero__subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin: 0;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  line-height: 1.4;
}

/* Responsive: smaller on smaller screens */
@media (max-height: 800px) {
  .hero {
    height: auto;
    max-height: 700px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    max-height: 500px;
  }

  .hero__title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    max-height: 400px;
  }

  .hero__content {
    max-width: 95%;
  }

  .hero__title {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  .hero__subtitle {
    font-size: clamp(0.75rem, 2vw, 1rem);
  }
}

.site-version {
  font-size: 0.75rem;
  opacity: 0.5;
}
