html.template-pais {
  --pais-bg: #f4f4f0;
  --pais-paper: #ffffff;
  --pais-paper-soft: #fcfcf9;
  --pais-ink: #121212;
  --pais-muted: #656565;
  --pais-line: #d9d9d1;
  --pais-line-strong: #b8b8ae;
  --pais-accent: #b1892f;
  --pais-accent-soft: #d5ba7a;
  --pais-dark: #0f0f0f;
  --pais-gutter: clamp(12px, 2.2vw, 26px);
}

html.template-pais body {
  background: var(--pais-bg);
  color: var(--pais-ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.template-pais a {
  color: var(--pais-ink);
  text-decoration: none;
}

html.template-pais a:hover,
html.template-pais a:focus {
  color: var(--pais-accent);
}

html.template-pais h1,
html.template-pais h2,
html.template-pais h3,
html.template-pais h4,
html.template-pais h5,
html.template-pais .h1,
html.template-pais .h2,
html.template-pais .h3,
html.template-pais .h4,
html.template-pais .h5 {
  font-family: "Iowan Old Style", "Times New Roman", Georgia, serif;
  letter-spacing: -0.02em;
  color: #0f0f0f;
}

html.template-pais p,
html.template-pais li,
html.template-pais .nav-link,
html.template-pais input,
html.template-pais textarea,
html.template-pais select,
html.template-pais button,
html.template-pais .text-xs,
html.template-pais .text-sm,
html.template-pais .text-xxs {
  font-family: "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html.template-pais #loading {
  background: rgba(0, 0, 0, 0.52);
}

html.template-pais header.container-lg {
  margin: 0 0 20px;
  max-width: 100%;
  padding: 0;
}

html.template-pais header.container-lg > .py-2 {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px var(--pais-gutter) !important;
  background: var(--pais-dark);
  color: #f2f2ef !important;
  border-bottom: 1px solid #2b2b2b;
}

html.template-pais header.container-lg > .py-2 a,
html.template-pais header.container-lg > .py-2 span,
html.template-pais header.container-lg > .py-2 i {
  color: #f2f2ef !important;
}

html.template-pais header.container-lg > .py-2 .bg-danger {
  background: var(--pais-accent) !important;
  color: #1f1c13 !important;
  border-radius: 0;
  padding: 5px 10px;
  font-weight: 700;
}

html.template-pais .bgcolor,
html.template-pais .bgsecundario {
  background: linear-gradient(90deg, var(--pais-accent) 0%, var(--pais-accent-soft) 45%, var(--pais-accent) 100%) !important;
}

html.template-pais .bgcolor.mb-3 {
  margin-bottom: 0 !important;
  height: 2px !important;
}

html.template-pais .navbar.container-lg {
  max-width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 2px solid #1a1a1a;
  border-radius: 0;
  background: var(--pais-paper);
  padding: 8px var(--pais-gutter);
}

html.template-pais .navbar.container-lg > .container-fluid {
  padding: 0;
}

html.template-pais .navbar-brand {
  margin-right: 22px;
}

html.template-pais .navbar-brand img {
  max-height: 52px;
  max-width: 240px;
}

html.template-pais .navbar .nav-link {
  margin: 0 4px;
  padding: 10px 6px !important;
  color: #141414 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700 !important;
  border-bottom: 2px solid transparent;
}

html.template-pais .navbar .nav-link:hover,
html.template-pais .navbar .nav-link:focus,
html.template-pais .navbar .nav-link.is-current {
  color: var(--pais-accent) !important;
  border-bottom-color: var(--pais-accent);
}

html.template-pais form[role="search"] .form-control,
html.template-pais form[role="search"] .btn-outline-secondary {
  border-radius: 0 !important;
}

html.template-pais form[role="search"] .form-control {
  border: 1px solid var(--pais-line-strong);
  background: #fff;
  min-width: 220px;
}

html.template-pais form[role="search"] .btn-outline-secondary {
  border: 1px solid #1c1c1c;
  color: #1c1c1c;
  background: #fff;
}

html.template-pais form[role="search"] .btn-outline-secondary:hover {
  background: #1c1c1c;
  color: #fff;
}

html.template-pais .container,
html.template-pais .container-lg {
  max-width: 1380px;
}

html.template-pais #news_content {
  border: 1px solid var(--pais-line);
  background: var(--pais-paper);
  padding: var(--pais-gutter);
}

html.template-pais #news_content > .row {
  display: grid !important;
  grid-template-columns: minmax(250px, 0.9fr) minmax(460px, 1.8fr) minmax(260px, 0.95fr);
  gap: clamp(14px, 1.8vw, 26px);
  margin: 0;
}

html.template-pais #news_content > .row > section,
html.template-pais #news_content > .row > div {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.template-pais #noticias_izquierda {
  border-right: 1px solid var(--pais-line);
  padding-right: 14px !important;
}

html.template-pais #global_content {
  border-left: 1px solid var(--pais-line);
  padding-left: 14px !important;
}

html.template-pais #noticias_izquierda .py-4,
html.template-pais #principales .py-4,
html.template-pais #columnas .py-4,
html.template-pais #alminuto .py-4,
html.template-pais #central .py-4,
html.template-pais #regiones .py-4,
html.template-pais #coberturas .py-4,
html.template-pais #categorias .py-4,
html.template-pais #tipos .py-4,
html.template-pais .border-bottom {
  border-bottom: 1px solid var(--pais-line) !important;
}

html.template-pais #noticias_panoramicas,
html.template-pais #principales,
html.template-pais #columnas,
html.template-pais #alminuto,
html.template-pais #central,
html.template-pais #regiones,
html.template-pais #coberturas,
html.template-pais #categorias,
html.template-pais #tipos {
  border: 0;
  background: transparent;
}

html.template-pais #noticias_panoramicas .shadow-lg,
html.template-pais #noticias_panoramicas .bgcolor {
  box-shadow: none !important;
}

html.template-pais #noticias_panoramicas .rounded-2 {
  border-radius: 0 !important;
  min-height: 62vh;
  overflow: hidden;
  border: 1px solid #1f1f1f;
}

html.template-pais #noticias_panoramicas .text-shadow-1 {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.05) 20%, rgba(15, 15, 15, 0.88) 100%);
}

html.template-pais #noticias_panoramicas h3.h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.8rem) !important;
  line-height: 1.02;
}

html.template-pais #noticias_panoramicas h3.h1 a,
html.template-pais #noticias_panoramicas h5,
html.template-pais #noticias_panoramicas small,
html.template-pais #noticias_panoramicas i {
  color: #fff !important;
}

html.template-pais .my-3.bolder.text-xs,
html.template-pais .my-3.bolder.text-md,
html.template-pais .my-3.bolder.text-xl {
  margin-top: 0.5rem !important;
  margin-bottom: 0.65rem !important;
  padding: 0.4rem 0;
  font-size: 0.8rem !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html.template-pais .card,
html.template-pais .rounded,
html.template-pais .rounded-1,
html.template-pais .rounded-2,
html.template-pais .rounded-3,
html.template-pais .rounded-4,
html.template-pais .rounded-5,
html.template-pais .btn,
html.template-pais input,
html.template-pais select,
html.template-pais textarea {
  border-radius: 0 !important;
}

html.template-pais .card {
  border: 1px solid var(--pais-line);
  box-shadow: none;
  background: #fff;
}

html.template-pais .btn-primary,
html.template-pais .btn-danger,
html.template-pais .btn-success,
html.template-pais .btn-secondary {
  background: #151515;
  border-color: #151515;
  color: #fff !important;
}

html.template-pais .btn-primary:hover,
html.template-pais .btn-danger:hover,
html.template-pais .btn-success:hover,
html.template-pais .btn-secondary:hover {
  background: var(--pais-accent);
  border-color: var(--pais-accent);
  color: #211c10 !important;
}

html.template-pais #content {
  background: transparent;
}

html.template-pais #content > .row {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: clamp(16px, 2vw, 28px);
}

html.template-pais #content > .row > .col-md-9,
html.template-pais #content > .row > .col-md-3 {
  width: 100%;
  max-width: none;
  padding: 0;
}

html.template-pais #content article {
  background: var(--pais-paper);
  border: 1px solid var(--pais-line);
  padding: clamp(16px, 1.8vw, 28px);
}

html.template-pais #content #title {
  margin: 0 0 12px !important;
}

html.template-pais #content #title h4[itemprop="headline"] {
  font-size: clamp(2rem, 3vw, 3.35rem) !important;
  line-height: 1.04;
}

html.template-pais #content #title h5.fw-light {
  color: #3e3e3e;
  font-size: 1.16rem !important;
  font-weight: 400 !important;
  line-height: 1.52;
}

html.template-pais #content #title [itemprop="datePublished"] {
  letter-spacing: 0.12em;
  font-size: 0.72rem !important;
  color: #666 !important;
  border-top: 1px solid var(--pais-line);
  border-bottom: 1px solid var(--pais-line);
  padding: 10px 0;
}

html.template-pais #content img#noticias_imagen {
  border-radius: 0 !important;
  border: 1px solid #1c1c1c;
  max-height: 68vh;
  object-fit: cover;
}

html.template-pais #content .fs-5.fw-normal.lh-based {
  font-family: "Iowan Old Style", "Times New Roman", Georgia, serif;
  font-size: clamp(1.15rem, 1.45vw, 1.42rem) !important;
  line-height: 1.82;
  color: #1a1a1a;
}

html.template-pais #content #ads {
  border: 1px solid var(--pais-line);
  background: var(--pais-paper-soft);
  padding: 12px;
}

html.template-pais #content .sharethis-inline-share-buttons,
html.template-pais #content .sharethis-inline-reaction-buttons {
  border-top: 1px solid var(--pais-line);
  border-bottom: 1px solid var(--pais-line);
  padding: 10px 0;
}

html.template-pais #content #relacionadas,
html.template-pais #content #portada,
html.template-pais #content #red,
html.template-pais #categorias {
  background: var(--pais-paper);
  border: 1px solid var(--pais-line);
  margin-top: 14px;
  padding: 14px;
}

html.template-pais footer {
  margin-top: 48px;
  border-top: 2px solid #141414;
  background: #f1f0eb;
}

html.template-pais .pagination > li > a,
html.template-pais .pagination > li > span {
  border: 1px solid var(--pais-line-strong);
  color: #141414;
  background: #fff;
  border-radius: 0 !important;
}

html.template-pais .pagination > li.active > a,
html.template-pais .pagination > li.active > span,
html.template-pais .pagination > li > a:hover,
html.template-pais .pagination > li > span:hover {
  background: #141414;
  color: #fff;
  border-color: #141414;
}

html.template-pais .text-gray,
html.template-pais .text-secondary,
html.template-pais .text-muted {
  color: var(--pais-muted) !important;
}

html.template-pais .bg-success {
  background: linear-gradient(160deg, #111 0%, #2a2a2a 100%) !important;
}

html.template-pais .bg-success .btn-light {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

html.template-pais .pais-divider {
  border-top: 2px solid #141414;
}

html.template-pais body.pais-home #news_content > .row > .order-2 {
  order: 1;
}

html.template-pais body.pais-home #news_content > .row > .order-1 {
  order: 2;
}

html.template-pais body.pais-home #news_content > .row > .order-3 {
  order: 3;
}

@media (max-width: 1399.98px) {
  html.template-pais .navbar .nav-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  html.template-pais #news_content > .row {
    grid-template-columns: minmax(220px, 0.85fr) minmax(380px, 1.55fr) minmax(230px, 0.85fr);
  }
}

@media (max-width: 1199.98px) {
  html.template-pais .navbar.container-lg {
    border-bottom-width: 1px;
  }

  html.template-pais #news_content > .row {
    grid-template-columns: 1fr;
  }

  html.template-pais #noticias_izquierda,
  html.template-pais #global_content {
    border: 0;
    padding: 0 !important;
  }

  html.template-pais #content > .row {
    grid-template-columns: 1fr;
  }

  html.template-pais form[role="search"] .form-control {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  html.template-pais header.container-lg > .py-2 {
    padding: 8px 10px !important;
  }

  html.template-pais .navbar.container-lg {
    padding: 8px 10px;
  }

  html.template-pais #news_content {
    padding: 10px;
  }

  html.template-pais #noticias_panoramicas .rounded-2 {
    min-height: 48vh;
  }

  html.template-pais #noticias_panoramicas h3.h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.45rem) !important;
  }

  html.template-pais #content article {
    padding: 12px;
  }

  html.template-pais #content #title h4[itemprop="headline"] {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem) !important;
  }

  html.template-pais #content .fs-5.fw-normal.lh-based {
    font-size: 1.06rem !important;
    line-height: 1.7;
  }
}
