/* === Base === */
:root{
  --bg:#070707;
  --text:#f3f3f3;
  --muted:rgba(243,243,243,.75);
  --line:rgba(243,243,243,.28);
  --gold:rgba(214,178,94,.9);
  --max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

/* === Hero background === */
.hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;

  /* FOTO DE FONDO */
  background-image:
    linear-gradient(
      rgba(0,0,0,.65),
      rgba(0,0,0,.75)
    ),
    url("assets/fondo_oviedo.jpg");

  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}


.hero::before{
  /* Imagen de fondo (cámbiala por tu foto) */
  content:"";
  position:absolute; inset:0;
  background-image:url("assets/hero-oviedo.jpg");
  background-size:cover;
  background-position:center 20%;
  filter:contrast(1.05) saturate(.95);
  transform:scale(1.02);
  z-index:0;
}

/* Oscurecer bordes, estilo editorial */
.hero::after{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(1200px 650px at 50% 15%, rgba(0,0,0,.08), rgba(0,0,0,.80) 70%, rgba(0,0,0,.95) 100%);
  z-index:1;
}

.container{
  position:relative;
  z-index:2;
  max-width:var(--max);
  margin:0 auto;
  padding:26px 22px 40px;
}

/* === Top bar === */
.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--text);
  min-width:220px;
}

.brand .mark{
  width:46px;
  height:26px;
  border-left:6px solid var(--gold);
  border-bottom:2px solid rgba(255,255,255,.25);
  transform:skewX(-8deg);
  opacity:.9;
}

.brand .name{
  font-family: Arial, Helvetica, sans-serif;
  font-weight:700;
  font-size:22px;
  letter-spacing:.2px;
}

/* Nav de días */
.navdays{
  display:flex;
  flex-wrap:wrap;
  gap:14px 16px;
  align-items:center;
  justify-content:center;
  padding-top:6px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-family: Arial, Helvetica, sans-serif;
  font-size:12px;
}

.navdays a{
  color:rgba(255,255,255,.86);
  text-decoration:none;
  padding:6px 2px;
  border-bottom:1px solid transparent;
}
.navdays a:hover{ border-bottom-color:rgba(255,255,255,.45); }

.nav-compact{
  display:none;
  gap:10px;
  align-items:center;
}
.btn-menu{
  border:1px solid rgba(255,255,255,.30);
  background:transparent;
  color:var(--text);
  padding:8px 10px;
  border-radius:4px;
  font-family: Arial, Helvetica, sans-serif;
  cursor:pointer;
}

/* Sello a la derecha */
.program-badge{
  min-width:170px;
  text-align:right;
  color:rgba(255,255,255,.90);
  font-size:24px;
  line-height:1.05;
}
.program-badge .small{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-family: Arial, Helvetica, sans-serif;
  opacity:.85;
}

/* === Hero content layout === */
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:28px;
  margin-top:54px;
  align-items:start;
}

.hero-left h1{
  margin:0;
  font-weight:500;
  letter-spacing:.02em;
  font-size:56px;
  line-height:1.03;
}

.hero-left .kicker{
  margin-top:14px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  color:var(--muted);
}

.hero-left .subline{
  margin-top:10px;
  font-size:18px;
  color:var(--muted);
}

/* Divisor vertical */
.hero-right{
  border-left:1px solid var(--line);
  padding-left:28px;
}

.hero-right h2{
  margin:0 0 10px;
  font-weight:500;
  font-size:34px;
  line-height:1.15;
}

.hero-right p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.7;
  max-width:58ch;
}

.hero-actions{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-actions a{
  text-decoration:none;
  color:var(--text);
  border:1px solid rgba(255,255,255,.30);
  padding:10px 12px;
  border-radius:4px;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hero-actions a:hover{ border-color:rgba(214,178,94,.55); }

/* === Footer === */
.footer{
  position:absolute;
  left:0; right:0; bottom:0;
  z-index:2;
  padding:12px 22px;
  display:flex;
  justify-content:center;
  gap:10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:12px;
  color:rgba(255,255,255,.68);
  text-align:center;
}

.footer a{
  color:rgba(255,255,255,.75);
}

/* === Day page layout === */
.page{
  min-height:100vh;
  background:#0b0b0b;
}
.page .container{ padding-top:22px; }
.page-head{
  margin-top:26px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:18px;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:14px;
}
.page-head h1{ margin:0; font-weight:500; font-size:34px; }
.page-head .meta{ color:var(--muted); font-family: Arial, Helvetica, sans-serif; font-size:13px; }

.list{
  margin-top:18px;
}
.item{
  grid-template-columns: 88px 1fr;
  gap:14px;
  padding:12px 1%;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.time{
  font-family: Arial, Helvetica, sans-serif;
  font-weight:700;
  letter-spacing:.06em;
  color:black
}
.title{
  font-weight:600;
  font-size:16px;
}
.meta{
  margin-top:4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:13px;
}
.note{
  margin-top:6px;
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.6;
}

@media (max-width: 980px){
  .program-badge{ display:none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-right{ border-left:none; padding-left:0; border-top:1px solid var(--line); padding-top:22px; }
  .hero-left h1{ font-size:44px; }
}

@media (max-width: 760px){
  .navdays{ display:none; }
  .nav-compact{ display:flex; }
  .brand .name{ font-size:18px; }
  .hero-left h1{ font-size:38px; }
}

/* Simple drawer mobile */
.drawer{
  position:fixed;
  top:0; right:-320px;
  width:320px; height:100%;
  background:#0c0c0c;
  border-left:1px solid rgba(255,255,255,.12);
  z-index:9999;
  transition:right .2s ease;
  padding:18px;
  font-family: Arial, Helvetica, sans-serif;
}
.drawer.open{ right:0; }
.drawer .close{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:12px;
}
.drawer a{
  display:block;
  padding:10px 6px;
  border-bottom:1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color:rgba(255,255,255,.86);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
}
.drawer a:hover{ color:#fff; }
.backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  z-index:9998;
  display:none;
}
.backdrop.show{ display:block; }

/* === HEADER ESTILO DIARIO === */
.header{
  margin-bottom: 24px;
}

/* Fila superior */
.header-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.35);
}

/* Barra de navegación inferior */
.navdays-bar{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
  padding:14px 6px 8px;
  margin-top:8px;
  border-bottom:1px solid rgba(255,255,255,.25);

  font-family: Arial, Helvetica, sans-serif;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.navdays-bar a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
  padding-bottom:4px;
  border-bottom:1px solid transparent;
}

.navdays-bar a:hover{
  border-bottom-color:rgba(255,255,255,.55);
}

/* Responsive */
@media (max-width: 760px){
  .navdays-bar{
    display:none;
  }
}

/* === MENÚ EDITORIAL (tipo Diario de Sevilla) === */
.navdays-editorial{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:26px;

  margin-top:14px;
  padding:12px 8px 10px;

  font-family: Georgia, "Times New Roman", serif;
  font-size:15px;
  letter-spacing:.14em;
  text-transform:uppercase;

  color:rgba(255,255,255,.92);
}

.navdays-editorial a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  white-space:nowrap;
}

.navdays-editorial a:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Separador central */
.navdays-editorial .sep{
  margin:0 10px;
  opacity:.7;
  font-size:16px;
  pointer-events:none;
}

/* Línea sutil inferior (como en la imagen) */
.navdays-editorial::after{
  content:"";
  display:block;
  width:100%;
  height:1px;
  margin-top:10px;
  background:linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
}

/* Responsive: ocultar en móvil (usa drawer) */
@media (max-width: 900px){
  .navdays-editorial{
    display:none;
  }
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

/* Logo */
.brand-logo{
  height:36px;            /* ajusta si lo ves grande/pequeño */
  width:auto;
  display:block;
}

/* En pantallas grandes, un poco más grande */
@media (min-width: 1200px){
  .brand-logo{
    height:40px;
  }
}

/* === PÁGINAS INTERIORES === */
.page{
  background:#0b0b0b;
  min-height:100vh;
}

/* Cabecera de sección */
.section-head{
  margin-top:40px;
  margin-bottom:30px;
  max-width:760px;
}

.section-head h1{
  margin:0 0 10px;
  font-size:40px;
  font-weight:500;
}

.section-head p{
  margin:0;
  color:black;
  font-size:16px;
  line-height:1.7;
}

/* Cuaresma */
.cuaresma-list{
  margin-top:24px;
}

.cuaresma-day{
  margin-bottom:34px;
}

.cuaresma-day h2{
  font-size:18px;
  font-weight:600;
  margin:0 0 12px;
  padding-bottom:6px;
  border-bottom:1px solid rgba(255,255,255,.25);
}

/* Reutiliza .item, .time, .title, .meta */

/* === EVENTO / JORNADA === */
.event-hero{
  position:relative;
  min-height:100vh;
  background-size:cover;
  background-position:center;
  color:#fff;
}

.event-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.event-hero-content{
  position:relative;
  z-index:2;
}

/* Título jornada */
.event-title{
  margin-top:60px;
  max-width:520px;
}

.event-title h1{
  margin:0;
  font-size:48px;
  font-weight:500;
}

.event-title p{
  margin:6px 0 18px;
  font-size:18px;
  opacity:.85;
}

.event-actions{
  display:flex;
  gap:10px;
}

.event-actions a{
  border:1px solid rgba(255,255,255,.35);
  padding:8px 12px;
  text-decoration:none;
  color:#fff;
  font-family: Arial, sans-serif;
  font-size:13px;
}

/* Índice de hermandades */
.event-index{
  margin-top:40px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:18px;
}

.event-index a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
}

.event-index span{
  font-size:12px;
  opacity:.75;
}

/* Secciones */
.event-section{
  background:#fff;
  color:#000;
  padding:50px 0;
}

.section-title{
  font-size:28px;
  margin-bottom:20px;
}

/* Tabla */
.table-wrap{
  overflow-x:auto;
}

.event-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.event-table th,
.event-table td{
  padding:8px 6px;
  border:1px solid #ddd;
}

.event-table th{
  background:#f3f3f3;
}

.hour{
  font-weight:bold;
  background:#000;
  color:#fff;
}

/* Mapa */
.map-placeholder{
  height:320px;
  background:#eee;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
}

/* HERO EDITORIAL REAL */
.ds-hero{
  position:relative;
  background-size:cover;
  background-position:center;
}

.ds-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.ds-hero .container{
  position:relative;
  z-index:2;
}

/* Título */
.ds-title{
  margin-top:80px;
}

.ds-title h1{
  margin:0;
  font-size:56px;
  line-height:1.05;
  font-weight:500;
}

.ds-title p{
  margin-top:6px;
  font-size:16px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.8;
}

/* Botones discretos */
.ds-actions{
  position:absolute;
  top:220px;
  right:40px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ds-actions a{
  border:1px solid rgba(255,255,255,.4);
  padding:6px 10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color: white;
}

/* Índice */
.ds-index{
  margin-top:60px;
  display:grid;
  gap:20px;
  font-size:16px;
}

.ds-index-2{
  margin-top:60px;
  display:grid;
  gap:20px;
  font-size:16px;
  grid-template-columns: repeat(2, 1fr);
}

.ds-index span{
  display:block;
  font-size:12px;
  opacity:.7;
}

.ds-white{
  background:#fff;
  color:#000;
}

/* EVENTOS CLICABLES */
.item-link{
  text-decoration:none;
  color:inherit;
  display:block;
}

.item-link:hover{
  background:#f5f5f5;
}

/* Contenido con logo */
.event-content{
  display:flex;
  align-items:center;
  gap:14px;
}

/* Logo de hermandad */
.event-logo{
  width:36px;
  height:36px;
  object-fit:contain;
  flex-shrink:0;
}

/* === MAPA EVENTO (ESTILO DIARIO) === */

.ds-map-title{
  margin:0;
  line-height:1.05;
  margin-top: 1.5%;
  margin-bottom: 1.5%;
}

.ds-map-wrap{
  max-width:1000px;
}

.ds-map{
  width:100%;
  height:420px;
  border:1px solid #ddd;
  background:#f3f3f3;
}

.ds-map iframe{
  width:100%;
  height:100%;
  border:0;
}

.ds-map-note{
  margin-top:10px;
  font-size:13px;
  color:#666;
}
