/*
Theme Name: Desde La Ciudad
Theme URI: https://desdelaciudad.com.ar/
Author: Desde La Ciudad
Description: Tema editorial para diario digital de noticias de la Ciudad Autónoma de Buenos Aires, inspirado en el mockup de Desde La Ciudad.
Version: 1.5.88
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: desde-la-ciudad
*/

:root{
  --dlc-blue:#002753;
  --dlc-blue-2:#002753;
  --dlc-blue-3:#002753;
  --dlc-blue-hover:#0b426f;
  --dlc-ink:#111318;
  --dlc-text:#20242b;
  --dlc-muted:#6d737c;
  --dlc-line:#e3e6ea;
  --dlc-soft:#f5f7f9;
  --dlc-white:#fff;
  --dlc-max:1410px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--dlc-text);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.48;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{color:var(--dlc-blue-2)}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--dlc-max),calc(100% - 56px));margin:0 auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.topbar{background:var(--dlc-blue);color:#fff;font-size:12px;font-weight:600}
.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.topbar-social{display:flex;gap:18px;align-items:center}
.topbar-social a{opacity:.96;font-size:16px}

.site-header-main{padding:20px 0;border-bottom:1px solid #eceef1}
.site-header-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:center;min-height:94px}
.site-branding{grid-column:1;justify-self:start;align-self:center;display:flex;align-items:center;min-width:0}.site-branding img{width:min(520px,100%);max-height:94px;object-fit:contain;object-position:left center}
.header-search{grid-column:2;width:min(470px,100%);max-width:100%;justify-self:end;align-self:center}
.search-form{background:#fff}
.search-keyword-row{display:flex;border:1px solid #d9dde2;height:40px}
.search-field{border:0;outline:0;width:100%;padding:0 13px;font-size:12px;color:#333;background:#fff}
.search-submit{width:44px;border:0;background:transparent;color:var(--dlc-blue);cursor:pointer;display:flex;align-items:center;justify-content:center}
.search-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.search-filter-row{display:grid;grid-template-columns:90px 120px minmax(150px,1fr);gap:8px;margin-top:7px}
.search-filter-row label{position:relative}
.search-filter-row label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.search-filter-row select{width:100%;height:32px;border:1px solid #d9dde2;background:#fff;color:#4a4f55;padding:0 27px 0 9px;font-size:11px;outline:none;cursor:pointer}
.search-filter-row select:focus,.search-field:focus{box-shadow:inset 0 0 0 1px var(--dlc-blue)}


.header-service{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:14px;color:#18324e;white-space:nowrap;z-index:2}
.service-weather{display:flex;align-items:center;gap:8px}
.service-icon{font-size:23px;line-height:1;color:#d6a315}
.header-service strong{display:block;font-size:13px;font-weight:550;line-height:1.15;color:var(--dlc-blue)}
.header-service small{display:block;font-size:9.5px;line-height:1.2;color:#747b84;margin-bottom:3px}
.header-service em{font-style:normal;color:#a2a8ae;font-weight:400;margin:0 2px}
.service-sep{width:1px;height:30px;background:#e0e4e8}
.service-currency{text-align:left}
.service-card{min-width:76px}

.primary-nav-wrap{border-bottom:1px solid #dfe2e6;background:#fff}
.primary-nav{display:flex;justify-content:center;align-items:center;min-height:50px}
.primary-nav ul{list-style:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin:0;padding:0;gap:0}
.primary-nav li{position:relative}
.primary-nav a{display:block;padding:18px 18px 16px;font-size:11px;text-transform:uppercase;font-weight:750;white-space:nowrap}
.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{color:var(--dlc-blue-2)}
.primary-nav .current-menu-item>a:after,.primary-nav .current_page_item>a:after{content:"";height:3px;background:var(--dlc-blue-3);position:absolute;bottom:-1px;left:18px;right:18px}
.menu-toggle{display:none}

.breaking-wrap{padding:14px 0 12px}
.breaking{height:36px;display:grid;grid-template-columns:max-content minmax(0,1fr) 54px;border:1px solid #e2e5e9;overflow:hidden;background:#fff}
.breaking-label{display:flex;align-items:center;justify-content:flex-start;padding:0 12px;background:var(--dlc-blue);color:#fff;font-weight:650;text-transform:uppercase;font-size:13px;letter-spacing:.02em;gap:7px;white-space:nowrap;overflow:hidden;line-height:1}
.breaking-items{overflow:hidden;display:flex;align-items:center;white-space:nowrap;position:relative}
.breaking-track{display:inline-flex;align-items:center;gap:28px;padding-left:24px;animation:dlcTicker 320s linear infinite}
.breaking-track:hover{animation-play-state:paused}
.breaking-item{font-size:12px;font-weight:650;color:#17191d}
.breaking-item:after{content:"•";margin-left:28px;color:#000}
.breaking-controls{background:var(--dlc-blue);color:#fff;display:flex;align-items:center;justify-content:center;gap:14px;font-size:25px}
@keyframes dlcTicker{from{transform:translateX(0)}to{transform:translateX(-48%)}}

.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:28px}
.hero{display:grid;grid-template-columns:55% 45%;border:1px solid #e3e6e9;min-height:328px;background:#fff}
.hero-media{min-height:328px;background:#e9edf2}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-copy{padding:26px 30px 24px;display:flex;flex-direction:column;justify-content:flex-start;min-height:328px;max-height:328px;overflow:hidden;box-sizing:border-box;padding-bottom:62px}
.kicker,.card-kicker{color:var(--dlc-blue);text-transform:uppercase;font-size:12px;letter-spacing:.02em;font-weight:800;flex-shrink:0}
.hero-title{font-size:26px;line-height:1.18;margin:12px 0 12px;color:#0f1115;font-weight:600;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.hero-excerpt{font-size:15px;line-height:1.45;margin:0 0 16px;color:#1f242a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.hero-copy .read-more{margin-top:auto;display:block;padding-top:4px;margin-bottom:28px;flex-shrink:0;position:relative;z-index:7}
.read-more{color:var(--dlc-blue);font-size:12px;text-transform:uppercase;font-weight:650;letter-spacing:.08em}
.read-more:after{content:" →"}
.hero-carousel{position:relative;border:1px solid #e3e6e9;background:#fff;overflow:hidden}
.hero-carousel-stage{position:relative;min-height:328px}
.hero-carousel .hero{border:0;min-height:328px}
.hero-slide{display:none;opacity:0}
.hero-slide.active{display:grid;opacity:1;animation:dlcHeroFade .38s ease}
@keyframes dlcHeroFade{from{opacity:.15}to{opacity:1}}
.hero-arrow{position:absolute;top:50%;z-index:5;width:34px;height:44px;margin-top:-22px;border:0;background:rgba(0,39,83,.88);color:#fff;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s ease,background .2s ease}
.hero-carousel:hover .hero-arrow,.hero-arrow:focus-visible{opacity:1}
.hero-arrow:hover{background:var(--dlc-blue)}
.hero-prev{left:10px}.hero-next{right:10px}
.hero-dots{position:absolute;left:calc(55% + 28px);bottom:10px;z-index:6;display:flex;gap:8px;align-items:center}
.hero-dot{appearance:none;border:0;padding:0;width:9px;height:9px;background:#bfc4ca;border-radius:50%;cursor:pointer;transition:width .18s ease,background .18s ease}
.hero-dot.active{width:20px;border-radius:20px;background:var(--dlc-blue)}

.news-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:28px}
.news-card{border:1px solid #e2e5e8;background:#fff;min-width:0}
.news-card-thumb{aspect-ratio:1.85/1;background:#e9edf2;overflow:hidden}
.news-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.news-card:hover .news-card-thumb img{transform:scale(1.025)}
.news-card-body{padding:16px 12px 18px}
.news-card h3{font-size:14px;line-height:1.55;margin:8px 0 18px;color:#17191d;font-weight:600}
.news-card .read-more{font-size:11px}

.section-title{display:flex;align-items:center;gap:14px;font-size:16px;text-transform:uppercase;font-weight:650;margin:28px 0 16px;color:#15171b}
.section-title:after{content:"";height:2px;width:38px;background:var(--dlc-blue)}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:42px}
.article-list-card{border-top:1px solid #e2e5e8;padding-top:12px}
.article-list-card img{aspect-ratio:1.7/1;width:100%;object-fit:cover}
.article-list-card h3{font-size:18px;line-height:1.34;margin:10px 0 8px;font-weight:600}
.article-meta{font-size:11px;color:#81868d;text-transform:uppercase}

.sidebar{display:flex;flex-direction:column;gap:16px}
.sidebar-box{border:1px solid #dfe3e7;background:#fff}
.sidebar-heading{margin:0;padding:9px 16px;background:var(--dlc-blue);color:#fff;text-transform:uppercase;font-size:15px;font-weight:650;letter-spacing:.01em;white-space:nowrap}
.latest-list{padding:5px 16px}
.latest-item{display:grid;grid-template-columns:52px 1fr;gap:11px;padding:10px 0;border-bottom:1px solid #e6e8ea}
.latest-item:last-child{border-bottom:0}
.latest-time{font-size:12px;color:#1b2025}
.latest-item a{font-size:13px;line-height:1.3;font-weight:600}
.weather-box{padding:12px 16px 13px;display:grid;grid-template-columns:70px 1fr;align-items:center;gap:10px}
.weather-icon{font-size:48px;color:#efb519;line-height:1}
.weather-temp{font-size:30px;font-weight:800;color:#111}
.weather-text{font-size:12px;color:#34383d}
.weather-link{grid-column:2;color:var(--dlc-blue);text-transform:uppercase;font-size:11px;font-weight:650;letter-spacing:.06em}
.newsletter{background:var(--dlc-blue);padding:20px 18px;color:#fff;border:0}
.newsletter-title{font-size:18px;text-transform:uppercase;font-weight:650;margin:0 0 6px}
.newsletter p{font-size:12px;margin:0 0 15px;line-height:1.55}
.newsletter-form{display:grid;grid-template-columns:1fr 112px;gap:8px}
.newsletter-form input{height:42px;padding:0 12px;border:0;background:#fff;color:#222}
.newsletter-form button{border:0;background:#174b7a;color:#fff;text-transform:uppercase;font-size:11px;font-weight:650;cursor:pointer}
.ad-box{min-height:220px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;padding:28px;background:linear-gradient(rgba(4,44,85,.70),rgba(4,44,85,.75)),radial-gradient(circle at 30% 20%,#3474a8,#07315c 70%);font-size:22px;line-height:1.1;text-transform:uppercase;font-weight:800}

.content-area{padding:30px 0 18px}
.archive-header{margin-bottom:24px;border-bottom:2px solid var(--dlc-blue);padding-bottom:12px}
.archive-title{font-size:34px;margin:0;color:#111;font-weight:600;line-height:1.15}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.post-card{border:1px solid #e0e3e6;background:#fff}
.post-card img{width:100%;aspect-ratio:1.7/1;object-fit:cover}
.post-card-body{padding:15px}
.post-card h2{font-size:20px;line-height:1.3;margin:8px 0 10px;font-weight:600}
.post-card p{font-size:14px;color:#4b5158}
.pagination{margin-top:28px}
.nav-links{display:flex;gap:7px}
.page-numbers{padding:8px 11px;border:1px solid #d8dde2}
.page-numbers.current{background:var(--dlc-blue);color:#fff;border-color:var(--dlc-blue)}

.single-wrap{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}
.site-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}
.site-content-main{min-width:0}
.site-content-main .posts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.single-article{width:100%;max-width:none;position:relative}
.single-reading-zone{position:relative}
.single-kicker{margin-bottom:8px}
.single-title{font-size:32px;line-height:1.18;letter-spacing:-.01em;margin:0 0 13px;color:#101216;font-weight:450}
.single-excerpt{font-size:20px;color:#4a5058;margin:0 0 17px}
.single-meta{font-size:12px;color:#7a8087;padding-bottom:15px;border-bottom:1px solid #e1e4e7}
.single-featured{margin:24px 0}
.single-featured img{width:100%;height:auto}
.entry-content{font-size:var(--dlc-reader-font-size,16px);line-height:1.68;color:#262b31;transition:font-size .2s ease}
.entry-content h2,.entry-content h3{color:#121418;line-height:1.35;margin-top:1.7em;font-weight:500}
.entry-content h2{font-size:23px;letter-spacing:-.004em}
.entry-content h3{font-size:22px}
.entry-content a{color:var(--dlc-blue);text-decoration:underline}
.entry-content blockquote{margin:28px 0;padding:12px 24px;border-left:4px solid var(--dlc-blue);background:#f5f7f9}

.site-footer{background:#002753;color:#fff;margin-top:12px;padding:30px 0 16px;position:relative;overflow:hidden}
.site-footer:before{display:none}
.footer-grid{display:grid;grid-template-columns:240px 1fr;gap:55px;align-items:start;position:relative;z-index:1}
.footer-logo img{width:115px;max-width:100%;filter:none}
.footer-brand{display:flex;align-items:center;gap:18px}
.footer-tagline{font-size:20px;line-height:1.25;color:#d7e7fa;font-weight:400;border-left:1px solid #4a8bdc;padding-left:18px}
.footer-title{font-size:13px;text-transform:uppercase;margin:0 0 10px;font-weight:600;color:#fff}
.footer-menu-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}
.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li{margin:5px 0}.footer-menu a{font-size:14px;color:#e8eef5}
.footer-legal{border-top:1px solid rgba(255,255,255,.15);margin-top:22px;padding-top:12px;text-align:center;font-size:12px;color:#d7e1ec}
.footer-legal a,.footer-credit a{color:#8ec5ff}
.footer-credit{border-top:1px solid rgba(255,255,255,.15);margin-top:10px;padding-top:10px;text-align:center;font-size:12px;color:#d7e1ec}
.footer-heart{color:#6da9ff;font-size:16px}

@media(max-width:1180px){
  .container{width:min(var(--dlc-max),calc(100% - 32px))}
  .site-header-grid{grid-template-columns:minmax(280px,1fr) auto minmax(340px,1fr);gap:18px}
  .site-branding{grid-column:1}.header-service{position:static;transform:none;grid-column:2;justify-self:center;gap:10px}.header-search{grid-column:3;width:min(420px,100%)}
  .header-service small{font-size:9px}.header-service strong{font-size:12px}.service-sep{height:27px}
  .home-grid{grid-template-columns:1fr 310px}
  .hero{grid-template-columns:52% 48%}
  .hero-title{font-size:25px}
  .news-cards{grid-template-columns:repeat(2,1fr)}
  .primary-nav a{padding-left:11px;padding-right:11px;font-size:10px}
}
@media(max-width:900px){
  .site-header-grid{grid-template-columns:1fr auto}.site-branding{grid-column:1}.header-service{position:static;transform:none;grid-column:2;grid-row:1}.header-search{grid-column:1/-1;display:block;width:100%;max-width:none}.site-branding img{width:min(520px,82vw);max-height:82px}
  .menu-toggle{display:block;width:100%;border:0;background:#fff;padding:13px 16px;text-transform:uppercase;font-weight:800;text-align:left}
  .primary-nav{display:none;justify-content:flex-start}.primary-nav.open{display:block}.primary-nav ul{display:block}.primary-nav a{padding:12px 16px}.primary-nav .current-menu-item>a:after{display:none}
  .breaking{grid-template-columns:max-content minmax(0,1fr)}.breaking-controls{display:none}
  .home-grid,.single-wrap,.site-content-grid{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,1fr)}
  .newsletter,.ad-box{grid-column:span 1}
  .posts-grid,.site-content-main .posts-grid,.article-grid{grid-template-columns:repeat(2,1fr)}
}

/* v1.5.82 - barra adaptable y menú general de categorías */
.primary-nav-wrap{position:relative;z-index:80;}
.primary-nav-shell{display:flex;align-items:stretch;min-height:50px;}
.primary-nav-shell .primary-nav{flex:1 1 auto;min-width:0;overflow:hidden;justify-content:flex-start;}
.primary-nav-shell .primary-nav>ul{flex-wrap:nowrap;justify-content:flex-start;min-width:max-content;}
.primary-nav-shell .primary-nav li[hidden]{display:none!important;}
.category-grid-toggle{flex:0 0 50px;width:50px;border:0;border-left:1px solid #dfe2e6;background:#fff;color:var(--dlc-blue);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s ease,color .18s ease;}
.category-grid-toggle:hover,.category-grid-toggle:focus-visible,.category-grid-toggle[aria-expanded="true"]{background:var(--dlc-blue);color:#fff;outline:none;}
.category-grid-icon{width:19px;height:19px;display:grid;grid-template-columns:repeat(3,5px);grid-template-rows:repeat(3,5px);gap:2px;}
.category-grid-icon i{display:block;width:5px;height:5px;border-radius:1px;background:currentColor;}
.category-grid-panel{position:absolute;left:0;right:0;top:100%;z-index:100;padding:25px 0 30px;background:#fff;border-top:1px solid #e4e7ea;border-bottom:4px solid var(--dlc-blue);box-shadow:0 14px 32px rgba(15,31,48,.18);}
.category-grid-panel[hidden]{display:none;}
.category-grid-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.category-grid-heading h2{margin:0;color:var(--dlc-blue);font-size:22px;}
.category-grid-close{width:36px;height:36px;border:1px solid #d9dde2;border-radius:50%;background:#fff;color:var(--dlc-blue);font-size:27px;line-height:1;cursor:pointer;}
.category-grid-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 22px;}
.category-grid-card{display:block;padding:12px 14px;border-left:3px solid var(--dlc-blue);background:#f6f8fa;transition:transform .18s ease,background .18s ease;}
.category-grid-card:hover,.category-grid-card:focus-visible{background:#edf3f8;transform:translateY(-2px);outline:none;}
.category-grid-card strong{display:block;margin-bottom:5px;color:var(--dlc-blue);font-size:14px;line-height:1.25;}
.category-grid-card span{display:block;color:#5c636b;font-size:11.5px;line-height:1.4;text-transform:none;font-weight:400;white-space:normal;}
@media(max-width:1100px){.category-grid-list{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){
  .primary-nav-shell{display:block;min-height:0;}
  .primary-nav-shell .primary-nav{overflow:visible;}
  .primary-nav-shell .primary-nav>ul{min-width:0;}
  .category-grid-toggle,.category-grid-panel{display:none!important;}
}
@media(max-width:650px){
  .container{width:calc(100% - 24px)}
  .topbar-inner{min-height:34px}.topbar-social{display:none}
  .site-header-main{padding:14px 0}.header-service{display:none}.site-branding img{width:min(430px,90vw);max-height:70px}.search-filter-row{grid-template-columns:1fr 1fr}.search-filter-row label:last-child{grid-column:1/-1}
  .breaking-wrap{padding-top:8px}.breaking{grid-template-columns:max-content minmax(0,1fr)}.breaking-label{font-size:10.5px;padding:0 10px;gap:5px;white-space:nowrap}
  .hero{grid-template-columns:1fr}.hero-media{min-height:230px}.hero-copy{padding:20px}.hero-title{font-size:26px}.hero-excerpt{font-size:15px}
  .news-cards,.article-grid,.posts-grid,.site-content-main .posts-grid,.sidebar{grid-template-columns:1fr}
  .single-title{font-size:27px}.single-excerpt{font-size:18px}.entry-content{font-size:var(--dlc-reader-font-size,16px)}.entry-content h2{font-size:21px}.entry-content h3{font-size:20px}
  .footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}
}

/* v1.4.3 — El bloque de servicios se centra en el espacio REAL entre logo y buscador. */
@media (min-width:1181px){
  .site-header-grid{
    display:grid;
    grid-template-columns:max-content minmax(0,1fr) max-content;
    column-gap:24px;
    align-items:center;
  }
  .site-branding{grid-column:1;grid-row:1;justify-self:start;}
  .header-service{
    position:static;
    left:auto;top:auto;transform:none;
    grid-column:2;grid-row:1;
    justify-self:center;
    align-self:center;
    max-width:100%;
  }
  .header-search{grid-column:3;grid-row:1;justify-self:end;}
}

/* v1.4.4 — Menú con separadores y hover sutil; cinta con aire blanco en ambos extremos. */
.primary-nav li + li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:1px;
  height:18px;
  background:#d9dde2;
  transform:translateY(-50%);
}
.primary-nav a{
  transition:transform .18s ease,color .18s ease;
  transform-origin:center center;
}
.primary-nav a:hover,
.primary-nav a:focus-visible{
  transform:scale(1.08);
  color:var(--dlc-blue);
}
.breaking-items{
  margin-left:18px;
  margin-right:18px;
}
.breaking-track{
  padding-left:0;
}

@media(max-width:900px){
  .primary-nav li + li::before{display:none;}
  .primary-nav a:hover,
  .primary-nav a:focus-visible{transform:none;}
  .breaking-items{margin-left:14px;margin-right:14px;}
}


/* v1.5.0 — Carrusel editorial de noticias destacadas. */
@media(max-width:1180px) and (min-width:651px){
  .hero-dots{left:calc(52% + 28px)}
}
@media(max-width:650px){
  .hero-carousel-stage{min-height:0}
  .hero-carousel .hero{min-height:0}
  .hero-dots{left:20px;bottom:14px}
  .hero-copy{padding-bottom:54px}
  .hero-arrow{opacity:.92;width:30px;height:40px;font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  .hero-slide.active{animation:none}
  .hero-arrow,.hero-dot{transition:none}
}

/* v1.5.1 — Ajuste de navegación del carrusel principal. */
@media(min-width:651px){
  .hero-carousel .hero-copy{
    position:relative;
    justify-content:center;
    padding:28px 58px 62px 28px;
  }
  .hero-carousel .read-more{
    margin-top:2px;
  }
  .hero-carousel .hero-dots{
    left:calc(55% + 28px);
    right:auto;
    bottom:22px;
  }
  .hero-carousel .hero-arrow{
    top:50%;
    margin-top:-22px;
  }
  .hero-carousel .hero-prev{left:10px;}
  .hero-carousel .hero-next{right:14px;}
}
@media(max-width:1180px) and (min-width:651px){
  .hero-carousel .hero-dots{left:calc(52% + 28px);}
}
@media(max-width:650px){
  .hero-carousel .hero-copy{position:relative;padding-bottom:62px;}
  .hero-carousel .hero-dots{left:20px;bottom:18px;}
  .hero-carousel .hero-prev{left:8px;}
  .hero-carousel .hero-next{right:8px;}
}

/* v1.5.2 — Carrusel principal más compacto. */
.hero,
.hero-carousel-stage,
.hero-carousel .hero{
  min-height:270px;
}
.hero-media{
  min-height:270px;
}
.hero-carousel .hero-copy{
  padding-top:20px;
  padding-bottom:54px;
}
.hero-title{
  font-size:24px;
  line-height:1.18;
  font-weight:500;
  margin:9px 0 10px;
  letter-spacing:-.015em;
}
.hero-excerpt{
  font-size:15px;
  line-height:1.4;
  margin-bottom:14px;
}
@media(max-width:1180px) and (min-width:651px){
  .hero,.hero-carousel-stage,.hero-carousel .hero,.hero-media{min-height:250px;}
  .hero-title{font-size:22px;line-height:1.2;}
  .hero-excerpt{font-size:14px;line-height:1.38;}
  .hero-carousel .hero-copy{padding-top:18px;padding-bottom:52px;}
}
@media(max-width:650px){
  .hero,.hero-carousel .hero{min-height:0;}
  .hero-carousel-stage{min-height:0;}
  .hero-media{min-height:200px;}
  .hero-carousel .hero-copy{padding:18px 20px 54px;}
  .hero-title{font-size:21px;line-height:1.2;margin:8px 0 10px;}
  .hero-excerpt{font-size:14px;line-height:1.4;margin-bottom:12px;}
}

/* v1.5.5 — Flujo cronológico de noticias debajo del carrusel en tres columnas. */
.latest-news-title{margin-top:26px}
.latest-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px 22px;
  margin-bottom:18px;
}
.latest-news-card{
  min-width:0;
  background:#fff;
  border-top:1px solid #dfe3e7;
  padding-top:12px;
}
.latest-news-thumb{
  display:block;
  aspect-ratio:1.68/1;
  overflow:hidden;
  background:#e9edf2;
  margin-bottom:13px;
}
.latest-news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease;
}
.latest-news-card:hover .latest-news-thumb img{transform:scale(1.025)}
.latest-news-body h3{
  margin:8px 0 8px;
  font-size:18px;
  line-height:1.3;
  font-weight:500;
  letter-spacing:-.01em;
  color:#14171b;
}
.latest-news-body p{
  margin:0 0 14px;
  color:#555c64;
  font-size:13px;
  line-height:1.48;
}
.latest-news-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-top:10px;
  border-top:1px solid #eef0f2;
}
.latest-news-footer .read-more{white-space:nowrap;font-size:10px}
@media(max-width:900px){
  .latest-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:650px){
  .latest-news-grid{grid-template-columns:1fr;gap:22px;}
  .latest-news-body h3{font-size:19px;}
}


/* v1.5.14 - footer layout correction */
.site-footer .footer-grid{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:40px;
  align-items:start;
  width:100%;
}
.site-footer .footer-logo img{
  width:85px;
  height:auto;
}
.site-footer .footer-brand{
  gap:12px;
}
.site-footer .footer-tagline{
  font-size:16px;
  line-height:1.15;
}
.site-footer .footer-sections{
  width:100%;
}
.site-footer .footer-menu-columns .footer-menu{
  display:grid;
  grid-template-columns:repeat(3,minmax(120px,1fr));
  column-gap:40px;
  row-gap:0;
}
.site-footer .footer-menu li{
  margin:6px 0;
}
.site-footer .footer-title{
  margin-bottom:14px;
}
@media(max-width:900px){
 .site-footer .footer-grid{
  grid-template-columns:1fr;
 }
 .site-footer .footer-menu-columns .footer-menu{
  grid-template-columns:1fr;
 }
}

/* v1.5.15 - footer sections fixed in three columns */
.site-footer .footer-menu-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;}
.site-footer .footer-menu-columns .footer-menu{display:block!important;}
@media(max-width:900px){.site-footer .footer-menu-columns{grid-template-columns:1fr;}}

/* v1.5.50 - footer compacto; categorías con estética del pronóstico */
.site-footer .footer-grid{grid-template-columns:1.2fr 3fr 1.5fr;gap:34px;}
.site-footer .footer-brand{display:block;}
.site-footer .footer-logo img{width:185px;max-width:100%;height:auto;object-fit:contain;}
.site-footer .footer-tagline{border-left:0;padding-left:0;margin-top:9px;font-size:15px;line-height:1.3;}
.site-footer .footer-column{min-width:0;}
.site-footer .footer-sections{width:100%;}
.site-footer .footer-menu-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
.site-footer .footer-menu-columns .footer-menu{display:block!important;}
.site-footer .footer-menu li{border-top:1px solid rgba(255,255,255,.16);margin:0;padding:6px 0;}
.site-footer .footer-menu a{display:block;font-size:13px;line-height:1.35;color:#e8eef5;transition:color .2s ease,padding-left .2s ease;}
.site-footer .footer-menu a:hover{color:#fff;padding-left:3px;}
.footer-weather-day{border-top:1px solid rgba(255,255,255,.16);padding:6px 0;display:grid;gap:1px;}
.footer-weather-day strong{font-size:14px;font-weight:600;color:#fff;}
.footer-weather-day span{font-size:13px;color:#e8eef5;}
.footer-weather-day small{font-size:11px;color:#b9c9db;}
@media(max-width:1100px){.site-footer .footer-grid{grid-template-columns:1fr 2fr;}.site-footer .footer-weather{grid-column:1/-1;}}
@media(max-width:700px){.site-footer .footer-grid{grid-template-columns:1fr;}.site-footer .footer-menu-columns{grid-template-columns:repeat(2,1fr);}.site-footer .footer-logo img{width:170px;}}
@media(max-width:480px){.site-footer .footer-menu-columns{grid-template-columns:1fr;}}


/* Ajuste carrusel fijo: no adaptativo */
.hero-carousel{
  width:100%;
  height:328px;
  min-height:328px;
}
.hero-carousel-stage{
  width:100%;
  height:328px;
  min-height:328px;
}
.hero-carousel .hero,
.hero-slide.active{
  width:100%;
  height:328px;
  min-height:328px;
  grid-template-columns:55% 45%;
}
.hero-media{
  height:328px;
  min-height:328px;
}
.hero-media img{
  height:328px;
  width:100%;
  object-fit:cover;
}

/* Mantener estructura del carrusel igual en pantallas pequeñas */
@media (max-width:900px){
  .hero-carousel,
  .hero-carousel-stage,
  .hero-carousel .hero,
  .hero-slide.active,
  .hero-media{
    height:328px;
    min-height:328px;
  }
  .hero-carousel .hero,
  .hero-slide.active{
    grid-template-columns:55% 45%;
  }
  .hero-title{
    font-size:29px;
  }
  .hero-copy{
    padding:28px 28px 22px;
  }
}




/* v1.5.19 — Carrusel: control editorial estricto de texto */
.hero-carousel .hero-copy{
  position:relative;
  overflow:hidden;
  height:328px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  min-width:0;
}

.hero-carousel .kicker{
  flex:0 0 18px;
  height:18px;
  overflow:hidden;
}

.hero-carousel .hero-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  height:92px;
  max-height:92px;
  line-height:1.15;
}

.hero-carousel .hero-excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  height:72px;
  max-height:72px;
  line-height:1.35;
}

.hero-carousel .read-more{
  position:absolute;
  left:0;
  bottom:38px;
  margin:0;
  height:22px;
}

.hero-carousel .hero-dots{
  z-index:5;
}

@media(max-width:900px){
  .hero-carousel .hero-copy{
    height:328px;
  }
}


/* Ajuste carrusel principal v1.5.20: contenido controlado */
.hero-carousel-stage,
.hero-carousel .hero{
  height:328px;
  min-height:328px;
  max-height:328px;
  overflow:hidden;
}
.hero-copy{
  height:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden;
}
.hero-title{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  height:101px;
  max-height:101px;
}
.hero-excerpt{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  height:70px;
  max-height:70px;
  margin-bottom:0;
}
.hero-copy .read-more{
  margin-top:auto;
  flex-shrink:0;
  padding-top:12px;
}


/* v1.5.22 — Corrección definitiva carrusel principal */
.hero-carousel .hero-copy{
  padding:26px 30px 24px !important;
  height:328px !important;
  min-height:328px !important;
  max-height:328px !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  box-sizing:border-box !important;
}

.hero-carousel .hero-title{
  height:auto !important;
  max-height:none !important;
  margin:12px 0 12px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}

.hero-carousel .hero-excerpt{
  height:auto !important;
  max-height:none !important;
  margin:0 0 10px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}

.hero-carousel .read-more{
  position:static !important;
  margin-top:auto !important;
  padding:10px 0 0 !important;
  align-self:flex-start !important;
}


/* DLC FIX CARRUSEL V1.5.24 - estructura final */
.hero {
  height: 328px;
  min-height: 328px;
  max-height: 328px;
  overflow: hidden;
}

.hero-copy {
  height: 328px;
  min-height: 328px;
  max-height: 328px;
  padding: 26px 30px 70px !important;
  box-sizing: border-box;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

.hero-title {
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  max-height:92px;
}

.hero-excerpt {
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  max-height:70px;
}

.hero-copy .read-more {
  margin-top:auto !important;
  padding-top:12px !important;
  position:relative !important;
  left:auto !important;
  bottom:auto !important;
  display:block !important;
  z-index:2 !important;
}

.hero-dots {
  bottom:14px !important;
}


/* FIX FINAL CARRUSEL - SEPARACION CTA / CONTROLES */
.hero-carousel .hero-copy {
    padding-bottom: 78px !important;
}

.hero-carousel .read-more {
    position: absolute !important;
    left: 30px !important;
    bottom: 46px !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.hero-carousel .hero-dots {
    left: 30px !important;
    bottom: 16px !important;
    z-index: 11 !important;
}


/* v1.5.27 - Controles debajo de LEER MAS */
.hero-carousel .hero-copy{
    position:relative !important;
    padding-bottom:72px !important;
}

.hero-carousel .read-more{
    position:relative !important;
    z-index:5 !important;
    display:block !important;
    margin-top:12px !important;
}

.hero-carousel .hero-dots{
    position:absolute !important;
    left:calc(55% + 28px) !important;
    right:auto !important;
    bottom:20px !important;
    top:auto !important;
    z-index:10 !important;
}

@media(max-width:650px){
    .hero-carousel .hero-dots{
        left:28px !important;
        bottom:18px !important;
    }
}


/* Carrusel v1.5.28 - orden definitivo de CTA y controles */
.hero-copy{
    position:relative;
    padding-bottom:90px !important;
}

.hero-copy .read-more{
    position:absolute !important;
    left:30px !important;
    bottom:52px !important;
    margin:0 !important;
    z-index:10;
}

.hero-dots{
    position:absolute !important;
    left:calc(55% + 30px) !important;
    bottom:22px !important;
    z-index:10;
}

/* evita que el extracto invada la zona inferior */
.hero-excerpt{
    max-height:66px;
    overflow:hidden;
}


/* Sidebar editorial - ajustes esteticos v1.5.31 */
.sidebar .sidebar-box,
.dlc-sidebar-block,
.sidebar-widget {
    background:#fff;
    border:1px solid #e6e6e6;
    padding:22px;
    margin-bottom:20px;
}

.sidebar-heading,
.sidebar-box h2,
.sidebar-box h3,
.dlc-sidebar-title {
    background:transparent !important;
    color:#1d3557;
    text-transform:none;
    font-size:18px;
    font-weight:500;
    letter-spacing:0;
    padding:0 0 12px 0;
    margin:0 0 18px 0;
    border-bottom:1px solid #e5e5e5;
}

.sidebar-box a,
.dlc-sidebar-block a {
    color:#222;
    font-weight:400;
}



/* Sidebar editorial compacta v1.5.32 */
.sidebar .sidebar-box,
.sidebar-box {
    padding: 18px !important;
    margin-bottom: 12px !important;
}

.sidebar,
.dlc-sidebar-single {
    gap: 12px !important;
}

.sidebar-heading,
.dlc-sidebar-title {
    font-size: 17px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}


/* Sidebar spacing unified v1.5.33 */
.sidebar {
    display:flex;
    flex-direction:column;
    gap:12px !important;
}

.sidebar .sidebar-box,
.dlc-sidebar-block,
.sidebar-widget {
    margin:0 0 12px 0 !important;
    padding:18px !important;
}

.sidebar > * {
    margin-top:0 !important;
}

.sidebar h2,
.sidebar h3,
.sidebar-heading,
.dlc-sidebar-title {
    margin-top:0 !important;
    margin-bottom:12px !important;
}



/* Sidebar v1.5.34 - normalizacion real de espacios */
.sidebar {
    gap: 0 !important;
}

.sidebar > * {
    margin: 0 0 16px 0 !important;
}

.sidebar > *:last-child {
    margin-bottom: 0 !important;
}

/* Widgets de publicidad generados por dynamic_sidebar */
.sidebar > .widget,
.sidebar > div.widget,
.sidebar > .sidebar-box,
.sidebar > section.sidebar-box {
    padding: 18px !important;
    margin-bottom: 16px !important;
}

/* Titulos y contenido interno */
.sidebar-heading,
.sidebar-box h2,
.sidebar-box h3 {
    margin-top:0 !important;
    margin-bottom:14px !important;
    padding-bottom:10px !important;
}

.sidebar ol,
.sidebar ul {
    margin-top:0 !important;
    margin-bottom:0 !important;
}

.sidebar p {
    margin:8px 0 0 0 !important;
}


/* Sidebar v1.5.35 - ajustes finales */
.sidebar {
    gap: 8px !important;
}
.sidebar > * {
    margin-bottom: 8px !important;
}
.sidebar .sidebar-box,
.sidebar > .widget {
    padding: 16px !important;
}


/* Sidebar v1.5.36 - espacios exteriores unificados */
.sidebar {
    gap: 0 !important;
}

.sidebar > *,
.sidebar .sidebar-box,
.sidebar > .widget,
.sidebar > section {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.sidebar > *:first-child {
    margin-top: 0 !important;
}

.sidebar > *:last-child {
    margin-bottom: 0 !important;
}

/* iguala la distancia entre cuerpo principal y sidebar */
.content-area + .sidebar,
.main-content + .sidebar,
.site-main + .sidebar {
    margin-top: 0 !important;
}

/* evita márgenes heredados de widgets */
.sidebar .widget,
.sidebar .sidebar-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* v1.5.37 - sidebar spacing normalized */
.sidebar,
.dlc-single-sidebar {
    gap: 16px !important;
}

.sidebar > *,
.dlc-single-sidebar > *,
.sidebar .widget,
.sidebar-box,
.dlc-sidebar-block {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.sidebar h2,
.sidebar h3,
.dlc-sidebar-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}


/* v1.5.42 - estilo editorial unificado para toda la columna lateral */
.sidebar .sidebar-box,
.sidebar .widget,
.dlc-single-sidebar .sidebar-box,
.dlc-single-sidebar .widget{
    background:#fff !important;
    border:1px solid #e7eaee !important;
    box-shadow:none !important;
    padding:18px !important;
    margin:0 0 16px 0 !important;
    border-radius:0 !important;
}

/* títulos de todos los módulos */
.sidebar .sidebar-heading,
.sidebar .widget-title,
.sidebar h2,
.sidebar h3,
.dlc-single-sidebar .sidebar-heading,
.dlc-single-sidebar .widget-title,
.dlc-single-sidebar h2,
.dlc-single-sidebar h3{
    margin:0 0 12px 0 !important;
    padding:0 0 10px 0 !important;
    background:none !important;
    color:#1c2430 !important;
    border:none !important;
    border-bottom:1px solid #e8ebef !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.25 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
}

/* textos, enlaces y listas */
.sidebar,
.sidebar p,
.sidebar li,
.sidebar a,
.dlc-single-sidebar,
.dlc-single-sidebar p,
.dlc-single-sidebar li,
.dlc-single-sidebar a{
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1.42 !important;
}

.sidebar a,
.dlc-single-sidebar a{
    color:#252a31 !important;
    text-decoration:none !important;
}

.sidebar a:hover,
.dlc-single-sidebar a:hover{
    color:var(--dlc-blue) !important;
}

/* listas limpias */
.sidebar ul,
.sidebar ol,
.dlc-single-sidebar ul,
.dlc-single-sidebar ol{
    margin:0 !important;
    padding-left:18px !important;
}

.sidebar li,
.dlc-single-sidebar li{
    margin:0 !important;
    padding:7px 0 !important;
}

/* archivo: más liviano y sin viñetas fuertes */
.sidebar .dlc-archive,
.sidebar .sidebar-box ul,
.dlc-single-sidebar .dlc-archive,
.dlc-single-sidebar .sidebar-box ul{
    list-style:none !important;
    padding-left:0 !important;
}

.sidebar .dlc-archive li,
.sidebar .sidebar-box ul li,
.dlc-single-sidebar .dlc-archive li,
.dlc-single-sidebar .sidebar-box ul li{
    border-bottom:1px solid #eef0f2 !important;
}

.sidebar .dlc-archive li:last-child,
.sidebar .sidebar-box ul li:last-child,
.dlc-single-sidebar .dlc-archive li:last-child,
.dlc-single-sidebar .sidebar-box ul li:last-child{
    border-bottom:none !important;
}

/* publicidad: misma caja, sin tratamiento visual extra */
.sidebar .widget_media_image,
.sidebar .widget_custom_html,
.dlc-single-sidebar .widget_media_image,
.dlc-single-sidebar .widget_custom_html{
    font-size:13px !important;
    font-weight:400 !important;
}


/* v1.5.43 - ajustes solicitados sidebar */

/* 1) Publicidad: sin bordes, sin padding, sin márgenes internos.
   El contenido ocupa el ancho completo del slot. */
.sidebar .dlc-ad-slot,
.dlc-single-sidebar .dlc-ad-slot{
    margin:0 0 16px 0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.sidebar .dlc-ad-slot .widget,
.sidebar .dlc-ad-slot .sidebar-box,
.dlc-single-sidebar .dlc-ad-slot .widget,
.dlc-single-sidebar .dlc-ad-slot .sidebar-box{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.sidebar .dlc-ad-slot img,
.sidebar .dlc-ad-slot iframe,
.sidebar .dlc-ad-slot video,
.sidebar .dlc-ad-slot object,
.sidebar .dlc-ad-slot embed,
.dlc-single-sidebar .dlc-ad-slot img,
.dlc-single-sidebar .dlc-ad-slot iframe,
.dlc-single-sidebar .dlc-ad-slot video,
.dlc-single-sidebar .dlc-ad-slot object,
.dlc-single-sidebar .dlc-ad-slot embed{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
}

/* 3) Archivo con viñetas */
.sidebar .dlc-archive,
.sidebar .sidebar-box ul.dlc-archive,
.dlc-single-sidebar .dlc-archive,
.dlc-single-sidebar .sidebar-box ul.dlc-archive{
    list-style:disc !important;
    padding-left:20px !important;
}

.sidebar .dlc-archive li,
.dlc-single-sidebar .dlc-archive li{
    display:list-item !important;
    list-style-position:outside !important;
}

/* v1.5.44 - viñetas Archivo + separación mínima entre módulos */

/* Separación externa mínima y uniforme */
.sidebar,
.dlc-single-sidebar{
    gap:0 !important;
}

.sidebar > *,
.dlc-single-sidebar > *{
    margin-top:0 !important;
    margin-bottom:6px !important;
}

.sidebar > *:last-child,
.dlc-single-sidebar > *:last-child{
    margin-bottom:0 !important;
}

.sidebar .sidebar-box,
.sidebar .widget,
.dlc-single-sidebar .sidebar-box,
.dlc-single-sidebar .widget{
    margin-top:0 !important;
    margin-bottom:6px !important;
}

/* Los slots publicitarios tampoco agregan aire extra */
.sidebar .dlc-ad-slot,
.dlc-single-sidebar .dlc-ad-slot{
    margin:0 0 6px 0 !important;
    padding:0 !important;
    border:0 !important;
}
.sidebar .dlc-ad-slot .widget,
.dlc-single-sidebar .dlc-ad-slot .widget{
    margin:0 !important;
}

/* Archivo: fuerza viñetas aunque reglas anteriores hayan usado list-style:none */
.sidebar .dlc-archive,
.sidebar .sidebar-box .dlc-archive,
.sidebar .sidebar-box ul.dlc-archive,
.dlc-single-sidebar .dlc-archive,
.dlc-single-sidebar .sidebar-box .dlc-archive,
.dlc-single-sidebar .sidebar-box ul.dlc-archive{
    display:block !important;
    list-style-type:disc !important;
    list-style-position:outside !important;
    padding-left:20px !important;
    margin:0 !important;
}

.sidebar .dlc-archive > li,
.sidebar .sidebar-box .dlc-archive > li,
.dlc-single-sidebar .dlc-archive > li,
.dlc-single-sidebar .sidebar-box .dlc-archive > li{
    display:list-item !important;
    list-style-type:disc !important;
    list-style-position:outside !important;
    padding:5px 0 !important;
    margin:0 !important;
}


/* v1.5.45 - separación vertical: solo margen superior */
.sidebar,
.dlc-single-sidebar{
    gap:0 !important;
}

.sidebar > *,
.dlc-single-sidebar > *{
    margin-top:6px !important;
    margin-bottom:0 !important;
}

/* El primer módulo conserva exactamente el mismo margen superior */
.sidebar > *:first-child,
.dlc-single-sidebar > *:first-child{
    margin-top:6px !important;
}

/* Neutraliza márgenes inferiores heredados de cajas y widgets */
.sidebar .sidebar-box,
.sidebar .widget,
.dlc-single-sidebar .sidebar-box,
.dlc-single-sidebar .widget{
    margin-top:0 !important;
    margin-bottom:0 !important;
}

/* La separación de publicidad también la controla exclusivamente su wrapper */
.sidebar .dlc-ad-slot,
.dlc-single-sidebar .dlc-ad-slot{
    margin-top:6px !important;
    margin-bottom:0 !important;
}

.sidebar .dlc-ad-slot .widget,
.sidebar .dlc-ad-slot .sidebar-box,
.dlc-single-sidebar .dlc-ad-slot .widget,
.dlc-single-sidebar .dlc-ad-slot .sidebar-box{
    margin:0 !important;
}

/* v1.5.60 - ancho proporcional uniforme en todo el sitio de escritorio */
@media(min-width:1181px){
  .container{
    width:85%;
    max-width:none;
  }
  .home-grid{
    grid-template-columns:minmax(0,1fr) clamp(280px,26%,350px);
  }
  .single-wrap{
    grid-template-columns:minmax(0,1fr) clamp(280px,26%,330px);
  }
  .site-content-grid{
    grid-template-columns:minmax(0,1fr) clamp(280px,26%,330px);
  }
}

/* La cabecera conserva todos sus servicios cuando el 85% deja menos espacio. */
@media(min-width:1181px) and (max-width:1400px){
  .site-header-grid{column-gap:14px;}
  .site-branding img{width:300px;}
  .header-search{width:320px;}
  .header-service{gap:6px;}
  .primary-nav a{padding-left:10px;padding-right:10px;}
}

/* v1.5.58 - control de lectura en el borde derecho del artículo */
.dlc-reading-rail{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:42px;
  z-index:10;
  pointer-events:none;
}
.dlc-reading-tools{
  position:sticky;
  top:110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.35);
  border-radius:22px;
  background:#002753;
  box-shadow:0 5px 18px rgba(0,0,0,.2);
  pointer-events:auto;
  opacity:0;
  visibility:hidden;
  transform:translateX(9px);
  transition:opacity .35s ease,transform .35s ease,visibility 0s linear .35s;
}
.dlc-reading-tools.is-visible{opacity:1;visibility:visible;transform:translateX(0);transition-delay:0s;}
.dlc-reading-tools button{
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  font:600 13px/1 Inter,Arial,sans-serif;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease;
}
.dlc-reading-tools button:last-of-type{border-bottom:0;}
.dlc-reading-tools button:hover,
.dlc-reading-tools button:focus-visible{background:#0b426f;outline:none;}
.dlc-reading-tools button:disabled{opacity:.42;cursor:default;}
.dlc-reading-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}
@media(max-width:650px){
  .dlc-reading-rail{width:36px;}
  .dlc-reading-tools{top:78px;}
  .dlc-reading-tools button{width:36px;height:38px;font-size:12px;}
}

/* v1.5.59 - etiquetas animadas al final de las notas */
.single-tags{margin-top:32px;padding-top:18px;border-top:1px solid #dfe3e7;}
.single-tags-list{display:flex;flex-wrap:wrap;gap:8px;}
.single-tags-list a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 12px;
  border:1px solid #cfd8e2;
  border-radius:18px;
  background:#f7f9fb;
  color:#002753;
  font-size:12px;
  line-height:1.2;
  opacity:0;
  transform:translateY(7px) scale(.96);
  animation:dlcTagIn .42s ease forwards;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.single-tags-list a:nth-child(2){animation-delay:.06s;}
.single-tags-list a:nth-child(3){animation-delay:.12s;}
.single-tags-list a:nth-child(4){animation-delay:.18s;}
.single-tags-list a:nth-child(5){animation-delay:.24s;}
.single-tags-list a:nth-child(n+6){animation-delay:.3s;}
.single-tags-list a:hover,
.single-tags-list a:focus-visible{transform:translateY(-3px);background:#002753;color:#fff;border-color:#002753;box-shadow:0 5px 12px rgba(0,39,83,.18);outline:none;}
@keyframes dlcTagIn{to{opacity:1;transform:translateY(0) scale(1);}}
@media(prefers-reduced-motion:reduce){
  .dlc-reading-tools{transform:none;transition:none;}
  .single-tags-list a{opacity:1;transform:none;animation:none;transition:none;}
}

/* v1.5.75 - cinta vertical flotante para compartir notas */
.dlc-share-rail{
  position:fixed;
  left:10px;
  right:auto;
  top:50%;
  z-index:90;
  display:flex;
  flex-direction:column;
  width:46px;
  min-width:46px;
  max-width:46px;
  height:auto;
  max-height:270px;
  box-sizing:border-box;
  padding:4px 0;
  overflow:visible;
  border:1px solid rgba(0,39,83,.18);
  border-radius:5px;
  background:rgba(255,255,255,.68);
  box-shadow:0 4px 14px rgba(0,39,83,.1);
  opacity:0;
  visibility:hidden;
  transform:translate(-7px,-50%);
  pointer-events:none;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  transition:opacity .25s ease,transform .25s ease,background .2s ease,box-shadow .2s ease,visibility 0s linear .25s;
}
.dlc-share-rail.is-visible{
  opacity:.28;
  visibility:visible;
  transform:translateY(-50%);
  pointer-events:auto;
  transition-delay:0s;
}
.dlc-share-rail:hover,
.dlc-share-rail:focus-within{
  opacity:1;
  background:#fff;
  box-shadow:0 7px 22px rgba(0,39,83,.22);
}
.dlc-share-button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  min-width:44px;
  max-width:44px;
  height:43px;
  min-height:43px;
  max-height:43px;
  flex:0 0 43px;
  padding:0;
  border:0;
  border-bottom:1px solid rgba(0,39,83,.13);
  border-radius:0;
  background:transparent;
  color:var(--dlc-blue);
  cursor:pointer;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
.dlc-share-button:last-of-type{border-bottom:0;}
.dlc-share-button:hover,
.dlc-share-button:focus-visible{
  z-index:2;
  color:#fff;
  background:var(--dlc-blue);
  outline:none;
  transform:scale(1.06);
}
.dlc-share-button:focus-visible{box-shadow:inset 0 0 0 2px #fff;}
.dlc-share-button svg{
  display:block;
  flex:none;
  width:20px;
  min-width:20px;
  max-width:20px;
  height:20px;
  min-height:20px;
  max-height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dlc-share-button svg .dlc-icon-fill{
  fill:currentColor;
  stroke:none;
}
.dlc-share-rail::after{
  content:"Vínculo copiado";
  position:absolute;
  left:calc(100% + 8px);
  right:auto;
  top:50%;
  padding:7px 10px;
  border-radius:4px;
  background:var(--dlc-blue);
  color:#fff;
  font-size:12px;
  line-height:1;
  white-space:nowrap;
  opacity:0;
  transform:translateY(-50%);
  pointer-events:none;
  transition:opacity .18s ease;
}
.dlc-share-rail.is-copied::after{opacity:1;}
@media(max-width:900px){
  .single-article{display:flex;flex-direction:column;}
  .single-reading-zone{order:1;}
  .dlc-share-rail,
  .dlc-share-rail:not(.is-visible),
  .dlc-share-rail.is-visible{
    position:relative;
    inset:auto;
    order:2;
    z-index:1;
    flex-direction:row;
    width:min(100%,360px);
    min-width:0;
    max-width:360px;
    height:46px;
    max-height:none;
    margin:28px auto 6px;
    padding:0;
    overflow:visible;
    border:1px solid rgba(0,39,83,.18);
    border-radius:8px;
    background:#fff;
    box-shadow:0 4px 14px rgba(0,39,83,.1);
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .dlc-share-rail:hover,
  .dlc-share-rail:focus-within{opacity:1;}
  .dlc-share-button{
    flex:1 1 0;
    width:auto;
    min-width:0;
    max-width:none;
    height:44px;
    min-height:44px;
    max-height:44px;
    border-right:1px solid rgba(0,39,83,.13);
    border-bottom:0;
  }
  .dlc-share-button:last-of-type{border-right:0;}
  .dlc-share-button svg{width:19px;min-width:19px;max-width:19px;height:19px;min-height:19px;max-height:19px;}
  .dlc-share-rail::after{left:50%;right:auto;top:auto;bottom:calc(100% + 8px);transform:translateX(-50%);}
}
@media(prefers-reduced-motion:reduce){
  .dlc-share-rail,
  .dlc-share-button,
  .dlc-share-rail::after{transition:none;}
}

/* v1.5.70 - cabecera y footer simplificados en tablet y celular */
@media(max-width:900px){
  .site-header-main{padding:12px 0;}
  .site-header-grid{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:10px 14px;min-height:0;}
  .site-branding{grid-column:1;grid-row:1;}
  .site-branding img{width:min(330px,68vw);max-height:68px;}
  .menu-toggle{
    display:block;
    grid-column:2;
    grid-row:1;
    align-self:center;
    width:auto;
    padding:10px 12px;
    border:0;
    border-radius:4px;
    background:#002753;
    color:#fff;
    font-size:12px;
    line-height:1;
    font-weight:650;
    text-align:center;
    white-space:nowrap;
  }
  .header-service{display:none;}
  .header-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;}
  .search-filter-row{display:none;}
  .search-keyword-row{height:40px;}

  .site-footer .footer-brand,
  .site-footer .footer-weather{display:none;}
  .site-footer .footer-grid{display:block;}
  .site-footer .footer-sections{width:100%;}
  .site-footer .footer-menu-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px;}
}

/* v1.5.72 - categorías dinámicas y distribución proporcional */
.site-footer .footer-menu-columns{display:block;}
.site-footer .footer-menu-columns .footer-menu{
  display:block!important;
  column-count:3;
  column-gap:32px;
}
.site-footer .footer-menu-columns .footer-menu li{
  break-inside:avoid;
  page-break-inside:avoid;
}
@media(max-width:900px){
  .site-footer .footer-menu-columns .footer-menu{
    column-count:2;
    column-gap:28px;
  }
}
