/* BLE Noticias — listado y ficha */

body.ble-noticias-active {
  --ble-navy: #181E90;
  --ble-accent: #34a9e4;
  --ble-accent-hover: #278fd1;
  --ble-text: #171717;
  --ble-muted: #6b7280;
  --ble-line: #e5e7eb;
  --ble-thumb: #d9d9d9;
  --ble-wrap: 1180px;
  --ble-font: "Montserrat", Arial, Helvetica, sans-serif;
}

body.ble-noticias-active .site-content,
body.ble-noticias-active #content,
body.ble-noticias-active #primary,
body.ble-noticias-active .ast-container,
body.ble-noticias-active .ast-page-builder-template .site-content > .ast-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ble-noticias-active.ast-separate-container .ast-article-post,
body.ble-noticias-active.ast-separate-container .ast-article-single,
body.ble-noticias-active .entry-header,
body.ble-noticias-active .ast-breadcrumbs-wrapper,
body.ble-noticias-active .comments-area,
body.ble-noticias-active .post-navigation,
body.ble-noticias-active .ast-single-related-posts-container {
  display: none !important;
}

.ble-noticias,
.ble-noticias * {
  box-sizing: border-box;
}

.ble-noticias {
  font-family: var(--ble-font);
  color: var(--ble-text);
  background: #fff;
}

.ble-wrap {
  width: min(var(--ble-wrap), calc(100% - 48px));
  margin: 0 auto;
}

.ble-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ble-accent);
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ble-btn:hover,
.ble-btn:focus {
  background: var(--ble-accent-hover);
  color: #fff !important;
}

.ble-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ble-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  min-width: 0;
  min-height: 22px;
}

.ble-tag {
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 11.5em;
  padding: 3px 10px;
  overflow: hidden;
  border-radius: 3px;
  background: #e8e8e8;
  color: #181E90 !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ble-card--hero .ble-tag,
.ble-article .ble-tag {
  max-width: 18em;
}

.ble-tag:hover {
  color: #111 !important;
}

.ble-tag--empty {
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  pointer-events: none;
}

.ble-date {
  color: var(--ble-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.ble-meta--dark .ble-tag {
  background: #fff;
  color: #181E90 !important;
}

.ble-meta--dark .ble-date {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ble-thumb__img,
.ble-thumb__empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ble-thumb__empty {
  background: var(--ble-thumb);
}

.ble-card__media {
  display: block;
  overflow: hidden;
  background: var(--ble-thumb);
}

.ble-card__title {
  margin: 0;
  color: #111 !important;
  font-weight: 800;
  line-height: 1.25;
}

body.ble-noticias-active .ble-card__title,
body.ble-noticias-active .ble-card__title a,
body.ble-noticias-active .ble-card__title a:visited,
body.ble-noticias-active .ble-featured .ble-card__title a,
body.ble-noticias-active .ble-related .ble-card__title a {
  color: #111 !important;
  text-decoration: none !important;
}

body.ble-noticias-active .ble-card__title a:hover,
body.ble-noticias-active .ble-card__title a:focus {
  color: var(--ble-accent) !important;
}

.ble-card__excerpt {
  margin: 10px 0 0;
  color: var(--ble-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* Featured / fuera — bloque blanco */

.ble-featured {
  padding: 56px 0 64px;
  background: #fff;
}

.ble-featured-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 42px 48px;
  align-items: start;
}

.ble-featured-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
}

.ble-card--hero .ble-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 2px;
}

.ble-card--hero .ble-card__title {
  margin-top: 2px;
  font-size: clamp(22px, 2.1vw, 30px);
}

.ble-card--hero .ble-card__excerpt {
  margin-bottom: 18px;
}

.ble-card--side .ble-card__media,
.ble-card--related .ble-card__media {
  aspect-ratio: 1 / 0.92;
}

.ble-card--side .ble-card__title,
.ble-card--related .ble-card__title {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ble-card--side .ble-meta,
.ble-card--related .ble-meta {
  margin: 10px 0 6px;
}

/* Todas las noticias — #181E90 */

.ble-all {
  padding: 64px 0 88px;
  background: var(--ble-navy);
  color: #fff;
}

.ble-all__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.ble-all__title {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}

.ble-search {
  display: flex;
  align-items: stretch;
  position: relative;
  width: min(340px, 100%);
  height: 46px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.ble-noticias-active .ble-search input,
body.ble-noticias-active .ble-search input[type="search"],
body.ble-noticias-active .ble-search input[type="search"]:hover,
body.ble-noticias-active .ble-search input[type="search"]:focus,
body.ble-noticias-active .ble-search input[type="search"]:focus-visible,
body.ble-noticias-active .ble-search input[type="search"]:active {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px 0 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #222 !important;
  font-family: var(--ble-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 46px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.ble-noticias-active .ble-search input[type="search"]::-webkit-search-decoration,
body.ble-noticias-active .ble-search input[type="search"]::-webkit-search-cancel-button,
body.ble-noticias-active .ble-search input[type="search"]::-webkit-search-results-button,
body.ble-noticias-active .ble-search input[type="search"]::-webkit-search-results-decoration {
  display: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.ble-noticias-active .ble-search input::placeholder {
  color: #9aa0a6 !important;
  opacity: 1 !important;
}

body.ble-noticias-active .ble-search__btn,
body.ble-noticias-active .ble-search button,
body.ble-noticias-active .ble-search button[type="submit"],
body.ble-noticias-active .ble-search button[type="submit"]:hover,
body.ble-noticias-active .ble-search button[type="submit"]:focus {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #4b5563 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  cursor: pointer;
}

body.ble-noticias-active .ble-search__btn svg,
body.ble-noticias-active .ble-search button svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  color: #4b5563 !important;
}

.ble-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.ble-card--grid {
  color: #fff;
}

.ble-card--grid .ble-card__media {
  aspect-ratio: 16 / 10;
  background: #fff;
}

body.ble-noticias-active .ble-all .ble-card__title,
body.ble-noticias-active .ble-all .ble-card__title a,
body.ble-noticias-active .ble-all .ble-card__title a:visited,
body.ble-noticias-active .ble-card--grid .ble-card__title,
body.ble-noticias-active .ble-card--grid .ble-card__title a,
body.ble-noticias-active .ble-card--grid .ble-card__title a:visited {
  color: #fff !important;
}

.ble-card--grid .ble-card__title {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ble-noticias-active .ble-all .ble-card__title a:hover,
body.ble-noticias-active .ble-card--grid .ble-card__title a:hover {
  color: #fff !important;
  opacity: 0.85;
}

.ble-card--grid .ble-card__excerpt {
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ble-empty {
  grid-column: 1 / -1;
  margin: 24px 0;
  color: #fff;
  font-size: 16px;
}

.ble-all__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Ficha / dentro */

.ble-article {
  padding: 48px 0 24px;
  background: #fff;
}

.ble-article__title {
  margin: 0 0 8px;
  max-width: 920px;
  color: #111 !important;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
}

.ble-article .ble-meta {
  margin: 0 0 28px;
}

.ble-article__content {
  color: #3a3a3a;
  font-size: 16px;
  line-height: 1.75;
}

.ble-article__media {
  float: right;
  width: min(46%, 520px);
  margin: 4px 0 28px 36px;
  background: var(--ble-thumb);
}

.ble-article__media .ble-thumb__img,
.ble-article__media .ble-thumb__empty {
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.ble-article__body p {
  margin: 0 0 1.15em;
}

.ble-article__body h2,
.ble-article__body h3 {
  color: var(--ble-text);
  font-weight: 700;
}

.ble-article__body img,
.ble-article__body iframe,
.ble-article__body figure {
  max-width: 100%;
  height: auto;
}

.ble-article__body .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

.ble-article__content::after {
  content: "";
  display: table;
  clear: both;
}

.ble-share {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 28px 0 12px;
}

.ble-share__label {
  margin: 0 0 10px;
  color: var(--ble-text);
  font-size: 14px;
  font-weight: 700;
}

.ble-share__row {
  display: flex;
  gap: 10px;
}

.ble-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #f3f3f3;
  color: #333;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ble-share__btn svg {
  width: 18px;
  height: 18px;
}

.ble-share__btn:hover,
.ble-share__btn:focus {
  background: var(--ble-navy);
  border-color: var(--ble-navy);
  color: #fff;
}

.ble-share__toast {
  margin: 10px 0 0;
  color: var(--ble-navy);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.ble-related {
  padding: 24px 0 80px;
  background: #fff;
}

.ble-related__title {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
}

.ble-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .ble-featured-grid,
  .ble-grid,
  .ble-related__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ble-card--hero {
    grid-column: 1 / -1;
  }

  .ble-article__media {
    width: min(48%, 380px);
    margin-left: 24px;
  }
}

@media (max-width: 720px) {
  .ble-wrap {
    width: min(var(--ble-wrap), calc(100% - 32px));
  }

  .ble-featured {
    padding: 32px 0 40px;
  }

  .ble-featured-grid,
  .ble-featured-side,
  .ble-grid,
  .ble-related__grid {
    grid-template-columns: 1fr;
  }

  .ble-all {
    padding: 40px 0 64px;
  }

  .ble-all__head {
    flex-direction: column;
    align-items: stretch;
  }

  .ble-search {
    width: 100%;
  }

  .ble-article__title {
    font-size: 26px;
  }

  .ble-article__media {
    float: none;
    width: 100%;
    margin: 0 0 22px;
  }

  .ble-share {
    align-items: flex-start;
  }

  .ble-share__toast {
    text-align: left;
  }
}
