:root {
  --verde: #f75000;
  --verde-osc: #111111;
  --dorado: #ff7a2e;
  --texto: #1d1d1d;
  --gris: #f4f4f4;
  --borde: #dcdcd6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, "Times New Roman", serif; color: var(--texto); background: #fff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }

.topbar { background: var(--verde-osc); color: #fff; font: 13px Arial, sans-serif; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; }

.masthead { text-align: center; padding: 22px 0 14px; border-bottom: 3px double var(--texto); }
.logo { font-size: 46px; font-weight: 700; letter-spacing: -1px; color: var(--verde-osc); }
.logo span { color: var(--verde); }
.logo.small { font-size: 26px; }
.tagline { font: italic 15px Georgia, serif; color: #555; }

.nav { background: var(--verde); font-family: Arial, sans-serif; position: sticky; top: 0; z-index: 10; }
.nav ul { display: flex; flex-wrap: wrap; }
.nav a { display: block; padding: 12px 16px; color: #fff; font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--verde-osc); }
.nav .nav-ad { background: var(--verde-osc); color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 16px; padding: 12px 0; width: 100%; text-align: left; cursor: pointer; }

/* Banners */
.ad-banner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; position: relative; padding: 16px; margin: 18px 0;
  background: repeating-linear-gradient(45deg, #fff4ea, #fff4ea 12px, #ffe6d0 12px, #ffe6d0 24px);
  border: 2px dashed var(--dorado); color: #333; font-family: Arial, sans-serif;
  transition: transform .15s, box-shadow .15s;
}
.ad-banner:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.ad-banner strong { font-size: 22px; color: var(--verde-osc); }
.ad-banner span:last-child { font-size: 13px; }
.ad-label { position: absolute; top: 4px; left: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #b34700; }
.ad-top { min-height: 90px; }
.ad-mid { min-height: 110px; }
.ad-side { min-height: 250px; margin-top: 0; }
.ad-side.tall { min-height: 600px; }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; margin-top: 8px; }
.section-title { font-family: Arial, sans-serif; font-size: 20px; text-transform: uppercase; border-bottom: 3px solid var(--verde); padding-bottom: 6px; margin: 30px 0 16px; color: var(--verde-osc); }
.tag { display: inline-block; font: 700 11px Arial, sans-serif; text-transform: uppercase; background: var(--verde); color: #fff; padding: 2px 8px; margin: 8px 0 4px; }
.img-ph { background: linear-gradient(135deg, #3a3a3a, #111); color: #ff9d2e; display: flex; align-items: center; justify-content: center; font: 14px Arial, sans-serif; aspect-ratio: 16/9; }
.img-ph.sm { width: 150px; flex-shrink: 0; }

.hero .img-ph { aspect-ratio: 16/8; font-size: 18px; }
.hero h1 { font-size: 34px; line-height: 1.15; margin: 6px 0 8px; }
.hero p { font-size: 18px; color: #333; }
.hero small { color: #777; font-family: Arial, sans-serif; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card h3 { font-size: 18px; line-height: 1.25; margin-bottom: 4px; }
.card p, .row p { font-size: 14px; color: #555; }
.list { display: grid; gap: 18px; }
.row { display: flex; gap: 16px; align-items: flex-start; }
.row h3 { font-size: 19px; line-height: 1.25; }

.sidebar .widget { background: var(--gris); border-top: 4px solid var(--verde); padding: 16px; margin-bottom: 18px; }
.widget h3 { font-family: Arial, sans-serif; text-transform: uppercase; font-size: 16px; margin-bottom: 10px; }
.widget ol { counter-reset: n; }
.widget li { counter-increment: n; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--borde); position: relative; font-size: 15px; }
.widget li::before { content: counter(n); position: absolute; left: 0; font: 700 22px Arial, sans-serif; color: var(--dorado); }
.widget a:hover { color: var(--verde); }

/* Sección de publicidad */
.ads-section { background: var(--verde-osc); color: #fff; padding: 56px 0; margin-top: 40px; font-family: Arial, sans-serif; text-align: center; }
.ads-section h2 { font-size: 32px; font-family: Georgia, serif; }
.lead { max-width: 640px; margin: 10px auto 32px; color: #ddd; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; color: var(--texto); padding: 28px 22px; border-radius: 8px; position: relative; }
.plan.featured { border: 3px solid var(--dorado); transform: scale(1.04); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--dorado); color: #222; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.plan h3 { font-size: 22px; color: var(--verde-osc); }
.size { color: #777; font-size: 14px; margin: 4px 0 12px; }
.price { font-size: 38px; font-weight: 700; color: var(--verde); }
.price small { font-size: 14px; color: #777; font-weight: 400; }
.plan ul { margin: 16px 0 22px; text-align: left; }
.plan li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; border-bottom: 1px solid #eee; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 700; }

.btn { display: inline-block; background: var(--dorado); color: #111; font: 700 15px Arial, sans-serif; padding: 12px 26px; border: 0; border-radius: 4px; cursor: pointer; }
.btn:hover { background: #ffb45e; }

.contact { padding: 50px 0; background: var(--gris); text-align: center; font-family: Arial, sans-serif; }
.contact h2 { font-family: Georgia, serif; font-size: 30px; }
.contact p { margin: 6px 0 20px; color: #555; }
.contact form { display: grid; gap: 12px; text-align: left; }
.contact input, .contact select, .contact textarea { padding: 12px; border: 1px solid var(--borde); border-radius: 4px; font: 15px Arial, sans-serif; width: 100%; }
.contact .btn { background: #25d366; color: #fff; }
.contact .btn:hover { background: #1ebe5a; }

.footer { background: #111; color: #ccc; padding: 30px 0 14px; font: 14px Arial, sans-serif; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer .logo { color: #fff; }
.copy { text-align: center; margin-top: 20px; font-size: 12px; color: #888; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .ad-side.tall { min-height: 250px; }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
}
@media (max-width: 700px) {
  .logo { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .img-ph.sm { width: 100%; }
  .hero h1 { font-size: 26px; }
  .menu-btn { display: block; }
  .nav ul { display: none; flex-direction: column; }
  .nav ul.open { display: flex; }
  .topbar .container { flex-direction: column; text-align: center; }
}

/* ---- Páginas internas ---- */
.nav a.act { background: var(--verde-osc); box-shadow: inset 0 -3px 0 var(--dorado); }
.hero-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: flex; }
.foto { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.foto.sm { width: 150px; flex-shrink: 0; }
.hero .hero-img { margin-bottom: 4px; }
.hero h1 a:hover, .card h3 a:hover, .row h3 a:hover { color: var(--verde); }
small { color: #777; font-family: Arial, sans-serif; font-size: 12px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; }
.section-title.big { font-size: 28px; }
.more { font-size: 13px; color: var(--verde); }
.vacio { text-align: center; padding: 60px 16px; color: #666; }
.nota h1 { font-size: 36px; line-height: 1.15; margin: 8px 0; }
.nota .resumen { font-size: 19px; color: #444; font-style: italic; }
.nota .meta { font: 13px Arial, sans-serif; color: #777; margin: 8px 0 16px; }
.cuerpo { margin: 20px 0; font-size: 18px; line-height: 1.7; }
.cuerpo p { margin-bottom: 16px; }
a.tag:hover { background: var(--verde-osc); }
.ad-real { display: block; position: relative; margin: 18px 0; text-align: center; }
.ad-real img { max-width: 100%; height: auto; display: inline-block; }
.footer .container > div { min-width: 180px; }
.footer a:hover { color: var(--dorado); }
.footer p { margin-bottom: 4px; }
.ads-section { margin-top: 0; }

/* ---- Estilo del sitio real (logo VDM, naranja y gris) ---- */
.logo img { height: 90px; width: auto; display: block; margin: 0 auto; }
.logo.small img { height: 64px; margin: 0 0 8px; }
.masthead { padding: 10px 0; border-bottom: 1px solid var(--borde); }
.nav ul { flex-wrap: wrap; }
.nav a { padding: 12px 13px; font-size: 14px; }

/* ---- Facebook ---- */
.fb-frame { max-width: 100%; display: block; margin: 0 auto; background: #fff; }
.fb-box { background: var(--gris); padding: 16px; text-align: center; }
.fb-posts { display: grid; gap: 12px; }
.fb-estado { text-align: center; font: 13px Arial, sans-serif; color: #777; margin: 20px 0; }
.fb-post { display: block; border: 1px solid var(--borde); border-radius: 8px; overflow: hidden; color: var(--texto); text-decoration: none; background: #fff; }
.fb-post:hover { border-color: var(--verde); }
.fb-post img { width: 100%; display: block; max-height: 220px; object-fit: cover; }
.fb-fecha { display: block; padding: 8px 10px 0; font: 700 11px Arial, sans-serif; color: var(--verde); text-transform: uppercase; }
.fb-txt { display: block; padding: 4px 10px 10px; font: 14px/1.4 Arial, sans-serif; }
.fb-card { text-align: center; padding: 8px 4px 4px; }
.fb-card img { max-width: 140px; height: auto; margin: 0 auto 10px; display: block; }
.fb-card p { font: 14px/1.4 Arial, sans-serif; margin: 0 0 12px; }
.fb-link { text-align: center; font: 13px Arial, sans-serif; margin-top: 8px; }
.fb-link a { color: var(--verde); font-weight: 700; }
.widget .fb-frame { width: 100%; }
.fb-slot { width: 100%; min-height: 100px; display: flex; justify-content: center; overflow: hidden; }
.fb-box { padding: 12px; }
.fb-box .fb-slot { max-width: 500px; margin: 0 auto; }
.sidebar .widget:has(.fb-slot) { padding: 12px 10px; }
.sidebar .widget .fb-slot { min-height: 560px; }

/* ================= REDISEÑO PROFESIONAL ================= */
:root { --sombra: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); --radio: 10px; --titulo: "Merriweather", Georgia, serif; --ui: "Inter", Arial, sans-serif; }
body { font-family: var(--ui); background: #fafafa; color: #1a1a1a; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--titulo); letter-spacing: -.2px; }

.topbar { background: #0d0d0d; font-family: var(--ui); letter-spacing: .3px; }
.masthead { background: #fff; padding: 14px 0; border-bottom: 0; }
.logo img { height: 84px; }
.nav { background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.nav .container { display: flex; justify-content: center; }
.nav a { color: #222; font-family: var(--ui); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; padding: 15px 12px; position: relative; }
.nav a:hover { background: transparent; color: var(--verde); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--verde); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a.act::after { transform: scaleX(1); }
.nav a.act { background: transparent; box-shadow: none; color: var(--verde); }
.nav .nav-ad { background: var(--verde); color: #fff; border-radius: 6px; margin: 8px 0 8px 8px; padding: 7px 16px; }
.nav .nav-ad::after { display: none; }
.nav .nav-ad:hover { background: #111; color: #fff; }
.menu-btn { color: #111; font-weight: 700; }

/* Cintilla última hora */
.ticker { background: #111; color: #fff; overflow: hidden; font-size: 13px; }
.ticker .container { display: flex; align-items: center; gap: 14px; }
.ticker-tag { background: var(--verde); color: #fff; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; padding: 9px 14px; flex-shrink: 0; }
.ticker-track { overflow: hidden; flex: 1; white-space: nowrap; }
.ticker-move { display: inline-block; animation: mover 60s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { margin-right: 48px; color: #ddd; }
.ticker-move a::before { content: "●"; color: var(--verde); margin-right: 10px; font-size: 8px; vertical-align: middle; }
.ticker-move a:hover { color: #fff; text-decoration: underline; }
@keyframes mover { to { transform: translateX(-50%); } }

/* Banners */
.ad-banner { border-radius: var(--radio); border: 2px dashed #ffb27a; background: linear-gradient(135deg, #fff7f0, #ffe9d9); font-family: var(--ui); }
.ad-banner strong { font-family: var(--ui); font-weight: 800; letter-spacing: .5px; }
.ad-banner:hover { box-shadow: var(--sombra); }
.ad-real img { border-radius: var(--radio); }

/* Portada */
.layout { gap: 36px; margin-top: 6px; }
.section-title { font-family: var(--ui); font-weight: 800; font-size: 15px; letter-spacing: 1.2px; border-bottom: 1px solid #e5e5e5; position: relative; padding-bottom: 10px; margin: 40px 0 20px; color: #111; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--verde); }
.section-title.big { font-size: 22px; }
.more { font-weight: 700; text-transform: none; letter-spacing: 0; }
.more:hover { text-decoration: underline; }
.tag { font-family: var(--ui); font-weight: 700; font-size: 10.5px; letter-spacing: .8px; border-radius: 4px; padding: 3px 9px; }

.hero { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--sombra); background: #111; margin-top: 18px; }
.hero .hero-img { aspect-ratio: 16/9; margin: 0; transition: transform .5s; }
.hero:hover .hero-img { transform: scale(1.03); }
.hero-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 28px 24px; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.55) 55%, transparent); color: #fff; }
.hero-over .tag { margin: 0 0 8px; }
.hero h1 { font-size: 32px; line-height: 1.2; font-weight: 900; margin: 0 0 8px; }
.hero h1 a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--verde); }
.hero p { color: #e6e6e6; font-size: 16px; max-width: 760px; }
.hero small { color: #bbb; }

.card, .row { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover, .row:hover { transform: translateY(-3px); box-shadow: 0 4px 14px rgba(0,0,0,.1), 0 14px 32px rgba(0,0,0,.08); }
.card .tag { margin: 12px 14px 0; display: table; }
.card h3 { font-size: 16px; line-height: 1.35; font-weight: 700; margin: 2px 14px 0; }
.card p { font-family: var(--ui); font-size: 13.5px; color: #666; margin: 6px 14px 0; }
.card small { display: block; margin: 8px 14px 14px; }
.row { padding: 0; gap: 0; align-items: stretch; }
.row > div { padding: 12px 16px; }
.row .foto.sm, .row .img-ph.sm { width: 200px; height: auto; aspect-ratio: 4/3; border-radius: 0; }
.row h3 { font-size: 17px; font-weight: 700; margin: 2px 0 4px; }
.row p { font-family: var(--ui); }
.list { gap: 16px; }

.img-ph { background: linear-gradient(135deg, #2b2b2b, #0d0d0d); position: relative; color: transparent; }
.img-ph::after { content: ""; position: absolute; inset: 0; background: url(../img/logo.png) center/46% no-repeat; opacity: .25; }

/* Lateral */
.sidebar .widget { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); border-top: 4px solid var(--verde); }
.widget h3 { font-family: var(--ui); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; }
.widget li { font-family: var(--ui); font-weight: 500; }
.widget li::before { font-family: var(--titulo); color: var(--verde); }

/* Nota */
.nota { background: #fff; padding: 28px; border-radius: var(--radio); box-shadow: var(--sombra); margin-top: 18px; }
.nota h1 { font-size: 34px; font-weight: 900; }
.nota .hero-img { border-radius: var(--radio); }
.cuerpo { font-family: var(--titulo); font-size: 17px; line-height: 1.85; color: #2a2a2a; }
.btn { border-radius: 8px; background: var(--verde); color: #fff; font-family: var(--ui); transition: transform .15s, background .15s; }
.btn:hover { background: #111; transform: translateY(-1px); }

/* Publicidad */
.ads-section { background: linear-gradient(135deg, #0d0d0d, #2a1204); }
.ads-section h2 { font-family: var(--titulo); font-weight: 900; }
.plan { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.plan.featured { border-color: var(--verde); }
.badge { background: var(--verde); color: #fff; }
.contact { background: #fafafa; }
.contact input, .contact select, .contact textarea { border-radius: 8px; background: #fff; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--verde); border-color: transparent; }
.contact .btn { background: #25d366; }

/* Pie */
.footer { background: #0d0d0d; padding: 44px 0 16px; border-top: 4px solid var(--verde); }
.footer .container { gap: 32px; }
.footer p strong { color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }

/* Botón subir */
.subir { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--verde); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--sombra); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 20; }
.subir.ver { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .nav .container { display: block; } }
@media (max-width: 700px) {
  .hero h1 { font-size: 21px; }
  .hero-over { padding: 40px 16px 14px; }
  .hero p { display: none; }
  .row { flex-direction: column; }
  .row .foto.sm, .row .img-ph.sm { width: 100%; }
  .nav a { padding: 12px 8px; }
  .nav a::after { display: none; }
  .nota { padding: 18px; }
  .nota h1 { font-size: 25px; }
  .logo img { height: 64px; }
}

/* ================= NOTA: TIPOGRAFÍA DE PERIÓDICO ================= */
.migas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 600 12px var(--ui); text-transform: uppercase; letter-spacing: .6px; color: #888; margin-top: 22px; }
.migas a:hover { color: var(--verde); } .migas span { color: #bbb; }
.nota { margin-top: 12px; padding: 32px 34px; }
.nota h1 { font-size: 38px; line-height: 1.18; font-weight: 900; letter-spacing: -.5px; margin: 10px 0 12px; }
.nota .resumen { font-family: var(--titulo); font-size: 19px; line-height: 1.55; font-style: normal; color: #555; border-left: 4px solid var(--verde); padding-left: 16px; margin: 6px 0 18px; }
.firma { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font: 13px var(--ui); color: #777; padding: 12px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.firma strong { color: #111; }
.firma span + span::before { content: "•"; color: var(--verde); margin-right: 18px; }
.nota-foto { margin: 0 0 24px; }
.nota-foto figcaption { font: italic 13px/1.5 var(--ui); color: #777; padding: 8px 2px 0; border-bottom: 1px solid #eee; padding-bottom: 10px; }

.cuerpo { font-family: var(--titulo); font-size: 18px; line-height: 1.9; color: #262626; margin: 0 0 8px; overflow-wrap: break-word; }
.cuerpo > * + * { margin-top: 20px; }
.cuerpo p { margin: 0; }
.cuerpo > p:first-child::first-letter { float: left; font: 900 3.6em/.85 var(--titulo); color: var(--verde); padding: 6px 10px 0 0; }
.cuerpo strong, .cuerpo b { font-weight: 900; color: #111; }
.cuerpo em, .cuerpo i { font-style: italic; }
.cuerpo u { text-decoration-color: var(--verde); text-underline-offset: 3px; }
.cuerpo h2 { font: 900 27px/1.3 var(--titulo); color: #111; margin-top: 36px; }
.cuerpo h3 { font: 700 21px/1.35 var(--titulo); color: #111; margin-top: 28px; }
.cuerpo a { color: var(--verde); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.cuerpo a:hover { color: #111; }
.cuerpo blockquote { position: relative; margin: 28px 0; padding: 18px 24px 18px 28px; background: #fff6f0; border-left: 5px solid var(--verde); border-radius: 0 var(--radio) var(--radio) 0; font-size: 20px; line-height: 1.6; font-style: italic; color: #333; }
.cuerpo ul, .cuerpo ol { padding-left: 26px; list-style: revert; }
.cuerpo li + li { margin-top: 8px; }
.cuerpo li::marker { color: var(--verde); font-weight: 700; }
.cuerpo .ql-align-center { text-align: center; } .cuerpo .ql-align-right { text-align: right; } .cuerpo .ql-align-justify { text-align: justify; }
.cuerpo .ql-font-serif { font-family: var(--titulo); } .cuerpo .ql-font-sans { font-family: var(--ui); }
.cuerpo .ql-size-small { font-size: .85em; } .cuerpo .ql-size-large { font-size: 1.3em; line-height: 1.5; }

.compartir { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid #eee; font: 700 12px var(--ui); text-transform: uppercase; letter-spacing: .8px; color: #777; }
.compartir a, .compartir button { font: 600 13px var(--ui); text-transform: none; letter-spacing: 0; color: #fff; padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer; transition: transform .15s, opacity .15s; }
.compartir a:hover, .compartir button:hover { transform: translateY(-1px); opacity: .9; }
.c-wa { background: #25d366; } .c-fb { background: #1877f2; } .c-x { background: #111; } .c-copiar { background: #666; }

/* Carga inicial (en vez de pantalla en blanco) */
.cargando { display: flex; justify-content: center; padding: 90px 0; }
.cargando::after { content: ""; width: 38px; height: 38px; border: 4px solid #eee; border-top-color: var(--verde); border-radius: 50%; animation: giro .8s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }

/* Pulido general */
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--verde); color: #fff; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }
@media print { .topbar, .nav, .ticker, .sidebar, .compartir, .subir, .ad-banner, .ad-real, .footer { display: none !important; } .layout { display: block; } .nota { box-shadow: none; padding: 0; } }
@media (max-width: 700px) {
  .nota { padding: 20px 16px; } .nota h1 { font-size: 26px; } .nota .resumen { font-size: 16px; }
  .cuerpo { font-size: 17px; line-height: 1.8; } .cuerpo h2 { font-size: 22px; } .cuerpo blockquote { font-size: 17px; padding: 14px 16px; }
  .cuerpo > p:first-child::first-letter { font-size: 3em; }
}

/* ===== Foto de portada: más alta y sin recorte ni zoom (el titular sigue encima, como antes) ===== */
.hero:hover .hero-img { transform: none; }
.hero .hero-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.hero .hero-media::before { content: ""; position: absolute; inset: -24px; background: var(--bg, none) center / cover no-repeat; filter: blur(24px) brightness(.5); }
.hero .hero-media .hero-img { position: relative; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; margin: 0; transition: none; }
.hero .hero-media .img-ph.hero-img { position: absolute; inset: 0; }

/* ===== Cuadro de Facebook: altura fija con scroll interno (como el plugin) ===== */
.fb-posts { max-height: 560px; overflow-y: auto; padding-right: 6px; gap: 10px; scrollbar-width: thin; scrollbar-color: #ccc transparent; }
.fb-box .fb-posts { max-height: 800px; }
.fb-post img { max-height: 130px; }
.fb-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; }

/* ===== Ninguna foto se recorta ===== */
.foto-wrap { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.foto-wrap::before { content: ""; position: absolute; inset: -12px; background: var(--bg, none) center / cover no-repeat; filter: blur(14px) brightness(.55); }
.foto-wrap img.foto { position: relative; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; display: block; }
.foto-wrap.sm { width: 200px; aspect-ratio: 4 / 3; flex-shrink: 0; }
.row .foto-wrap.sm { height: 100%; min-height: 150px; }
@media (max-width: 700px) { .foto-wrap.sm, .row .foto-wrap.sm { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; } }
/* Foto de la nota: tal como se subió */
.nota-foto .hero-img { aspect-ratio: auto; height: auto; object-fit: initial; width: 100%; background: none; }

/* Fotos dentro del texto de la nota */
.cuerpo img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: var(--radio); }
.cuerpo .ql-align-center img { margin-left: auto; margin-right: auto; }
.cuerpo .ql-align-right img { margin-left: auto; margin-right: 0; }
.cuerpo p:has(> img:only-child) { text-align: center; }

/* Página de publicidad: grupos de paquetes y tabla de traslado */
.plans.dos { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
.plans.tres { max-width: 1040px; margin: 0 auto; }
.ads-section h3.grupo { font-family: var(--titulo); font-size: 24px; margin: 46px 0 4px; color: #fff; }
.ads-section h3.grupo:first-of-type { margin-top: 10px; }
.grupo-sub { color: #cfcfcf; margin: 0 0 22px; font-size: 15px; }
.plan { text-align: center; }
.plan .btn { background: var(--verde); color: #fff; }
.plan .btn:hover { background: #111; }
.traslado { max-width: 520px; margin: 52px auto 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 24px; text-align: left; }
.traslado h3 { font-family: var(--titulo); color: #fff; margin-bottom: 6px; }
.traslado p { color: #d6d6d6; font-size: 14px; margin-bottom: 12px; }
.traslado li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.traslado li:last-child { border-bottom: 0; } .traslado b { color: var(--dorado); text-align: right; }
@media (max-width: 900px) { .plans.dos, .plans.tres { grid-template-columns: 1fr; max-width: 420px; } }
