/* ==========================================================
   ilc.css — generado automáticamente concatenando los
   módulos importados por resources/themes/ilc/assets/css/app.css
   No editar directamente: editar los módulos y regenerar
   (python3 tools/build_theme_css.py ilc).
   ========================================================== */

/* ---- variables.css ---- */
:root {
  /* Corporativos primarios */
  --green:        #217963;
  --green-dark:   #154D3F;
  --magenta:      #B40170;
  --magenta-dark: #8C0058;

  /* Fondos y neutros */
  --cream:        #F4F1E8;
  --cream-dark:   #EAE6D6;
  --white:        #FDFDFB;
  --border:       #DDD9CC;

  /* Texto */
  --text:         #1A1A1A;
  --text-mid:     #444444;
  --text-light:   #777777;

  /* Tipografía */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans:  'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- base.css ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background-color: var(--cream);
}

.section-green {
  padding: 5rem 0;
  background-color: var(--green);
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* Utilidad global: oculta elementos hasta que Alpine.js inicializa
   (evita el parpadeo de contenido con x-show/x-if antes de hidratar). */
[x-cloak] { display: none !important; }

/* ---- components/topbar.css ---- */
.topbar {
  background-color: var(--green-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.topbar-right {
  display: flex;
  gap: 2rem;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.topbar a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

@media (max-width: 900px) {
  .topbar-right {
    gap: 1rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 560px) {
  .topbar-right {
    gap: 0.5rem;
    flex-direction: column;
    font-size: 0.65rem;
  }
}

/* ---- components/header.css ---- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.site-header-logo {
  flex-shrink: 0;
}

.site-header-logo img {
  height: 60px;
  width: auto;
}

.site-header-tagline {
  flex-shrink: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  line-height: 1.5;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 400px;
}

.search-form input {
  flex: 1;
  background-color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--sans);
  transition: border-color 0.2s;
}

.search-form input:focus {
  outline: none;
  border-color: var(--green);
}

.search-form input::placeholder {
  color: var(--text-light);
}

.search-form button {
  background-color: var(--green);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--sans);
}

.search-form button:hover {
  background-color: var(--green-dark);
}

@media (max-width: 900px) {
  .site-header .container {
    gap: 1.5rem;
  }

  .search-form {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .site-header-logo img {
    height: 50px;
  }

  .site-header-tagline {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 1rem;
    width: 100%;
  }

  .search-form {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header-tagline {
    display: none;
  }
}

/* ---- components/nav.css ---- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--green);
  box-shadow: 0 2px 10px rgba(33, 121, 99, 0.25);
}

.main-nav .container {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s, border-bottom-color 0.2s;
  border-bottom: 3px solid transparent;
  text-align: center;
}

.main-nav a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.main-nav li.is-active > a {
  color: #fff;
  border-bottom-color: var(--magenta);
}

/* Dropdown */
.main-nav details {
  position: relative;
  flex: 1;
}

.main-nav summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s;
  text-align: center;
  list-style: none;
}

.main-nav summary::-webkit-details-marker,
.main-nav summary::marker {
  display: none;
  content: '';
}

.main-nav .nav-caret {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s;
}

.main-nav details[open] > summary .nav-caret {
  transform: rotate(180deg);
}

.main-nav summary:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.main-nav details[open] > summary {
  color: #fff;
  border-bottom-color: #fff;
}

.main-nav details[open] > ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 3px solid var(--magenta);
  box-shadow: 0 4px 12px rgba(33, 121, 99, 0.2);
  min-width: 260px;
  z-index: 101;
}

.main-nav details[open] > ul li {
  flex: none;
}

.main-nav details[open] > ul a {
  padding: 0.8rem 1rem;
  text-align: left;
  color: var(--text);
  border-bottom: none;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav details[open] > ul a:hover {
  background-color: var(--cream);
  color: var(--magenta-dark);
  border-bottom: none;
}

@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li {
    flex: none;
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    text-align: left;
  }

  .main-nav summary {
    padding: 1rem 1.5rem;
    text-align: left;
    justify-content: space-between;
  }

  .main-nav details[open] > ul {
    position: static;
    background-color: var(--green-dark);
    border-top: none;
    border-left: 3px solid var(--magenta);
    box-shadow: none;
    min-width: 100%;
  }

  .main-nav details[open] > ul a {
    padding: 0.8rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: none;
  }

  .main-nav details[open] > ul a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
}

/* ---- components/hero.css ---- */
.hero {
  height: clamp(460px, 65vh, 640px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero--inner {
  /* min-height, no height fija: un titular largo (p. ej. una noticia)
     necesita más de una línea y con altura fija quedaba recortado por
     el overflow:hidden de .hero, tapado detrás del menú. Con min-height
     el bloque crece para dar cabida al texto y la imagen de fondo (que
     cubre el 100% del alto de .hero) crece con él. */
  min-height: clamp(280px, 40vh, 380px);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(33, 121, 99, 0.05), rgba(33, 121, 99, 0.35), rgba(33, 121, 99, 0.88));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem 2rem;
  max-width: 900px;
}

.hero-label {
  display: inline-block;
  background-color: var(--magenta);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35em 0.85em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  margin: 0;
  max-width: 820px;
}

/* Titular de página interior (noticia, evento, área…): más contenido que
   el titular de portada, así que un tamaño algo menor lee mejor cuando
   es largo, sin perder el aire editorial del tema. */
.hero--inner .hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.22;
}

.hero-title em {
  font-style: italic;
  color: var(--cream);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ---- components/sections.css ---- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head .section-index {
  font-size: 0.62em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--magenta);
  vertical-align: super;
  margin-right: 0.6rem;
}

.section-head a {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}

.section-head a:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* Sección verde */
.section-green .section-head {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.section-green .section-head h2 {
  color: #fff;
}

.section-green .section-head .section-index {
  color: rgba(255, 255, 255, 0.55);
}

.section-green .section-head a {
  color: #fff;
  border-bottom-color: #fff;
}

.section-green .section-head a:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* Grid de secciones */
.section-grid {
  display: grid;
  gap: 1.5rem;
}

.section-grid.grid-areas {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.section-grid.grid-venues {
  grid-template-columns: 1.65fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-grid.grid-publications {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.section-grid.grid-news {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.section-grid.grid-events {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.section-grid.grid-team {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}

.section-grid.grid-resources {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.section-grid.grid-announcements {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .section-grid.grid-venues {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .section-grid.grid-news {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-grid.grid-events {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .section-grid.grid-areas {
    grid-template-columns: 1fr;
  }

  .section-grid.grid-news {
    grid-template-columns: 1fr;
  }

  .section-grid.grid-events {
    grid-template-columns: 1fr;
  }

  .section-grid.grid-announcements {
    grid-template-columns: 1fr;
  }
}

/* ---- components/editorial.css ---- */
.drop-cap {
  float: left;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--magenta);
  line-height: 0.82;
  padding-right: 0.6rem;
  margin-top: 0.2rem;
}

.intro-lead {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.text-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}

.text-link:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

.cta-inline {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 0.2rem;
  transition: color 0.2s;
  display: inline-block;
}

.cta-inline:hover {
  color: var(--magenta);
}

/* Exposición destacada */
.expo-destacada {
  background-color: var(--green-dark);
  padding: 4rem 0;
}

.expo-destacada .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.expo-image {
  position: relative;
  overflow: hidden;
}

.expo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.5s;
}

.expo-image:hover img {
  transform: scale(1.04);
}

.expo-tag {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background-color: var(--magenta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4em 0.8em;
  z-index: 10;
}

.expo-content {
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expo-eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.expo-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.expo-title em {
  font-style: italic;
  color: var(--cream);
}

.expo-text {
  font-family: var(--sans);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .expo-destacada .container {
    grid-template-columns: 1fr;
  }

  .expo-content {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .expo-tag {
    top: 1rem;
    left: 1rem;
  }

  .expo-content {
    padding: 2rem 1.5rem;
  }
}

/* ---- components/buttons.css ---- */
.btn {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.95rem 1.8rem;
  border-radius: 0;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background-color: var(--magenta);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--magenta-dark);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  border-color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--magenta);
  border-color: var(--magenta);
}

.btn-outline:hover {
  background-color: var(--magenta);
  color: #fff;
}

@media (max-width: 480px) {
  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.78rem;
  }
}

/* Paginación (partials/pagination.blade.php) */
.pagination-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li {
  display: flex;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pagination a:hover {
  border-color: var(--green);
  color: var(--green);
}

.pagination .pagination-current a,
.pagination .pagination-current span {
  background-color: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.pagination .pagination-dots span {
  border: none;
  color: var(--text-light);
}

.pagination .pagination-disabled span {
  border-color: var(--border);
  color: var(--text-light);
  opacity: 0.5;
  cursor: default;
}

@media (max-width: 480px) {
  .pagination a,
  .pagination span {
    min-width: 2.1rem;
    height: 2.1rem;
    font-size: 0.78rem;
  }
}

/* ---- components/cards.css ---- */
/* Card base */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33, 121, 99, 0.13);
}

/* Area card */
.area-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.area-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.area-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.area-card:hover .area-card-image img {
  transform: scale(1.05);
}

.area-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.area-card-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--magenta);
  margin-bottom: 0.8rem;
}

.area-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.3;
  margin: 0;
}

/* Event card */
.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 1.5rem;
}

.event-card-date {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.event-card-day {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--magenta);
  line-height: 1;
}

.event-card-month {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  padding-top: 0.3rem;
}

.event-card-type {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8rem;
}

.event-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.3;
  margin: 0;
}

/* News card */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 1.5rem;
  border-top-color: var(--magenta);
}

.news-card-category {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8rem;
}

.news-card-title {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 0.8rem 0;
  transition: color 0.2s;
}

.news-card:hover .news-card-title {
  color: var(--magenta);
}

.news-card-date {
  font-family: var(--sans);
  font-size: 0.69rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* Publication card */
.publication-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 77, 63, 0.8), rgba(180, 1, 112, 0.6));
  position: relative;
}

.publication-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0.9;
}

.publication-card-content {
  padding: 2rem 1.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.95), transparent);
  color: #fff;
}

.publication-card-type {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8rem;
}

.publication-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
}

/* Announcement card */
.announcement-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 1.5rem;
  border-top-color: var(--magenta);
}

.announcement-card-status {
  align-self: flex-start;
  background-color: var(--text-light);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3em 0.7em;
  margin-bottom: 0.9rem;
}

.announcement-card-status--open {
  background-color: var(--magenta);
}

.announcement-card-dept {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.announcement-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 0.9rem 0;
  flex: 1;
}

.announcement-card-title a {
  transition: color 0.2s;
}

.announcement-card:hover .announcement-card-title a {
  color: var(--magenta);
}

.announcement-card-deadline {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-light);
  margin: 0;
}

/* Team card */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.team-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card-name {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.4rem 0;
}

.team-card-role {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin: 0;
}

.team-card-email {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 700px) {
  .event-card-day {
    font-size: 1.5rem;
  }

  .news-card-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .area-card-image {
    height: 150px;
  }

  .publication-card-image {
    height: 180px;
  }

  .team-card-avatar {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* ---- components/stats.css ---- */
.stats-strip {
  background-color: var(--green);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.8rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

/* ---- components/footer.css ---- */
.site-footer {
  background-color: var(--green-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 1.5rem;
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-contact {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact strong {
  color: #fff;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
}

.footer-link {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.8rem;
  transition: color 0.2s;
  display: block;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .site-footer {
    padding: 2rem 1rem;
  }
}

/* ---- ../../../../css/modules/venues.css ---- */
/* =========================================================
   Venues Module — ILC Platform
   ========================================================= */

/* ----------------------------------------------------------
   Grid de tarjetas de sedes (listado /sedes)
   ---------------------------------------------------------- */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ----------------------------------------------------------
   Tarjeta de sede
   ---------------------------------------------------------- */
.venue-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-card--main {
  border-top-color: var(--magenta);
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33, 121, 99, 0.13);
}

.venue-card__image-link {
  display: block;
  overflow: hidden;
}

.venue-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.venue-card__image--placeholder {
  background: var(--cream-dark);
}

.venue-card:hover .venue-card__image {
  transform: scale(1.05);
}

.venue-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.venue-card__badge {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--magenta);
  margin-bottom: 0.5rem;
  display: block;
}

.venue-card__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.venue-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.venue-card__title a:hover {
  color: var(--green);
}

.venue-card__summary {
  font-family: var(--sans);
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0 0 0.75rem;
  flex: 1;
}

.venue-card__address {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.venue-card__cta {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: color 0.2s;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.venue-card__cta:hover {
  color: var(--magenta-dark);
}

/* ----------------------------------------------------------
   Hero de la sede (página de detalle)
   ---------------------------------------------------------- */
.venue-hero {
  position: relative;
  min-height: clamp(300px, 45vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.venue-hero__image-wrap {
  position: absolute;
  inset: 0;
}

.venue-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.8);
}

.venue-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(33, 121, 99, 0.05) 0%,
    rgba(33, 121, 99, 0.35) 50%,
    rgba(21, 77, 63, 0.88) 100%
  );
}

.venue-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
}

.venue-hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.12;
  margin: 0.5rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.venue-hero__badge {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--magenta);
  color: #fff;
  padding: 0.3em 0.85em;
}

.breadcrumb--light a,
.breadcrumb--light span {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb--light a:hover {
  color: #fff;
}

/* ----------------------------------------------------------
   Layout de dos columnas: cuerpo + info-card
   ---------------------------------------------------------- */
.venue-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.venue-body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
}

.venue-body h2,
.venue-body h3 {
  font-family: var(--serif);
  color: var(--green-dark);
  margin-top: 2rem;
}

/* ----------------------------------------------------------
   Galería de fotos (3 columnas dentro del cuerpo)
   ---------------------------------------------------------- */
.venue-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.venue-gallery__item {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.venue-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.venue-gallery__item:hover img {
  transform: scale(1.05);
}

/* ----------------------------------------------------------
   Info-card (lateral derecho, sticky en desktop)
   ---------------------------------------------------------- */
.venue-info-card {
  position: sticky;
  top: 80px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.venue-info-card__section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.venue-info-card__section:last-of-type {
  border-bottom: none;
}

.venue-info-card__section-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.venue-info-card__schedule {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.venue-info-card__item {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  line-height: 1.4;
}

.venue-info-card__item a {
  color: var(--green);
  text-decoration: none;
}

.venue-info-card__item a:hover {
  color: var(--magenta);
  text-decoration: underline;
}

.venue-info-card__download {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

.venue-info-card__download:hover {
  color: var(--magenta);
}

.venue-info-card__map {
  border-top: 1px solid var(--border);
}

.venue-info-card__map iframe {
  display: block;
}

.venue-info-card__external {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.85rem;
  background: var(--cream);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  transition: background 0.2s;
}

.venue-info-card__external:hover {
  background: var(--cream-dark);
}

/* ----------------------------------------------------------
   Partial de portada: home-venues
   ---------------------------------------------------------- */
.home-venues {
  padding: 4rem 0;
}

.home-venues__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-venues__image-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.home-venues__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-venues__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
}

.home-venues__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
}

.home-venues__all-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
  text-decoration: none;
}

.home-venues__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.home-venues__list-item a {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.home-venues__list-item a:hover {
  color: var(--magenta);
}

.home-venues__list-item a span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--magenta);
  opacity: 0;
  transition: opacity 0.2s;
}

.home-venues__list-item a:hover span {
  opacity: 1;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .venue-layout {
    grid-template-columns: 1fr;
  }

  .venue-info-card {
    position: static;
    max-height: none;
  }

  .home-venues__inner {
    grid-template-columns: 1fr;
  }

  .home-venues__image-wrap {
    display: none;
  }
}

@media (max-width: 600px) {
  .venues-grid {
    grid-template-columns: 1fr;
  }

  .venue-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-hero {
    min-height: 280px;
  }
}

@media (max-width: 400px) {
  .venue-gallery {
    grid-template-columns: 1fr;
  }
}

/* ---- ../../../../css/modules/announcements.css ---- */
/* Announcements Module — ILC Platform */

/* ===========================================================
   FILTERS BAR
   =========================================================== */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.filters-bar__group {
  flex: 1 1 auto;
  min-width: 200px;
}

.filters-bar__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filters-bar__tabs {
  display: flex;
  gap: 0.5rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.filter-tab--active {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.875rem;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(180, 1, 112, 0.1);
}

.filters-bar__search {
  flex: 1 1 auto;
  min-width: 250px;
}

.search-input-wrap {
  position: relative;
  display: flex;
}

.filter-input {
  flex: 1;
  border-right: none;
}

.btn-search {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-left: none;
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search:hover {
  background: var(--cream);
  color: var(--magenta);
}

/* ===========================================================
   ANNOUNCEMENTS GRID
   =========================================================== */
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* ===========================================================
   ANNOUNCEMENT CARD
   =========================================================== */
.announcement-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-top: 3px solid var(--magenta);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s ease;
}

.announcement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(180, 1, 112, 0.1);
}

.announcement-card--closed {
  opacity: 0.8;
  border-top-color: var(--border);
}

.announcement-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.announcement-card__area {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-card__status--open {
  color: var(--green);
}

.announcement-card__status--closed {
  color: var(--text-light);
}

.announcement-card__status--draft {
  color: var(--text-light);
  display: none;
}

.announcement-card__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.announcement-card__title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.announcement-card__title a:hover {
  color: var(--magenta);
}

.announcement-card__summary {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex: 1;
}

.announcement-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.announcement-card__deadline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-mid);
}

.announcement-card__deadline--expired {
  color: var(--danger);
  text-decoration: line-through;
}

.announcement-card__ref {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--magenta);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 0.5rem;
}

.announcement-card__cta:hover {
  color: var(--magenta-dark);
}

/* ===========================================================
   PAGE HERO
   =========================================================== */
.page-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
}

.page-hero__title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.2;
}

.page-hero__desc {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 60ch;
}

/* ===========================================================
   BREADCRUMB
   =========================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: currentColor;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

/* ===========================================================
   RESULTS & EMPTY STATE
   =========================================================== */
.results-count {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ===========================================================
   PAGINATION
   =========================================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ===========================================================
   SECTION VARIANTS
   =========================================================== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--cream);
}

/* ===========================================================
   HOME ANNOUNCEMENTS
   =========================================================== */
.home-announcements {
  padding: 4rem 0;
}

.home-announcements__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-announcements__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.home-announcements__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--magenta);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.home-announcements__link:hover {
  color: var(--magenta-dark);
}

/* ===========================================================
   ANNOUNCEMENT DETAIL
   =========================================================== */
.announcement-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin: 2rem 0;
}

.announcement-detail__content {
  min-width: 0;
}

.announcement-detail__meta {
  order: 2;
}

.meta-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--cream);
}

.meta-card__title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.meta-item {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.meta-item--full {
  margin-bottom: 1.5rem;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 500;
}

.meta-value--open {
  color: var(--green);
  font-weight: 600;
}

.meta-value--closed {
  color: var(--danger);
  font-weight: 600;
}

.meta-value--expired {
  color: var(--danger);
}

.announcement-detail__summary {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-weight: 500;
  padding: 1.5rem;
  border-left: 4px solid var(--magenta);
  background: var(--cream);
}

.announcement-detail__section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.announcement-detail__subtitle {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: var(--text);
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  background: var(--white);
  transition: all 0.2s ease;
}

.file-item:hover {
  background: var(--cream);
  border-color: var(--magenta);
}

.file-link {
  color: var(--magenta);
  text-decoration: none;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-link:hover {
  color: var(--magenta-dark);
}

.file-size {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-left: auto;
  flex-shrink: 0;
}

.announcement-detail__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.prose {
  line-height: 1.8;
  color: var(--text);
  margin: 1.5rem 0;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--text);
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--text);
}

.prose ul,
.prose ol {
  margin: 1rem 0 1rem 2rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--magenta);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--magenta-dark);
}

.prose blockquote {
  border-left: 4px solid var(--magenta);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-mid);
  font-style: italic;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 768px) {
  .filters-bar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .filters-bar__group {
    min-width: auto;
  }

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

  .announcement-detail {
    grid-template-columns: 1fr;
  }

  .announcement-detail__meta {
    order: 0;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .home-announcements__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- ../../../../css/modules/store.css ---- */
/* ================================================================
   TIENDA OFICIAL (Entregable 7)
   ================================================================ */

.store-intro {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 2rem;
}

/* Filtros por categoría / temática */
.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.store-filter-pill {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.store-filter-pill:hover { border-color: var(--green); color: var(--green); }

.store-filter-pill.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Tarjeta de publicación */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33, 121, 99, 0.13);
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #154D3F 0%, #217963 100%);
  overflow: hidden;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 1;
}

.product-badge {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  color: #fff;
}

.product-badge--new { background: var(--magenta); }
.product-badge--outofstock { background: rgba(26, 26, 26, 0.72); }

.product-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card-category {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
}

.product-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.35;
}

.product-card-author {
  font-size: 0.82rem;
  color: var(--text-light);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem 1.2rem;
}

.product-card-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.btn-add-cart {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-add-cart:hover { background: var(--green-dark, var(--green)); }

/* Ficha de producto */
.product-detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 780px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

.product-detail-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.product-detail-meta strong { color: var(--text-mid); }

.product-detail-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  margin: 1.2rem 0;
}

/* Carrito flotante */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--green);
  margin-left: 1rem;
}

.cart-link-count {
  position: absolute;
  top: -0.5rem;
  right: -0.6rem;
  background: var(--magenta);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.28em 0.42em;
  border-radius: 999px;
  min-width: 1.4em;
  text-align: center;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 400;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: var(--white);
  z-index: 401;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--green);
}

.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1.4rem;
  line-height: 1;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.cart-item-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.3;
}

.cart-item-author {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.cart-item-controls input {
  width: 3rem;
  text-align: center;
  border: 1px solid var(--border);
  padding: 0.2rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--magenta);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
}

.cart-drawer-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.cart-empty {
  color: var(--text-light);
  text-align: center;
  padding: 2rem 0;
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-field { margin-bottom: 1.3rem; }

.checkout-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text);
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--green);
}

.checkout-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-summary {
  background: var(--cream);
  padding: 1.6rem;
}

.order-summary h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.store-error {
  background: #FDEDED;
  border-left: 3px solid var(--magenta);
  color: var(--magenta-dark, var(--magenta));
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.confirmation-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.confirmation-box .order-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin: 1rem 0;
}

/* ---- ../../../../css/themes/museo.css ---- */
/*
 * Tema alternativo: Museo de los Pueblos Leoneses
 * ------------------------------------------------
 * ATENCIÓN: Los colores marcados como PLACEHOLDER son provisionales.
 * El cliente no ha entregado la identidad gráfica del museo aún.
 * Actualizar cuando se reciba el brand book.
 *
 * Para activar: <html data-theme="museo"> en el layout.
 */

:root[data-theme="museo"] {
  /* PLACEHOLDER — tono tierra/ocre sugerido para museo etnográfico */
  --green:       #6B4226;   /* marrón tierra */
  --green-dark:  #3E2010;   /* marrón oscuro */
  --magenta:     #C47A1E;   /* ocre/ámbar acento */
  --magenta-dark:#9A5C10;   /* ocre oscuro hover */
  --cream:       #F5EFE0;   /* crema ligeramente más cálida */
  --cream-dark:  #EAE0CC;
}
