/* ============================================
   VERSION D — Clean & Warm
   Font: Source Sans 3
   Feel: Warm, approachable, editorial
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');

/* --- Typography --- */
body, .site,
.the-wysiwyg, .the-wysiwyg p,
.card__text,
.the-megamenu__text,
.the-header__subtitle,
.the-ticker,
.the-links__link span,
.the-menu__link span,
.the-tabs__link span,
.the-tabs__button span,
.the-slider__counter,
.item__text {
  font-family: 'Source Sans 3', Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6,
.the-header__title,
.the-header__pretitle,
.the-megamenu__title,
.item__title,
.card__title,
.card--selector .card__title,
.the-footer .the-menu__link span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
}

.the-header__title {
  letter-spacing: -0.01em !important;
  line-height: 1.1 !important;
}

.the-header__pretitle {
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-size: 0.7em !important;
  color: #F8C94B !important;
}

/* --- Light mode — warm and editorial --- */
body, .site {
  background-color: #fafaf7 !important;
}

.featured-text {
  color: #d4a828 !important;
  font-weight: 900 !important;
}

.text-link span,
.text-link {
  color: #003571 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 0.85em !important;
}

.button-solid {
  background-color: #003571 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.button-solid:hover {
  background-color: #002a52 !important;
}

.button-border {
  border-color: #fff !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

/* Nav — warm, lighter blue */
.the-navigation__top {
  background-color: #003571 !important;
  color: #fff !important;
}

.the-navigation__top .the-ticker,
.the-navigation__top .the-ticker b {
  color: #fff !important;
}

.the-navigation__top .the-links__link span,
.the-navigation__top .the-langs__link span,
.the-navigation__top .the-companies__link span,
.the-navigation__top .the-search__link span {
  color: #fff !important;
  font-weight: 600 !important;
}

.the-navigation__middle {
  background-color: #ffffff !important;
  border-bottom: 2px solid #F8C94B !important;
}

.the-navigation__middle .the-menu__link span {
  color: #003571 !important;
  font-weight: 700 !important;
}

.the-navigation[data-nav-scrolled="true"] .the-navigation__middle {
  background-color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0, 53, 113, 0.08) !important;
}

/* Footer — warm dark */
.the-footer {
  background-color: #1a2a40 !important;
}

/* Cards — warm, with subtle shadows */
.card--prensa--noticia {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  transition: box-shadow 0.3s ease !important;
}

.card--prensa--noticia:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.card--prensa--noticia .card__content {
  border-bottom: none !important;
}

.card--prensa--noticia .card__terms {
  color: #d4a828 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.card--prensa--noticia .card__button span {
  color: #003571 !important;
  font-weight: 700 !important;
}

/* Stats — warm gold dividers */
.item--numero {
  border-right: 1px solid #E5E5E5 !important;
}

.item--numero:last-child {
  border-right: none !important;
}

.item--numero .item__title {
  color: #003571 !important;
  font-weight: 900 !important;
}

.item--numero .item__title::after {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 3px !important;
  background-color: #F8C94B !important;
  margin-top: 8px !important;
}

/* Tabs */
.the-tabs__link .index {
  color: #d4a828 !important;
  font-weight: 800 !important;
}

.card--selector {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

/* Video sections */
.the-video {
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Sections */
.module[data-scheme="light"] {
  background-color: #fafaf7 !important;
}

/* Module headers — warm underline */
.module--noticia .col-header--title .the-header__title::after,
.module--selector .col-header--title .the-header__title::after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  background-color: #F8C94B !important;
  margin-top: 12px !important;
}

/* ============================================
   DARK MODE — warm dark
   ============================================ */
[data-theme="dark"] body,
[data-theme="dark"] .site {
  background-color: #141820 !important;
  color: #ddd8d0 !important;
}

[data-theme="dark"] .the-navigation__top {
  background-color: #0a0e14 !important;
  color: #ddd8d0 !important;
}

[data-theme="dark"] .the-navigation__top .the-ticker,
[data-theme="dark"] .the-navigation__top .the-ticker b {
  color: #ddd8d0 !important;
}

[data-theme="dark"] .the-navigation__top .the-links__link span,
[data-theme="dark"] .the-navigation__top .the-langs__link span,
[data-theme="dark"] .the-navigation__top .the-companies__link span,
[data-theme="dark"] .the-navigation__top .the-search__link span {
  color: #ddd8d0 !important;
}

[data-theme="dark"] .the-navigation__middle {
  background-color: #141820 !important;
  border-bottom-color: #F8C94B !important;
}

[data-theme="dark"] .the-navigation__middle .the-menu__link span {
  color: #ddd8d0 !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .the-navigation__bottom {
  background-color: #141820 !important;
}

[data-theme="dark"] .module[data-scheme="light"] {
  background-color: #1a1e28 !important;
  color: #ddd8d0 !important;
}

[data-theme="dark"] .module[data-scheme="light"] .the-header__title,
[data-theme="dark"] .module[data-scheme="light"] h2,
[data-theme="dark"] .module[data-scheme="light"] h3 {
  color: #ffffff !important;
}

[data-theme="dark"] .module[data-scheme="light"] .the-header__pretitle {
  color: #F8C94B !important;
}

[data-theme="dark"] .module[data-scheme="light"] .the-wysiwyg,
[data-theme="dark"] .module[data-scheme="light"] .the-wysiwyg p,
[data-theme="dark"] .module[data-scheme="light"] .card__text {
  color: #b8b0a8 !important;
}

[data-theme="dark"] .featured-text {
  color: #F8C94B !important;
}

[data-theme="dark"] .card--prensa--noticia {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .card--prensa--noticia .card__content {
  background-color: #1e2230 !important;
}

[data-theme="dark"] .card--prensa--noticia .card__title {
  color: #fff !important;
}

[data-theme="dark"] .card--prensa--noticia .card__date {
  color: #888 !important;
}

[data-theme="dark"] .card--prensa--noticia .card__terms {
  color: #F8C94B !important;
}

[data-theme="dark"] .card--selector .card__body {
  background-color: #1e2230 !important;
}

[data-theme="dark"] .card--selector .card__title {
  color: #fff !important;
}

[data-theme="dark"] .card--selector .card__text {
  color: #b8b0a8 !important;
}

[data-theme="dark"] .text-link span,
[data-theme="dark"] .text-link {
  color: #F8C94B !important;
}

[data-theme="dark"] .button-solid {
  background-color: #F8C94B !important;
  color: #141820 !important;
}

[data-theme="dark"] .the-footer {
  background-color: #0a0e14 !important;
}

[data-theme="dark"] .item--numero .item__title {
  color: #F8C94B !important;
}

[data-theme="dark"] .item--numero .item__text {
  color: #b8b0a8 !important;
}

[data-theme="dark"] .the-tabs__link span {
  color: #b8b0a8 !important;
}
