/*
 * Base visual autónoma de Descubre Talavera.
 * Conserva la cabecera y las zonas ya aprobadas de la portada.
 */
:root {
  --dt-blue: #09286c;
  --dt-indigo: #3f17eb;
  --dt-sky: #eaf0ff;
  --dt-line: #dbe2f2;
  --dt-ink: #102a5d;
  --dt-muted: #596986;
  --dt-paper: #fff;
  --dt-radius: 14px;
  --dt-shadow: 0 8px 24px rgba(9, 40, 108, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dt2-body { margin: 0; background: #fff; color: var(--dt-ink); font: 16px/1.4 Arial, Helvetica, sans-serif; }
body.dt2-body img { display: block; max-width: 100%; height: auto; }
body.dt2-body a { color: inherit; text-decoration: none; }
body.dt2-body a:hover { text-decoration: none; }
body.dt2-body a:focus-visible { outline: 3px solid #6d47ff; outline-offset: 3px; }
.dt2-site { overflow: hidden; }
.dt2-wrap { width: min(1100px, calc(100% - 72px)); margin: auto; }
.dt2-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Cabecera corporativa. */
.dt2-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--dt-line); }
.dt2-header__top { display: grid; grid-template-columns: 220px minmax(190px, 1fr) minmax(230px, 1.2fr) 190px; gap: 14px; align-items: center; min-height: 72px; }
.dt2-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.dt2-brand--image img { width: 207px; max-height: 58px; object-fit: contain; object-position: left center; }
.dt2-brand__tile { display: grid; flex: none; width: 49px; height: 49px; place-items: center; color: #fff; background: var(--dt-blue); border-radius: 2px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px var(--dt-blue); font: 28px Georgia, serif; }
.dt2-brand__name { color: var(--dt-blue); font: 700 31px/.8 Georgia, serif; letter-spacing: -1.4px; }
.dt2-brand__tag { display: block; margin-top: 6px; color: #54617d; font: 700 8px/1.1 Arial, sans-serif; letter-spacing: .1px; }
.dt2-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: #526887; font-size: 10px; white-space: nowrap; }
.dt2-meta span { color: #1555bc; font-size: 9px; }
.dt2-search { display: flex; align-items: center; gap: 7px; height: 31px; padding: 2px 3px 2px 12px; background: #fff; border: 1px solid #d7deef; border-radius: 999px; }
.dt2-search input { min-width: 0; flex: 1; color: var(--dt-ink); background: transparent; border: 0; outline: 0; font-size: 11px; }
.dt2-search button { display: grid; flex: none; width: 25px; height: 25px; place-items: center; color: #fff; background: var(--dt-indigo); border: 0; border-radius: 50%; cursor: pointer; }
.dt2-search svg { width: 14px; height: 14px; fill: currentColor; }
.dt2-skyline { display: flex; width: 185px; height: 52px; align-items: center; justify-content: flex-end; overflow: hidden; }
.dt2-skyline img { width: 185px; }
.dt2-header__nav { display: flex; position: relative; align-items: center; justify-content: center; min-height: 40px; border-top: 3px solid #57bff3; border-bottom: 1px solid #d7e2f1; }
.dt2-menu, .dt2-footer-menu { padding: 0; margin: 0; list-style: none; }
.dt2-menu { display: flex; justify-content: center; gap: 58px; min-height: 40px; }
.dt2-menu a { display: block; padding: 9px 0 8px; color: var(--dt-blue); border-bottom: 3px solid transparent; font: 700 14px Georgia, serif; }
.dt2-menu .current-menu-item > a, .dt2-menu a:hover { color: var(--dt-indigo); border-bottom-color: var(--dt-indigo); }
.dt2-mobile-controls, .dt2-mobile-menu, .dt2-mobile-searchbar { display: none; }

/* Portada, agenda y rutas ya aprobadas. */
.dt2-main { padding: 9px 0 42px; }
.dt2-section-title { display: flex; align-items: center; gap: 16px; margin: 0 0 7px; color: var(--dt-blue); font: 700 28px/1.05 Georgia, serif; }
.dt2-section-title:after { content: ""; flex: 1; height: 1px; background: #a9b8da; }
.dt2-spotlight { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(330px, .9fr); gap: 18px; }
.dt2-lead { display: block; background: #fff; border: 1px solid #edf0f7; }
.dt2-image { display: block; overflow: hidden; background: #e5eaf3; }
.dt2-image img, .dt2-image__placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.dt2-image__placeholder { background: linear-gradient(135deg, #edf2fa, #d9e4f7); }
.dt2-lead .dt2-image { height: 226px; }
.dt2-label { display: inline-block; position: relative; margin-top: -21px; padding: 4px 8px; color: #fff; vertical-align: top; background: #19b9df; font: 700 10px/1 Arial, sans-serif; text-transform: uppercase; }
.dt2-lead__copy { padding: 0 10px 9px; }
.dt2-lead h2 { margin: 2px 0; color: var(--dt-blue); font: 700 25px/1.03 Georgia, serif; letter-spacing: -.6px; }
.dt2-excerpt { margin: 0; color: #506284; font: 13px/1.17 Georgia, serif; }
.dt2-time { margin: 4px 0 0; color: #526987; font-size: 11px; }
.dt2-spotlight__side { display: grid; gap: 7px; }
.dt2-today { display: block; margin: 0 0 1px; color: #173b7e; text-align: right; font: 700 12px/1 Georgia, serif; }
.dt2-story { display: grid; grid-template-columns: 133px minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 7px; border-bottom: 1px solid var(--dt-line); }
.dt2-story:last-child { border-bottom: 0; }
.dt2-story .dt2-image { height: 78px; }
.dt2-story h2, .dt2-story h3 { margin: 2px 0; color: var(--dt-blue); font: 700 16px/1.02 Georgia, serif; letter-spacing: -.25px; }
.dt2-story .dt2-excerpt { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.12; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dt2-story__meta { color: #526987; font-size: 10px; }
.dt2-story__category { margin-right: 7px; color: #087fca; font-weight: 700; text-transform: uppercase; }

.dt2-discover { position: relative; min-height: 77px; margin: 10px 0 9px; padding: 7px 270px 8px 72px; overflow: hidden; background: linear-gradient(104deg, #fbfbff 0%, #f8f4fb 100%); border: 1px solid #edf0f7; border-radius: 11px; box-shadow: 0 2px 8px rgba(26, 54, 115, .035); }
.dt2-discover:before { content: ""; position: absolute; top: 5px; left: 8px; width: 53px; height: 67px; background: #fff url('https://descubretalavera.es/wp-content/uploads/2026/09/descubre-talavera-logo-v1.png') left center / auto 90px no-repeat; }
.dt2-discover:after { content: ""; position: absolute; top: 4px; right: 10px; width: 260px; height: 83px; pointer-events: none; background: url('https://descubretalavera.es/wp-content/uploads/2026/09/talavera-skyline-v1.png') right center / contain no-repeat; }
.dt2-discover h2 { position: relative; z-index: 1; margin: 0 0 6px; color: #0b3e91; font: 700 25px/1 Georgia, serif; letter-spacing: -.35px; }
.dt2-chips { display: flex; position: relative; z-index: 1; gap: 7px; padding: 0; overflow: visible; }
.dt2-chip { display: flex; min-height: 31px; align-items: center; justify-content: center; gap: 7px; padding: 6px 15px; color: #0a397e; background: #fff; border: 1px solid #d4dced; border-radius: 999px; box-shadow: 0 1px 2px rgba(10, 41, 93, .04); font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
.dt2-chip:hover, .dt2-chip--active { color: #fff; background: #4812ed; border-color: #4812ed; }
.dt2-chip__icon { font-size: 13px; line-height: 1; }
.dt2-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 7px 0 3px; }
.dt2-heading-row h2 { margin: 0; color: var(--dt-blue); font: 700 21px/1.1 Georgia, serif; }
.dt2-more { color: var(--dt-indigo) !important; font-size: 11px; font-weight: 700; white-space: nowrap; }
.dt2-more:after { content: " →"; font-size: 17px; }
.dt2-agenda { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dt2-event { display: grid; grid-template-columns: 34px 82px minmax(0, 1fr); gap: 6px; min-height: 83px; height: 83px; padding: 5px; background: #fff; border: 1px solid #e1e6f1; border-radius: 5px; }
.dt2-event__date { color: var(--dt-blue); text-align: center; font: 700 16px/.9 Georgia, serif; }
.dt2-event__date span { display: block; margin-top: 3px; font: 700 8px Arial, sans-serif; }
.dt2-event .dt2-image { height: 71px; }
.dt2-event__type { color: #087fca; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.dt2-event h3 { display: -webkit-box; overflow: hidden; margin: 1px 0 4px; color: var(--dt-blue); font: 700 11px/1.05 Georgia, serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dt2-event__place { margin: 0; overflow: hidden; color: #4d6087; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dt2-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.dt2-route { display: grid; grid-template-columns: 120px minmax(0, 1fr) 29px; gap: 8px; align-items: center; min-height: 51px; padding: 3px; background: #fff; border: 1px solid #e1e6f1; border-radius: 5px; }
.dt2-route .dt2-image { height: 43px; }
.dt2-route h3 { margin: 0 0 2px; color: var(--dt-blue); font: 700 12px/1.02 Georgia, serif; }
.dt2-route p { margin: 0; color: #465d87; font-size: 10px; }
.dt2-round-arrow { display: grid; width: 25px; height: 25px; place-items: center; color: var(--dt-indigo); border: 1px solid #cbd5f0; border-radius: 50%; font-size: 20px; }
.dt2-cta { display: flex; position: relative; min-height: 40px; align-items: center; gap: 22px; margin-top: 8px; padding: 9px 245px 9px 28px; overflow: hidden; color: var(--dt-blue); background: linear-gradient(90deg, #e3ebff, #d9e4ff); border-radius: 5px; }
.dt2-cta:after { content: ""; position: absolute; top: 3px; right: 14px; width: 210px; height: 35px; background: url('https://descubretalavera.es/wp-content/uploads/2026/09/talavera-skyline-v1.png') right center / contain no-repeat; opacity: .83; }
.dt2-cta__icon { font-size: 18px; }
.dt2-cta strong { font: 700 14px Georgia, serif; }
.dt2-cta span { font-size: 11px; }
.dt2-cta:hover { background: #cedcff; }

/* Plantillas de archivo y artículo. */
.dt2-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 35px; padding: 30px 0 45px; }
.dt2-content--single { grid-template-columns: minmax(0, 780px) 270px; }
.dt2-content article { padding: 0 0 23px; margin: 0 0 24px; border-bottom: 1px solid var(--dt-line); }
.dt2-page-title, .dt2-article-title { margin: 0 0 17px; color: var(--dt-blue); font: 700 38px/1.05 Georgia, serif; }
.dt2-archive-item { display: grid; grid-template-columns: 240px 1fr; gap: 19px; }
.dt2-archive-item .dt2-image { height: 145px; }
.dt2-archive-item h2 { margin: 2px 0 6px; color: var(--dt-blue); font: 700 25px/1.05 Georgia, serif; }
.dt2-article-featured { margin: 0 0 20px; }
.dt2-article-featured .dt2-image { height: 410px; }
.dt2-prose { color: #33436a; font-size: 17px; }
.dt2-prose h2, .dt2-prose h3 { color: var(--dt-blue); font-family: Georgia, serif; }
.dt2-prose a { color: var(--dt-indigo); text-decoration: underline; }
.dt2-aside { align-self: start; padding: 18px; background: #f5f7fd; border-top: 4px solid var(--dt-indigo); }
.dt2-aside h2 { margin: 0 0 8px; color: var(--dt-blue); font: 700 21px/1 Georgia, serif; }
.dt2-aside p { margin: 0; color: #435c87; font-size: 14px; }
.dt2-pagination .page-numbers { display: inline-grid; min-width: 33px; height: 33px; place-items: center; margin-right: 4px; color: var(--dt-blue); border: 1px solid #ced8ed; }
.dt2-pagination .current { color: #fff; background: var(--dt-indigo); border-color: var(--dt-indigo); }
.dt2-empty { padding: 25px; color: #435c87; background: #f5f7fd; }

/* Pie. */
.dt2-footer { color: var(--dt-ink); background: #fff; border-top: 1px solid var(--dt-line); }
.dt2-footer__inner { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 25px; align-items: center; padding: 24px 0; }
.dt2-footer .dt2-brand__name { font-size: 23px; }
.dt2-footer .dt2-brand__tile { width: 39px; height: 39px; font-size: 22px; }
.dt2-footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.dt2-footer-menu a { color: #435c87; font-size: 12px; }
.dt2-footer__right { color: #526987; text-align: right; font-size: 12px; }
.dt2-footer__social { display: flex; justify-content: flex-end; gap: 7px; margin-top: 6px; }
.dt2-footer__social a { display: grid; width: 26px; height: 26px; place-items: center; color: var(--dt-blue); border: 1px solid #cbd5eb; border-radius: 50%; font-size: 11px; font-weight: 700; }

@media (max-width: 800px) {
  body.dt2-body { font-size: 15px; }
  .dt2-wrap { width: min(100% - 28px, 560px); }
  .dt2-header__top { display: flex; min-height: 64px; gap: 10px; justify-content: space-between; }
  .dt2-brand--image img { width: 172px; max-height: 52px; }
  .dt2-meta, .dt2-header__top > .dt2-search, .dt2-header__nav, .dt2-skyline { display: none; }
  .dt2-mobile-controls { display: flex; align-items: center; gap: 11px; margin-left: auto; }
  .dt2-mobile-controls button, .dt2-mobile-controls a { display: grid; width: 33px; height: 33px; place-items: center; color: var(--dt-blue); background: #f1f4fb; border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; }
  .dt2-header__top + .dt2-wrap { padding-top: 8px; border-top: 3px solid #57bff3; }
  .dt2-mobile-searchbar { display: flex; height: 39px; margin: 0 0 10px; }
  .dt2-mobile-menu { display: block; position: absolute; top: 100%; right: 0; left: 0; max-height: 0; overflow: hidden; background: #fff; border-bottom: 0 solid var(--dt-line); transition: max-height .22s ease; }
  .dt2-mobile-menu.is-open { max-height: 310px; border-bottom-width: 1px; }
  .dt2-mobile-menu .dt2-menu { display: block; padding: 8px 14px 13px; }
  .dt2-mobile-menu .dt2-menu a { padding: 10px 0; border-bottom: 1px solid var(--dt-line); font-size: 17px; }
  .dt2-main { padding-top: 14px; }
  .dt2-section-title { margin-bottom: 10px; font-size: 25px; }
  .dt2-section-title:after { display: none; }
  .dt2-spotlight { display: block; }
  .dt2-lead { border: 0; box-shadow: none; }
  .dt2-lead .dt2-image { height: 230px; border-radius: 11px; }
  .dt2-label { margin-top: -20px; }
  .dt2-lead__copy { padding: 0; }
  .dt2-lead h2 { margin-top: 3px; font-size: 27px; line-height: 1.03; }
  .dt2-excerpt { font-size: 15px; line-height: 1.2; }
  .dt2-spotlight__side { gap: 12px; margin-top: 17px; }
  .dt2-story { grid-template-columns: 112px 1fr; gap: 11px; padding-bottom: 12px; }
  .dt2-story .dt2-image { height: 80px; border-radius: 7px; }
  .dt2-story h2, .dt2-story h3 { font-size: 17px; }
  .dt2-story .dt2-excerpt { display: none; }
  .dt2-discover { min-height: auto; padding: 14px; margin: 19px -1px 14px; border-radius: 13px; }
  .dt2-discover:before, .dt2-discover:after { display: none; }
  .dt2-discover h2 { font-size: 25px; line-height: 1.04; }
  .dt2-chips { flex-wrap: nowrap; padding: 0 14px 2px; margin: 0 -14px; overflow: auto; }
  .dt2-chip { flex: none; min-height: 39px; padding: 8px 16px; }
  .dt2-heading-row { align-items: center; margin: 18px 0 8px; }
  .dt2-heading-row h2 { font-size: 23px; }
  .dt2-more { font-size: 11px; }
  .dt2-agenda { display: flex; padding: 0 14px 5px; margin: 0 -14px; overflow: auto; }
  .dt2-event { grid-template-columns: 37px 95px minmax(130px, 1fr); width: 305px; min-width: 305px; min-height: 98px; height: auto; }
  .dt2-event .dt2-image { height: 80px; }
  .dt2-routes { display: block; }
  .dt2-route { grid-template-columns: 104px 1fr 30px; margin-bottom: 9px; }
  .dt2-route .dt2-image { height: 52px; }
  .dt2-cta { display: grid; grid-template-columns: 30px 1fr; gap: 3px 12px; padding: 14px 15px; margin: 16px 0 0; }
  .dt2-cta:after { display: none; }
  .dt2-cta__icon { grid-row: span 2; }
  .dt2-cta strong { font-size: 16px; }
  .dt2-cta span { font-size: 12px; }
  .dt2-content, .dt2-content--single { display: block; padding: 22px 0 35px; }
  .dt2-aside { margin-top: 25px; }
  .dt2-page-title, .dt2-article-title { font-size: 30px; }
  .dt2-archive-item { display: block; }
  .dt2-archive-item .dt2-image { height: 190px; margin-bottom: 12px; border-radius: 9px; }
  .dt2-archive-item h2 { font-size: 24px; }
  .dt2-article-featured .dt2-image { height: 240px; border-radius: 9px; }
  .dt2-prose { font-size: 16px; }
  .dt2-footer__inner { display: block; padding: 23px 0; text-align: center; }
  .dt2-footer .dt2-brand { justify-content: center; }
  .dt2-footer-menu { gap: 13px; margin: 18px 0; }
  .dt2-footer__right { text-align: center; }
  .dt2-footer__social { justify-content: center; }
}

@media (max-width: 420px) {
  .dt2-lead .dt2-image { height: 205px; }
  .dt2-lead h2 { font-size: 25px; }
  .dt2-story h2, .dt2-story h3 { font-size: 16px; }
  .dt2-section-title { font-size: 24px; }
  .dt2-discover h2 { font-size: 24px; }
}
