/* Portada de Agenda cultural. Todas las reglas se limitan a esta plantilla. */
.dt2-agenda-page {
  padding: 0 0 58px;
  color: #163361;
  background: #fffdf9;
}
.dt2-agenda-page .dt2-wrap { max-width: 1100px; }
.dt2-agenda-page h1,
.dt2-agenda-page h2,
.dt2-agenda-page h3,
.dt2-agenda-page p { margin-top: 0; }
.dt2-agenda-eyebrow {
  margin-bottom: 8px;
  color: #2760a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.dt2-agenda-hero {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 372px;
  overflow: hidden;
  background: #fff;
}
.dt2-agenda-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 4vw, 55px);
}
.dt2-agenda-hero h1 {
  max-width: 450px;
  margin: 0 0 15px;
  color: #0d2b65;
  font: 700 clamp(40px, 4.4vw, 60px)/.98 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
}
.dt2-agenda-hero__lead {
  max-width: 340px;
  margin-bottom: 9px;
  color: #163d75;
  font: 700 16px/1.35 Georgia, 'Times New Roman', serif;
}
.dt2-agenda-hero__detail {
  max-width: 350px;
  margin-bottom: 18px;
  color: #4b5f7e;
  font-size: 13px;
  line-height: 1.5;
}
.dt2-agenda-hero__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.dt2-agenda-page .dt2-agenda-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 15px;
  border: 1px solid #144b98;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  transition: background .18s ease, color .18s ease;
}
.dt2-agenda-page .dt2-agenda-button--primary { color: #fff; background: #1455a9; }
.dt2-agenda-page .dt2-agenda-button--primary:hover { color: #fff; background: #0e3472; }
.dt2-agenda-page .dt2-agenda-button--light { color: #174b93; background: #fff; }
.dt2-agenda-page .dt2-agenda-button--light:hover { color: #fff; background: #174b93; }
.dt2-agenda-hero__image { position: relative; min-height: 372px; margin: 0; overflow: hidden; background: #d6d2c8; }
.dt2-agenda-page .dt2-agenda-hero__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.dt2-agenda-hero__fallback { display: grid; position: absolute; inset: 0; place-items: center; color: #4b77a3; background: linear-gradient(135deg, #e4edf6, #f8f3e8); font: 140px/1 Georgia, 'Times New Roman', serif; }
.dt2-agenda-hero__image:after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(90deg, rgba(10, 38, 82, .06), transparent 30%, rgba(9, 35, 76, .23)); }
.dt2-agenda-hero__image figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  padding: 5px 8px;
  color: #123164;
  background: rgba(255, 255, 255, .92);
  font-size: 10px;
  line-height: 1.2;
}
.dt2-agenda-greca {
  height: 12px;
  background-color: #d6e7f4;
  background-image: linear-gradient(90deg, #1a5a9e 25%, transparent 25%, transparent 75%, #1a5a9e 75%), linear-gradient(#1a5a9e 25%, transparent 25%, transparent 75%, #1a5a9e 75%);
  background-size: 14px 14px;
  border-top: 2px solid #f8f4eb;
  border-bottom: 2px solid #f8f4eb;
}
.dt2-agenda-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 29px;
  padding: 21px 22px;
  background: #f4f7fb;
  border-bottom: 1px solid #dde6f1;
}
.dt2-agenda-topics__label { margin-right: 7px; color: #365980; font: italic 14px Georgia, 'Times New Roman', serif; }
.dt2-agenda-page .dt2-agenda-topic {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  color: #224b85;
  background: #fff;
  border: 1px solid #e0e8f4;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease;
}
.dt2-agenda-page .dt2-agenda-topic:hover,
.dt2-agenda-page .dt2-agenda-topic.is-current { color: #fff; background: #3e26c8; border-color: #3e26c8; }
.dt2-agenda-section { margin: 0 0 41px; scroll-margin-top: 18px; }
.dt2-agenda-section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 15px; }
.dt2-agenda-section__head .dt2-agenda-eyebrow { margin-bottom: 4px; }
.dt2-agenda-section h2 { margin: 0; color: #0e2e69; font: 700 clamp(26px, 2.6vw, 35px)/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.dt2-agenda-story { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #dfe7f1; box-shadow: 0 5px 16px rgba(17, 49, 104, .045); }
.dt2-agenda-story__image { display: block; background: #e5eaf3; }
.dt2-agenda-page .dt2-agenda-story h3 a:hover { color: #3e26c8; text-decoration: underline; text-underline-offset: 3px; }
.dt2-agenda-empty { display: flex; align-items: center; gap: 22px; min-height: 135px; padding: 25px 30px; background: #f4f7fb; border: 1px solid #dfe7f1; border-left: 4px solid #377ac0; }
.dt2-agenda-empty__mark { flex: none; color: #4f83b8; font: 60px/1 Georgia, 'Times New Roman', serif; }
.dt2-agenda-empty h3 { margin: 0 0 5px; color: #12356e; font: 700 21px/1.15 Georgia, 'Times New Roman', serif; }
.dt2-agenda-empty p { max-width: 650px; margin: 0; color: #506888; font-size: 13px; line-height: 1.5; }
.dt2-agenda-section--stories { margin-bottom: 0; }
.dt2-agenda-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dt2-agenda-story__image .dt2-image { height: 184px; }
.dt2-agenda-story__body { padding: 14px 16px 16px; }
.dt2-agenda-story__label { margin: 0 0 6px; color: #2766a7; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dt2-agenda-story h3 { margin: 0 0 8px; color: #0e2e69; font: 700 20px/1.12 Georgia, 'Times New Roman', serif; }
.dt2-agenda-story__excerpt { margin: 0 0 13px; color: #50627f; font-size: 12px; line-height: 1.45; }
.dt2-agenda-story__published { margin: 0; color: #60718a; font-size: 10px; }
.dt2-agenda-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 23px; }
.dt2-agenda-pagination .page-numbers { display: inline-grid; min-width: 35px; height: 35px; place-items: center; padding: 0 9px; color: #173e7c; background: #fff; border: 1px solid #d9e3f0; font-size: 12px; font-weight: 700; }
.dt2-agenda-pagination .page-numbers.current { color: #fff; background: #1a59a7; border-color: #1a59a7; }
.dt2-agenda-section--guides { margin-top: 39px; margin-bottom: 0; }
.dt2-agenda-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dt2-agenda-guide { min-width: 0; min-height: 116px; background: linear-gradient(115deg, #eaf2fa, #f8f7f1); border: 1px solid #dbe7f2; }
.dt2-agenda-guide__anchor { display: flex; min-height: 116px; align-items: center; gap: 21px; padding: 21px 23px; }
.dt2-agenda-guide__mark { flex: none; color: #2f6ba6; font: 50px/1 Georgia, 'Times New Roman', serif; }
.dt2-agenda-guide h3 { margin: 0 0 7px; color: #12356d; font: 700 22px/1.12 Georgia, 'Times New Roman', serif; }
.dt2-agenda-guide__link { color: #19559a; font-size: 11px; font-weight: 800; }
.dt2-agenda-page .dt2-agenda-guide__anchor:hover h3 { color: #3e26c8; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .dt2-agenda-page { padding-bottom: 38px; }
  .dt2-agenda-hero { grid-template-columns: 1fr; }
  .dt2-agenda-hero__copy { padding: 31px 25px 27px; }
  .dt2-agenda-hero h1 { font-size: clamp(38px, 9vw, 55px); }
  .dt2-agenda-hero__image { min-height: 270px; height: 45vw; max-height: 390px; }
  .dt2-agenda-topics { justify-content: flex-start; padding: 18px 14px; margin-bottom: 25px; }
  .dt2-agenda-topics__label { width: 100%; }
  .dt2-agenda-section { margin-bottom: 31px; }
  .dt2-agenda-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dt2-agenda-story__image .dt2-image { height: 165px; }
  .dt2-agenda-guides { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .dt2-agenda-hero__copy { padding: 27px 18px 26px; }
  .dt2-agenda-hero__lead { font-size: 15px; }
  .dt2-agenda-hero__image { min-height: 215px; height: 63vw; }
  .dt2-agenda-topics { gap: 7px; }
  .dt2-agenda-page .dt2-agenda-topic { min-height: 38px; padding: 8px 12px; }
  .dt2-agenda-stories { grid-template-columns: 1fr; }
  .dt2-agenda-story__image .dt2-image { height: 190px; }
  .dt2-agenda-empty { gap: 11px; padding: 17px 15px; }
  .dt2-agenda-empty__mark { font-size: 38px; }
  .dt2-agenda-empty h3 { font-size: 18px; }
  .dt2-agenda-guide, .dt2-agenda-guide__anchor { min-height: 102px; }
  .dt2-agenda-guide__anchor { padding: 18px; }
  .dt2-agenda-guide h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .dt2-agenda-page .dt2-agenda-button,
  .dt2-agenda-page .dt2-agenda-topic { transition: none; }
}

/* Agenda 2026: composición editorial de planes, sin alterar la cabecera ni el pie. */
.dt2-agenda-page { background: #fbfaf6; }
.dt2-agenda-page .dt2-wrap { max-width: 1180px; }
.dt2-agenda-hero { grid-template-columns: 46% 54%; min-height: 390px; background: #faf9f4; }
.dt2-agenda-hero__copy { padding: clamp(28px, 4.5vw, 62px); }
.dt2-agenda-hero .dt2-agenda-eyebrow { color: #67768a; font-size: 10px; letter-spacing: .24em; }
.dt2-agenda-hero h1 { max-width: 500px; font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.dt2-agenda-hero__lead { max-width: 430px; margin-bottom: 23px; color: #394a63; font: 400 16px/1.52 system-ui, sans-serif; }
.dt2-agenda-hero__image { min-height: 390px; }
.dt2-agenda-hero__image:after { background: linear-gradient(90deg, #faf9f4 0%, rgba(250,249,244,.65) 10%, transparent 32%); }
.dt2-agenda-hero__image figcaption { right: 12px; bottom: 12px; color: #fff; background: #092c59; }
.dt2-agenda-page .dt2-agenda-button { min-height: 42px; padding: 10px 17px; font-size: 12px; }
.dt2-agenda-page .dt2-agenda-button--primary { background: #0659b4; border-color: #0659b4; }
.dt2-agenda-page .dt2-agenda-button--light { background: #fff; border-color: #a9c5e7; }
.dt2-agenda-quick { display: flex; align-items: center; gap: 8px; padding: 16px 10px 12px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.dt2-agenda-chip { display: inline-flex; flex: none; align-items: center; min-height: 37px; padding: 8px 15px; color: #364964; background: #f1f2f1; border: 1px solid #e9e9e6; border-radius: 999px; font-size: 12px; font-weight: 700; }
.dt2-agenda-chip:hover, .dt2-agenda-chip:focus-visible, .dt2-agenda-chip.is-current { color: #fff; background: #0956ac; border-color: #0956ac; }
.dt2-agenda-chip--disabled { opacity: .54; cursor: not-allowed; }
.dt2-agenda-chip--all { margin-left: auto; color: #0a529d; background: #fff; border-color: #cfdeef; }
.dt2-agenda-days { display: flex; gap: 6px; align-items: stretch; padding: 0 10px 23px; overflow-x: auto; }
.dt2-agenda-day { display: flex; flex: 1 0 66px; min-width: 66px; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; color: #516076; background: #f1f2f2; border: 1px solid transparent; border-radius: 5px; font-size: 10px; line-height: 1.25; }
.dt2-agenda-day strong { color: #263b5d; font-size: 13px; }
.dt2-agenda-day:hover, .dt2-agenda-day:focus-visible, .dt2-agenda-day.is-current { color: #fff; background: #0659b4; }
.dt2-agenda-day:hover strong, .dt2-agenda-day:focus-visible strong, .dt2-agenda-day.is-current strong { color: #fff; }
.dt2-agenda-days__arrow { display: grid; flex: 0 0 34px; place-items: center; color: #15549a; font-size: 28px; }
.dt2-agenda-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(250px, .72fr); align-items: start; gap: 26px; padding: 0 10px; }
.dt2-agenda-layout__main { min-width: 0; }
.dt2-agenda-section { margin-bottom: 38px; }
.dt2-agenda-section__head { align-items: end; }
.dt2-agenda-section h2 { font-size: clamp(26px, 3vw, 36px); }
.dt2-agenda-count { flex: none; padding-bottom: 4px; color: #52657c; font-size: 11px; font-weight: 700; }
.dt2-agenda-empty { min-height: 190px; background: #fff; border-color: #e1e8ed; box-shadow: 0 5px 18px rgba(25,54,91,.055); }
.dt2-agenda-empty a { display: inline-block; margin-top: 12px; color: #0659b4; font-size: 12px; font-weight: 800; }
.dt2-agenda-topics { justify-content: flex-start; gap: 7px; padding: 0; margin: 0 0 14px; background: transparent; border: 0; }
.dt2-agenda-page .dt2-agenda-topic { min-height: 30px; padding: 6px 11px; font-size: 10px; }
.dt2-agenda-page .dt2-agenda-topic:hover, .dt2-agenda-page .dt2-agenda-topic.is-current { background: #0956ac; border-color: #0956ac; }
.dt2-agenda-stories { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dt2-agenda-story { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 145px; box-shadow: 0 3px 13px rgba(18,48,88,.065); }
.dt2-agenda-story__image, .dt2-agenda-story__image .dt2-image { height: 100%; min-height: 145px; }
.dt2-agenda-story__image img { width: 100%; height: 100%; object-fit: cover; }
.dt2-agenda-story__body { padding: 15px 17px; }
.dt2-agenda-story h3 { font-size: 19px; }
.dt2-agenda-story__excerpt { margin-bottom: 8px; }
.dt2-agenda-sidebar { display: grid; gap: 16px; }
.dt2-agenda-map { overflow: hidden; background: #f1f5f8; border: 1px solid #dfe8ee; border-radius: 6px; }
.dt2-agenda-map__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; color: #153763; background: #fff; }
.dt2-agenda-map__head strong { font-size: 13px; }
.dt2-agenda-map__head span { color: #68798c; font-size: 10px; }
.dt2-agenda-map__canvas { height: 180px; background: linear-gradient(24deg, transparent 42%, #92cee3 42%, #92cee3 51%, transparent 51%), repeating-linear-gradient(120deg, transparent 0 28px, #d3e0e8 29px 32px, transparent 33px 62px), repeating-linear-gradient(30deg, #eaf1eb 0 39px, #d9e8dd 40px 42px, #eaf1eb 43px 78px); }
.dt2-agenda-map p { padding: 0 16px 16px; }
.dt2-agenda-sidebar__intro, .dt2-agenda-sidebar__help { padding: 22px; background: #e8eff5; border-radius: 6px; }
.dt2-agenda-sidebar__intro strong, .dt2-agenda-sidebar__help strong { display: block; color: #153763; font: 700 21px/1.12 Georgia, serif; }
.dt2-agenda-sidebar p { margin: 9px 0 0; color: #465b75; font-size: 12px; line-height: 1.48; }
.dt2-agenda-sidebar__help { text-align: center; }
.dt2-agenda-sidebar__help a { display: inline-block; margin-top: 14px; padding: 8px 13px; color: #0757ac; background: #fff; border: 1px solid #9cbee3; font-size: 11px; font-weight: 800; }
.dt2-agenda-route { position: relative; display: block; min-height: 250px; overflow: hidden; color: #fff; background: #0c4074; border-radius: 6px; }
.dt2-agenda-route__image { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,27,57,.92), rgba(5,39,74,.06) 65%), url('https://descubretalavera.es/wp-content/uploads/2025/05/MG_3026-1024x683.jpg') center/cover; }
.dt2-agenda-route__body { position: absolute; inset: auto 16px 18px; display: grid; gap: 6px; }
.dt2-agenda-route strong { color: #fff; font: 700 24px/1 Georgia, serif; }
.dt2-agenda-route__body span { font-size: 12px; }
.dt2-agenda-route em { justify-self: start; margin-top: 5px; padding: 8px 10px; color: #084c93; background: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.dt2-agenda-section--guides { margin: 18px 10px 38px; }
.dt2-agenda-page a:focus-visible { outline: 3px solid #ec9e1c; outline-offset: 3px; }
@media (max-width: 800px) {
  .dt2-agenda-hero { grid-template-columns: 1fr; }
  .dt2-agenda-hero__image { min-height: 260px; }
  .dt2-agenda-hero__image:after { background: linear-gradient(0deg, transparent, rgba(250,249,244,.22)); }
  .dt2-agenda-layout { grid-template-columns: 1fr; }
  .dt2-agenda-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt2-agenda-sidebar__intro { display: none; }
  .dt2-agenda-count { display: none; }
}
@media (max-width: 580px) {
  .dt2-agenda-hero h1 { font-size: clamp(37px, 10vw, 50px); }
  .dt2-agenda-hero__copy { padding: 28px 20px; }
  .dt2-agenda-hero__lead { font-size: 14px; }
  .dt2-agenda-quick { padding-inline: 2px; }
  .dt2-agenda-chip--all { margin-left: 0; }
  .dt2-agenda-days { padding-inline: 2px; }
  .dt2-agenda-layout { padding-inline: 0; }
  .dt2-agenda-story { grid-template-columns: 116px minmax(0, 1fr); min-height: 135px; }
  .dt2-agenda-story__image, .dt2-agenda-story__image .dt2-image { min-height: 135px; }
  .dt2-agenda-story__body { padding: 11px; }
  .dt2-agenda-story h3 { font-size: 15px; }
  .dt2-agenda-story__excerpt { display: none; }
  .dt2-agenda-sidebar { grid-template-columns: 1fr; }
  .dt2-agenda-section--guides { margin-inline: 0; }
}
