/* Capa visual moderna para el módulo heredado. Se carga después de css_front_end.php. */
.background_div {
  background: transparent !important;
}

.front_wrapper {
  width: 100% !important;
  max-width: 1120px !important;
  color: #31443c !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.front_wrapper a { transition: color .18s ease, background .18s ease, transform .18s ease; }

.dropdown {
  float: none !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 180px;
  margin: 0 0 24px !important;
  color: #fff !important;
  background: #2f7456 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(47,116,86,.20);
}
.dropbtn {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px !important;
  color: #fff !important;
  font: inherit !important;
  font-weight: 700 !important;
  background: transparent !important;
}
.dropdown-content {
  min-width: 230px !important;
  margin-top: 6px !important;
  padding: 8px;
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #dbe6df;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(24,55,43,.15) !important;
  z-index: 30 !important;
}
.dropdown-content a {
  padding: 10px 12px !important;
  color: #274b3b !important;
  border-radius: 8px;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.dropdown-content a:hover { color: #fff !important; background: #2f7456 !important; }

.search_form_wrap {
  position: static !important;
  float: none !important;
  width: auto !important;
  margin: 7px 0 0 !important;
  padding: 8px 4px 3px !important;
}
.inputsearch[type=text],
.inputsearch[type=text]:focus {
  width: 100% !important;
  max-width: none !important;
  min-height: 42px;
  padding: 9px 38px 9px 11px !important;
  color: #233c32 !important;
  background-color: #f4f8f5 !important;
  border: 1px solid #dbe6df !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

.summary_wrap {
  display: grid !important;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 24px;
  margin: 0 !important;
  padding: 22px;
  background: #fff;
  border: 1px solid #dfe9e3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(24,55,43,.08);
}
.summary_img_wrap {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.summary_img_wrap img,
.summary_img_wrap img:hover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1) !important;
}
.summary_img_wrap a { display: block; height: 100% !important; }
.summary_text_wrap { display: block !important; min-width: 0; }

.news_title,
.news_title_summ,
.news_title_full { text-align: left !important; }
.news_title {
  color: #173f30 !important;
  font-family: inherit !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  line-height: 1.15 !important;
  font-weight: 780 !important;
  letter-spacing: -.035em;
}
.news_title_summ { padding-top: 0 !important; }
.news_title_summ a,
.news_title_full a {
  color: #173f30 !important;
  font-family: inherit !important;
  font-size: clamp(21px, 2.8vw, 29px) !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  letter-spacing: -.025em;
  text-decoration: none !important;
}
.news_title_summ a:hover,
.news_title_full a:hover { color: #2f7456 !important; text-decoration: none !important; }

.date_style,
.summ_date_style {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #73837c !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-style: normal !important;
  text-align: left !important;
}
.date_style .catLine a,
.summ_date_style .catLine a {
  display: inline-flex;
  padding: 4px 9px;
  color: #296748 !important;
  background: #e9f4ed;
  border-radius: 999px;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.straightLine { display: none; }

.news_summary,
.news_text {
  color: #40534a !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-style: normal !important;
  line-height: 1.75 !important;
  text-align: left !important;
}
.news_summary { margin-top: 12px; }
.news_text { overflow-wrap: anywhere; }
.news_text h2,
.news_text h3 { color: #173f30; line-height: 1.25; }
.news_text img { height: auto !important; border-radius: 15px; }
.news_text a { color: #2f7456 !important; font-size: inherit !important; font-weight: 650 !important; }
.news_text blockquote { margin: 22px 0; padding: 14px 18px; background: #f1f7f3; border-left: 4px solid #2f7456; border-radius: 0 10px 10px 0; }

.img_left,
.img_right,
.img_top,
.img_bottom { max-width: 100%; }
.img_caption { padding: 7px 9px !important; color: #65776e !important; background: #f2f6f3 !important; border-radius: 0 0 10px 10px; font-family: inherit !important; }

.readmore {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 8px 14px;
  color: #fff !important;
  background: #2f7456;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.readmore:hover { color: #fff !important; background: #235b42; transform: translateY(-1px); }
.arrow-right { display: none !important; }

.back_link {
  position: static !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 24px auto !important;
  line-height: normal !important;
  text-align: right !important;
  background: transparent !important;
  border: 0 !important;
}
.back_link a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  color: #2f7456 !important;
  background: #edf6f0;
  border-radius: 10px;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.back_link a:hover { color: #fff !important; background: #2f7456; }

.dist_search_title,
.dist_title_date,
.summ_dist_title_date,
.dist_date_text,
.summ_dist_date_text { height: 10px !important; padding: 0 !important; }
.dist_btw_news {
  height: 0 !important;
  margin: 22px 0 !important;
  border: 0 !important;
}

.No_news_published {
  padding: 28px !important;
  color: #65776e;
  background: #f4f8f5;
  border: 1px dashed #cbdad1;
  border-radius: 14px;
}
.No_news_published center { text-align: center; }

.pagination_wrapper { padding-top: 22px !important; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; text-align: center !important; font-family: inherit !important; }
.pagination a,
.pagination span.current,
.pagination span.disabled {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  margin: 0 !important;
  padding: 7px 11px !important;
  border-radius: 9px;
  font-size: 14px !important;
}
.pagination a { color: #2f7456 !important; background: #edf6f0; }
.pagination a:hover { color: #fff !important; background: #2f7456; }
.pagination span.current { color: #fff !important; background: #2f7456; }
.pagination span.disabled { color: #9aa8a1 !important; background: #f3f5f4; }

@media (max-width: 700px) {
  .summary_wrap { grid-template-columns: 1fr; gap: 16px; padding: 14px; border-radius: 14px; }
  .summary_img_wrap { aspect-ratio: 16 / 10; }
  .dropdown { width: 100% !important; }
  .dropdown-content { position: static !important; display: none; width: 100%; }
  .dropdown2:hover .dropdown-content,
  .dropdown2:focus-within .dropdown-content { display: block; }
  .news_title { font-size: 30px !important; }
  .news_title_summ a,
  .news_title_full a { font-size: 22px !important; }
  .img_left,
  .img_right { float: none !important; padding: 0 0 14px !important; }
  .back_link { text-align: left !important; }
}
