/*
Theme Name: Camarzius Landing
Author: Local
Description: Landing local para CΛMΛRZIUS Fest 2026.
Version: 1.1.25
*/

@font-face {
  font-display: swap;
  font-family: "Fjord One";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/fjord-one.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  src: url("assets/fonts/poppins-800.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 900;
  src: url("assets/fonts/poppins-900.woff2") format("woff2");
}

:root {
  --red: #970a2c;
  --red-dark: #6e0a21;
  --black: #141211;
  --ink: #24201e;
  --muted: #6f6964;
  --paper: #f4f4f7;
  --white: #ffffff;
  --gold: #cda55f;
  --line: rgba(151, 10, 44, 0.2);
  --max: 1160px;
  --display-font: "Fjord One", Georgia, "Times New Roman", serif;
  --body-font: Poppins, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(20, 18, 17, 0.64);
  backdrop-filter: blur(10px);
}

.site-disclaimer {
  background: var(--red-dark);
  color: #fff;
}

.site-disclaimer p {
  font-size: 13px;
  line-height: 1.3;
  margin: 0 auto;
  max-width: var(--max);
  padding: 7px 22px;
  text-align: center;
}

@media (max-width: 560px) {
  .site-disclaimer p {
    font-size: 12px;
    padding: 6px 16px;
  }
}

.nav {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 12px 22px;
}

.brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.menu {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
}

.menu .cta-link {
  background: var(--red);
  border-radius: 5px;
  color: var(--white);
  font-weight: 700;
  padding: 10px 14px;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  background-image: url("assets/bg-header-2.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  min-height: 700px;
  overflow: visible;
  padding: 132px 22px 0;
  position: relative;
  z-index: 2;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 568px;
}

.hero-grid > div:first-child {
  padding-bottom: 98px;
}

.hero-logo {
  max-width: 432px;
  width: 100%;
}

.hero-desc {
  margin-top: 34px;
  max-width: 432px;
  width: 100%;
}

.hero-person {
  align-self: end;
  justify-self: end;
  margin-bottom: -1px;
  margin-right: 34px;
  max-height: 910px;
  object-fit: contain;
  position: relative;
  width: min(64vw, 910px);
  z-index: 3;
}

.hero + .section.dark {
  padding-top: 86px;
}

.section {
  padding: 86px 22px;
}

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section.white {
  background: var(--white);
}

.section.red {
  background: var(--red-dark);
  color: var(--white);
}

.container {
  margin: 0 auto;
  max-width: var(--max);
}

.narrow {
  max-width: 820px;
}

.split {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
}

.eyebrow {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

h2 {
  font-size: clamp(34px, 4.7vw, 58px);
}

h3 {
  font-size: clamp(31px, 3.7vw, 50px);
}

h4 {
  font-size: 22px;
}

.lead {
  font-size: 18px;
  margin: 20px 0 0;
}

.rule {
  background: var(--gold);
  height: 3px;
  margin: 24px 0;
  width: 140px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.store-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.store-badge {
  align-items: center;
  display: inline-flex;
  height: 52px;
  line-height: 0;
  text-decoration: none;
}

.store-badge img {
  height: 100%;
  object-fit: contain;
  width: auto;
}

.store-badge.google-play img {
  height: 68px;
}

.store-badge.google-play {
  height: 68px;
}

.button {
  align-items: center;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 5px;
  color: var(--white);
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 1px;
  line-height: 1;
  min-height: 46px;
  padding: 15px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--red);
}

.button svg {
  height: 18px;
  width: 18px;
}

.dark .button.secondary,
.red .button.secondary {
  color: var(--white);
}

.cards {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
}

.feature img {
  margin-bottom: 22px;
  width: 100%;
}

.feature .mini-rule {
  background: var(--gold);
  height: 2px;
  margin: 18px 0;
  width: 72px;
}

.feature h6 {
  color: var(--red-dark);
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.quote {
  background:
    linear-gradient(rgba(20, 18, 17, 0.78), rgba(20, 18, 17, 0.78)),
    url("assets/gumersindo-patrimonio.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 105px 22px;
  text-align: center;
}

.quote p {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 auto;
  max-width: 980px;
}

.quote span {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
}

.origin-img {
  border: 0;
  box-shadow: none;
}

.spotify {
  border: 0;
  border-radius: 12px;
  height: 352px;
  margin-top: 34px;
  width: 100%;
}

.services {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.service {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.service-icon {
  color: var(--red);
  height: 38px;
  line-height: 1;
  margin-bottom: 12px;
}

.service-icon svg,
.contact-list svg {
  display: block;
  flex: 0 0 auto;
}

.sponsor {
  text-align: center;
}

.sponsors {
  background: #f7f4f1;
}

.sponsor-intro {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.sponsor-intro .lead {
  margin: 0;
}

.sponsor-tier {
  margin-top: 48px;
}

.sponsor-tier-title {
  align-items: center;
  color: var(--red-dark);
  display: flex;
  font-size: 28px;
  gap: 18px;
  margin-bottom: 18px;
}

.sponsor-tier-title::after {
  background: var(--line);
  content: "";
  flex: 1;
  height: 1px;
}

.sponsor-grid {
  display: grid;
  gap: 16px;
}

.sponsor-tier-oro .sponsor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sponsor-tier-plata .sponsor-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sponsor-tier-bronce .sponsor-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sponsor-tier-institucional .sponsor-grid {
  grid-template-columns: repeat(6, minmax(0, 360px));
}

.sponsor-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
  padding: 22px;
  text-align: center;
}

.sponsor-card img {
  max-height: 72px;
  object-fit: contain;
  width: min(100%, 220px);
  /* Todos los logos a un gris oscuro uniforme (#222), sin sus colores:
     brightness(0) -> negro; invert(13.33%) -> #222222. */
  filter: brightness(0) invert(13.33%);
}

/* Bar Madrid: sin el tinte (en gris no se lee bien). */
.sponsor-card img[src*="bar-madrid"] {
  filter: none;
}

.sponsor-tier-oro .sponsor-card {
  min-height: 154px;
}

.sponsor-tier-oro .sponsor-card img {
  max-height: 86px;
}

/* Variante compacta (p. ej. al final de la agenda): logos mas pequenos */
.sponsors-compact .sponsor-tier {
  margin-top: 30px;
}

.sponsors-compact .sponsor-tier-title {
  font-size: 22px;
}

.sponsors-compact .sponsor-card {
  min-height: 88px;
  padding: 12px;
}

.sponsors-compact .sponsor-tier-oro .sponsor-card {
  min-height: 96px;
}

.sponsors-compact .sponsor-card img {
  max-height: 42px;
}

.sponsors-compact .sponsor-tier-oro .sponsor-card img {
  max-height: 50px;
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
}

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-list li {
  margin: 12px 0;
}

.contact-list a {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.contact-list svg {
  color: var(--red);
  height: 22px;
  width: 22px;
}

.map {
  border: 0;
  height: 420px;
  width: 100%;
}

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  padding: 32px 22px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-inner a {
  color: var(--white);
}

.initiative-hero {
  background:
    linear-gradient(90deg, rgba(20, 18, 17, 0.76), rgba(20, 18, 17, 0.32)),
    url("assets/bg-header-2.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 164px 22px 92px;
}

.initiative-hero-grid {
  align-items: end;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
}

.initiative-hero-grid > * {
  min-width: 0;
}

.initiative-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  max-width: 900px;
  overflow-wrap: break-word;
}

.initiative-hero .lead {
  max-width: 720px;
}

.initiative-panel {
  background: rgba(255, 255, 255, 0.88);
  border-left: 4px solid var(--red);
  color: var(--ink);
  padding: 28px;
}

.initiative-panel img {
  margin-bottom: 22px;
  max-width: 280px;
}

.initiative-panel p {
  margin: 0;
}

.initiative-cards {
  display: grid;
  gap: 18px;
}

.initiative-cards article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.initiative-cards svg {
  color: var(--red);
  height: 34px;
  margin-bottom: 12px;
  width: 34px;
}

.initiative-cards p {
  margin: 12px 0 0;
}

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

.initiative-band .button-row {
  justify-content: center;
}

@media (max-width: 900px) {
  .nav {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  .menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    order: 3;
    padding: 4px 0 8px;
  }

  .menu.is-open {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    border-radius: 7px;
    font-size: 16px;
    padding: 11px 6px;
  }

  .menu .cta-link {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding-top: 200px;
  }

  .hero-grid {
    gap: 22px;
    min-height: 0;
  }

  .hero-grid > div:first-child {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 8px;
    text-align: center;
  }

  .hero-grid,
  .initiative-hero-grid,
  .split,
  .sponsor-intro,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-person {
    justify-self: end;
    margin-bottom: 0;
    margin-right: 0;
    max-height: 570px;
    width: min(82vw, 560px);
  }

  .cards,
  .services,
  .sponsor-tier-oro .sponsor-grid,
  .sponsor-tier-plata .sponsor-grid,
  .sponsor-tier-bronce .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-tier-institucional .sponsor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 14px 18px;
  }

  .section {
    padding: 68px 18px;
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(20, 18, 17, 0.2), rgba(20, 18, 17, 0)),
      linear-gradient(135deg, #d8d3c9, #bbb3a9);
    background-position: center;
    min-height: auto;
    padding: 186px 18px 0;
  }

  .hero-grid > div:first-child {
    max-width: calc(100vw - 36px);
    transform: none;
    width: 100%;
  }

  .hero-logo,
  .hero-desc {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: min(62vw, 270px) !important;
  }

  .hero-desc {
    margin-top: 24px;
  }

  h2,
  h3,
  .lead,
  p {
    overflow-wrap: break-word;
  }

  h3 {
    font-size: 28px;
  }

  .initiative-hero {
    padding: 150px 18px 72px;
  }

  .initiative-hero-grid,
  .initiative-hero-grid > *,
  .initiative-panel,
  .split > * {
    max-width: calc(100vw - 36px);
    width: 100%;
  }

  .initiative-hero p,
  .initiative-panel p,
  .initiative-cards p {
    overflow-wrap: break-word;
  }

  .initiative-hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-person {
    max-height: 480px;
    width: min(94vw, 480px);
  }

  .button {
    width: 100%;
  }

  .store-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-badge img {
    height: 100%;
  }

  .store-badge {
    height: 48px;
  }
}

/* ============================================================
   Blog y paginas de contenido (single, archive, search, 404)
   ============================================================ */

.site-main {
  padding-top: 44px;
}

.page-head {
  margin-bottom: 4px;
}

.page-title {
  font-family: var(--display-font);
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

.page-head .lead {
  margin-top: 16px;
}

.blog-list {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.post-card-media {
  aspect-ratio: 16 / 10;
  background: #ece8e3;
  display: block;
  overflow: hidden;
}

.post-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.post-card-placeholder {
  background: linear-gradient(135deg, #e7e2db, #d6cfc6);
  display: block;
  height: 100%;
  width: 100%;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

.post-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.post-meta a {
  color: var(--red-dark);
  text-decoration: none;
}

.post-meta-sep {
  margin: 0 8px;
}

.post-card-title {
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.post-card-title a {
  text-decoration: none;
}

.post-card-excerpt {
  color: var(--ink);
  font-size: 15px;
}

.post-card-excerpt p {
  margin: 0;
}

.post-card-more {
  color: var(--red-dark);
  font-weight: 700;
  margin-top: auto;
  padding-top: 16px;
  text-decoration: none;
}

.post-header {
  margin-bottom: 4px;
}

.post-title {
  font-family: var(--display-font);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 14px;
}

.post-featured {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  margin: 32px 0 8px;
  overflow: hidden;
}

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

.entry-content {
  font-size: 18px;
  margin-top: 28px;
}

.entry-content > * {
  margin: 0 0 20px;
}

.entry-content h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 36px;
}

.entry-content h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-top: 30px;
}

.entry-content a {
  color: var(--red-dark);
  text-decoration: underline;
}

.entry-content img {
  border-radius: 10px;
  height: auto;
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content blockquote {
  border-left: 4px solid var(--red);
  color: var(--muted);
  font-style: italic;
  margin: 28px 0;
  padding: 6px 0 6px 22px;
}

.entry-content table {
  border-collapse: collapse;
  font-size: 15px;
  margin: 22px 0;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: #faf7f4;
  font-weight: 700;
}

.post-tags {
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}

.post-tags a {
  color: var(--red-dark);
}

.post-nav {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
}

.post-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.post-nav-next {
  margin-left: auto;
  text-align: right;
}

.pagination {
  margin-top: 52px;
}

.pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pagination .page-numbers {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-width: 42px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.pagination a.page-numbers:hover {
  border-color: var(--red);
}

.comments-area {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 28px;
}

.comments-title {
  font-size: 26px;
  margin: 0 0 18px;
}

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

.search-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.search-form .search-field {
  border: 1px solid var(--line);
  border-radius: 6px;
  flex: 1;
  font: inherit;
  padding: 12px 14px;
}

.search-form .search-submit {
  background: var(--red);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
}

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

.page-404 .button-row {
  justify-content: center;
}

.page-404-search {
  margin: 28px auto 0;
  max-width: 420px;
}

@media (max-width: 900px) {
  .site-main {
    padding-top: 120px;
  }

  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .post-nav {
    flex-direction: column;
  }

  .post-nav-next {
    margin-left: 0;
    text-align: left;
  }

  .search-form {
    flex-direction: column;
  }
}

/* ============================================================
   Galeria de bloques a 2 columnas (recortada) + embeds de redes
   ============================================================ */

.entry-content .wp-block-gallery {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 26px 0;
  padding: 0;
}

.entry-content .wp-block-gallery .wp-block-image {
  flex: 0 1 calc(50% - 6px) !important;
  margin: 0 !important;
  max-width: calc(50% - 6px) !important;
  width: calc(50% - 6px) !important;
}

.entry-content .wp-block-gallery .wp-block-image img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.entry-content .wp-block-gallery .wp-block-image figcaption {
  font-size: 13px;
}

.entrada-cta {
  justify-content: center;
  margin-top: 44px;
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.check-list li {
  margin: 8px 0;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  color: var(--red);
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.social-section .page-head {
  margin-bottom: 4px;
}

.social-embeds {
  column-count: 2;
  column-gap: 22px;
  margin-top: 36px;
}

.social-embed {
  break-inside: avoid;
  margin: 0 0 22px;
}

.social-embed iframe {
  background: #fff;
  border: 0;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  max-width: 540px;
  width: 100%;
}

@media (max-width: 720px) {
  .social-embeds {
    column-count: 1;
  }
}

/* Ajustes del hero solo en escritorio (>900px) */
@media (min-width: 901px) {
  .hero-grid > div:first-child {
    padding-left: 56px;
  }

  /* max-width:none quita el tope de img{max-width:100%} que ataba el romano
     al ancho de su columna; asi manda el width. 720px = resolucion nativa. */
  .hero-person {
    max-width: none;
    width: min(64vw, 720px);
    max-height: 820px;
  }
}

/* ============================================================
   Footer siempre abajo (sticky footer) aunque falte contenido
   ============================================================ */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main,
body > .site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* ============================================================
   Agenda 2026 (timeline)
   ============================================================ */
.agenda-day {
  margin-top: 56px;
}

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

.agenda-banner .lead {
  margin: 16px auto 0;
  max-width: 720px;
}

.agenda-banner .button-row {
  justify-content: center;
}

.agenda-day-title {
  align-items: baseline;
  border-bottom: 2px solid var(--red);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 26px;
  padding-bottom: 12px;
}

.agenda-day-name {
  font-family: var(--display-font);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.agenda-day-date {
  color: var(--muted);
  font-size: 18px;
}

.agenda-events {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agenda-event {
  display: grid;
  gap: 18px;
  grid-template-columns: 88px minmax(0, 1fr);
}

.agenda-time {
  align-items: flex-end;
  color: var(--red-dark);
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 800;
  padding-top: 14px;
}

.agenda-time-sep {
  color: var(--muted);
  line-height: 1;
  margin: 5px 0;
}

.agenda-time-sep svg {
  height: 15px;
  width: 15px;
}

.agenda-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted);
  border-radius: 10px;
  display: flex;
  gap: 18px;
  overflow: hidden;
}

.agenda-thumb {
  flex: 0 0 168px;
  position: relative;
}

.agenda-thumb img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.agenda-destacado-tag {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: auto;
  text-transform: uppercase;
}

.agenda-info {
  flex: 1;
  padding: 16px 18px 16px 0;
}

.agenda-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.agenda-tags span {
  border-radius: 4px;
  font-size: 12px;
  padding: 3px 9px;
}

.agenda-cat,
.agenda-stage,
.agenda-genre {
  background: #f0ece8;
  color: var(--ink);
}

.agenda-ev-title {
  font-size: clamp(20px, 2.1vw, 27px);
  margin: 0 0 8px;
}

.agenda-desc {
  font-size: 14px;
  margin: 0;
}

.agenda-desc a {
  color: var(--red-dark);
  font-weight: 600;
  text-decoration: underline;
}

.agenda-foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.agenda-price {
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.agenda-price-note {
  color: var(--muted);
  font-weight: 500;
}

.agenda-reserve {
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-left: auto;
  min-height: 0;
  padding: 9px 16px;
}

.reserva-modal {
  background: var(--white);
  border: 0;
  border-radius: 12px;
  max-height: 92vh;
  max-width: 94vw;
  overflow: visible;
  padding: 0;
  width: min(470px, 94vw);
}

.reserva-modal::backdrop {
  background: rgba(20, 18, 17, 0.62);
}

.reserva-modal iframe {
  border: 0;
  border-radius: 12px;
  display: block;
  height: min(82vh, 760px);
  width: 100%;
}

.reserva-modal-close {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 22px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -12px;
  top: -12px;
  width: 36px;
  z-index: 2;
}

.cat-conciertos .agenda-card { border-left-color: var(--red); }
.cat-vr .agenda-card { border-left-color: #b23a48; }
.cat-cultura .agenda-card { border-left-color: #c98a1b; }
.cat-arte .agenda-card { border-left-color: #1b9e8a; }
.cat-gastronomia .agenda-card { border-left-color: #b23a48; }
.is-destacado.cat-conciertos .agenda-card { background: rgba(151, 10, 44, 0.1); }
.is-destacado.cat-vr .agenda-card { background: rgba(178, 58, 72, 0.1); }
.is-destacado.cat-cultura .agenda-card { background: rgba(201, 138, 27, 0.1); }
.is-destacado.cat-arte .agenda-card { background: rgba(27, 158, 138, 0.1); }
.is-destacado.cat-gastronomia .agenda-card { background: rgba(178, 58, 72, 0.1); }

@media (max-width: 640px) {
  .agenda-event {
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .agenda-time {
    font-size: 14px;
    padding-top: 10px;
  }

  .agenda-card {
    flex-direction: column;
  }

  .agenda-thumb {
    flex: none;
  }

  .agenda-thumb img {
    aspect-ratio: 16 / 9;
  }

  .agenda-info {
    padding: 14px;
  }
}

/* ============================================================
   Boton "volver arriba" (global)
   ============================================================ */
.back-to-top {
  align-items: center;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 6px 18px rgba(20, 18, 17, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  position: fixed;
  right: 22px;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  visibility: hidden;
  width: 46px;
  z-index: 40;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red-dark);
}

/* ============================================================
   Pagina Camarzana de Tera
   ============================================================ */
.camarzana-hero {
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 160px 22px 92px;
}

.camarzana-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.camarzana-hero .lead {
  max-width: 760px;
}

.section.tinted {
  background: #f7f4f1;
}

.camarzana .feature .service-icon {
  color: var(--red);
  height: 40px;
  margin-bottom: 14px;
}

.horario {
  background: #faf7f4;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 28px;
  padding: 16px 20px;
}

.horario-title {
  align-items: center;
  color: var(--red-dark);
  display: flex;
  font-weight: 700;
  gap: 8px;
  margin: 0 0 8px;
}

.horario-title svg {
  height: 18px;
  width: 18px;
}

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

.horario li {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  justify-content: space-between;
  padding: 10px 0;
}

.horario li:first-child {
  border-top: 0;
}

.horario li span {
  color: var(--muted);
}

.camarzana-cta {
  justify-content: center;
  margin-top: 44px;
}
