/* Site integration and visual overrides; original style.css is preserved. */
:root { --guaira-hover: #f9ca24; }

/* Yellow from the logo's exclamation mark, shared by hover and keyboard focus. */
#main .header-wrapper .navbar a:is(:hover, :focus-visible),
#main .header-wrapper .navbar .nav > li.open > a,
#main .header-wrapper .navbar .dropdown-submenu:hover > a,
#main .header-wrapper .header-top.asu-topbar a:is(:hover, :focus-visible),
#main .header-wrapper .sb-icon-search:hover,
#main .news-title a:is(:hover, :focus-visible),
#main .widget-content h3 a:is(:hover, :focus-visible),
#main .simple-post h3 a:is(:hover, :focus-visible),
#main .widget-post h3 a:is(:hover, :focus-visible),
#main .block-title a:is(:hover, :focus-visible),
#main .categorywidget a:is(:hover, :focus-visible),
#main .categorywidget a:is(:hover, :focus-visible) span {
  color: var(--guaira-hover);
}
#main .header-wrapper .navbar .nav > li > a:is(:hover, :focus-visible)::after,
#main .header-wrapper .navbar .nav > li.open > a::after {
  border-top-color: var(--guaira-hover);
}
#main .header-wrapper .mega-menu .dropdown-submenu:hover > a::after {
  border-left-color: var(--guaira-hover);
}
.header-big .header-mid {
  background: #674697;
  background: linear-gradient(90deg, #674697 0%, #539dde 100%);
}
.logo img { max-width: 100%; max-height: 45px; width: auto; }
.header-mid .logo img { max-height: 90px; max-width: 280px; }
.footer .logo img { max-height: 60px; }
.post-content audio, .post-content video { max-width: 100%; }
.post-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.footer-bottom img { max-width: 200px; }
.site-contact a, .site-contact span { display: inline-block; margin-right: 12px; }
.featured-href > img { width: 100%; height: 100%; object-fit: cover; }
.news-block .image-overlay > img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.simple-thumb img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.featured-header h2 { overflow-wrap: anywhere; }
/* Give each lead story its own space and keep captions below the photo's focus. */
.featured-wrapper .slider-item > .row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 8px;
}
.featured-wrapper .slider-item > .row::before,
.featured-wrapper .slider-item > .row::after { content: none; }
.featured-wrapper .slider-item > .row > [class*="col-md-"] {
  float: none;
  width: auto;
  min-width: 0;
  padding: 0 !important;
}
.featured-wrapper .slider-item > .row > .col-md-4 {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.featured-wrapper .featured-big,
.featured-wrapper .featured-small {
  border-radius: 0;
  box-shadow: none;
}
.featured-wrapper .featured-big,
.featured-wrapper .featured-big .featured-href,
.featured-wrapper .featured-big img { height: 500px; }
.featured-wrapper .featured-small,
.featured-wrapper .featured-small .featured-href,
.featured-wrapper .featured-small img { height: 242px; }
.featured-wrapper .featured-href > img { width: 100%; object-fit: cover; }
.featured-wrapper .featured-header,
.featured-wrapper .featured-big .featured-header {
  padding: 48px 24px 20px;
  background: linear-gradient(0deg, rgb(5 12 20 / 90%), rgb(5 12 20 / 48%) 60%, transparent);
}
.featured-wrapper .featured-small .featured-header { padding: 24px 18px 14px; }
.featured-wrapper .featured-header .category {
  position: static;
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 8px;
  font-size: 10px;
}
.featured-wrapper .featured-header h2,
.featured-wrapper .featured-big .featured-header h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 8px;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgb(0 0 0 / 65%);
}
.featured-wrapper .featured-small .featured-header h2 { font-size: 18px; -webkit-line-clamp: 2; }
.featured-wrapper .featured-header .simple-share {
  display: block;
  margin: 0;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.4;
}
@media (max-width: 991px) {
  .featured-wrapper .slider-item > .row { grid-template-columns: minmax(0, 1fr); }
  .featured-wrapper .slider-item > .row > .col-md-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .featured-wrapper .featured-big,
  .featured-wrapper .featured-big .featured-href,
  .featured-wrapper .featured-big img { height: 380px; }
}
@media (max-width: 600px) {
  .featured-wrapper .slider-item > .row { gap: 12px; padding: 6px; }
  .featured-wrapper .slider-item > .row > .col-md-4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .featured-wrapper .featured-big,
  .featured-wrapper .featured-big .featured-href,
  .featured-wrapper .featured-big img { height: 320px; }
  .featured-wrapper .featured-header,
  .featured-wrapper .featured-big .featured-header { padding: 36px 18px 16px !important; }
  .featured-wrapper .featured-big .featured-header h2 { font-size: 26px; }
  .featured-wrapper .featured-small .featured-header h2 { font-size: 20px; }
}
@media (max-width: 767px) { .header-mid .logo img { max-width: 230px; } }
@media (max-width: 1199px) {
  .header-big .header-mid-wrapper .mid-logo-wrapper {
    float: none;
    width: 100%;
    text-align: center;
  }
  .header-big .header-mid-wrapper .mid-logo-wrapper .logo {float:none;display:inline-block;}
}
/* Fit real campaign images into the template's original 728 × 90 banner slots. */
.ad728-wrapper img, .header-banner img { width: 100%; height: 90px; object-fit: contain; }
.ad728-wrapper .publicidad-slide, .header-banner .publicidad-slide { height: 90px; }
.ad728-wrapper .publicidad-slot:not(.publicidad-placeholder) img,
.header-banner .publicidad-slot:not(.publicidad-placeholder) img { height: 90px; object-fit: contain; }

/* Position 2 uses the shared standard/full grid at the panel's outer edges. */
.ad728-wrapper.header-ad-stack {width:auto;max-width:none;margin:24px -15px 0;}
@media (max-width:767px) { .ad728-wrapper.header-ad-stack {margin-inline:-10px;} }
/* Box the shared white header to the same edges as the news panel. */
#main > .header-wrapper {
  width: calc(100% - 10px);
  margin-inline: auto;
  background: #fff;
}
#main > .header-wrapper .container { width: 100%; }
#main > .header-wrapper .header-top {
  background: #fff;
  color: #545454;
  border-bottom: 1px solid #eee;
}
#main > .header-wrapper .header-top .top-menu li { border-right-color: #ddd; }
#main > .header-wrapper .header-top a { color: #545454; }
#main > .header-wrapper .header-top a:hover { color: #f60; }
#main > .header-wrapper .header.set-fixed {
  width: inherit;
  left: 0;
  right: 0;
  margin-inline: auto;
}
@media (min-width: 768px) { #main > .header-wrapper { width: 750px; } }
@media (min-width: 992px) { #main > .header-wrapper { width: 970px; } }
@media (min-width: 1200px) { #main > .header-wrapper { width: 1170px; } }

/* Shared secondary-page sidebar; original ADMAG widgets. */
.secondary-sidebar .sidebar-radio:empty,
.secondary-sidebar .sidebar-ads:empty { display: none; }
.secondary-sidebar .sidebar-ads .publicidad-slot { margin-inline: auto; }
.secondary-sidebar .sidebar-ads .publicidad-slot + .publicidad-slot { margin-top: 20px; }
/* Avoid stacking the theme's widget margin with the radio's own margin. */
.secondary-sidebar > .widget { margin: 0 0 20px; }
.secondary-sidebar > .widget:last-child { margin-bottom: 0; }
.secondary-sidebar .sidebar-radio .live-stream { margin: 0; }
.secondary-sidebar .searchwidget-form { margin: 0; }
/* Align position 3 banners with the radio and sidebar headings. */
.secondary-sidebar .sidebar-ads .publicidad-slot {
  width: 100% !important;
  max-width: 100%;
  margin-inline: 0;
}

/* Breathing room above the footer, inside the white secondary-page panel. */
.main-content.secondary-content { padding-bottom: 30px; }
/* Article category stays in normal flow, clear of the panel's top edge. */
.post-wrapper .post-header > .category {
  position: static;
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  line-height: 1.4;
  border-radius: 3px;
}
.post-wrapper .post-header .post-title { padding-top: 0; }
/* Compact, accessible sharing controls. */
.post-meta .share-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 18px 0;
  margin: 24px 0;
  white-space: normal;
}
.post-meta .share-wrapper::before,
.post-meta .share-wrapper::after { display: none; }
.post-meta .share-label { font-size: 14px; font-weight: 700; color: #444; }
.post-meta .share-wrapper .share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: static;
}
.post-meta .share-buttons .social-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #fff;
}
.post-meta .share-buttons .alt-text { display: inline; margin: 0; }
.post-meta .share-buttons .facebook { background: #2463ac; }
.post-meta .share-buttons .twitter { background: #222; }
.post-meta .share-buttons .whatsapp { background: #147d45; }
.post-meta .share-buttons a:hover { filter: brightness(.9); }
.post-meta .share-buttons a:focus-visible { outline: 3px solid #f60; outline-offset: 3px; }
/* One clean search field instead of the original nested borders. */
.secondary-sidebar .searchwidget-form {
  border: 1px solid #dce1e5;
  border-radius: 6px;
  background: #f8f9fa;
  overflow: hidden;
}
.secondary-sidebar .searchwidget-form:focus-within {
  border-color: #f60;
  box-shadow: 0 0 0 2px rgba(255,102,0,.12);
}
.secondary-sidebar .searchwidget-form .input-group { display: flex; width: 100%; }
.secondary-sidebar .searchwidget-form .form-control {
  float: none;
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #222;
  font-size: 14px;
}
.secondary-sidebar .searchwidget-form .input-group-btn { display: flex; width: auto; }
.secondary-sidebar .searchwidget-form button {
  width: 48px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f60;
  color: #fff;
  line-height: 1;
}
.secondary-sidebar .searchwidget-form button:hover { background: #dc5800; }
.secondary-sidebar .searchwidget-form button:focus-visible { outline: 2px solid #222; outline-offset: -4px; }
/* Live Asunción information strip. */
#main > .header-wrapper .header-top.asu-topbar {
  padding: 0;
  background: #080e2a;
  color: #fff;
  border: 0;
}
.asu-topbar-inner { display:flex; align-items:center; gap:18px; min-height:44px; font:600 14px/1.4 Roboto,Arial,sans-serif; }
.asu-weather { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.asu-weather [data-asu-icon] {width:20px;font-size:18px;line-height:1;text-align:center;flex:none;}
.asu-weather strong { font-size:inherit; line-height:inherit; letter-spacing:normal; }
.asu-weather > span { font-size:inherit; font-weight:400; }
.asu-date, .asu-country, .asu-clock { border-left:1px solid #798094; padding-left:18px; white-space:nowrap; }
.asu-social { margin-left:auto; display:flex; gap:15px; }
#main > .header-wrapper .asu-topbar .social-icons a { color:#fff; font-size:inherit !important; margin:0; }
#main > .header-wrapper .asu-topbar .social-icons a:hover { color:#a9c9e8; }
.header-big .main-wrapper { padding-top:234px; }
@media(max-width:767px) {
  .asu-topbar-inner { flex-wrap:wrap; gap:8px 12px; padding:8px 0; font-size:12px; }
  .asu-date { order:5; width:100%; border:0; padding:0; }
  .asu-country { display:none; }
  .asu-clock { padding-left:12px; }
  .asu-social { gap:10px; }
}

/* Individual position 4 campaigns, aligned with the sidebar. */
.sidebar-banner-stack {
  display: grid;
  gap: 20px;
}
.sidebar-banner-stack > .publicidad-slot {
  width: 100% !important;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 35, 55, .12);
}
.sidebar-banner-stack .publicidad-slot img {
  display: block;
  width: 100%;
  height: auto;
}
.sidebar-banner-stack .publicidad-slot a:focus-visible {
  outline: 3px solid #ff6600;
  outline-offset: -3px;
}
