:root {
  --blue: #1a789e;
  --orange: #e2831e;
  --purple: #761354;
  --red: #a21e00;
  --teal: #139da3;
  --cream: #f7f3ec;
  --light: #f5f5f5;
  --text: #17333d;
  --font-title: 'Cabinet Grotesk', 'Anton SC', 'Arial Black', system-ui, sans-serif;
  --font-body: 'General Sans', 'Inter', system-ui, sans-serif;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text, #17333d);
  font-family: var(--font-body), sans-serif;
  overflow-x: hidden;
}

/* Subpage Hero Styles */
.hero {
  min-height: 400px;
  background: #1a789e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.18), transparent 26%),
              radial-gradient(circle at 80% 70%, rgba(226,131,30,.28), transparent 30%);
  opacity: .8;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  opacity: 0.05;
  z-index: 2;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(38px, 6vw, 60px);
  line-height: .85;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.03em;
}

.content-section {
  padding: 80px 24px;
  background: radial-gradient(circle at 50% 30%, #ffffff, #eff6f7 85%);
  min-height: 50vh;
  position: relative;
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/textura%20fondo.png') center/cover;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

.content-section > * {
  position: relative;
  z-index: 2;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 120, 158, 0.1);
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: 0 10px 40px rgba(26, 120, 158, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-divider {
  border: 0;
  border-top: 1px solid rgba(26, 120, 158, 0.15);
  margin: 60px 0;
}

/* Componente Educativo Styles */
.educational-component {
  margin-bottom: 20px;
}

.component-header h2 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--blue);
  margin: 0 0 40px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.component-header h2 .subtitle {
  display: block;
  font-size: 0.7em;
  color: var(--blue);
  opacity: 0.9;
  margin-top: 5px;
}

.component-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  align-items: stretch;
}

/* Director Card Styles */
.director-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(26, 120, 158, 0.08);
  box-shadow: 0 8px 30px rgba(26, 120, 158, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.director-photo-wrapper {
  max-width: 220px;
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4;
}

.director-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-info .dir-by {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0.8;
  margin-bottom: 6px;
}

.director-info h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--blue);
  margin: 0 0 8px;
  font-weight: 700;
}

.director-info p {
  font-size: 15px;
  color: var(--blue);
  margin: 0;
  font-weight: 500;
}

/* Forum Table Styles */
.forum-table-wrapper {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(26, 120, 158, 0.08);
  box-shadow: 0 8px 30px rgba(26, 120, 158, 0.03);
  overflow-x: auto;
}

.forum-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.forum-table th {
  background: rgba(26, 120, 158, 0.05);
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 18px 24px;
  border-bottom: 2px solid rgba(26, 120, 158, 0.08);
  letter-spacing: 0.05em;
}

.forum-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(26, 120, 158, 0.05);
  font-size: 15px;
  color: var(--blue);
  vertical-align: middle;
}

.forum-table tbody tr:last-child td {
  border-bottom: none;
}

.forum-table tbody tr:hover {
  background: rgba(26, 120, 158, 0.02);
}

.forum-table td strong {
  color: var(--blue);
}

.forum-table td.play-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}

/* Forum Table Row Colors matching Theater */
.forum-table tbody tr.row-wcac td,
.forum-table tbody tr.row-wcac td strong,
.forum-table tbody tr.row-wcac td.play-name,
.forum-table tbody tr:has(.venue-tag.wcac) td,
.forum-table tbody tr:has(.venue-tag.wcac) td strong,
.forum-table tbody tr:has(.venue-tag.wcac) td.play-name {
  color: var(--purple, #761354);
}

.forum-table tbody tr.row-carnival td,
.forum-table tbody tr.row-carnival td strong,
.forum-table tbody tr.row-carnival td.play-name,
.forum-table tbody tr.row-arsht td,
.forum-table tbody tr.row-arsht td strong,
.forum-table tbody tr.row-arsht td.play-name,
.forum-table tbody tr:has(.venue-tag.carnival) td,
.forum-table tbody tr:has(.venue-tag.carnival) td strong,
.forum-table tbody tr:has(.venue-tag.carnival) td.play-name {
  color: var(--red, #a21e00);
}

.forum-table tbody tr.row-koubek td,
.forum-table tbody tr.row-koubek td strong,
.forum-table tbody tr.row-koubek td.play-name,
.forum-table tbody tr:has(.venue-tag.koubek) td,
.forum-table tbody tr:has(.venue-tag.koubek) td strong,
.forum-table tbody tr:has(.venue-tag.koubek) td.play-name {
  color: var(--orange, #e2831e);
}

/* Venue Tags */
.venue-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-align: center;
  min-width: 80px;
}

.venue-tag.wcac {
  background: var(--purple, #761354);
}

.venue-tag.koubek {
  background: var(--orange, #e2831e);
}

.venue-tag.carnival {
  background: var(--red, #a21e00);
}

/* Award Section Styles */
.award-section {
  max-width: 900px;
  margin: 0 auto;
}

.award-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.award-photo-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
}

.award-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-info h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--blue);
  line-height: 1.15;
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-align: left;
}

.awardee-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.awardee-name {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.awardee-country {
  font-size: 18px;
  color: #7a8d94;
  font-weight: 600;
}

.award-bio {
  width: 100%;
}

.award-bio p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--blue);
  margin-bottom: 24px;
  text-align: justify;
}

.award-bio p strong {
  color: var(--blue);
}

@media (max-width: 1024px) {
  .component-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .director-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 30px 18px;
  }
  .component-header h2 {
    font-size: clamp(24px, 6vw, 34px);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 25px;
  }
  .component-header h2 .subtitle {
    font-size: 0.75em;
    margin-top: 6px;
  }
  .award-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 20px;
  }
  .award-photo-wrapper {
    max-width: 200px;
    margin: 0;
  }
  .award-info h2 {
    font-size: clamp(20px, 5.5vw, 28px);
    line-height: 1.25;
    text-align: left;
    margin-bottom: 12px;
  }
  .awardee-meta {
    justify-content: flex-start;
  }

  /* Responsive Forum Table as Cards */
  .forum-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .forum-table, 
  .forum-table tbody, 
  .forum-table tr, 
  .forum-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .forum-table thead {
    display: none;
  }

  .forum-table tbody tr {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(26, 120, 158, 0.12);
    box-shadow: 0 4px 18px rgba(26, 120, 158, 0.05);
    margin-bottom: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "play venue"
      "date venue"
      "mod mod";
    gap: 6px 12px;
    align-items: center;
  }

  .forum-table tbody tr td {
    padding: 0 !important;
    border: none !important;
  }

  .forum-table tbody tr td:nth-child(1) {
    grid-area: date;
    font-size: 14px;
  }

  .forum-table tbody tr td.play-name {
    grid-area: play;
    font-size: 17px;
    font-weight: 700;
  }

  .forum-table tbody tr td:nth-child(3) {
    grid-area: venue;
    text-align: right;
  }

  .forum-table tbody tr td:nth-child(4) {
    grid-area: mod;
    font-size: 14px;
    padding-top: 8px !important;
    margin-top: 4px;
    border-top: 1px dashed rgba(26, 120, 158, 0.15) !important;
    display: block;
  }

  .forum-table tbody tr td:nth-child(4)::before {
    content: "Moderador: ";
    font-weight: 600;
    opacity: 0.85;
  }

  html[lang="en"] .forum-table tbody tr td:nth-child(4)::before {
    content: "Moderator: ";
  }
}

/* Adjust hero height on mobile to match teatros.html */
@media (max-width: 900px) {
  .hero {
    min-height: 260px !important;
    padding: 70px 18px !important;
  }
}
