@media(max-width:1100px) {
  #header > .header-top-block {display:none;}
  #header .header-blocks .header-blocks-aspace {height:auto;line-height:normal; padding:20px 0;}
  #header .header-blocks .header-blocks-aspace .publicidad-slot,
  #header .header-blocks .header-blocks-aspace .publicidad-slot a,
  #header .header-blocks .header-blocks-aspace .publicidad-slot img {
    width:100%!important; max-width:728px!important; height:auto!important;
  }
  #header .header-blocks .header-blocks-aspace .publicidad-slot img {object-fit:contain;}
}
.ot-responsive-menu-header-logo img {display:inline-block;max-height:34px;max-width:200px;width:auto;height:auto;object-fit:contain;vertical-align:middle;}
@media(min-width:841px) and (max-width:1100px) {
  #header .header-blocks {display:flex;align-items:center;gap:24px;min-height:130px;}
  #header .header-blocks .header-blocks-logo {display:flex;align-items:center;float:none;flex:0 0 24%;width:24%;height:90px;}
  #header .header-blocks .header-blocks-logo a {padding-right:0;}
  #header .header-blocks .header-blocks-aspace {display:flex;align-items:center;float:none;flex:1;min-width:0;width:auto;height:auto;line-height:normal;padding:20px 0;}
}
@media(max-width:840px) {
  body #boxed {padding-top:64px;}
  #boxed > .ot-responsive-menu-header {height:64px;line-height:64px;}
  .ot-responsive-menu-header .ot-responsive-menu-header-logo {display:flex;align-items:center;justify-content:center;width:calc(100% - 112px);max-width:210px;height:64px;line-height:normal;margin:0 auto;}
  .ot-responsive-menu-header .ot-responsive-menu-header-logo img {display:block;width:auto;height:48px;max-width:100%;max-height:48px;object-fit:contain;}
  .ot-responsive-menu-header #ot-menu-burger-1 {box-sizing:border-box;min-width:48px;height:64px;line-height:64px;}
}

@media(max-width:600px) {
  .otg-slider .owl-nav > div.owl-prev {left:0;margin-left:0;}
  .otg-slider .owl-nav > div.owl-next {right:0;margin-right:0;}
}

.ot-follow-share a.ot-color-instagram {background:#c13584;}
.ot-follow-share a.ot-color-youtube {background:#c00;}
.ot-follow-share a.ot-color-tiktok {background:#111;}
.ot-follow-share a:focus-visible {outline:3px solid #fff;outline-offset:3px;}

.ot-follow-share .social-tiktok-icon {width:19px;height:19px;vertical-align:middle;}
.demo4-sticky-sidebar .publicidad-pos-4 + .publicidad-pos-4 {margin-top:24px;}

.header-weather-block .header-weather-block-city small {display:block;font-size:10px;line-height:1.5;opacity:.85;}
.header-weather-block .header-weather-block-city small a {color:inherit;text-decoration:underline;}
.header-weather-block .header-weather-block-city {max-width:155px;}
.header-weather-block .header-weather-block-city > span {white-space:normal;line-height:1.3;}
.header-weather-block-deg {white-space:nowrap;}

/* Compact, aligned news ticker and weather strip. */
#header .header-top-block > .wrapper {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding-top:10px;padding-bottom:10px;}
#header .header-top-block > .wrapper::after,
#header .header-breaking-news-block::after {display:none;}
#header .header-breaking-news-block {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;width:auto;min-width:0;height:auto;padding:0;border:0;line-height:normal;}
#header .header-breaking-news-block > strong {display:block;float:none;width:auto;font-size:12px;line-height:1.3;letter-spacing:.5px;padding:8px 10px;border-radius:4px;background:rgba(0,0,0,.14);}
#header .header-breaking-news-block > .ot-breaking-news-controls {grid-column:3;grid-row:1;display:flex;float:none;width:auto;gap:4px;line-height:normal;}
#header .header-breaking-news-block > .ot-breaking-news-controls button {display:grid;place-items:center;width:28px;height:30px;line-height:1;margin:0;padding:0;border-radius:4px;background:rgba(255,255,255,.1);font-size:16px;}
#header .header-breaking-news-block > .ot-breaking-news-controls button:hover {background:rgba(255,255,255,.23);}
#header .header-breaking-news-block > .ot-breaking-news-controls button:focus-visible {outline:2px solid white;outline-offset:2px;}
#header .header-breaking-news-block .header-breaking-news-block-frame {grid-column:2;grid-row:1;float:none;min-width:0;width:100%;margin:0;padding:0;border:0;height:34px;line-height:34px;}
#header .header-breaking-news-block-inner {width:100%;}
#header .header-breaking-news-block-inner .item {font-size:13px;}
#header .header-weather-block {display:flex;align-items:center;gap:12px;float:none;clear:none;width:auto;min-height:44px;margin:0;padding:0 0 0 22px;border-left:1px solid rgba(255,255,255,.2);text-align:left;}
#header .header-weather-block-deg {padding:0;font-size:25px;line-height:1;font-weight:500;}
#header .header-weather-block .wi {padding:0;font-size:23px;line-height:1;}
#header .header-weather-block .header-weather-block-city {padding:0;max-width:145px;}
#header .header-weather-block-city strong {font-size:13px;line-height:18px;}
#header .header-weather-block-city > span {font-size:11px;line-height:15px;}
#header .header-weather-block-city small {font-size:10px;line-height:14px;}
@media(max-width:1000px) {
  #header .header-top-block > .wrapper {gap:14px;}
  #header .header-breaking-news-block {gap:10px;}
  #header .header-breaking-news-block > strong {font-size:10px;padding:7px;}
  #header .header-weather-block {padding-left:14px;gap:8px;}
}
@media(max-width:800px) {
  #header .header-top-block > .wrapper {grid-template-columns:minmax(0,1fr);gap:8px;padding-top:10px;padding-bottom:10px;}
  #header .header-breaking-news-block {grid-template-columns:minmax(0,1fr) auto;}
  #header .header-breaking-news-block > strong {display:none;}
  #header .header-breaking-news-block .header-breaking-news-block-frame {grid-column:1;}
  #header .header-breaking-news-block > .ot-breaking-news-controls {grid-column:2;}
  #header .header-weather-block {justify-content:flex-end;min-height:42px;border-left:0;border-top:1px solid rgba(255,255,255,.14);padding:8px 0 0;}
  #header .header-weather-block .header-weather-block-city {display:grid;grid-template-columns:auto auto;column-gap:9px;max-width:none;}
  #header .header-weather-block-city small {grid-column:1/-1;}
  #header .header-weather-block-deg {font-size:23px;}
}

/* En destaque: lectura continua y tarjetas compactas en pantallas pequeñas. */
@media (max-width: 767px) {
  .demo4-featured-band .ot-v-slider-navi {display:none;}
  .demo4-featured-band .demo4-auto-vertical {
    height:auto!important;max-height:none;overflow:visible;resize:none;
  }
  .demo4-featured-band .demo4-auto-vertical > .ot-block-content-vertical-slider-wrapper {
    display:block;position:static;height:auto;opacity:1;transform:none;animation:none;filter:none;transition:none;
  }
  .demo4-featured-band .demo4-auto-vertical .ot-block-content-vertical-slider-wrapper > .item {
    display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start;
    min-height:0;padding:14px;margin:0 0 12px;background:#fff;border:1px solid #e2e6e9;border-radius:10px;
  }
  .demo4-featured-band .demo4-auto-vertical .item:after {display:none;}
  .demo4-featured-band .demo4-auto-vertical .item .item-header {
    float:none;width:100%;margin:0;border-radius:7px;box-shadow:none;
  }
  .demo4-featured-band .demo4-auto-vertical .item .item-header img {
    display:block;width:100%;height:84px;object-fit:cover;
  }
  .demo4-featured-band .demo4-auto-vertical .item .item-content {min-width:0;margin:0;padding:0;}
  .demo4-featured-band .demo4-auto-vertical .item .item-content h4 {
    font-size:16px;line-height:1.35;margin:0 0 9px;color:#25323b;
  }
  .demo4-featured-band .demo4-auto-vertical .meta-items {display:flex;flex-wrap:wrap;gap:5px 10px;margin:0;font-size:11px;}
  .demo4-featured-band .demo4-auto-vertical .meta-items-i {margin:0;}
  .demo4-featured-band .demo4-auto-vertical .meta-items .material-icons {font-size:14px;}
}
@media (max-width: 380px) {
  .demo4-featured-band .demo4-auto-vertical .ot-block-content-vertical-slider-wrapper > .item {grid-template-columns:80px minmax(0,1fr);gap:10px;padding:12px;}
  .demo4-featured-band .demo4-auto-vertical .item .item-content h4 {font-size:15px;}
}

/* Nacionales: la miniatura y el titular comparten fila, sin márgenes flotantes. */
@media (max-width: 767px) {
  .demo4-category-feature .ot-content-block {height:auto;max-height:none;overflow:visible;resize:none;}
  .demo4-category-feature .demo4-category-side-list {display:grid;gap:12px;}
  .demo4-category-feature .demo4-category-side-list .item.item-small {
    display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start;
    min-height:0;margin:0;padding:14px;background:#fff;border:1px solid #e2e6e9;border-radius:10px;
  }
  .demo4-category-feature .demo4-category-side-list .item.item-small:after {display:none;}
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-header {
    float:none;width:100%;margin:0;border-radius:7px;box-shadow:none;
  }
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-header a {display:block;}
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-header img {
    display:block;width:100%;height:84px;object-fit:cover;
  }
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-content {
    min-width:0;width:auto;margin:0;padding:0;
  }
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-content h2 {
    font-size:16px;line-height:1.4;margin:0;color:#25323b;
  }
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-content h2 a {
    display:block;height:auto;max-height:none;overflow:visible;white-space:normal;
  }
  .demo4-category-feature .item.item-vertical {border-radius:10px;overflow:hidden;}
  .demo4-category-feature .item.item-vertical .item-header img {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;}
}
@media (max-width: 380px) {
  .demo4-category-feature .demo4-category-side-list .item.item-small {grid-template-columns:80px minmax(0,1fr);gap:10px;padding:12px;}
  .demo4-category-feature .demo4-category-side-list .item.item-small .item-content h2 {font-size:15px;}
}
