/* ============================================================
   THE-ARTS.CSS
   Batten University — The Arts section styles

   Covers the Arts landing page: music, theatre, galleries,
   MOCA exhibitions, and arts event listings.

   Contents:
     1.  Lead-in Actions
     2.  Section Title / Text Modifiers
     3.  Music Section
     4.  Arts Events List
     5.  Theatre Section
     6.  Production Spotlight
     7.  Galleries Section
     8.  Gallery Cards
     9.  Exhibition List
    10.  Arts Buttons
    11.  Goode Theatre Split
    12.  Reduced Motion

   NEW TOKENS (add to global.css :root):

   Palette:
     --color-teal-100:   #C2F2FF   very light teal — event meta text
                                   on dark backgrounds
     --color-arts-orange: #CC5803  arts-specific accent — leadin button.
                                   Not a brand color; scoped to arts pages.

   Note: --color-teal-700 (#006494) graduates #00607A (production labels,
   gallery eyebrows, exhibition labels) — close enough at uppercase scale.
============================================================ */


/* ============================================================
   1. LEAD-IN ACTIONS
============================================================ */

.leadin-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .leadin-actions {
    flex-direction: row;
  }
}

.leadin-btn {
  display: inline-block;
  padding: .75rem 2rem;
  font-family: var(--font-kanit);
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Teal outline — on dark backgrounds */
.leadin-btn--teal-border {
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
  border: 3px solid var(--color-teal-500);
}

.leadin-btn--teal-border:hover,
.leadin-btn--teal-border:focus-visible {
  background: var(--color-teal-500);
  box-shadow: 0 0 8px rgba(0, 42, 76, .3);
  color: var(--color-white);
  text-decoration: none;
}

/* Arts orange outline — section-specific accent */
.leadin-btn--orange-border {
  background: transparent;
  color: var(--color-white);
  border: 3px solid var(--color-arts-orange);
}

.leadin-btn--orange-border:hover,
.leadin-btn--orange-border:focus-visible {
  background: var(--color-arts-orange);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 42, 76, .3);
}


/* ============================================================
   2. SECTION TITLE / TEXT MODIFIERS
   Alignment and color overrides for section titles and text.
   Stack on top of base .section-title / .section-text.
============================================================ */

.section-title--left  { text-align: left; }
.section-title--light { color: var(--color-white); }
.section-title--dark  { color: var(--color-navy-800); }

.section-subtitle--arts {
  font-family: var(--font-kanit);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--color-navy-700);
  margin: 0 0 .75rem;
}

.section-subtitle--light { color: var(--color-teal-300); }
.section-subtitle--dark  { color: var(--color-navy-800); }

.section-text--light { color: rgba(255, 255, 255, .85); font-weight: 300; }
.section-text--dark  { color: var(--color-navy-800); }


/* ============================================================
   3. MUSIC SECTION
============================================================ */

.section-music {
  background: var(--color-navy-800);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-music-copy .section-title--left {
  margin-bottom: .35rem;
}

.section-music-btn {
  margin-top: 1.75rem;
  max-width: 280px;
}

.section-music-image-col {
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
}

.section-music-img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  display: block;
}

@media (min-width: 992px) {
  .section-music-image-col {
    margin-top: 0;
  }
}


/* ============================================================
   4. ARTS EVENTS LIST
============================================================ */

.arts-events-heading {
  font-family: var(--font-kanit);
  font-size: clamp(1.15rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 1.75rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--color-teal-500);
  display: inline-block;
}

.arts-events-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
}

.arts-events-list--gallery {
  grid-template-columns: 1fr;
}

/* Event card — dark background context */
.arts-event-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: .7rem;
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border-radius: 2px;
  padding: .65rem .85rem;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid transparent;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.arts-event-card:hover,
.arts-event-card:focus-visible {
  background: rgba(255, 255, 255, .11);
  border-left-color: var(--color-teal-500);
  transform: translateX(3px);
}

.arts-event-card--cancelled {
  opacity: .5;
}

/* Gallery context — light background variant */
.arts-events-list--gallery .arts-event-card {
  background: rgba(0, 42, 76, .05);
}

.arts-events-list--gallery .arts-event-card:hover,
.arts-events-list--gallery .arts-event-card:focus-visible {
  background: rgba(0, 42, 76, .1);
}

.arts-events-list--gallery .arts-event-title { color: var(--color-navy-800); }
.arts-events-list--gallery .arts-event-meta  { color: var(--text-muted-dark); }
.arts-events-list--gallery .arts-event-arrow { color: var(--color-teal-500); opacity: .6; }

/* Date badge */
.arts-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-navy-800);
  color: var(--color-white);
  border-radius: 2px;
  padding: .3rem .4rem;
  text-align: center;
  flex-shrink: 0;
  min-width: 42px;
}

.arts-event-date-month {
  font-size: .57rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1;
}

.arts-event-date-day {
  font-family: var(--font-merriweather);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  margin-top: .1rem;
}

/* Info block */
.arts-event-info {
  min-width: 0;
}

.arts-event-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 .15rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arts-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .5rem;
  font-size: .85rem;
  color: var(--color-teal-100);
  margin: 0;
}

.arts-event-range,
.arts-event-time {
  white-space: nowrap;
}

/* Status flags — not brand colors */
.arts-event-flag {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: .2rem 0 0;
}

.arts-event-flag--cancelled { color: #e57373; }
.arts-event-flag--postponed { color: #ffb74d; }

/* Arrow */
.arts-event-arrow {
  font-size: 1.35rem;
  color: var(--color-teal-300);
  opacity: .4;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease;
}

.arts-event-card:hover .arts-event-arrow,
.arts-event-card:focus-visible .arts-event-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* More link */
.arts-events-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-teal-300);
  text-decoration: none;
  border-bottom: 1px solid var(--color-teal-500);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.arts-events-more:hover,
.arts-events-more:focus-visible {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .5);
}

/* Empty state */
.arts-events-empty {
  background: rgba(255, 255, 255, .05);
  border-radius: 2px;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--color-teal-500);
  margin-top: 1rem;
}

.arts-events-empty p {
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .875rem;
}


/* ============================================================
   5. THEATRE SECTION
============================================================ */

.section-theatre {
  background: var(--color-white);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-theatre .section-title--left {
  margin-bottom: .35rem;
}

.section-theatre-image-col {
  margin-bottom: 2rem;
}

.section-theatre-img {
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .section-theatre-image-col {
    margin-bottom: 0;
  }
}


/* ============================================================
   6. PRODUCTION SPOTLIGHT
============================================================ */

.production-spotlight {
  background: var(--color-blue-tint);
  border: 1px solid var(--color-teal-50);
  border-left: 4px solid var(--color-navy-800);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 .75rem;
}

.production-label {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-teal-700);
  margin: 0 0 .3rem;
}

.production-title {
  font-family: var(--font-merriweather);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy-800);
  margin: 0 0 .15rem;
  line-height: 1.1;
}

.production-sub {
  font-size: .875rem;
  color: var(--text-muted-dark);
  font-style: italic;
  margin: 0 0 .75rem;
}

.production-details-toggle {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-navy-800);
  text-decoration: none;
  border-bottom: 1px solid var(--color-teal-500);
  padding-bottom: 1px;
  transition: color .2s ease;
}

.production-details-toggle:hover,
.production-details-toggle:focus-visible {
  color: var(--color-teal-700);
  border-color: var(--color-teal-700);
}

.production-details {
  padding-top: 1rem;
  margin-top: .75rem;
  border-top: 1px solid var(--color-content-border);
}

.production-dates {
  font-size: .9rem;
  color: var(--text-content);
  margin: 0 0 .3rem;
  font-weight: 600;
}

.production-venue {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-meta);
  margin-bottom: .75rem;
}

.production-description {
  color: var(--text-content);
  font-size: .95rem;
}

.production-description p {
  margin-bottom: .75rem;
}

.production-pricing {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .875rem;
  color: var(--text-muted-mid);
}

.production-pricing span::before {
  content: '› ';
  color: var(--color-teal-500);
  font-weight: 700;
}

/* Off-season placeholder */
.production-offseason {
  background: var(--color-gray-25);
  border-left: 4px solid var(--color-gray);
  border-radius: 2px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 .75rem;
  color: var(--text-subtle);
  font-size: .9rem;
}

.production-offseason p {
  margin: 0;
}


/* ============================================================
   7. GALLERIES SECTION
============================================================ */

.section-galleries {
  background-color: var(--color-gray-25);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-galleries .section-title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.gallery-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .gallery-card--featured .gallery-card-image {
    height: 100%;
  }

  .gallery-card--featured .gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .gallery-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .gallery-grid .gallery-card:first-child .gallery-card-image {
    height: 100%;
  }

  .gallery-grid .gallery-card:first-child .gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* ============================================================
   8. GALLERY CARDS
============================================================ */

.gallery-card {
  background: var(--color-white);
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-card-body {
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Eyebrow label — uppercase teal accent */
.gallery-card-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-teal-700);
  margin-bottom: .35rem;
}

.gallery-card-title {
  font-family: var(--font-kanit);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-navy-800);
  margin: 0 0 .75rem;
}

.gallery-card-body > p {
  color: var(--text-content);
  margin-bottom: 1.25rem;
  line-height: 1.65;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* MOCA top border accent */
.gallery-card--moca {
  border-top: 3px solid var(--color-teal-500);
}


/* ============================================================
   9. EXHIBITION LIST
============================================================ */

.exhibition-list {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exhibition-item {
  border-left: 3px solid var(--color-teal-500);
  padding-left: .85rem;
}

.exhibition-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--color-teal-700);
  margin-bottom: .12rem;
}

.exhibition-title {
  font-family: var(--font-kanit);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy-800);
  margin: 0 0 .5rem;
  line-height: 1.2;
}

.exhibition-meta {
  font-size: .85rem;
  color: var(--text-subtle);
  margin: 0 0 .75rem;
  line-height: 1.4;
}

.exhibition-description {
  font-size: 1.05rem;
  color: var(--text-content);
  margin: 0;
  line-height: 1.4;
}

/* Linked exhibition item */
a.exhibition-item {
  display: block;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

a.exhibition-item:hover,
a.exhibition-item:focus-visible {
  border-left-color: var(--color-teal-700);
  background: rgba(0, 145, 185, .06);
}

a.exhibition-item:hover .exhibition-title,
a.exhibition-item:focus-visible .exhibition-title {
  color: var(--color-teal-700);
  text-decoration: underline;
}


/* ============================================================
   10. ARTS BUTTONS
============================================================ */

/* Base arts button — navy filled */
.btn-arts {
  display: inline-block;
  margin-top: auto;
  padding: .65rem 1.4rem;
  background: var(--color-navy-800);
  color: var(--color-white);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid var(--color-navy-800);
  align-self: flex-start;

  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn-arts:hover,
.btn-arts:focus-visible {
  background: var(--color-teal-600);
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 0 6px rgba(0, 42, 76, .4);
  border-color: var(--color-teal-700);
}

/* Teal variant */
.btn-arts--teal {
  background: var(--color-teal-500);
  border-color: var(--color-teal-500);
}

.btn-arts--teal:hover,
.btn-arts--teal:focus-visible {
  background: transparent;
  color: var(--color-teal-500);
  text-decoration: none;
  box-shadow: 0 0 6px rgba(0, 145, 185, .4);
}


/* ============================================================
   11. GOODE THEATRE SPLIT
============================================================ */

.section-goode .section-split-content {
  background: var(--color-white);
}

.section-goode .section-title--left {
  margin-bottom: .5rem;
}


/* ============================================================
   12. REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {
  .arts-event-card,
  .arts-event-arrow,
  .btn-arts,
  .leadin-btn,
  a.exhibition-item {
    transition: none !important;
    transform: none !important;
  }
}