@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&display=swap');
#sp-bottom .row #sp-bottom3 {
  padding-left: 12em !important;
}
/* === AJUSTES GENERALES === */
span.badge.bg-danger.featured-article-badge {
  display: none;
}

body, .sp-preloader {
  background-color: #fff;
  color: #333 !important;
}

li {
  list-style-image: url(/images/bullet.gif);
  list-style-type: none;
  list-style-position: outside;
  margin-bottom: 3px;
  margin-top: 3px;
}

/* === CABECERA === */
#sp-top2 {
  background: #575a5c;
  color: #cccccc;
  padding: 8px 0;
}

#sp-top2 ul.sp-contact-info {
  float: right;
}

#sp-menu .sp-megamenu-wrapper {
  display: flex !important;
  flex-direction: row;
  justify-content: flex-end;
}

/* === H1 GLOBAL === */
h1 {
  font-family: 'Raleway', 'Segoe UI', sans-serif !important;
  font-size: 2.2em;
  font-weight: 700;
  background: #ffffff;
  padding: 0.6em 1em;
  border-left: 5px solid #298602;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1em;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* === DOS COLUMNAS ARTÍCULO === */
.dos-columnas {
  display: flex;
  gap: 2.5em;
  margin: 2em 0;
  justify-content: center;
}

.dos-columnas > div {
  flex: 0 1 425px;
  max-width: 425px;
  background: linear-gradient(135deg, #e6e6e6 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #298602;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dos-columnas > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(41, 134, 2, 0.15);
}

.dos-columnas > div h2 {
  color: #298602 !important;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 0.8em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #fff;
}

.dos-columnas > div img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
}

.dos-columnas > div p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1em;
}

.dos-columnas .botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-top: 1.5em;
  padding-top: 1.2em;
  border-top: 1px dashed #c5d9b8;
}

.dos-columnas .botones a {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.2em;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.dos-columnas .botones a.btn-principal {
  background: #298602;
  color: #fff;
  border: 2px solid #298602;
}

.dos-columnas .botones a.btn-principal:hover {
  background: #fff;
  border-color: #298602;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3);
}

.dos-columnas .botones a.btn-secundario {
  background: transparent;
  color: #298602;
  border: 2px solid #298602;
}

.dos-columnas .botones a.btn-secundario:hover {
  background: #298602;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3);
}

.dos-columnas .botones a.btn-suave {
  background: #fff;
  color: #298602;
  border: 2px solid transparent;
}

.dos-columnas .botones a.btn-suave:hover {
  background: #d4e8c8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.15);
}

@media (max-width: 768px) {
  .dos-columnas {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
}

/* === TRES COLUMNAS ARTÍCULO === */
.tres-columnas {
  display: flex;
  gap: 2em;
  margin: 2em 0;
  justify-content: center;
}

.tres-columnas > div {
  flex: 1;
  max-width: 350px;
  background: #ffffff;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #298602;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tres-columnas > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(41, 134, 2, 0.15);
}

.tres-columnas > div h2 {
  font-family: 'Raleway', 'Segoe UI', sans-serif;
  color: #298602;
  font-size: 1.3em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.8em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #d4e8c8;
}

.tres-columnas > div img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
}

.tres-columnas > div p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1em;
}

.tres-columnas .botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-top: 1.5em;
  padding-top: 1.2em;
  border-top: 1px dashed #c5d9b8;
}

.tres-columnas .botones a {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.2em;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.tres-columnas .botones a.btn-principal {
  background: #298602;
  color: #fff;
  border: 2px solid #298602;
}

.tres-columnas .botones a.btn-principal:hover {
  background: #1e6a01;
  border-color: #1e6a01;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3);
}

.tres-columnas .botones a.btn-secundario {
  background: transparent;
  color: #298602;
  border: 2px solid #298602;
}

.tres-columnas .botones a.btn-secundario:hover {
  background: #298602;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3);
}

.tres-columnas .botones a.btn-suave {
  background: #e8f3e0;
  color: #298602;
  border: 2px solid transparent;
}

.tres-columnas .botones a.btn-suave:hover {
  background: #d4e8c8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.15);
}

@media (max-width: 992px) {
  .tres-columnas {
    flex-wrap: wrap;
  }
  .tres-columnas > div {
    flex: 1 1 calc(50% - 1em);
    max-width: none;
  }
}

@media (max-width: 600px) {
  .tres-columnas {
    flex-direction: column;
    align-items: center;
  }
  .tres-columnas > div {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* === UNA COLUMNA ARTÍCULO === */
div.una-columna {
  max-width: 750px !important;
  margin: 2em auto !important;
  background: linear-gradient(135deg, #f0f7ec 0%, #ffffff 100%) !important;
  border-radius: 12px !important;
  padding: 2.5em !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  border-top: 4px solid #298602 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

div.una-columna:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(41, 134, 2, 0.15) !important;
}

div.una-columna img {
  width: 100% !important;
  height: 380px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin-bottom: 1.5em !important;
}

div.una-columna h2 {
  font-family: 'Raleway', 'Segoe UI', sans-serif !important;
  color: #298602 !important;
  font-size: 1.5em !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 0.8em !important;
  padding-bottom: 0.5em !important;
  border-bottom: 2px solid #d4e8c8 !important;
}

div.una-columna p {
  color: #444 !important;
  line-height: 1.8 !important;
  margin-bottom: 1em !important;
}

div.una-columna .botones {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.6em !important;
  margin-top: 1.5em !important;
  padding-top: 1.2em !important;
  border-top: 1px dashed #c5d9b8 !important;
}

div.una-columna .botones a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.5em 1.2em !important;
  font-size: 0.85em !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}

div.una-columna .botones a.btn-principal {
  background: #298602 !important;
  color: #fff !important;
  border: 2px solid #298602 !important;
}

div.una-columna .botones a.btn-principal:hover {
  background: #1e6a01 !important;
  border-color: #1e6a01 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3) !important;
}

div.una-columna .botones a.btn-secundario {
  background: transparent !important;
  color: #298602 !important;
  border: 2px solid #298602 !important;
}

div.una-columna .botones a.btn-secundario:hover {
  background: #298602 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3) !important;
}

div.una-columna .botones a.btn-suave {
  background: #e8f3e0 !important;
  color: #298602 !important;
  border: 2px solid transparent !important;
}

div.una-columna .botones a.btn-suave:hover {
  background: #d4e8c8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.15) !important;
}

@media (max-width: 600px) {
  div.una-columna {
    padding: 1.5em !important;
  }
  div.una-columna img {
    height: 220px !important;
  }
}

/* === MÓDULO ÚLTIMAS NOVEDADES === */
div.ultimas-noticias {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

div.ultimas-noticias h3,
div.ultimas-noticias h4,
div.ultimas-noticias .module-title,
div.ultimas-noticias .mod-title {
  font-family: 'Raleway', 'Segoe UI', sans-serif !important;
  font-size: 1.6em !important;
  font-weight: 700 !important;
  color: #298602 !important;
  margin: 0 0 1.2em !important;
  padding: 0 0 0 0.8em !important;
  border: none !important;
  border-left: 4px solid #298602 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

div.ultimas-noticias ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: none !important;
}

div.ultimas-noticias ul li {
  padding: 0.9em 1em !important;
  margin: 0 0 0.8em 0 !important;
  background: #fff !important;
  border-radius: 10px !important;
  border-left: 4px solid transparent !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  list-style: none !important;
  max-width: 100% !important;
  flex: none !important;
  transform: none !important;
}

div.ultimas-noticias ul li:last-child {
  margin-bottom: 0 !important;
}

div.ultimas-noticias ul li:hover {
  transform: translateX(6px) !important;
  box-shadow: 0 4px 16px rgba(41, 134, 2, 0.12) !important;
  border-left-color: #298602 !important;
  background: #fff !important;
}

div.ultimas-noticias ul li a {
  font-family: 'Raleway', 'Segoe UI', sans-serif !important;
  font-size: 1.1em !important;
  font-weight: 600 !important;
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  display: block !important;
  line-height: 1.4 !important;
}

div.ultimas-noticias ul li a:hover {
  color: #298602 !important;
}

.sp-module-content .latestnews > li > a > span[itemprop="name"] {
  font-size: 1.1em !important;
  font-weight: 700 !important;
  color: #333 !important;
}

.sp-module-content .latestnews > li > a > span:not([itemprop]) {
  font-size: 0.7em !important;
  color: #298602 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}
img.logo-image-phone {
  height: 120px !important;
  width: auto !important;
}
/* === FIX BOTONES DOS COLUMNAS === */
.dos-columnas .botones a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.5em 1.2em !important;
  font-size: 0.85em !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}

.dos-columnas .botones a.btn-principal {
  background: #298602 !important;
  color: #fff !important;
  border: 2px solid #298602 !important;
}

.dos-columnas .botones a.btn-principal:hover {
  background: #fff !important;
  color: #298602 !important;
  border-color: #298602 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3) !important;
}

.dos-columnas .botones a.btn-secundario {
  background: transparent !important;
  color: #298602 !important;
  border: 2px solid #298602 !important;
}

.dos-columnas .botones a.btn-secundario:hover {
  background: #298602 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.3) !important;
}

.dos-columnas .botones a.btn-suave {
  background: #fff !important;
  color: #298602 !important;
  border: 2px solid transparent !important;
}

.dos-columnas .botones a.btn-suave:hover {
  background: #d4e8c8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(41, 134, 2, 0.15) !important;
}
/* Capa de texto al 100% de ancho en Smart Slider */

div#n2-ss-2 .n2-ss-layer:has(.n2-style-820bd0b3886540aac53da41fb5fa806b-heading) {
    width: 100% !important;
    left: 0 !important;
    box-sizing: border-box !important;
}
/* === BIENVENIDA HOME === */
.bienvenida-home {
  max-width: 900px;
  margin: 2.5em auto;
  text-align: center;
  padding: 2.5em 2em;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  border-top: 4px solid #298602;
}

.bienvenida-home h2 {
  font-family: 'Raleway', 'Segoe UI', sans-serif !important;
  font-size: 2em !important;
  font-weight: 800 !important;
  color: #1a5c01 !important;
  margin: 0 0 0.6em !important;
  border: none !important;
  padding: 0 !important;
}

.bienvenida-home h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #f5f5f5, #fff);
  margin: 0.5em auto 0;
  border-radius: 2px;
}

.bienvenida-home p {
  font-size: 1.05em;
  line-height: 1.8;
  color: #444;
  margin: 0 auto 1em;
  max-width: 700px;
}

.bienvenida-home .destacado {
  font-size: 1.15em;
  font-weight: 700;
  color: #298602;
  font-style: italic;
  margin-top: 1.2em;
}

@media (max-width: 600px) {
  .bienvenida-home {
    padding: 1.8em 1.2em;
    margin: 1.5em auto;
  }
  .bienvenida-home h2 {
    font-size: 1.5em !important;
  }
}