/* IES Modesto Navarro - Portada, revisión 3.
   Sustituir TODO el bloque de personalización anterior y sus parches.
   Menú, cabecera y cuatro tarjetas superiores: estilo original de Purity IV.
   Paneles laterales, noticias y pie: presentación personalizada.
   Solo portada (menú 134); no modifica el interior de los artículos.
*/

body.view-featured.item-134:not(.dark-active) {
--ies-green: #20652e;
  --ies-green-dark: #164d23;
  --ies-soft: #f3f8f2;
  --ies-line: #dbe6db;
  --ies-text: #27332c;
  --ies-muted: #5c695f;
  --ies-radius: 10px;
  background: #fff;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body,
body.view-featured.item-134:not(.dark-active) #t4-footnav,
body.view-featured.item-134:not(.dark-active) #t4-footer {
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ies-text);
}

body.view-featured.item-134:not(.dark-active) .t4-content,
body.view-featured.item-134:not(.dark-active) .t4-content-inner {
background: #fff;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body h1,
body.view-featured.item-134:not(.dark-active) #t4-main-body h2,
body.view-featured.item-134:not(.dark-active) #t4-main-body h3,
body.view-featured.item-134:not(.dark-active) #t4-main-body h4,
body.view-featured.item-134:not(.dark-active) #t4-main-body h5,
body.view-featured.item-134:not(.dark-active) #t4-main-body h6,
body.view-featured.item-134:not(.dark-active) #t4-footnav h1,
body.view-featured.item-134:not(.dark-active) #t4-footnav h2,
body.view-featured.item-134:not(.dark-active) #t4-footnav h3,
body.view-featured.item-134:not(.dark-active) #t4-footnav h4,
body.view-featured.item-134:not(.dark-active) #t4-footnav h5,
body.view-featured.item-134:not(.dark-active) #t4-footnav h6,
body.view-featured.item-134:not(.dark-active) #t4-footer h1,
body.view-featured.item-134:not(.dark-active) #t4-footer h2,
body.view-featured.item-134:not(.dark-active) #t4-footer h3,
body.view-featured.item-134:not(.dark-active) #t4-footer h4,
body.view-featured.item-134:not(.dark-active) #t4-footer h5,
body.view-featured.item-134:not(.dark-active) #t4-footer h6 {
font-family: inherit;
  line-height: 1.3;
  color: var(--ies-green-dark);
  text-transform: none;
  letter-spacing: normal;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body a,
body.view-featured.item-134:not(.dark-active) #t4-footnav a,
body.view-featured.item-134:not(.dark-active) #t4-footer a {
color: var(--ies-green);
}

body.view-featured.item-134:not(.dark-active) #t4-main-body a:hover,
body.view-featured.item-134:not(.dark-active) #t4-footnav a:hover,
body.view-featured.item-134:not(.dark-active) #t4-footer a:hover {
color: var(--ies-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.view-featured.item-134:not(.dark-active) a:focus-visible,
body.view-featured.item-134:not(.dark-active) button:focus-visible {
outline: 3px solid #24753b;
  outline-offset: 4px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body {
padding-top: 24px; padding-bottom: 42px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .t4-col {
min-width: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .t4-module,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .t4-module {
margin-bottom: 20px;
  padding: 18px;
  background: var(--ies-soft);
  border: 1px solid var(--ies-line);
  border-radius: var(--ies-radius);
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .module-title,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .module-title {
font-size: 19px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ies-line);
  text-transform: none;
  letter-spacing: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .module-ct,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .module-ct {
font-size: 14px;
  line-height: 1.5;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .item-title,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .item-title {
font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .item-meta,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .item-meta {
font-size: 12px; color: var(--ies-muted);
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .latestnews > li,
body.view-featured.item-134:not(.dark-active) #t4-main-body .mostread > li {
padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid var(--ies-line);
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .latestnews > li:last-child,
body.view-featured.item-134:not(.dark-active) #t4-main-body .mostread > li:last-child {
border-bottom: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .latestnews .item-media,
body.view-featured.item-134:not(.dark-active) #t4-main-body .mostread .item-media {
width: 68px;
  flex: 0 0 68px;
  margin-right: 10px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .latestnews .item-media img,
body.view-featured.item-134:not(.dark-active) #t4-main-body .mostread .item-media img {
width: 100%; height: auto; border-radius: 5px;
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .weblink_item_wrapper,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .weblink_item_wrapper {
display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0 !important;
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .weblink_item,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .weblink_item {
border-bottom: 1px solid var(--ies-line);
  margin: 0 !important;
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .logo,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .logo {
flex: 0 0 42px;
  width: 42px !important;
  margin: 0 !important;
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .logo img,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .logo img {
max-width: 42px; height: auto;
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .description,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .description {
flex: 1; min-width: 0; width: auto !important; margin: 0 !important; padding: 0 !important; color: var(--ies-text);
}

body.view-featured.item-134:not(.dark-active) #weblinklogo_261 .title,
body.view-featured.item-134:not(.dark-active) #weblinklogo_262 .title {
margin: 0 0 4px; font-size: 15px; text-transform: none;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .weblinklogos .hvr-pulse-grow,
body.view-featured.item-134:not(.dark-active) #t4-main-body .weblinklogos .hvr-shrink {
animation: none !important; transform: none !important;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-article {
margin-bottom: 24px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-inner {
padding: 0;
  border: 1px solid var(--ies-line);
  border-radius: var(--ies-radius);
  background: #fff;
  box-shadow: 0 3px 12px #173d2108;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-image {
float: none;
  width: 100%;
  margin: 0;
  padding: 12px 12px 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-image img {
display: block; width: 100%; height: auto; border-radius: 6px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-content {
padding: 20px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .page-header {
margin: 0 0 12px; padding: 0; border: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured h2 {
font-size: clamp(22px,2vw,28px); margin: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-intro {
font-size: 15px; line-height: 1.65;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .article-info {
font-size: 12px; color: var(--ies-muted);
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .btn-more,
body.view-featured.item-134:not(.dark-active) #t4-main-body .readmore .btn {
border: 1px solid var(--ies-green); border-radius: 6px;
  background: #fff; color: var(--ies-green); padding: 10px 22px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .btn-more:hover,
body.view-featured.item-134:not(.dark-active) #t4-main-body .readmore .btn:hover {
background: var(--ies-green); color: #fff;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .mod-finder input[type="text"] {
max-width: 100%; min-width: 0; border: 1px solid #aabdac; border-radius: 6px; padding: 10px 12px; background: #fff; color: var(--ies-text);
}

body.view-featured.item-134:not(.dark-active) #t4-footnav,
body.view-featured.item-134:not(.dark-active) #t4-footer {
background: #edf6ea; color: var(--ies-text); border-top-color: var(--ies-line) !important;
}

body.view-featured.item-134:not(.dark-active) #t4-footnav {
padding-top: 32px; padding-bottom: 24px;
}

body.view-featured.item-134:not(.dark-active) #t4-footnav .module-title {
font-size: 17px; text-transform: none; letter-spacing: 0;
}

body.view-featured.item-134:not(.dark-active) #t4-footnav .module-ct {
font-size: 14px;
}

@media (min-width: 1200px) {
body.view-featured.item-134:not(.dark-active) #t4-main-body > .container,
body.view-featured.item-134:not(.dark-active) #t4-footnav > .container,
body.view-featured.item-134:not(.dark-active) #t4-footer > .container {
max-width: 1320px;
}

}
@media (max-width: 991.98px) {
body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-content {
padding: 18px;
}

body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-l .t4-module,
body.view-featured.item-134:not(.dark-active) #t4-main-body .sidebar-r .t4-module {
padding: 16px;
}

}
@media (max-width: 575.98px) {
body.view-featured.item-134:not(.dark-active) #t4-main-body {
padding-top: 16px;
}

}
body.view-featured.item-134:not(.dark-active) #t4-main-body .blog-featured .item-image img {
max-height: 340px;
  object-fit: contain;
  background: #f5f8f3;
}

