/* Todos los estilos quedan limitados al documento y raíz de esta plantilla. */
/* Se elimina solo el contenedor de ancho/padding de Astra en esta plantilla. */
body.ed27-page #content > .ast-container { display: block; max-width: none; padding: 0; }
body.ed27-page #content { padding: 0; }
.ed27 { position: relative; width: 100%; min-width: 0; padding-top: var(--ed27-header-space, 0px); padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); --ed27-bg: #071523; --ed27-gold: #eab967; --ed27-muted: #bac5d0; color: #fff; background: var(--ed27-bg); font: 16px/1.7 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.ed27 *, .ed27 *::before, .ed27 *::after { box-sizing: border-box; }
.ed27 :is(h1,h2,h3,p,ol) { margin: 0; padding: 0; color: inherit; }
.ed27 a { color: inherit; text-decoration: none; }
.ed27 img { display: block; max-width: 100%; border: 0; border-radius: 0; }
.ed27 a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.ed27 [hidden] { display: none !important; }
.ed27 .ed27-skip { position: absolute; top: 8px; left: 8px; transform: translateY(-180%); z-index: 100; padding: 10px 20px; background: #071523; }
.ed27 .ed27-skip:focus { transform: none; }
.ed27 .ed27-hero-visual { position: relative; isolation: isolate; container-type: inline-size; padding-top: 0; padding-bottom: 72px; }
.ed27 .ed27-hero-picture { display: block; position: relative; z-index: -2; }
.ed27 .ed27-hero-picture img { width: 100%; height: auto; }
.ed27 .ed27-hero-visual::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #07152315, transparent 27%, transparent 83%, #071523 100%); }
.ed27 .ed27-hero-copy { position: absolute; top: 14px; left: 5%; width: 90%; text-align: center; }
.ed27 .ed27-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; line-height: 1.6; color: var(--ed27-gold); }
.ed27 .ed27-edition { display: none; justify-content: center; align-items: center; gap: 16px; font-size: 12px; letter-spacing: 2px; margin-bottom: 9px; }
.ed27 .ed27-edition > span { font-size: 15px; }
.ed27 h1 { font: 400 16px/1 Georgia, 'Times New Roman', serif; }
.ed27 .ed27-title-small { display: block; font-size: 16px; letter-spacing: 5px; margin-bottom: 4.4px; }
.ed27 .ed27-title-main { display: block; color: #f6d396; font-size: clamp(45px, 13.1vw, 94px); letter-spacing: .015em; line-height: .95; text-shadow: 0 2px 24px #b56a3625; }
.ed27 .ed27-title-year { display: block; color: var(--ed27-gold); font: 14px/1.3 Arial, sans-serif; letter-spacing: 9px; margin: 7px 0 9px; padding-left: 9px; }
.ed27 .ed27-tagline { font-size: 12px; font-weight: 500; letter-spacing: 1px; line-height: 1.6; }
/* 1402 / 1122: sitúa el nombre bajo la imagen íntegra, también en sitios encajonados. */
.ed27 .ed27-confirmed { position: absolute; top: calc(124.9554vw - 6px); top: calc(124.9554cqw - 6px); left: 0; width: 100%; margin: 0; }
.ed27 .ed27-confirmed .ed27-eyebrow { font-size: 12px; letter-spacing: 1.2px; }
.ed27 .ed27-guest-name { font: 27px/1.3 Georgia, 'Times New Roman', serif; letter-spacing: 2px; margin-top: 2px; }
.ed27 .ed27-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 13px 22px; border: 1px solid #efc581; border-radius: 2px; background: linear-gradient(110deg, #edc47e, #d79c48); color: #101b27; font-size: 13px; font-weight: 800; line-height: 1.4; letter-spacing: 1.3px; box-shadow: 0 5px 28px #cb8a3020; transition: background .2s, box-shadow .2s; }
.ed27 .ed27-button:hover { color: #071523; background: #f4d194; box-shadow: 0 5px 30px #cb8a3040; }
.ed27 .ed27-button > span { font-size: 19px; line-height: 1; }
.ed27 .ed27-hero-cta { margin-top: 10px; min-height: 52px; padding: 15px 24px; }
.ed27 .ed27-sale-note { font-size: 12px; line-height: 1.5; color: #f1ce95; margin-top: 5px; }
.ed27 .ed27-event-meta { position: relative; background: linear-gradient(100deg, #0d2438, #091b2b); border-top: 1px solid #eab96738; border-bottom: 1px solid #eab96725; }
.ed27 .ed27-meta-inner { width: 88%; max-width: 1200px; margin: auto; display: grid; gap: 15px; padding: 20px 0; }
.ed27 .ed27-meta-block { min-width: 0; display: flex; align-items: center; gap: 15px; }
.ed27 .ed27-meta-icon { flex-shrink: 0; color: var(--ed27-gold); }
.ed27 .ed27-meta-block p { min-width: 0; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: .3px; }
.ed27 .ed27-meta-date p { font: 26px/1.25 Georgia, 'Times New Roman', serif; color: #f3d4a1; }
.ed27 .ed27-meta-label { display: block; color: var(--ed27-gold); font: 12px/1.5 Arial, sans-serif; letter-spacing: 2px; margin-bottom: 5px; }
.ed27 .ed27-meta-city { display: block; color: var(--ed27-muted); font-size: 14px; letter-spacing: 1px; margin-top: 5px; }
.ed27 .ed27-meta-location { border-top: 1px solid #eab96725; padding-top: 15px; }
.ed27 .ed27-meta-cta { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 46px; padding: 12px 17px; border: 1px solid #eab96770; border-radius: 3px; color: #efc888; font-size: 12px; font-weight: 700; letter-spacing: 1px; line-height: 1.5; }
.ed27 .ed27-meta-cta:hover { background: #eab96710; color: #fff; }
.ed27 .ed27-section { padding: 29px 6%; }
.ed27 h2 { font: 400 clamp(23px, 3vw, 38px)/1.35 Georgia, 'Times New Roman', serif; letter-spacing: .5px; }
.ed27 h2 em { color: var(--ed27-gold); font-style: normal; }
.ed27 .ed27-ornament { display: flex; align-items: center; justify-content: center; gap: 17px; color: var(--ed27-gold); font-size: 24px; margin-bottom: 14px; }
.ed27 .ed27-ornament > span { width: 65px; height: 1px; background: linear-gradient(90deg, transparent, #eab96780); }
.ed27 .ed27-ornament > span:last-child { transform: rotate(180deg); }
.ed27 .ed27-intro { text-align: center; background: radial-gradient(ellipse at 50% 0, #13334a55, transparent 65%); }
.ed27 .ed27-intro.ed27-section { padding-top: 24px; padding-bottom: 24px; }
.ed27 .ed27-prose { max-width: 740px; margin: 19px auto 0; color: var(--ed27-muted); font-size: 16px; line-height: 1.75; }
.ed27 .ed27-prose p + p { margin-top: 12px; }
.ed27 .ed27-closing { font: italic 20px/1.6 Georgia, 'Times New Roman', serif; color: #edc58a; margin-top: 18px; }
.ed27 .ed27-tickets { text-align: center; background: radial-gradient(ellipse at 50% 100%, #12334e90, transparent 70%); scroll-margin-top: var(--ed27-anchor-offset, 24px); }
.ed27 .ed27-tickets:focus { outline: none; }
.ed27 .ed27-tickets-subtitle { color: var(--ed27-muted); font-size: 13px; letter-spacing: 1.2px; margin: 14px auto 21px; max-width: 560px; }
.ed27 .ed27-ticket-panel { max-width: 980px; padding: clamp(14px, 2.3vw, 28px); border: 1px solid #eab96740; background: #0d2235; margin: auto; border-radius: 12px; overflow-wrap: anywhere; }
.ed27 .ed27-ticket-icon { display: block; color: var(--ed27-gold); font-size: 30px; margin-bottom: 7px; }
.ed27 .ed27-ticket-panel h3 { font: 27px/1.4 Georgia, serif; margin: 8px 0; }
.ed27 .ed27-ticket-panel > p:last-child { color: var(--ed27-muted); font-size: 13px; }
/* El widget oficial conserva bg-fill=false: su iframe transparente deja ver este marfil. */
.ed27 .tt-widget { max-width: 100%; width: 100%; padding: 12px; border-radius: 6px; background: #f5f2ec; color: #1f2933; }
.ed27 .tt-widget iframe { max-width: 100%; width: 100%; border: 0; }
.ed27 .tt-widget-fallback a { color: #63431d; text-decoration: underline; }
.ed27 .ed27-ticket-panel .ed27-ticket-managed { color: var(--ed27-muted); font-size: 13px; letter-spacing: .4px; margin-top: 16px; }
.ed27 .ed27-purchase-bar { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 10; display: flex; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #071523f5; border-top: 1px solid #eab96745; box-shadow: 0 -8px 30px #0003; }
.ed27 .ed27-purchase-bar > div:first-child { display: none; }
.ed27 .ed27-bar-action { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 4px; }
.ed27 .ed27-bar-note { color: #f1ce95; font-size: 12px; line-height: 1.4; }
.ed27 .ed27-purchase-bar .ed27-button { width: 100%; max-width: 460px; }
@media (min-width: 600px) and (max-width: 899px) {
  .ed27 .ed27-hero-visual { padding-top: 0; padding-bottom: 88px; }
  .ed27 .ed27-hero-copy { top: 32px; }
  .ed27 .ed27-title-small { font-size: 25px; }
  .ed27 .ed27-tagline { font-size: 12px; }
  .ed27 .ed27-confirmed { top: calc(124.9554vw - 24px); top: calc(124.9554cqw - 24px); }
  .ed27 .ed27-confirmed .ed27-eyebrow { font-size: 12px; }
  .ed27 .ed27-guest-name { font-size: 37px; }
  .ed27 .ed27-hero-cta { margin-top: 22px; }
}
@media (min-width: 900px) {
  .ed27 .ed27-hero-visual { min-height: clamp(560px, 44vw, 920px); padding: 0; }
  .ed27 .ed27-hero-picture { position: absolute; inset: 0 0 auto; }
  .ed27 .ed27-hero-visual::after { background: linear-gradient(0deg, #071523 0%, #07152300 29%), linear-gradient(90deg, #07152330, transparent 60%); }
  .ed27 .ed27-hero-copy { top: clamp(64px, 5.3vw, 110px); left: 5.5%; width: 42%; max-width: 710px; text-align: left; }
  .ed27 .ed27-edition { display: flex; justify-content: flex-start; font-size: 12px; margin-bottom: 22px; }
  .ed27 .ed27-title-small { font-size: clamp(25px, 2.35vw, 42px); letter-spacing: 8px; margin-bottom: 7.5px; }
  .ed27 .ed27-title-main { font-size: clamp(62px, 6.4vw, 122px); }
  .ed27 .ed27-title-year { font-size: 16px; letter-spacing: 12px; margin: 14px 0 24px; padding-left: 0; }
  .ed27 .ed27-tagline { font-size: clamp(14px, 1.05vw, 18px); letter-spacing: 1.2px; }
  .ed27 .ed27-confirmed { position: static; width: auto; margin-top: 26px; padding-left: 16px; border-left: 1px solid #eab96790; }
  .ed27 .ed27-confirmed .ed27-eyebrow { font-size: 12px; }
  .ed27 .ed27-guest-name { font-size: clamp(30px, 2.6vw, 46px); margin-top: 3px; }
  .ed27 .ed27-button.ed27-hero-cta { margin-top: 24px; min-height: 58px; padding: 18px 32px; font-size: 14px; }
  .ed27 .ed27-button { min-height: 52px; padding: 16px 25px; font-size: 13px; }
  .ed27 .ed27-meta-inner { grid-template-columns: minmax(230px, .9fr) minmax(250px, 1.5fr) auto; align-items: center; gap: 24px; padding: 24px 0; }
  .ed27 .ed27-meta-date p { font-size: clamp(24px, 1.8vw, 32px); }
  .ed27 .ed27-meta-location { border-top: 0; border-left: 1px solid #eab96730; padding-top: 0; padding-left: 24px; }
  .ed27 .ed27-meta-location p { font-size: clamp(15px, 1.2vw, 20px); }
  .ed27 .ed27-meta-cta { white-space: nowrap; }
  .ed27 .ed27-section { padding: 40px 7%; }
  .ed27 .ed27-intro.ed27-section { padding-top: 33px; padding-bottom: 33px; }
  .ed27 .ed27-purchase-bar { align-items: center; justify-content: space-between; padding: 13px 6%; }
  .ed27 .ed27-purchase-bar > div:first-child { display: flex; align-items: center; gap: 24px; font-size: 12px; letter-spacing: 1.4px; }
  .ed27 .ed27-purchase-bar > div:first-child span { font-size: 12px; color: var(--ed27-gold); }
  .ed27 .ed27-purchase-bar .ed27-button { width: auto; }
  .ed27 .ed27-bar-action { width: auto; }
  .ed27 .ed27-bar-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ed27 *, .ed27 *::before, .ed27 *::after { transition: none !important; animation: none !important; } }
