:root {
  --sef-verde: #7ac808;
  --sef-verde-oscuro: #4b765d;
  --sef-verde-texto: #7a9b4a;
  --sef-verde-claro: #cbdcbe;
  --sef-celeste: #cae9e4;
  --sef-menta: #dce8d5;
  --sef-fondo: #efeae3;
  --sef-fondo-oscuro: #e0dcd5;
  --sef-fondo-mas-oscuro: #7c766a;
  --sef-blanco: #ffffff;
  --sef-texto: #0d0d0d;
  --sef-muted: #626262;
  --sef-linea: #d8d2ca;
  --sef-radius: 12px;
  --sef-radius-lg: 18px;
  --sef-shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
}

@font-face {
    font-family: 'GoogleSans-Regular';
    src: url('../fonts/GoogleSans-Regular.eot');
    src: url('../fonts/GoogleSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoogleSans-Regular.svg#GoogleSans-Regular') format('svg'),
         url('../fonts/GoogleSans-Regular.ttf') format('truetype'),
         url('../fonts/GoogleSans-Regular.woff') format('woff'),
         url('../fonts/GoogleSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GoogleSans-Medium';
    src: url('../fonts/GoogleSans-Medium.eot');
    src: url('../fonts/GoogleSans-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoogleSans-Medium.svg#GoogleSans-Medium') format('svg'),
         url('../fonts/GoogleSans-Medium.ttf') format('truetype'),
         url('../fonts/GoogleSans-Medium.woff') format('woff'),
         url('../fonts/GoogleSans-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GoogleSans-SemiBold';
    src: url('../fonts/GoogleSans-SemiBold.eot');
    src: url('../fonts/GoogleSans-SemiBold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoogleSans-SemiBold.svg#GoogleSans-SemiBold') format('svg'),
         url('../fonts/GoogleSans-SemiBold.ttf') format('truetype'),
         url('../fonts/GoogleSans-SemiBold.woff') format('woff'),
         url('../fonts/GoogleSans-SemiBold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GoogleSans-Bold';
    src: url('../fonts/GoogleSans-Bold.eot');
    src: url('../fonts/GoogleSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoogleSans-Bold.svg#GoogleSans-Bold') format('svg'),
         url('../fonts/GoogleSans-Bold.ttf') format('truetype'),
         url('../fonts/GoogleSans-Bold.woff') format('woff'),
         url('../fonts/GoogleSans-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
html.no-js {
    margin-top: 0 !important;
}

body {
    margin: 0;
    padding: 0;
    /*background: linear-gradient(to bottom,  #ffffff 0,#efeae3 680px);*/
    background: #efeae3;
    color: var(--sef-texto);
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
    font-optical-sizing: auto;
    line-height: 1.45;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
}
.sef-text h1,
.sef-text h2,
.sef-text h3,
.sef-text h4,
.sef-text h5,
.sef-text h6 {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
}

ol, ul {
    padding-left: .8rem;
}

.gt-current-lang {
    display: none;
}

.hidden,
.sr-only {
    display: none !important;
    border: 0 !important;
    clip: rect(0,0,0,0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding:0 !important;
    position: absolute !important;
    width: 1px !important;
}

img {
    max-width: 100%;
    height: auto;
}
a {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-weight: normal;
    color: var(--sef-verde-oscuro);
    text-decoration: none;
}
.btn,
.sef-btn,
.sef-actions a.btn
.sef-actions a.sef-btn {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
strong, b {
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.items-found {
    font-size: 1.07rem;
}
.items-found .number {
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
main {
    /*background: var(--sef-fondo);*/
}
main.content {
}
body.archive main.content > .bloque-sef:first-child,
body.archive main.content > .bloque-sef:only-child {
    padding-top: 0;
}
body.archive main.content > .bloque-sef:first-child > .sef-container > .sef-results-summary,
body.archive main.content > .bloque-sef:only-child > .sef-container > .sef-results-summary {
    margin-top: 0;
}

.breadcrumb {
    font-size: 1rem;
}
.breadcrumb-item.active {
    opacity: .25;
}

.sef-container {
    margin-inline: auto;
}
.sef-container-narrow {
    margin-inline: auto;
}
.bloque-sef {
    position: relative;
    padding-block: clamp(32px, 5vw, 72px);
}
.bloque-sef + .bloque-sef {
    padding-top: 0;
}

.pre-header {
    text-align: center;
    background: #efeae3;
}
.pre-header > a {
    display: block;
}
.pre-header > a > img {
    padding: 1rem 0;
}

.sef-header {
    position: relative;
    z-index: 10;
    /*background: transparent;*/
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(239,234,227,1) 100%);
    backdrop-filter: blur(12px);
    padding: 30px 0 0 0;
}
.sef-header-inner {
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sef-logo {
    display: inline-flex;
    align-items: end;
    gap: 14px;
    font-weight: 600;
    color: var(--sef-verde-texto);
    line-height: 1.1;
}
.sef-logo span {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif !important;
    font-weight: normal !important;
    font-size: 1.1rem;
    text-align: left;
}

.sef-footer .sef-logo span {
    font-size: .7rem;
}
.sef-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
}
.sef-icon-btn,
.sef-menu-btn {
  border: 0;
  background: transparent;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sef-menu-btn svg, .sef-icon-btn svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

form .gform-body > .gform_fields {
    row-gap: 1rem !important;
}
form .gform-body legend.gfield_label,
form .gform-body .gfield > label {
    font-weight: 700;
}
.bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
.gform_wrapper .gform-body .gform-page-footer > .button,
.sef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: unset;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--sef-linea);
    background: transparent;
    color: var(--sef-texto);
    font-weight: 700;
    line-height: 1;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.modal .modal-dialog .modal-body .sef-btn,
.bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
.gform_wrapper .gform-body .gform-page-footer > .button,
.sef-btn-primary {
    background: var(--sef-verde);
    border-color: var(--sef-verde);
}
.gform_confirmation_message .confirmacion-mail > h2 {
    color: #7a9b4a;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.bloque-sef-carrusel-banners .verde .sef-btn,
.sef-btn-light {
    background: transparent;
    color: var(--sef-blanco);
    border-color: rgba(255,255,255,.75);
}
.sef-arrow {
    display: inline-block;
    line-height: 0;
    font-size: 32px;
    font-weight: 100;
    transform: translateY(-2px);
}

.offcanvas,
.offcanvas.offcanvas-end {
    -webkit-box-shadow: 0px 0px 21px 16px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 21px 16px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 21px 16px rgba(0,0,0,0.25);
}
.offcanvas-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.sef-offcanvas {
    background: #4b765d;
    color: #FFFFFF;
}
.sef-offcanvas .btn-close {
    filter: invert(1);
    opacity: 1;
}
.offcanvas.sef-offcanvas.offcanvas-end {
    transform: translateX(120%) !important;
}
.offcanvas.sef-offcanvas.show:not(.hiding) {
    transform: none !important;
}
.offcanvas {
    --bs-offcanvas-transition: transform 0.2s ease-in-out !important;
}

.sef-menu-list,
.sef-menu-list a {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif !important;
    font-weight: normal !important;
    color: #FFFFFF;
}
.sef-menu-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}
.sef-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 1.25rem .5rem 1rem;
    /*border-bottom: 1px solid rgba(255,255,255,.2);*/
    font-weight: 700;
}
.sef-menu-list a > span {
    display: none !important;
}
.sef-menu-list .menu-item-has-children.is-open > a {
    background-color: rgba(0,0,0,.2);
    border-radius: 6px;
}

.bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
    display: block;
}
.bloque-sef-listado-novedades .sef-grid-card img {
    border-radius: unset;
}

.bloque-sef-enlaces-acordeon .accordion-body > .item {
    margin-bottom: 1.5rem;
} 
.bloque-sef-texto .sef-component-text > :last-child,
.bloque-sef-enlaces-acordeon .accordion-body > .item:last-child {
    margin-bottom: 0;
}
.bloque-sef-texto .sef-component-text {
    padding-bottom: 0;
}
.bloque-sef-enlaces-acordeon .accordion-body > .item h3 {
    font-size: 1.5rem;
} 
.bloque-sef-enlaces-acordeon .accordion-body > .item p {
    font-size: 1rem;
}

ul.pagination {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    margin-top: 1.5rem;
    margin-bottom: 0;
}
ul.pagination .page-link {
    color: var(--sef-verde-oscuro) !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}
ul.pagination .active,
ul.pagination .disabled > .page-link,
ul.pagination .page-link.disabled {
    opacity: .25 !important;
    pointer-events: none !important;
}

.sef-footer {
    background: #FFFFFF;
    padding: 44px 0 60px 0;
}
.sef-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    font-weight: 600;
}
.sef-social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.sef-social-icon {
    width: auto !important;
    max-width: none !important;
}
.sef-social a {
    display: grid;
    place-items: end;
    font-weight: 800;
}

/* Home */
.bloque-sef-hero {
    text-align: center;
    padding-top: 0;
    overflow: hidden;
}
.sef-hero-art { 
    position: relative;
    display: grid;
    place-items: center;
}
.sef-hero-art:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background:
        /* TOP */
        linear-gradient(
        to bottom,
        #efeae3 0%,
        transparent 50%
        ),
        /* BOTTOM */
        linear-gradient(
        to top,
        #efeae3 0%,
        transparent 50%
        ),
        /* LEFT */
        linear-gradient(
        to right,
        #efeae3 0%,
        transparent 50%
        ),
        /* RIGHT */
        linear-gradient(
        to left,
        #efeae3 0%,
        transparent 50%
    );
}
.sef-hero-leaf {
    width: 100%;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    overflow: hidden;
}
.sef-hero-content {
    margin-top: -15px;
    position: relative;
    z-index: 2;
}
.sef-hero-content h1 {
    line-height: 1;
    font-weight: 600;
}
.sef-hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    max-width: 780px;
    margin: 0 auto 28px;
}
.sef-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.sef-card { background: #FFFFFF; border-radius: var(--sef-radius); overflow: hidden; }
.sef-card-soft { background: var(--sef-verde-claro); border-radius: var(--sef-radius); padding: clamp(24px, 3vw, 36px); height: 100%; }
.sef-feature-card { min-height: 232px; display: flex; flex-direction: column; justify-content: space-between; }
.sef-feature-icon { max-width: 46px; height: auto; margin-bottom: 1rem; display: grid; place-items: center; }
.sef-feature-icon svg { width: 34px; height: 34px; stroke: #111; stroke-width: 1.8; fill: none; }
.sef-feature-card h3 { font-size: 1.35rem; margin: 0 0 14px; }
.sef-feature-card p { margin: 0 0 18px; }
.sef-link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 10px; line-height: 1; }

.sef-list-block {}
.sef-list-icon { margin-bottom: 20px; display: grid; place-items: center; }
.sef-list-block h3 { font-size: 1.35rem; margin: 0 0 14px; }
.sef-list-block p { margin: 0 0 18px; }
.sef-list-block > :last-child { margin-bottom: 0; }

.sef-highlight { background: #FFFFFF; border-radius: var(--sef-radius); padding: 0 0; }
.sef-highlight h2 { font-size: clamp(35px, 1.5vw, 1.5rem); line-height: 1.05;  margin: 0 0 14px; }
.sef-highlight p { margin-bottom: 20px; }
.sef-highlight img { border-radius: 4px; width: 100%; object-fit: cover; }

.sef-split-card { background: #FFFFFF; border-radius: var(--sef-radius); padding: clamp(22px, 2.4vw, 30px); height: 100%; }
.sef-block-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.sef-block-head h2, .sef-block-head h3 { font-size: 1rem; margin: 0; font-weight: 500; }
.sef-news-card img { aspect-ratio: 1.422 / 1; object-fit: cover; width: 100%; margin-bottom: 18px; }
.sef-date { color: #222; margin-bottom: 12px; }
.sef-news-card h3 { font-size: 1.33rem; line-height: 1.33; margin: 0; }
.sef-news-separator { border-left: 1px solid var(--sef-linea); }

footer a,
.bloque-sef-galeria-enfermedades .sef-link-arrow,
.bloque-sef-galeria-enfermedades .sef-block-head a,
.bloque-sef-revista-noticias .sef-split-card a,
.bloque-sef-destacados-listado a,
.bloque-sef-destacados-home a {
    color: var(--sef-texto);
}
.bloque-sef-destacados-home .sef-feature-card h3 {
    font-weight: 700;
}
.bloque-sef-destacados-home .sef-feature-card a {
}

.sef-group-card {
    background: #e8dfd9;
    border-radius: var(--sef-radius);
    padding: 42px;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}
.sef-group-logo { display: grid; place-items: center; font-weight: 900; font-size: 2.4rem; color: #111; }
.sef-group-card h3 { font-size: 1.3rem; line-height: 1.12; margin-bottom: 18px; }

.bloque-sef-carrusel-banners {
}
.bloque-sef-carrusel-banners .sef-cta {
    border-radius: var(--sef-radius);
    overflow: hidden;
    background: #FFFFFF;
    color: #000000;
}
.bloque-sef-carrusel-banners .sef-cta.verde {
    background: var(--sef-verde-oscuro);
    color: #FFFFFF;
}
.bloque-sef-carrusel-banners .sef-cta-image { min-height: 100%; }
.bloque-sef-carrusel-banners .sef-cta-image > img {}
.bloque-sef-carrusel-banners .verde .sef-cta-image:after {
    content: "";
    background: linear-gradient(to right, rgba(75,118,93,0) 22%,rgb(75, 118, 93) 66%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.bloque-sef-carrusel-banners .sef-cta-copy {
    padding: clamp(36px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
.bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
    /*font-size: clamp(2rem, 2.5vw, 2.5rem);*/
    font-size: clamp(35px, 1.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 18px;
}
.bloque-sef-carrusel-banners .sef-cta-copy p {
    max-width: 490px;
}

.sef-sponsors { text-align: center; }
.sef-sponsors h2 { font-size: clamp(1.5rem, 2vw, 1.5rem); font-weight: 300; margin: 0 auto 42px; }
.sef-sponsor-logos { background: transparent; max-width: 1000px; margin: 0 auto 34px; }

/* Page blocks */
.bloque-sef-cabecera { padding-top: 28px; }
.bloque-sef-cabecera > .sef-container > :last-child {
    margin-bottom: 0 !important;
}
.bloque-sef-cabecera > .sef-container > .sef-eyebrow + h1,
.bloque-sef-cabecera > .sef-container > .sef-eyebrow + .sef-page-title {
    margin-bottom: 1.5rem !important;
}
.bloque-sef-cabecera > .sef-container > .sef-page-title + .sef-lead {
    margin-top: -.5rem !important;
    margin-bottom: 1.5rem !important;
}
.sef-page-hero { min-height: 350px; display: grid; align-items: center; position: relative; overflow: hidden; }
.sef-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  /*background: url('../img/bg-acuarela.jpg') center / min(1600px, 125vw) auto no-repeat;*/
  opacity: .72;
  pointer-events: none;
}
.sef-page-hero .sef-container { position: relative; z-index: 1; }
.sef-eyebrow { color: var(--sef-verde-texto); font-size: .9rem; font-weight: 700; margin-bottom: 14px; }
.sef-page-title { font-size: clamp(2.25rem, 5vw, 4.6rem); font-weight: 800; line-height: .95; margin-bottom: 22px; max-width: 780px; }
.sef-lead { font-size: clamp(1rem, 1.3vw, 1.18rem); color: #1d1d1d; max-width: 760px; }
.bloque-sef-detalle-enfermedad .sef-lead {
  font-size: clamp(1.35rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  max-width: none;
}
.sef-white-panel { background: #FFFFFF; border-radius: var(--sef-radius); padding: clamp(28px, 4vw, 56px); }
.bloque-sef-detalle-novedad .sef-white-panel {
  padding: 30px;
  background: var(--sef-fondo-oscuro) !important;
}
.sef-text h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; margin-bottom: 22px; }
.sef-text h3 { font-size: 1.35rem; margin-top: 28px; }
.sef-text p { color: #262626; }
.sef-meta-list { display: grid; gap: 16px; }
.sef-meta-item { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--sef-linea); font-size: .95rem; }
.bloque-sef-detalle-enfermedad .sef-meta-item {
    justify-content: start;
    gap: 0;
}
.bloque-sef-detalle-enfermedad .sef-meta-item > strong {
    display: block;
    width: 40%;
}
.bloque-sef-detalle-enfermedad .sef-meta-item > span {
    display: block;
    width: 60%;
}
.sef-meta-item strong { color: var(--sef-verde-texto); }
.bloque-sef-detalle-enfermedad .sef-meta-item strong { color: var(--sef-texto); }
.sef-filter-panel { background: var(--sef-fondo-oscuro); border-radius: var(--sef-radius); padding: 22px; margin-bottom: 32px; }
.sef-filter-panel .form-control,
.sef-filter-panel .form-select {
    border-radius: var(--sef-radius);
    border-color: #d7d0c7;
    min-height: 44px;
}
.gform-body .gfield .ginput_container > select,
.sef-filter-panel .form-select {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding-right: 30px !important;
    background-image: url('../img/icono/icon-arrow-down.png') !important;
    background-repeat: no-repeat !important;
    background-position: right .75rem center !important;
    background-size: 20px 12px !important;
}
.gform-body .gfield .ginput_container > select {
    background-image: url('../img/icono/icon-arrow-down2.png') !important;
}
.form-select { background-color: var(--sef-fondo-mas-oscuro); border-color: var(--sef-fondo-mas-oscuro); color: var(--sef-blanco); }
.sef-filter-panel .sef-filter-search-icon {
    background: transparent;
    border: 0;
    width: 32px;
    height: 32px;
}
.sef-filter-panel .col-1 {
}
.sef-grid-card { background: #FFFFFF; border-radius: var(--sef-radius); padding: 22px; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.bloque-sef-listado-novedades .sef-grid-card {
    background: transparent;
    border-radius: unset;
    padding: 0 1.5rem;
}
.bloque-sef-detalle-enfermedad .sef-white-panel,
.bloque-sef-galeria-enfermedades .sef-grid-card {
    background: transparent;
    border-radius: unset;
    padding: 0 0;
}
.bloque-sef-listado-novedades > .sef-container > .row {
    margin-left: 0;
    margin-right: 0;
}
.bloque-sef-listado-novedades > .sef-container > .row > div {
    padding-left: 0;
    padding-right: 0;
}
.bloque-sef-galeria-enfermedades > .sef-container > .row {
    margin-left: -1rem;
    margin-right: -1rem;
}
.bloque-sef-galeria-enfermedades > .sef-container > .row > div {
    padding-left: 1rem;
    padding-right: 1rem;
}
.sef-grid-card > a { display: block; }
.sef-grid-card:hover { transform: translateY(-3px); box-shadow: var(--sef-shadow); }
.bloque-sef-galeria-enfermedades .sef-grid-card:hover,
.bloque-sef-listado-novedades .sef-grid-card:hover {
    box-shadow: none;
}
.sef-grid-card img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; border-radius: 7px; margin-bottom: 1rem; }
.sef-news-grid-card img {aspect-ratio: 1.422 / 1;}
.bloque-sef-galeria-enfermedades .sef-grid-card img {
  border-radius: 0;
}
.bloque-sef-listado-publicaciones .sef-grid-card img {
  aspect-ratio: 1 / 1.5;
  border-radius: 0;
}
.sef-grid-card h3 { font-size: 1.07rem; line-height: 1.25; margin-bottom: .5rem; }
.bloque-sef-galeria-enfermedades .sef-grid-card h3 {
    font-size: 1.5rem;
    color: var(--sef-verde-oscuro);
}
.bloque-sef-listado-novedades .sef-grid-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.sef-grid-card p { color: var(--sef-muted); margin-bottom: 16px; }
.sef-tag { display: inline-flex; padding: .25rem .7rem; border-radius: 999px; background: #edf8e8; color: #377d22; font-size: .77rem; font-weight: 800; margin-bottom: 12px; }

.sef-table-list { background: transparent; overflow: hidden; }
.sef-table-header { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.5rem; align-items: center; padding: 0 0 1.5rem 0; border-bottom: 1px solid var(--sef-linea); }
.sef-table-header > div { background: var(--sef-fondo-oscuro); border-radius: var(--sef-radius); padding: .5rem .5rem .5rem 1rem; font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; font-size: .97rem; }
.sef-table-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.5rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--sef-linea); }
.bloque-sef-grupos-tabla .sef-table-row { grid-template-columns: 1.5fr .75fr .75fr .5fr; }
.sef-table-row:last-child { /*border-bottom: 0;*/ }
.sef-table-row strong { font-size: 1.1rem; }
.sef-table-row span { color: var(--sef-muted); }

.sef-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--sef-linea); background: transparent; }
.sef-accordion .accordion-button { background: transparent; font-weight: 700; padding: 18px 0; box-shadow: none; }
.sef-accordion .accordion-body { padding: 0 0 18px; color: #333; }

.sef-person-card { background: #FFFFFF; border-radius: var(--sef-radius); padding: 24px; height: 100%; }
.sef-person-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; background: linear-gradient(135deg, #d7eae4, #efe6dc); display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: var(--sef-verde-oscuro); margin-bottom: 18px; }
.sef-person-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.sef-person-card p { font-size: .88rem; color: var(--sef-muted); margin: 0; }

.sef-form-card { background: #FFFFFF; border-radius: var(--sef-radius); padding: clamp(28px, 4vw, 48px); }
.sef-member-register-section .sef-member-register-form { padding: 0 0; }
.sef-form-card .form-control, .sef-form-card .form-select { border-radius: 7px; /*min-height: 48px;*/ border-color: #d7d0c7; }
.sef-form-card textarea.form-control { min-height: 160px; }

.sef-publication-cover { width: 100%; max-width: 290px; margin-inline: auto; box-shadow: 0 18px 35px rgba(0,0,0,.1); }
.sef-kpi { background: #FFFFFF; border-radius: var(--sef-radius); padding: 28px; height: 100%; }
.sef-kpi strong { display: block; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.sef-kpi span { color: var(--sef-muted); }

bloque-sef-carrusel-banners.verde .owl-carousel {
    padding-top: 0 !important;
}

.bloque-sef-listado-congresos .sef-grid-card img {
    width: 100%;
    aspect-ratio: unset;
    object-fit: unset;
    border-radius: 0;
    margin-bottom: 1rem;
}
.bloque-sef-listado-congresos .sef-grid-card a {
    display: block;
    color: var(--sef-texto);
}
.bloque-sef-listado-congresos .sef-grid-card:hover { box-shadow: none; }
.bloque-sef-listado-congresos .sef-grid-card {
    background: transparent;
    border-radius: 0;
    padding: 0 0;
}
.bloque-sef-listado-congresos .sef-grid-card h2,
.bloque-sef-listado-congresos .sef-grid-card h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: .5rem;
}
.bloque-sef-galeria-enfermedades > .sef-container > h2,
.bloque-sef-galeria-enfermedades > .sef-container > .sef-block-head > h2,
/*.bloque-sef-carrusel-banners h2,*/
.bloque-sef-congreso-destacado h2,
.bloque-sef-listado-congresos > .sef-container > h2,
.bloque-sef-listado-otros-congresos > .sef-container > h2 {
    font-size: 1.5rem;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.bloque-sef-otros-congresos > .sef-container > a + a {
    margin-top: -1px;
}

.bloque-sef.bloque-sef-compartir .a2a_kit {
    display: block !important;
    border-top: 1px solid var(--sef-linea) !important;
    border-bottom: 1px solid var(--sef-linea) !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.publicacion-detalle .sef-publicacion-entradilla {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: 1.07rem;
    border-top: 1px solid var(--sef-linea);
    border-bottom: 1px solid var(--sef-linea);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.publicacion-detalle .sef-publicacion-entradilla > :last-child {
    margin-bottom: 0;
}
.bloque-sef-detalle-congreso .entradilla {
    border-bottom: 1px solid var(--sef-linea);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.bloque-sef-listado-columnas .listado {
    border-top: 1px solid var(--sef-linea);
    border-bottom: 1px solid var(--sef-linea);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.sef-button-panel {
    margin-top: 1rem;
}
.btn.btn-outline-light {
    text-align: left;
    color: var(--sef-texto) !important;
    border: 1px solid var(--sef-linea) !important;
    padding: .75rem 1.5rem;
}
.btn.btn-outline-light,
.btn.btn-outline-light:hover {
    background: transparent !important;
}
.btn.btn-outline-light.verde {
    border: 1px solid var(--sef-verde) !important;
    background: var(--sef-verde) !important;
}
.sef-button-panel > .btn.btn-outline-light {
    align-items: center !important;
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 1rem;
}
.sef-button-panel > .btn.btn-outline-light:last-child {
    margin-bottom: 0;
}

.the_content,
.the_content > dl,
.the_content > ol,
.the_content > ul,
.the_content > p {
    font-size: 1.02rem;
    line-height: 1.48;
    margin-bottom: 24px;
}
.bloque-sef-detalle-publicacion .the_content,
.bloque-sef-detalle-publicacion the_content.sef-publicacion-contenido > :last-child,
.bloque-sef-detalle-publicacion .the_content > :last-child,
.bloque-sef-detalle-congreso .the_content > :last-child,
.bloque-sef-detalle-patogeno .the_content > :last-child {
    margin-bottom: 0;
}
.bloque-sef-detalle-congreso .the_content h2,
.bloque-sef-detalle-patogeno .the_content h2 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.bloque-sef-texto-fondo .sef-text > .sef-actions,
.bloque-sef-detalle-patogeno .sef-actions {
    justify-content: start;
}

.e-con.e-flex > .e-con-inner {
    padding: 0 0;
}
body.single main.content > .bloque-sef-detalle-novedad + .the_content .elementor-widget-container > .bloque-sef:first-child {
    padding-top: 0;
}
body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget .bloque-sef {
    padding-bottom: 50px;
}
body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:only-child .bloque-sef,
body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:last-child .bloque-sef {
}
body.single main.content > .bloque-sef-detalle-novedad + .the_content .elementor-widget-container > .bloque-sef:only-child,
body.single main.content > .bloque-sef-detalle-novedad + .the_content .elementor-widget-container > .bloque-sef:only-child {
    padding-top: 0;
}
body.single main.content > .the_content + .bloque-sef-compartir {
    padding-top: 0;
}

.bloque-sef-detalle-congreso .sef-white-panel {
  background: transparent;
  border-radius: 0;
  padding: 0 0;
}

.sef-grid-card h2,
.sef-grid-card h3,
.sef-news-card h2,
.sef-news-card h3,
.bloque-sef-ofertas .oferta > h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--sef-texto);
}

.bloque-sef-texto .sef-component-text {
    padding-top: 0;
}

.bloque-sef-imagen {
}
.bloque-sef-imagen.bloque-sef-imagen-vertical .sef-vertical-image {
    text-align: right;
}

.error-404-bigtitle {
    color: var(--sef-verde-texto);
}

    .elementor .elementor-element.pb-0 .bloque-sef {
        padding-bottom: 0;
    }

/**/

.sef_socio_aviso {
    background: #f7f7f7 !important;
    padding: 1em !important;
    border-radius: 8px !important;
    font-size: 0.8em !important;
}
.sef_socio_aviso p:last-child {
    margin-bottom: 0;
}
@media only screen and (min-width: 545px) and (max-width: 766px) {
    main.content .bloque-sef-revista-noticias .sef-split-card .row > div {
        width: 50%;
    }
    main.content .bloque-sef-revista-noticias .sef-split-card .row > div:first-child > .sef-news-card {
        padding-right: .4rem;
    }
    main.content .bloque-sef-revista-noticias .sef-split-card .row > div:last-child > .sef-news-card {
        padding-left: .4rem;
    }
    main.content .bloque-sef-revista-noticias .sef-split-card .sef-news-separator {
        border-left: 1px solid var(--sef-linea);
    }
    main.content .bloque-sef-listado-novedades .sef-grid-card {
    }
    main.content .bloque-sef-listado-novedades > .sef-container > .row {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    main.content .bloque-sef-listado-novedades > .sef-container > .row > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    main.content .bloque-sef-listado-novedades .sef-grid-card > a {
        border-bottom: 1px solid var(--sef-linea);
        padding-bottom: 0;
        margin-bottom: 0;
        height: 100%;
    }
    main.content .bloque-sef-listado-novedades .row > div:last-child .sef-grid-card > a {
        margin-bottom: 0;        
    }
    main.content .bloque-sef-listado-congresos .sef-grid-card > a {
        border-bottom: none;
        height: 100%;
    }
}

/**/
@media (max-width: 767px) {
    .sef-filter-panel .row + .row {
        margin-top: 0;
    }
    .sef-filter-panel .col-11 > .row > div {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
    }
    .sef-filter-panel .col-11 > .row:first-child > div:first-child {
        margin-top: 1rem;
    }
    .sef-filter-panel .sef-filter-field-compact {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button {
        font-size: 14px !important;
    }
    body {
        font-size: 14px;
    }

    header.sef-header {
        padding: 1rem 0 0 0 !important;
    }
    header.sef-header .sef-lang,
    header.sef-header .sef-btn.sef-btn-primary {
        display: none !important;
    }
    .offcanvas .sef-lang-xs {
        text-align: right;
    }
    .offcanvas .sef-lang-xs a,
    .offcanvas .sef-lang-xs a:hover {
        color: var(--sef-blanco);
    }

    .sef-logo span {
        font-size: .6rem;
    }
    .sef-header-geddi .sef-logo {
      align-items: center;
      gap: .5rem;
      font-weight: 600;
      line-height: 1.1;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .6rem;
    }

    .sef-header-actions {
        gap: .5rem;
    }

    .mb-1,
    .mb-2,
    .mb-3,
    .mb-4,
    .mb-5 {
        margin-bottom: 30px !important;
    }
    main.content .bloque-sef-detalle-enfermedad .image img.mb-5 {
        max-height: unset;
        margin-bottom: 30px !important;
    }

    header .sef-header-inner,
    .sef-hero-content,
    .bloque-sef-cabecera > .sef-container > .sef-eyebrow,
    .bloque-sef-cabecera > .sef-container > .sef-page-title,
    .bloque-sef-cabecera > .sef-container > .sef-lead,
    .elementor .elementor-widget-container > .bloque-sef-zona-socios-login,
    .elementor .elementor-widget-container > .bloque-sef-area-personal-cabecera,
    .elementor .elementor-widget-container > .bloque-sef-area-personal,
    .bloque-sef-texto > .sef-container,
    .bloque-sef-imagen-texto > .sef-container,
    .bloque-sef-imagen > .sef-container,
    .bloque-sef-dos-imagenes > .sef-container,
    .bloque-sef-imagen-ancho-completo > .sef-container,
    .bloque-sef-carrusel-banners > .sef-container,
    .bloque-sef-carrusel-destacado-4 > .sef-container,
    .bloque-sef-grupos-home > .sef-container,
    .bloque-sef-revista-noticias > .sef-container,
    .bloque-sef-galeria-imagenes > .sef-container,
    .bloque-sef-enlaces-acordeon > .sef-container,
    .bloque-sef-formulario-contacto > .sef-container,
    .bloque-sef-socios-protectores h2,
    .bloque-sef-form-member > .sef-container,
    .elementor .elementor-shortcode > .bloque-sef,
    .sef-footer > .sef-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    main.content > .bloque-sef-error-404 > .sef-container,
    main.content > .bloque-sef-buscador-socios > .sef-container,
    main.content > .bloque-sef.entradilla-listado > .sef-container,
    main.content > .bloque-sef-cabecera > .sef-container > .sef-page-title,
    main.content > .bloque-sef-otros-congresos > .sef-container {
        padding-left: 0;
        padding-right: 0;
    }

    .sef-header-inner {
        align-items: end !important;
    }
    .sef-header-geddi .sef-header-inner {
        align-items: center !important;
    }
    .sef-menu-btn {
        padding: 0 0 !important;
    }
    .sef-logo img {
        width: auto;
        height: 70px;
    }
    .sef-footer .sef-logo img {
        width: auto;
        height: 70px;
    }
    .sef-container {
        width: 100%;
    }
    .sef-container-narrow {
        width: 100%;
    }

    .items-found {
        font-size: .9rem;
    }
    .sef-table-list {
        border-top: 1px solid var(--sef-linea);
    }

    .sef-table-header {
        display: none !important;
    }
    .sef-table-row {
        gap: .5rem;
    }
    .sef-table-row > div > a {
        font-size: 1.07rem;
    }

    .breadcrumb {
        margin: 0;
    }
    .breadcrumb-item.active {
        display: none;
    }

    main.content > .bloque-sef {
        margin-left: 30px;
        margin-right: 30px;
    }
    main.content > .bloque-sef.bloque-sef-compartir {
        margin-left: 0;
        margin-right: 0;
    }
    .bloque-sef-hero {
    }
    main.content > .bloque-sef.bloque-sef-texto-fondo,
    main.content > .bloque-sef.bloque-sef-hero {
        margin-left: 0;
        margin-right: 0;
    }
    .sef-hero-leaf {
        margin-top: 0;
        width: 150%;
        max-width: none;
    }

    .bloque-sef-revista-noticias .sef-news-card h3,
    .sef-grid-card h2,
    .sef-grid-card h3,
    .sef-news-card h2,
    .sef-news-card h3,
    .bloque-sef-ofertas .oferta > h2 {
        font-size: 1.05rem;
        line-height: 1.1;
    }
    .category-ofertas-de-trabajo .sef-grid-card h2,
    .category-ofertas-de-trabajo .sef-grid-card h3,
    .bloque-sef-listado-congresos .sef-grid-card h2,
    .bloque-sef-listado-congresos .sef-grid-card h3 {
        font-size: 1.05rem;
        line-height: 1.1;
    }

    .bloque-sef-hero .sef-hero-content {
        margin-top: -15px;
    }
    .sef-hero-content h1 {
        font-size: 32px; 
        margin: 0 0 16px;
    }

    .bloque-sef-cabecera > .sef-container > .sef-eyebrow + h1,
    .bloque-sef-cabecera > .sef-container > .sef-eyebrow + .sef-page-title,
    .bloque-sef-cabecera > .sef-container > .sef-page-title + .sef-lead {
        margin-bottom: 1rem !important;
    }

    .bloque-sef-carrusel-banners {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta {
    }
    .bloque-sef-carrusel-banners .sef-banner-slide {
        min-height: unset;
    }
    .bloque-sef-carrusel-banners .sef-highlight h2 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-copy {
        min-height: unset !important;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    .bloque-sef-carrusel-banners .sef-cta-image {
        position: relative;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-image:after {
        background: linear-gradient(to right, rgba(75,118,93,0) 0%,rgb(75, 118, 93) 100%);
    }
    .bloque-sef-carrusel-banners .sef-cta-copy {
        padding-top: .5rem !important;
        padding-bottom: 30px !important;
        min-height: unset !important;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-copy {
        padding-top: 30px !important;
    }

    .bloque-sef-destacados-home {
    }
    .bloque-sef-destacados-listado {
    }
    main.content > .bloque-sef.bloque-sef-destacados-home {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .bloque-sef.bloque-sef-destacados-home .row.g-4 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .bloque-sef-destacados-home > .sef-container > .row {
        gap: 0;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        overflow: auto !important;
    }
    .bloque-sef-destacados-home > .sef-container > .row > .col {
        flex: 0 0 75% !important;
    }

    main.content > .bloque-sef.bloque-sef-socios-protectores {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .bloque-sef.bloque-sef-socios-protectores .row.g-4 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .bloque-sef-socios-protectores .owl-stage-outer > .owl-stage {
        left: -60px;
    }

    .bloque-sef-grupos-home .sef-group-card {
        padding: 30px;
        align-items: start;
    }

    .sef-news-card h3 {
        font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif !important;
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .sef-news-separator {
        /*border: none;*/
    }

    .sef-filter-panel { padding: 1rem; }

    .sef-group-card h3 {
        font-size: 1rem;
    }

    .bloque-sef-revista-noticias > .sef-container > .row > div:first-child {
        order: 2 !important;
    }
    .bloque-sef-revista-noticias > .sef-container > .row > div:last-child {
        order: 1 !important;
    }
    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
        margin: 0 10% 1rem 10%;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:first-child > .sef-news-card {
        padding-right: .4rem;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:last-child > .sef-news-card {
        padding-left: .4rem;
    }

    .bloque-sef-socios-protectores .sef-sponsors h2 {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .bloque-sef-imagen-texto .sef-image-text-copy h2,
    .bloque-sef-imagen-texto .sef-image-text-copy p {
        margin-bottom: 1rem;
    }
    .bloque-sef-imagen-texto,
    .bloque-sef-imagen-texto .sef-image-text-img {
        text-align: center;        
    }
    .bloque-sef-imagen-texto .sef-image-text-img {
        margin-left: auto;
        margin-right: auto;
    }

    .bloque-sef-texto-fondo {
    }
    .bloque-sef-texto-fondo > .sef-component-bg > .sef-container {
        margin-left: 30px;
        margin-right: 30px;
    }
    .bloque-sef-texto-fondo .sef-component-bg-image:after {
    background:
        /* TOP */
        linear-gradient(
        to bottom,
        #efeae3 0%,
        transparent 0%
        ),
        /* BOTTOM */
        linear-gradient(
        to top,
        #efeae3 25%,
        transparent 50%
        ),
        /* LEFT */
        linear-gradient(
        to right,
        #efeae3 0%,
        transparent 0%
        ),
        /* RIGHT */
        linear-gradient(
        to left,
        #efeae3 0%,
        transparent 0%
    );
    }

    .bloque-sef-imagen-texto .sef-image-text-img img {
        width: 160px;
    }

    .bloque-sef-enlaces-acordeon .accordion-button > span {
        width: calc(100% - 40px);
    }
    .bloque-sef-enlaces-acordeon .sef-accordion-clean .accordion-button {
        font-size: 1.2rem;
    }
    .bloque-sef-enlaces-acordeon .accordion-body > .item h3 {
        font-size: 1.2rem;
    }

    .publicacion-detalle .sef-white-panel {
        text-align: center;
        margin-bottom: 32px;
    }
    .publicacion-detalle .sef-white-panel > img {
        max-width: 160px;
    }
    .publicacion-detalle .sef-white-panel + .sef-button-panel {
        margin-top: -15px;
        margin-bottom: 30px;
    }
    .publicacion-detalle .sef-button-panel .btn > img {
        max-width: 21px;
        margin-right: -10px;
    }

    .bloque-sef-listado-novedades .sef-grid-card > a {
        border-bottom: 1px solid var(--sef-linea);
        padding-bottom: .5rem;
        margin-bottom: .5rem;
    }
    .bloque-sef-listado-novedades .row > div:last-child .sef-grid-card > a {
        margin-bottom: 0;        
    }
    .bloque-sef-listado-novedades .sef-grid-card {
        padding: 0 0;
    }
    .bloque-sef-listado-novedades .sef-grid-card h3 {
        font-size: 1.2rem;
    }
    .bloque-sef-listado-novedades .sef-tag + p {
        display: inline-flex;
        margin-left: .5rem;
    }

    .bloque-sef-detalle-novedad .sef-white-panel > .row > aside {
        margin-top: 1rem;
    }

    .bloque-sef-detalle-patogeno .sef-page-title {
        margin-bottom: 1rem !important;
    }
    .bloque-sef-detalle-patogeno .sef-actions,
    .bloque-sef-detalle-patogeno .sef-table-list {
        margin-bottom: 1.5rem !important;
    }

    .bloque-sef-carrusel-banners h2,
    .bloque-sef-congreso-destacado h2,
    .bloque-sef-listado-congresos > .sef-container > h2,
    .bloque-sef-listado-otros-congresos > .sef-container > h2 {
      font-size: 1.2rem;
    }

    .listado .sef-list-block h3 {
        font-size: 1.16rem;
    }

    .bloque-sef-carrusel-destacado-4 article.sef-timeline-card {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-carousel {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-arrow {
        display: block;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-arrow[aria-label="Anterior"] {
        position: absolute;
        left: .5rem;
        bottom: 172px;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-arrow[aria-label="Siguiente"] {
        position: absolute;
        right: .5rem;
        bottom: 172px;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-card {
        border-top: 0;
        padding: 0 30px;
    }

    .bloque-sef-listado-congresos .sef-grid-card a {
        text-align: center;
    }
    .bloque-sef-listado-congresos .sef-grid-card .image {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .bloque-sef-listado-congresos .sef-grid-card h2 {
        padding-left: 30px;
        padding-right: 30px;
    }

    .single-congreso .bloque-sef-detalle-congreso .sef-white-panel > .row > div:first-child img {
        width: 50% !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }
    .single-congreso .bloque-sef-detalle-congreso .col-lg-8.sef-text {
        margin-top: 1rem;
    }
    .bloque-sef-detalle-congreso .entradilla {
        text-align: center;
    }

    .error-404-bigtitle {
        font-size: 3.5rem !important;
    }

    ul.pagination {
    }
    ul.pagination .page-link {
        font-size: 14px;
        padding: 0 .5rem;
    }

    .sef-footer {
        padding: 30px 0;
    }
    .sef-footer .copyright {
        font-size: 12px;
        margin: -1rem 0 1rem 0;
        text-align: center;
    }
    .sef-footer .sef-logo,
    .sef-footer .sef-footer-address,
    .sef-footer .sef-footer-links {
        margin-bottom: 1.5rem !important;
    }
    .sef-footer .sef-logo span {
        font-size: .6rem;
    }
    .sef-footer-inner {
        text-align: center;
    }
    .sef-footer-address {
        font-size: 12px;
        line-height: 1.2;
        max-width: none; 
    }
    .sef-footer-links {
        display: block;
        gap: 1rem;
        text-align: center;
    }
    .sef-footer-links > a {
        display: block;
        text-align: center;
    }
    .sef-social {
        display: flex !important;
        justify-content: center !important;
    }
    .sef-social-icon {
        height: 25px !important;
    }
    .sef-social a {
        width: 25px;
        height: 25px;
    }

    .sef-filter-panel .col-11 > .row > div {
        margin-bottom: .5rem;
    }
    .sef-filter-panel .col-11 > .row + .row > div:last-child {
        margin-bottom: 0;
    }
    .sef-filter-panel .col-1 {
        text-align: left;
    }
    .sef-filter-panel .sef-filter-search-icon {
        width: 32px;
        height: 32px;
    }
    .sef-filter-grid.g-3 {
        --bs-gutter-y: 0 !important;
        --bs-gutter-x: 0 !important;
    }
    .sef-filter-grid {
        position: relative;
    }
    .sef-filter-grid .sef-filter-actions {
        position: absolute;
        max-width: max-content;
        right: 0;
    }
    .sef-filter-grid .sef-filter-actions > .sef-filter-search-icon {
        margin-right: 15px;
        margin-left: auto;
        width: 32px !important;
        height: 32px !important;
    }
    .sef-filter-grid .sef-filter-field > .form-control {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-right: 60px !important;
    }

    .sef-listing-patogeno .sef-filter-actions-icon-inline,
    .bloque-sef-buscador-patogenos .sef-filter-actions-icon-inline {
        margin-top: 52px;
    }
    .sef-listing-patogeno .sef-filter-grid > .col-lg-4,
    .bloque-sef-buscador-patogenos .sef-filter-grid > .col-lg-4 {
        margin-bottom: .5rem;
    }

    .sef-listing-patogeno .sef-filter-search-icon img,
    .sef-listing-patogeno .sef-filter-actions-icon-inline .sef-filter-search-icon img,
    .sef-listing-enfermedad .sef-filter-search-icon img {
        width: 32px !important;
        height: 32px !important;
    }
}

/**/
@media (min-width: 768px) {
    .sef-filter-panel .col-11 > .row + .row {
        /*margin-top: 1rem;*/
    }

    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button {
        font-size: 14px !important;
    }
    body {
        font-size: 14px;
    }
    a,
    a:hover,
    .sef-btn,
    .sef-btn:hover,
    .sef-btn-primary,
    .sef-btn-primary:hover,
    .sef-btn-light,
    .sef-btn-light:hover,
    .modal .modal-dialog .modal-body .sef-btn,
    .modal .modal-dialog .modal-body .sef-btn:hover,
    .single-congreso .modal .carousel-control-next,
    .single-congreso .modal .carousel-control-next:hover,
    .single-congreso .modal .carousel-control-prev,
    .single-congreso .modal .carousel-control-prev:hover,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button:hover,
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button:hover,
    .bloque-sef-destacados-home .sef-feature-card a,
    .bloque-sef-destacados-home .sef-feature-card a:hover,
    .sef-filter-panel .sef-filter-search-icon > img,
    .sef-filter-panel .sef-filter-search-icon:hover > img,
    .publicacion-detalle .sef-button-panel .btn,
    .publicacion-detalle .sef-button-panel .btn:hover,
    .sef-accordion-clean .accordion-button,
    .sef-accordion-clean .accordion-button:after,
    .sef-accordion-clean .accordion-button.collapsed,
    .sef-accordion-clean .accordion-button.collapsed:after,
    .bloque-sef .accordion-body > .item a,
    .bloque-sef .accordion-body > .item a:hover,
    .bloque-sef article.sef-text a,
    .bloque-sef article.sef-text a:hover,
    .footer a,
    .footer a:hover > i {
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .bloque-sef .accordion-body > .item a:hover,
    .bloque-sef article.sef-text a:hover {
        opacity: .85;
    }

    .offcanvas .sef-lang-xs {
        display: none !important;
    }

    .sef-logo img {
        width: auto;
        height: 80px;
    }
    .sef-logo span {
        font-size: .8rem;
    }
    .sef-header-geddi .sef-logo {
      align-items: center;
      gap: 14px;
      font-weight: 600;
      line-height: 1.1;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .725rem;
    }
    .sef-footer .sef-logo img {
        width: auto;
        height: 70px;
    }
    .sef-btn {
    }
    .sef-btn:hover {
        transform: translateY(-.15rem);
        border-color: #222222;
    }

    .modal .modal-dialog .modal-body .sef-btn:hover,
    .gform_wrapper .gform-body .gform-page-footer > .button:hover,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button:hover,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"]:hover,
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"]:hover,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button:hover,
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button:hover,
    .gform_wrapper .gform-body .gform-page-footer > .button:hover,
    .sef-btn-primary:hover {
        background: #36e000;
        border-color: #36e000;
    }
    .bloque-sef-carrusel-banners .verde .sef-btn:hover,
    .sef-btn-light:hover {
        background: #FFFFFF;
        color: var(--sef-verde-oscuro);
        border-color: var(--sef-verde-oscuro);
    }
    .sef-container {
        width: min(calc(100% - 32px), 720px);
    }
    .sef-container-narrow {
        width: min(calc(100% - 32px), 720px);
    }
    .sef-sponsors h2 {
        max-width: 580px;
    }

    .sef-grid-card h2,
    .sef-grid-card h3,
    .sef-news-card h2,
    .sef-news-card h3,
    .bloque-sef-ofertas .oferta > h2 {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    .category-ofertas-de-trabajo .sef-grid-card h2,
    .category-ofertas-de-trabajo .sef-grid-card h3,
    .bloque-sef-listado-congresos .sef-grid-card h2,
    .bloque-sef-listado-congresos .sef-grid-card h3 {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .bloque-sef-hero .sef-hero-content {
        margin-top: -25px;
    }
    .sef-hero-content h1 {
        font-size: 32px; 
        margin: 0 0 16px;
    }

    .bloque-sef-carrusel-banners {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta {
        position: relative;
    }
    .bloque-sef-carrusel-banners .sef-cta-copy {
        padding-top: 0;
        min-height: unset !important;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-copy {
        padding-top: 30px;
    }
    .bloque-sef-carrusel-banners .sef-cta-copy p {
        max-width: none;
    }
    .bloque-sef-carrusel-banners .sef-cta-image {
        position: initial;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-image:after {
        background: linear-gradient(to right, rgba(75,118,93,0) 0%,rgba(75, 118, 93,1) 100%);
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta .image {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta.verde .image {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta .row > div {
        z-index: 1;
    }

    .bloque-sef-destacados-home {
    }
    .bloque-sef-destacados-home .sef-feature-card a:hover {
        transform: translateY(-.15rem);
    }
    .bloque-sef-destacados-listado {
    }

    .sef-news-separator {
        border: none;
    }

    .sef-group-card h3 {
    }

    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
        margin: 0 10% 1rem 10%;
    }

    .bloque-sef-texto > .sef-container {
    }
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 720px);
    }
    .bloque-sef-texto .sef-component-actions,
    .bloque-sef-texto .sef-actions {
        width: fit-content;
    }
    main.content > .bloque-sef-cabecera + .bloque-sef-texto-fondo {
        margin-top: -55px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        min-height: unset;
        padding-top: 60px
    }

    .bloque-sef-imagen-texto .sef-image-text-img img {
        width: 150px;
    }

    .bloque-sef-enlaces-acordeon .accordion-button > span {
        width: calc(100% - 40px);
    }

    .bloque-sef-detalle-enfermedad .sef-page-title,
    .bloque-sef-detalle-congreso .sef-page-title,
    .publicacion-detalle .sef-page-title {
        font-size: clamp(1.5rem, 1.7vw, 1.5rem);
    }
    .bloque-sef-detalle-publicacion .publicacion-detalle .sef-text {
    }
    .publicacion-detalle .sef-white-panel {
        padding: 1rem;
    }
    .publicacion-detalle .sef-button-panel .btn:hover {
        transform: translateY(-.15rem);
        filter: grayscale(1);
    }
    .publicacion-detalle .sef-button-panel .btn > img {
        max-width: 27px;
        margin-right: -7px;
    }

    main.content > .bloque-sef-detalle-novedad {
        padding-top: 1rem !important;
    }
    .bloque-sef-detalle-novedad .sef-white-panel > .row > aside {
        margin-top: 1.5rem;
    }

    .sef-filter-panel .sef-filter-search-icon:hover > img {
        filter: grayscale(1);
    }
    .sef-filter-panel .col-1 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .bloque-sef-listado-novedades .sef-grid-card > a {
        border-bottom: 1px solid var(--sef-linea);
        padding-bottom: .5rem;
        margin-bottom: .5rem;
        height: 100%;
    }

    .single-congreso .bloque-sef-detalle-congreso .sef-white-panel > .row > div:first-child img {
        width: 35% !important;
        display: block;
        margin: .5rem auto 0 auto !important;
    }

    .error-404-bigtitle {
        font-size: 3.5rem !important;
    }

    ul.pagination {
    }
    ul.pagination .page-link {
    }

    .sef-footer {
    }
    .sef-footer .copyright {
        font-size: 12px;
        margin: -1rem 0 1rem 0;
        text-align: center;
    }
    .sef-footer .sef-logo,
    .sef-footer .sef-footer-address,
    .sef-footer .sef-footer-links {
        margin-bottom: 1.5rem !important;
    }
    .sef-footer-inner {
        text-align: center;
    }
    .sef-footer-address {
        font-size: .8rem;
    }
    .sef-social-icon {
        height: 25px !important;
    }
    .sef-social a {
        width: 25px;
        height: 25px;
    }
    .sef-social {
        display: flex !important;
        justify-content: center !important;
    }
}

/**/
@media (min-width: 992px) {
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button {
        font-size: 15px !important;
    }
    body {
        font-size: 15px;
    }
    .sef-logo img {
        height: 90px;
    }
    .sef-logo span {
        font-size: .9rem;
    }
    .sef-header-geddi .sef-logo {
      align-items: center;
      gap: 14px;
      font-weight: 600;
      line-height: 1.1;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .825rem;
    }
    .sef-footer .sef-logo img {
        height: 70px;
    }
    .offcanvas.offcanvas-end {
        right: 40px;
    }
    .sef-container {
        width: min(calc(100% - 32px), 960px);
    }
    .sef-container-narrow {
        width: min(calc(100% - 32px), 780px);
    }
    .sef-sponsors h2 {
        max-width: 680px;
    }

    .sef-grid-card h2,
    .sef-grid-card h3,
    .sef-news-card h2,
    .sef-news-card h3,
    .bloque-sef-ofertas .oferta > h2 {
        font-size: 1.05rem;
        line-height: 1.1;
    }
    .category-ofertas-de-trabajo .sef-grid-card h2,
    .category-ofertas-de-trabajo .sef-grid-card h3,
    .bloque-sef-listado-congresos .sef-grid-card h2,
    .bloque-sef-listado-congresos .sef-grid-card h3 {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .bloque-sef-hero .sef-hero-content {
        margin-top: -35px;
    }
    .sef-hero-content h1 {
        font-size: 40px; 
        margin: 0 0 18px;
    }

    .bloque-sef-carrusel-banners {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta {
    }
    .bloque-sef-carrusel-banners article > .row > div:first-child > img {
        padding-right: .5rem;
    }
    .bloque-sef-carrusel-banners article > .row > div:last-child > h2,
    .bloque-sef-carrusel-banners article > .row > div:last-child > p,
    .bloque-sef-carrusel-banners article > .row > div:last-child > a {
        margin-left: .5rem;
    }
    .bloque-sef-carrusel-banners .sef-cta-copy {
        min-height: 322px !important;
    }
    .bloque-sef-carrusel-banners .sef-cta-copy,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy {
        padding: clamp(36px, 5vw, 72px) !important;
    }
    .bloque-sef-carrusel-banners .sef-cta-copy p {
        max-width: 490px;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-image:after {
        background: linear-gradient(to right, rgba(75,118,93,0) 22%,rgba(75, 118, 93,1) 66%);
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta .image {
        position: absolute;
        height: 80%;
        width: auto;
        top: 11%;
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta.verde .image {
        height: 100%;
        top: 0;
    }

    .bloque-sef-destacados-home {
    }
    .bloque-sef-destacados-listado {
    }

    .bloque-sef-revista-noticias .sef-split-card .row > div:first-child > a{
        margin-right: 1.5rem;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:last-child > a {
        margin-left: 1.5rem;
    }

    .sef-news-separator {
        border-left: 1px solid var(--sef-linea);
    }

    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
        margin: 0 0;
    }

    .bloque-sef-texto > .sef-container {
    }
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 900px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 707px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto .sef-component-text {
        width: 587px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-text > .sef-actions,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > div,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h1,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h2,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h3,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h4,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h5,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h6,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > dl,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ol,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ul,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > p {
    }
    .bloque-sef-texto .sef-component-text > div,
    .bloque-sef-texto .sef-component-text > dl,
    .bloque-sef-texto .sef-component-text > ol,
    .bloque-sef-texto .sef-component-text > ul,
    .bloque-sef-texto .sef-component-text > h1,
    .bloque-sef-texto .sef-component-text > h2,
    .bloque-sef-texto .sef-component-text > h3,
    .bloque-sef-texto .sef-component-text > h4,
    .bloque-sef-texto .sef-component-text > h5,
    .bloque-sef-texto .sef-component-text > h6,
    .bloque-sef-texto .sef-component-text > p {
    }
    main.content > .bloque-sef-cabecera + .bloque-sef-texto-fondo {
        margin-top: -55px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        min-height: unset;
        padding-top: 120px;
    }

    .bloque-sef-carrusel-destacado-4 .sef-timeline-viewport {
        width: calc(100% + 120px);
        margin-left: -60px;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-carousel > button[aria-label="Anterior"] {
        margin-left: -60px;
    }
    .bloque-sef-carrusel-destacado-4 .sef-timeline-carousel > button[aria-label="Siguiente"] {
        margin-left: 60px;
    }

    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 587px;
        margin: auto;
        margin-right: 0;
    }

    .bloque-sef-imagen-texto .sef-image-text-img img {
        width: 220px;
    }

    .bloque-sef-enlaces-acordeon .accordion-button > span {
        width: calc(100% - 40px);
    }

    .bloque-sef-formulario-contacto .sef-contact-card {
        grid-template-columns: 200px 1fr;
        gap: 60px;
    }

    .bloque-sef-enlaces-acordeon .sef-accordion-wrap {
        width: min(690px, 75%);
    }

    .bloque-sef-detalle-enfermedad .sef-page-title,
    .bloque-sef-detalle-congreso .sef-page-title,
    .publicacion-detalle .sef-page-title {
        font-size: clamp(2rem, 2vw, 2rem);
    }
    .bloque-sef-detalle-publicacion .publicacion-detalle .sef-text {
    }
    .publicacion-detalle .sef-white-panel {
        padding: 30px;
    }
    .publicacion-detalle .sef-white-panel,
    .sef-button-panel {
        width: 96%;
    }
    .bloque-sef-listado-novedades > .sef-container > .row {
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div {
        position: relative !important;
        padding-bottom: 1.5rem !important;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div:before {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        left: -1.5rem !important;
        right: 0 !important;
        width: 100% !important;
        height: 1px !important;
        background: var(--sef-linea) !important;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):before {
        left: 1.5rem !important;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):after {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 1px !important;
        height: calc(100% - 1.5rem) !important;
        background: var(--sef-linea) !important;
    }

    .bloque-sef-detalle-novedad .sef-white-panel > .row > aside {
        margin-top: var(--bs-gutter-y);
    }

    .bloque-sef.bloque-sef-compartir .a2a_kit {
        max-width: 595px;
    }

    .bloque-sef-listado-novedades .sef-grid-card > a {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .single-congreso .bloque-sef-detalle-congreso .sef-white-panel > .row > div:first-child img {
        width: 100% !important;
        display: block;
        margin: 0 0 !important;
    }

    .error-404-bigtitle {
        font-size: 4rem !important;
    }

    ul.pagination {
    }
    ul.pagination .page-link {
    }

    .sef-footer {
    }
    .sef-footer .copyright {
        font-size: 12px;
        margin: -1rem 0 1rem 0;
        text-align: center;
    }
    .sef-footer .sef-logo,
    .sef-footer .sef-footer-address,
    .sef-footer .sef-footer-links {
    }
    .sef-footer-inner {
    }
    .sef-footer-address {
        font-size: .7rem;
    }
    .sef-footer-links a {
    }
    .sef-footer-links a:last-child {
    }
    .sef-social {
    }
    .sef-social-icon {
        height: 30px !important;
    }
    .sef-social a {
        width: 30px;
        height: 30px;
    }
}

/**/
@media (min-width: 1200px) {
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button {
        font-size: 16px !important;
    }
    body {
        font-size: 16px;
    }
    .sef-logo img {
        height: 120px;
    }
    .sef-logo span {
        font-size: 1rem;
    }
    .sef-header-geddi .sef-logo {
      align-items: center;
      gap: 16px;
      font-weight: 600;
      line-height: 1.1;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .925rem;
    }
    .sef-footer .sef-logo img {
        height: 70px;
    }
    .offcanvas.offcanvas-end {
        right: 60px;
    }
    .sef-container {
        width: min(calc(100% - 32px), 1170px);
    }
    .sef-container-narrow {
        width: min(calc(100% - 32px), 860px);
    }
    .sef-sponsors h2 {
        max-width: 720px;
    }

    .sef-grid-card h2,
    .sef-grid-card h3,
    .sef-news-card h2,
    .sef-news-card h3,
    .bloque-sef-ofertas .oferta > h2 {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    .category-ofertas-de-trabajo .sef-grid-card h2,
    .category-ofertas-de-trabajo .sef-grid-card h3,
    .bloque-sef-listado-congresos .sef-grid-card h2,
    .bloque-sef-listado-congresos .sef-grid-card h3 {
        font-size: 1.2rem;
        line-height: 1.1;
    }

    .bloque-sef-hero .sef-hero-content {
        margin-top: -35px;
    }
    .sef-hero-content h1 {
        font-size: 50px; 
        margin: 0 0 24px;
    }

    .bloque-sef-carrusel-banners {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta {
    }
    .bloque-sef-carrusel-banners .sef-cta-image {
    }
    .bloque-sef-carrusel-banners .sef-cta-copy {
        min-height: 350px !important;
        padding: clamp(36px, 5vw, 72px) !important;
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta .image {
        height: 81%;
        top: 10%;
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta.verde .image {
        height: 100%;
        top: 0;
    }
    .bloque-sef-carrusel-banners .verde .sef-cta-image:after {
        /*background: linear-gradient(to right, rgba(75,118,93,0) 22%,rgba(75, 118, 93,1) 66%);*/
        background: linear-gradient(to right, rgba(75,118,93,0) 50%,rgba(75, 118, 93,1) 100%);
    }

    .bloque-sef-destacados-home {
    }
    .bloque-sef-destacados-listado {
    }

    .bloque-sef-texto > .sef-container {
    }
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 1000px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 800px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto .sef-component-text {
        width: 660px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-text > .sef-actions,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > div,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h1,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h2,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h3,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h4,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h5,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h6,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > dl,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ol,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ul,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > p {
    }
    .bloque-sef-texto .sef-component-text > div,
    .bloque-sef-texto .sef-component-text > dl,
    .bloque-sef-texto .sef-component-text > ol,
    .bloque-sef-texto .sef-component-text > ul,
    .bloque-sef-texto .sef-component-text > h1,
    .bloque-sef-texto .sef-component-text > h2,
    .bloque-sef-texto .sef-component-text > h3,
    .bloque-sef-texto .sef-component-text > h4,
    .bloque-sef-texto .sef-component-text > h5,
    .bloque-sef-texto .sef-component-text > h6,
    .bloque-sef-texto .sef-component-text > p {
    }
    main.content > .bloque-sef-cabecera + .bloque-sef-texto-fondo {
        margin-top: -55px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        min-height: unset;
        padding-top: 160px
    }

    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 660px;
        margin: auto;
        margin-right: 0;
    }

    .bloque-sef-imagen-texto .sef-image-text-img img {
        width: 240px;
    }

    .bloque-sef-enlaces-acordeon .sef-accordion-wrap {
        width: min(670px, 76.7%);
    }
    .bloque-sef-enlaces-acordeon .accordion-button > span {
        width: calc(100% - 60px);
    }

    .bloque-sef-formulario-contacto .sef-contact-card {
        grid-template-columns: 200px 1fr;
        gap: 60px;
    }

    .bloque-sef-detalle-enfermedad .sef-page-title,
    .bloque-sef-detalle-congreso .sef-page-title,
    .publicacion-detalle .sef-page-title {
        font-size: clamp(2rem, 2vw, 2rem);
    }
    .bloque-sef-detalle-publicacion .publicacion-detalle .sef-text {
    }
    .publicacion-detalle .sef-white-panel {
        padding: 30px;
    }
    .publicacion-detalle .sef-white-panel,
    .sef-button-panel {
        width: 92%;
    }

    .bloque-sef-listado-congresos > .sef-container > .row {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .bloque-sef-listado-congresos > .sef-container > .row > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .bloque-sef-listado-columnas .row {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    .bloque-sef-listado-columnas .row > div {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bloque-sef.bloque-sef-compartir .a2a_kit {
        max-width: 660px;
    }

    .error-404-bigtitle {
        font-size: 4.5rem !important;
    }

    ul.pagination {
    }
    ul.pagination .page-link {
    }

    .sef-footer {
    }
    .sef-footer > .sef-container {
        position: relative;
    }
    .sef-footer .copyright {
        position: absolute;
        left: 21px;
        bottom: -21px;
        font-size: 12px;
        margin: 0 0;
        text-align: left;
    }
    .sef-footer .sef-logo,
    .sef-footer .sef-footer-address,
    .sef-footer .sef-footer-links {
        margin-bottom: 0 !important;
    }
    .sef-footer-inner {
        text-align: unset;
        display: grid;
        grid-template-columns: minmax(170px, auto) 1fr auto auto;
        gap: 32px;
        align-items: center;
    }
    .sef-footer-address {
        font-size: .8rem;
        display: inline-flex;
        align-items: end;
        line-height: 1.35;
        max-width: 340px;
        height: 80px;
    }
    .sef-footer-links {
        gap: 1.5rem;
    }
    .sef-footer-links a {
    }
    .sef-footer-links a:last-child {
    }
    .sef-social-icon {
        height: 30px !important;
    }
    .sef-social {
        display: flex !important;
        justify-content: flex-end !important;
    }
    .sef-social a {
        width: 30px;
        height: 30px;
    }
}

/**/
@media (min-width: 1400px) {
    .bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
    .gform_wrapper .gform-body .gform-page-footer > .button,
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
    .bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
    .bloque-sef-formulario-contacto .sef-contact-form .gform_button {
        font-size: 16px !important;
    }
    body {
        font-size: 16px;
    }

    main.content {
        max-width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }

    .sef-logo img {
        height: 135px;
    }
    .sef-logo span {
        font-size: 1.1rem;
    }
    .sef-header-geddi .sef-logo {
      align-items: center;
      gap: 18px;
      font-weight: 600;
      line-height: 1.1;
    }
    .sef-header-geddi .sef-logo span {
        font-size: 1.025rem;
    }
    .sef-footer .sef-logo img {
        height: 70px;
    }
    .offcanvas.offcanvas-end {
        right: 80px;
    }
    .sef-container {
        width: min(calc(100% - 32px), 1320px);
    }
    .sef-container-narrow {
        width: min(calc(100% - 32px), 1100px);
    }
    .sef-sponsors h2 {
        max-width: 820px;
    }

    .sef-grid-card h2,
    .sef-grid-card h3,
    .sef-news-card h2,
    .sef-news-card h3,
    .bloque-sef-ofertas .oferta > h2 {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    .category-ofertas-de-trabajo .sef-grid-card h2,
    .category-ofertas-de-trabajo .sef-grid-card h3,
    .bloque-sef-listado-congresos .sef-grid-card h2,
    .bloque-sef-listado-congresos .sef-grid-card h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .bloque-sef-hero .sef-hero-content {
        margin-top: -35px;
    }
    .sef-hero-content h1 {
        font-size: 50px; 
        margin: 0 0 24px;
    }

    .bloque-sef-carrusel-banners {
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta {
    }
    .bloque-sef-carrusel-banners .sef-cta-image {
    }
    .bloque-sef-carrusel-banners .sef-cta-copy {
        min-height: 365px !important;
    }
    .bloque-sef-carrusel-banners .sef-cta.verde > .row > div:first-child {
        width: 57%;
    }
    .bloque-sef-carrusel-banners .sef-cta.verde > .row > div:last-child {
        width: 43%;
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta .image {
        height: 100%;
        top: 0;
    }
    .bloque-sef-carrusel-banners .sef-container .sef-cta.verde .image {
        height: 100%;
        top: 0;
    }

    .bloque-sef-destacados-home {
    }
    .bloque-sef-destacados-listado {
    }

    .bloque-sef-texto > .sef-container {
    }
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 1230px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 860px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto .sef-component-text {
        width: 725px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-text > .sef-actions,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > div,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h1,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h2,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h3,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h4,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h5,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > h6,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > dl,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ol,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > ul,
    .bloque-sef-texto-fondo .sef-component-bg-card.sef-text > p {
    }
    .bloque-sef-texto .sef-component-text > div,
    .bloque-sef-texto .sef-component-text > dl,
    .bloque-sef-texto .sef-component-text > ol,
    .bloque-sef-texto .sef-component-text > ul,
    .bloque-sef-texto .sef-component-text > h1,
    .bloque-sef-texto .sef-component-text > h2,
    .bloque-sef-texto .sef-component-text > h3,
    .bloque-sef-texto .sef-component-text > h4,
    .bloque-sef-texto .sef-component-text > h5,
    .bloque-sef-texto .sef-component-text > h6,
    .bloque-sef-texto .sef-component-text > p {
    }
    main.content > .bloque-sef-cabecera + .bloque-sef-texto-fondo {
        margin-top: -55px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        min-height: unset;
        padding-top: 260px
    }
    .bloque-sef-texto .sef-component-actions,
    .bloque-sef-texto .sef-actions {
    }

    .bloque-sef-formulario-contacto .sef-contact-card {
        grid-template-columns: 228px 1fr;
        gap: 90px;
    }

    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 725px;
        margin: auto;
        margin-right: 0;
    }

    .bloque-sef-imagen-texto .sef-image-text-img img {
        width: 260px;
    }
    .bloque-sef-imagen-texto .sef-image-text-row {
        grid-template-columns: 200px 1fr;
        gap: 174px;
    }

    .bloque-sef-enlaces-acordeon .sef-accordion-wrap {
        width: min(725px, 75%);
    }
    .bloque-sef-enlaces-acordeon .accordion-button > span {
        width: calc(100% - 120px);
    }

    .bloque-sef-formulario-contacto .sef-contact-card {
        grid-template-columns: 228px 1fr;
        gap: 90px;
    }

    .bloque-sef-detalle-enfermedad .sef-page-title,
    .bloque-sef-detalle-congreso .sef-page-title,
    .bloque-sef-detalle-patogeno .sef-page-title,
    .publicacion-detalle .sef-page-title {
        font-size: clamp(3rem, 2.75vw, 3rem);
    }
    .bloque-sef-detalle-publicacion .publicacion-detalle .sef-text {
    }
    .publicacion-detalle .sef-white-panel {
        padding: 40px;
    }
    .publicacion-detalle .sef-white-panel,
    .sef-button-panel {
        width: 92%;
    }

    .bloque-sef-detalle-novedad .sef-page-title {
        font-size: clamp(1.75rem, 1.75vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0;
        max-width: none;
    }
    .bloque-sef-listado-novedades .sef-grid-card {
        padding: 0 2.5rem;
    }
    .bloque-sef-detalle-novedad .col-lg-4 > .sef-text {
        margin-right: 1rem;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div {
        padding-bottom: 2.5rem !important;
        margin-bottom: 1.2rem;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div::before {
        left: -2.5rem !important;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):before {
        left: 2.5rem !important;
    }
    .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):after {
        height: calc(100% - 2.5rem) !important;
    }

    .bloque-sef.bloque-sef-compartir .a2a_kit {
        max-width: 727px;
    }

    .bloque-sef-detalle-congreso .entradilla {
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .error-404-bigtitle {
        font-size: 5rem !important;
    }

    ul.pagination {
    }
    ul.pagination .page-link {
    }

    .sef-footer {
    }
    .sef-footer-inner {
    }
    .sef-footer-address {
        font-size: .8rem;
    }
    .sef-footer-links {
        gap: 2.5rem;
    }
    .sef-footer-links a {
    }
    .sef-footer-links a:last-child {
    }
}

/* ==================================================
   Prototipo v2 - páginas nuevas y componentes
================================================== */
.sef-list-media { display: grid; gap: 26px; }
.sef-media-row { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; background: #FFFFFF; border-radius: var(--sef-radius); padding: 22px; }
.sef-media-row img { width: 100%; aspect-ratio: 1.35/1; object-fit: cover; border-radius: 8px; }
.sef-media-row h2 { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.05; margin-bottom: 12px; }
.sef-image-full { display:block; width:100%; border-radius: var(--sef-radius); }
.bloque-sef-componentes-nota { background:#FFFFFF; border-radius:var(--sef-radius); padding:24px; }
@media (max-width: 767px) { .sef-media-row { grid-template-columns: 1fr; } .sef-table-row { grid-template-columns: 1fr; } }


/* ==================================================
   Revisión v3 - coherencia de bloques y cabeceras
================================================== */
.bloque-sef-cabecera { padding-top: 24px; padding-bottom: 46px; }
.sef-page-hero { min-height: auto; align-items: start; }
.sef-page-title { font-size: clamp(1.5rem, 1.5vw, 1.75rem); font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; font-weight: normal; line-height: 1.1; margin-bottom: 1rem; max-width: 720px; }
.sef-lead { font-size: clamp(1rem, 1vw, 1.08rem); line-height: 1.45; max-width: none; }
.sef-eyebrow { font-size: 1.1rem; margin-bottom: 1.5rem; }
.sef-text h2 { font-size: clamp(1.45rem, 2.15vw, 2.25rem); line-height: 1.08; }
.sef-grid-card h2,
.sef-grid-card h3,
.sef-news-card h2,
.sef-news-card h3 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.bloque-sef-listado-grupos > .sef-container > h2 { font-size: 1.5rem; margin-bottom: 28px !important; font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; font-weight: normal; }
@media (min-width: 992px) { .bloque-sef-cabecera { padding-top: 30px; padding-bottom: 58px; } }
@media (max-width: 767px) { .sef-page-title { font-size: 1.5rem; line-height: 1.5; } .bloque-sef-cabecera { padding-top: 20px; padding-bottom: 36px; } .sef-eyebrow { font-size: .9rem; margin-bottom: 1rem; } }

/* ==================================================
   Revisión v4 - componentes y carruseles reutilizables
================================================== */
.bloque-sef-carrusel-banners .sef-banner-carousel { position: relative; }
.bloque-sef-carrusel-banners .carousel-inner { border-radius: var(--sef-radius); }
.sef-banner-slide { min-height: 0; }
.sef-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.sef-carousel-controls > button { display: none !important; }
.sef-carousel-arrow { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--sef-linea); background: transparent; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; line-height: 1; color: var(--sef-texto); }
.sef-carousel-controls .carousel-indicators { position: static; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.sef-carousel-controls .carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 999px; border: 0; margin: 0; background: #bcb7b0; opacity: 1; }
.sef-carousel-controls .carousel-indicators .active { background: #111; }
.bloque-sef-carrusel-banners .sef-cta { border-radius: var(--sef-radius); }
.bloque-sef-carrusel-banners .sef-cta-copy { min-height: 280px; }

.sef-text-bg-card { position: relative; border-radius: var(--sef-radius); overflow: hidden; padding-top: clamp(120px, 22vw, 260px); }
.sef-text-bg-art { position: absolute; inset: 0 auto auto 0; width: 100%; height: clamp(190px, 30vw, 360px); background: url('../img/bg-acuarela.jpg') center top / cover no-repeat; opacity: .95; }
.sef-text-bg-content { position: relative; z-index: 1; background: #FFFFFF; border-radius: var(--sef-radius); padding: clamp(28px, 4vw, 56px); max-width: 760px; margin: 0 auto; box-shadow: var(--sef-shadow); }
.sef-text-bg-content h2 { margin-bottom: 20px; }

.sef-carousel-frame { display: flex; align-items: center; gap: 18px; }
.sef-carousel-frame .row { min-width: 0; }
.bloque-sef-carrusel-destacado-4 .sef-grid-card img { aspect-ratio: .78 / 1; object-fit: cover; }
.bloque-sef-dos-imagenes .sef-image-full { aspect-ratio: 1.45 / 1; object-fit: cover; }
.bloque-sef-imagen .sef-image-full { max-height: 520px; object-fit: cover; }
.sef-gallery-main img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--sef-radius); display: block; }
.bloque-sef-galeria-imagenes .row img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.bloque-sef-imagen-texto .sef-white-panel img { aspect-ratio: 1.15 / 1; object-fit: cover; }
.bloque-sef-componentes-nota { background:#FFFFFF; border-radius:var(--sef-radius); padding:24px; }

@media (max-width: 767px) {
  .sef-carousel-frame { align-items: stretch; }
  .sef-carousel-arrow { display: none; }
  .bloque-sef-carrusel-destacado-4 .sef-grid-card img { aspect-ratio: 1 / .8; }
  .bloque-sef-listado-publicaciones .sef-grid-card { padding: 1rem; }
}


/* ==================================================
   Revisión componentes v5 - bloques desde texto con fondo
================================================== */
.bloque-sef-texto-fondo { padding-top: 0; padding-bottom: 0; }
.sef-component-bg { position: relative; min-height: unset; display: flex; align-items: end; overflow: hidden; }
.sef-component-bg-image { position: absolute; inset: 0; /*background: linear-gradient(90deg, rgba(239,234,227,.88) 0%, rgba(239,234,227,.22) 45%, rgba(239,234,227,.9) 100%), url('../img/bg-acuarela.jpg') center center / cover no-repeat;*/ }
.sef-component-bg-image > img { max-width: none; width: 100%; height: auto; }
.sef-component-bg-image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    inset: 0;
    pointer-events: none;
    background:
        /* TOP */
        linear-gradient(
        to bottom,
        #efeae3 0%,
        transparent 40%
        ),
        /* BOTTOM */
        linear-gradient(
        to top,
        #efeae3 25%,
        transparent 50%
        ),
        /* LEFT */
        linear-gradient(
        to right,
        #efeae3 0%,
        transparent 40%
        ),
        /* RIGHT */
        linear-gradient(
        to left,
        #efeae3 0%,
        transparent 40%
    );
}
.sef-component-bg .sef-container { position: relative; z-index: 1; width: 100%; }
.sef-component-bg-card { width: min(710px, 64%); margin-left: auto; background: #efeae3; padding: clamp(34px, 5vw, 70px); box-shadow: none; border-radius: 0; }
.bloque-sef-texto .sef-text > h1,
.bloque-sef-texto .sef-text > .sef-page-title,
.sef-component-bg-card h1,
.sef-component-text h1,
.sef-component-bg-card h2,
.sef-component-text h2 {
    font-size: clamp(2rem, 3.1vw, 3.55rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.bloque-sef-texto .sef-text > h2 {
    font-size: clamp(1.35rem, 1.5vw, 1.35rem);
}
.bloque-sef-texto .sef-text > h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.2rem);
}
.bloque-sef-texto .sef-text > h4
.bloque-sef-texto .sef-text > h6 {
    font-size: clamp(1.1rem, 1.2vw, 1.1rem);
}
.bloque-sef-texto .sef-text > h5,
.bloque-sef-texto .sef-text > h6 {
    font-size: clamp(1rem, 1vw, 1rem);
}

.sef-component-bg-card p, .sef-component-text p { font-size: 1.02rem; line-height: 1.48; margin-bottom: 24px; }
.sef-component-text { width: min(675px, 58%); margin-left: auto; padding-block: 22px 16px; }
.sef-component-actions { margin-top: 32px; gap: 18px; flex-wrap: wrap; }
.sef-component-block-title { font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif; font-size: 1.45rem; line-height: 1.1; margin-bottom: 34px; }
.sef-timeline-carousel { border-top: 1px solid var(--sef-linea); border-bottom: 1px solid var(--sef-linea); padding: 34px 0; display: grid; grid-template-columns: 38px 1fr 38px; gap: 22px; align-items: center; }
.sef-timeline-viewport { overflow: hidden; width: 100%; }
.sef-timeline-items { --sef-timeline-visible: 4; display: flex; width: 100%; transition: transform .42s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.sef-timeline-card { flex: 0 0 calc(100% / var(--sef-timeline-visible)); min-width: calc(100% / var(--sef-timeline-visible)); min-height: 240px; padding: 0 30px; border-left: 1px solid var(--sef-linea); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.sef-timeline-card:first-child { border-left: 0; padding-left: 0; }
/*.sef-timeline-card img { width: 64px; height: 96px; object-fit: cover; margin-bottom: 28px; }*/
.sef-timeline-card > img { object-fit: cover; margin-bottom: 1rem; max-width: 65px; height: auto; }
.sef-timeline-card h3 { font-size: 1.35rem; font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif; margin-bottom: 14px; }
.sef-timeline-card p { font-size: .98rem; line-height: 1.4; margin-bottom: 18px; }
.sef-timeline-icon { width: 52px; height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.sef-timeline-icon svg { width: 36px; height: 36px; stroke-width: 1.8; }
.sef-timeline-arrow { width: 38px; height: 38px; border: 0; background: transparent; font-size: 48px; line-height: 1; font-weight: 100; color: #111; display: flex; align-items: center; justify-content: center; transition: opacity .2s ease; }
.sef-timeline-arrow:disabled { opacity: .22; cursor: default; }
.sef-timeline-arrow:not(:disabled):hover { opacity: .65; }
.sef-two-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.sef-two-images img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; display: block; border-radius: 0; }
.sef-single-image { width: min(560px, 58%); margin: 0 auto; }
.sef-single-image img { width: 100%; aspect-ratio: 1.42/1; object-fit: cover; display: block; }
.sef-wide-image { width: 100%; margin: 0 auto; }
.sef-wide-image img { width: 100%; max-height: 600px; aspect-ratio: 1.9 / 1; object-fit: cover; display: block; }
.sef-contact-card { display: grid; grid-template-columns: 280px 1fr; gap: 90px; background: #FFFFFF; border-radius: 6px; padding: clamp(28px, 4vw, 56px); }
.sef-contact-copy h2 { font-size: 1.5rem; font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif; margin-bottom: 18px; }
.sef-contact-copy p { font-size: .98rem; line-height: 1.35; }
.gform-body .gfield .ginput_container > select,
.gform-body .gfield .ginput_container > textarea,
.gform-body .gfield .ginput_container > input[type="text"],
.gform-body .gfield .ginput_container > input[type="email"],
.gform-body .gfield .ginput_container > input[type="tel"],
.gform-body .gfield .ginput_container > input[type="url"],
.gform-body .gfield .ginput_container > input[type="number"],
.gform-body .gfield .ginput_container > input[type="password"],
.sef-contact-form .form-control { border: 1px solid #cbc7bf; border-radius: 7px; min-height: 42px; font-size: .95rem; }
.gform-body .gfield input[type="checkbox"] { border: 1px solid #cbc7bf; }
.sef-contact-form textarea.form-control { min-height: 160px; }
.sef-contact-form .sef-btn { margin-top: 18px; }
.sef-accordion-wrap { width: min(670px, 62%); margin-left: auto; }
.sef-accordion-clean .accordion-item { background: transparent; border: 0; border-top: 1px solid var(--sef-linea); border-radius: 0; }
.sef-accordion-clean .accordion-item:last-child { border-bottom: 1px solid var(--sef-linea); }
.sef-accordion-clean .accordion-button { background: transparent; color: #187900; padding: 22px 0; font-size: 1.5rem; line-height: 1.2; box-shadow: none; font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; }
.sef-accordion-clean .accordion-button:after {
    filter: brightness(0);
    -moz-transform: scale(1.2) rotate(180deg);
    -ms-transform: scale(1.2) rotate(180deg);
    -o-transform: scale(1.2) rotate(180deg);
    -webkit-transform: scale(1.2) rotate(180deg);
    transform: scale(1.2) rotate(180deg);
}
.sef-accordion-clean .accordion-button.collapsed:after {
    -moz-transform: scale(1.2) rotate(0);
    -ms-transform: scale(1.2) rotate(0);
    -o-transform: scale(1.2) rotate(0);
    -webkit-transform: scale(1.2) rotate(0);
    transform: scale(1.2) rotate(0);
}

.sef-accordion-clean .accordion-body { padding: 0 0 24px; }
.sef-accordion-clean .accordion-body p { font-size: 1.1rem; line-height: 1.2; margin-bottom: 22px; }
.bloque-sef-galeria-personas .sef-component-block-title { margin-left: 0; margin-bottom: 28px; }
.sef-people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 34px; }
.sef-person-item img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; display: block; margin-bottom: 18px; }
.sef-person-item h3 { font-size: 1.35rem; line-height: 1.15; font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; margin-bottom: 10px; }
.sef-person-item p { font-size: .98rem; margin: 0; }
.sef-image-text-row { border-top: 1px solid var(--sef-linea); border-bottom: 1px solid var(--sef-linea); padding: 34px 0; display: grid; grid-template-columns: 210px 1fr; gap: 170px; align-items: center; }
.sef-image-text-img img { /*width: 160px;*/ max-width: none; display: block; }
.sef-image-text-copy { /*max-width: 710px;*/ }
.sef-image-text-copy h2 { font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; font-size: clamp(1.35rem, 2vw, 1.5rem); line-height: 1.25; margin-bottom: 34px; }
.sef-image-text-copy p { font-size: 1rem; margin-bottom: 28px; }
.sef-link-green { color: #1e8000; font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif; font-size: 1rem; }
@media (max-width: 991px) {
  .sef-component-bg-card, .sef-component-text, .sef-accordion-wrap { width: 100%; margin-left: 0; }
  .sef-timeline-items { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 0; }
  .sef-people-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sef-contact-card { grid-template-columns: 1fr; gap: 30px; }
  .sef-image-text-row { grid-template-columns: 160px 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  .sef-component-bg { min-height: 0; padding: 70px 0; }
  .bloque-sef-texto-fondo .sef-component-bg  { padding-top: 40px; padding-bottom: 0; }
  .sef-component-bg-card { padding: 30px; }
  .sef-two-images, .sef-timeline-items { grid-template-columns: 1fr; }
  .sef-timeline-carousel { grid-template-columns: 1fr; }
  .sef-timeline-arrow { display: none; }
  .sef-timeline-card { border-left: 0; border-top: 1px solid var(--sef-linea); padding: 24px 0 0; min-height: 0; }
  .sef-timeline-card:first-child { border-top: 0; }
  .sef-single-image { width: 100%; }
  .sef-people-grid { grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
  .sef-person-item h3 { font-size: 1.1rem; line-height: 1; font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif; margin-bottom: .25rem; }
  .sef-image-text-row { grid-template-columns: 1fr; gap: 28px; }
}

/* Carrusel destacado en 4 columnas - responsive */

@media (max-width: 991.98px) {
  .sef-timeline-items { --sef-timeline-visible: 2; }
  .sef-timeline-card { padding-inline: 24px; }
}
@media (max-width: 575.98px) {
  .sef-timeline-carousel { grid-template-columns: 32px 1fr 32px; gap: 12px; }
  .sef-timeline-items { --sef-timeline-visible: 1; }
  .sef-timeline-card { padding-inline: 18px; }
  .sef-timeline-card:first-child { padding-left: 18px; }
  .sef-timeline-arrow { width: 32px; font-size: 40px; }
}



/* ==================================================
   Widget Imagen y texto
================================================== */
.bloque-sef-imagen-texto .sef-image-text-copy h1,
.bloque-sef-imagen-texto .sef-image-text-copy h2,
.bloque-sef-imagen-texto .sef-image-text-copy h3,
.bloque-sef-imagen-texto .sef-image-text-copy h4,
.bloque-sef-imagen-texto .sef-image-text-copy h5,
.bloque-sef-imagen-texto .sef-image-text-copy h6 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.5rem);
    line-height: 1.25;
    margin-bottom: 34px;
}
.bloque-sef-imagen-texto .sef-image-text-copy a:not(.sef-btn) {
    color: #1e8000;
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
.bloque-sef-imagen-texto .sef-image-text-copy > :last-child,
.bloque-sef-imagen-texto .sef-image-text-copy > :last-child > :last-child {
    margin-bottom: 0;
}
.bloque-sef-imagen-texto .sef-image-text-img img {
    height: auto;
}

/* ==================================================
   Ajustes WordPress sobre maqueta v11
================================================== */
/* Migas de pan automáticas con estructura Bootstrap */
.bloque-sef-cabecera .breadcrumb {
  margin-bottom: 0;
}
.bloque-sef-cabecera .breadcrumb-item.active {
  display: block;
}

/* Listados AJAX reutilizables */
.js-sef-ajax-listing.is-loading .js-sef-ajax-results,
.js-sef-ajax-listing.is-loading .js-sef-ajax-pagination-wrap {
	opacity: .45;
	pointer-events: none;
}

.sef-results-summary {
	margin: 1.5rem 0;
	font-weight: 600;
}

.sef-ajax-pagination {
	margin-top: 2rem;
}

/* Buscadores optimizados: patógenos y galería de enfermedades */
.sef-listing-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.sef-listing-heading h2 {
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.035em;
}
.sef-listing-about {
  min-width: min(100%, 520px);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid #c8c1b8;
  border-radius: 999px;
  padding: 13px 28px;
  color: #151515;
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: rgba(255,255,255,.32);
}
.sef-listing-about .sef-arrow {
  font-size: 2rem;
  line-height: .6;
}
.sef-listing-patogeno .sef-filter-panel,
.sef-listing-enfermedad .sef-filter-panel {
  position: relative;
  padding: 42px 88px 38px 32px;
  border-radius: 7px;
  margin-bottom: 40px;
}
.sef-listing-patogeno .sef-filter-grid,
.sef-listing-enfermedad .sef-filter-grid {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}
.sef-filter-field-compact {
  display: block;
}
.sef-filter-field-compact .form-control,
.sef-filter-field-compact .form-select {
  min-height: 54px;
  border: 0;
  border-radius: 7px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: 1rem;
}
.sef-filter-field-compact .form-control::placeholder {
  color: #9a9a9a;
  opacity: 1;
}
.sef-filter-field-dark .form-select {
  color: #fff;
  background-color: #777367;
  border-color: #777367;
}
.sef-filter-field-dark .form-select option {
  color: #1d1d1d;
  background: #fff;
}
.sef-filter-actions-icon {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0 !important;
}
.sef-filter-search-icon {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sef-verde-texto);
}
.sef-filter-search-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2;
}
.sef-listing-patogeno .sef-results-summary,
.sef-listing-enfermedad .sef-results-summary {
  margin: 0 0 42px;
  font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 1.15rem;
}
.sef-pathogen-table {
  width: 100%;
}
.sef-pathogen-table-head > div,
.sef-pathogen-table-row {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.05fr 1fr;
  gap: 54px;
  align-items: start;
}
.sef-pathogen-table-head > div {
  margin-bottom: 30px;
}
.sef-pathogen-table-head [role="columnheader"] {
  background: var(--sef-fondo-oscuro);
  border-radius: 7px;
  padding: 14px 24px;
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-pathogen-table-row {
  padding: 34px 0;
  border-top: 1px solid #d2cdc5;
  font-size: 1.06rem;
  line-height: 1.35;
}
.sef-pathogen-table-row:last-child {
  border-bottom: 1px solid #d2cdc5;
}
.sef-pathogen-table-row a {
  color: var(--sef-verde-texto);
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-enfermedad-grid {
  --bs-gutter-x: 2.2rem;
  --bs-gutter-y: 3rem;
}
.sef-enfermedad-card a {
  display: block;
  color: inherit;
}
.sef-enfermedad-card img {
  width: 100%;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
  margin-bottom: 20px;
}
.sef-enfermedad-card h3 {
  color: var(--sef-verde-texto);
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -.025em;
}
.sef-enfermedad-card p {
  color: #1d1d1d;
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 0;
}
@media (max-width: 991px) {
  .sef-listing-heading {
    display: block;
  }
  .sef-listing-about {
    margin-top: 18px;
    width: 100%;
    min-width: 0;
  }
  .sef-listing-patogeno .sef-filter-panel,
  .sef-listing-enfermedad .sef-filter-panel {
    padding: 24px;
  }
  .sef-filter-actions-icon {
    position: static;
    transform: none;
    display: flex;
    justify-content: flex-end;
    margin-top: 18px !important;
  }
  .sef-pathogen-table {
    overflow-x: auto;
  }
  .sef-pathogen-table-head,
  .sef-pathogen-table-body {
    min-width: 920px;
    display: block;
  }
}
@media (max-width: 575px) {
  .sef-listing-about {
    padding-left: 18px;
    padding-right: 18px;
    font-size: .92rem;
  }
}

/* ==================================================
   Ajustes puntuales: detalle de patógeno
   Tomados de la maqueta sin sustituir el CSS completo.
================================================== */
.bloque-sef-detalle-patogeno .sef-table-list {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.bloque-sef-detalle-patogeno .sef-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 0 0 1.5rem 0;
  border-bottom: 1px solid var(--sef-linea);
}
.bloque-sef-detalle-patogeno .sef-table-header > div {
  background: var(--sef-fondo-oscuro);
  border-radius: var(--sef-radius);
  padding: .5rem .5rem .5rem 1rem;
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: .97rem;
}
.bloque-sef-detalle-patogeno .sef-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sef-linea);
}
.bloque-sef-detalle-patogeno .sef-table-row span {
  color: var(--sef-muted);
}
.bloque-sef-detalle-patogeno .the_content,
.bloque-sef-detalle-patogeno .the_content > dl,
.bloque-sef-detalle-patogeno .the_content > ol,
.bloque-sef-detalle-patogeno .the_content > ul,
.bloque-sef-detalle-patogeno .the_content > p {
  font-size: 1.02rem;
  line-height: 1.48;
  margin-bottom: 24px;
}
.bloque-sef-detalle-patogeno .the_content > :last-child {
  margin-bottom: 0;
}
.bloque-sef-detalle-patogeno .the_content h2 {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.bloque-sef-detalle-patogeno .sef-actions {
  justify-content: start;
}
.bloque-sef.bloque-sef-compartir .a2a_kit {
  display: block !important;
  border-top: 1px solid var(--sef-linea) !important;
  border-bottom: 1px solid var(--sef-linea) !important;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

@media (max-width: 767px) {
  .bloque-sef-detalle-patogeno .sef-page-title {
    margin-bottom: 1rem !important;
  }
  .bloque-sef-detalle-patogeno .sef-actions,
  .bloque-sef-detalle-patogeno .sef-table-list {
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .bloque-sef.bloque-sef-compartir .a2a_kit {
    max-width: 595px;
  }
}

@media (min-width: 1200px) {
  .bloque-sef.bloque-sef-compartir .a2a_kit {
    max-width: 660px;
  }
}

@media (min-width: 1400px) {
  .bloque-sef-detalle-patogeno .sef-page-title {
    font-size: clamp(3rem, 2.75vw, 3rem);
  }
  .bloque-sef.bloque-sef-compartir .a2a_kit {
    max-width: 727px;
  }
}


/* ==================================================
   Galería de enfermedades: listado y detalle
   Añadido de forma puntual desde la maqueta sin reemplazar el CSS completo.
================================================== */
.bloque-sef-filtros-galeria .sef-grid-card {
  background: #FFFFFF;
  border-radius: var(--sef-radius);
  padding: 22px;
  height: 100%;
}
.bloque-sef-filtros-galeria .sef-grid-card img,
.bloque-sef-relacionados-galeria .sef-grid-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 18px;
}
.bloque-sef-filtros-galeria .sef-grid-card h3,
.bloque-sef-relacionados-galeria .sef-grid-card h3 {
  font-size: 1.07rem;
  line-height: 1.25;
  letter-spacing: -.0125em;
  margin-bottom: .5rem;
}
.bloque-sef-filtros-galeria .sef-grid-card p,
.bloque-sef-relacionados-galeria .sef-grid-card p {
  color: var(--sef-muted);
  margin-bottom: 16px;
}
.bloque-sef-filtros-galeria .sef-grid-card .sef-link-arrow,
.bloque-sef-relacionados-galeria .sef-grid-card .sef-link-arrow {
  color: var(--sef-verde-oscuro);
}
.bloque-sef-detalle-enfermedad .sef-white-panel > img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}
.bloque-sef-detalle-enfermedad .sef-text h2 {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2.15vw, 2.25rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.bloque-sef-detalle-enfermedad .sef-text h3 {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  margin-top: 28px;
}
.bloque-sef-detalle-enfermedad .sef-text p,
.bloque-sef-detalle-enfermedad .sef-text ul,
.bloque-sef-detalle-enfermedad .sef-text ol {
  color: #262626;
  font-size: 1.02rem;
  line-height: 1.48;
}
.bloque-sef-detalle-enfermedad .sef-meta-list {
  display: grid;
  gap: 16px;
}
.bloque-sef-detalle-enfermedad .sef-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sef-linea);
  font-size: .95rem;
}
.bloque-sef-detalle-enfermedad .sef-meta-item strong {
  color: var(--sef-verde-texto);
}
.bloque-sef-relacionados-galeria h2 {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  line-height: 1.15;
}

/* ==================================================
   Noticias: listado y cabecera automática de detalle
   Añadido de forma puntual desde la maqueta sin reemplazar el CSS completo.
================================================== */
.bloque-sef-listado-novedades .sef-filter-panel .sef-filter-grid {
  align-items: center;
}
.bloque-sef-listado-novedades .sef-filter-panel .sef-filter-field {
  display: block;
}
.bloque-sef-listado-novedades .sef-filter-panel .form-control {
  width: 100%;
}
.sef-filter-actions-inline {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sef-filter-actions-icon-inline .sef-filter-search-icon {
  width: 32px;
  height: 32px;
  color: var(--sef-verde-oscuro);
}
.sef-filter-actions-icon-inline .sef-filter-search-icon svg {
  width: 30px;
  height: 30px;
}
.bloque-sef-listado-novedades .sef-grid-card {
  background: transparent;
  border-radius: unset;
  padding: 0 1.5rem;
}
.bloque-sef-listado-novedades .sef-grid-card:hover {
  box-shadow: none;
  transform: none;
}
.bloque-sef-listado-novedades .sef-grid-card > a {
  color: var(--sef-texto);
}
.bloque-sef-listado-novedades .sef-grid-card img {
  border-radius: unset;
}
.bloque-sef-listado-novedades .sef-grid-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.bloque-sef-listado-novedades .sef-news-card-date {
  color: var(--sef-muted);
  margin-bottom: 16px;
}
.bloque-sef-detalle-novedad .sef-white-panel {
  padding: 30px;
  background: var(--sef-fondo-oscuro) !important;
}
.bloque-sef-detalle-novedad .image img {
  width: 100%;
  display: block;
}
.bloque-sef-detalle-novedad .sef-page-title {
  margin-bottom: 0;
  max-width: none;
}

@media (max-width: 767px) {
  .bloque-sef-listado-novedades .sef-grid-card {
    padding: 0 0;
  }
  .bloque-sef-listado-novedades .sef-grid-card h3 {
    font-size: 1.2rem;
  }
  .bloque-sef-detalle-novedad .sef-white-panel > .row > aside {
    margin-top: 1rem;
  }
  .sef-filter-actions-inline {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .bloque-sef-detalle-novedad .sef-white-panel > .row > aside {
    margin-top: 1.5rem;
  }
}

@media (min-width: 992px) {
  .bloque-sef-listado-novedades > .sef-container > .row {
    margin-left: 0;
    margin-right: 0;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div {
    position: relative !important;
    padding-bottom: 1.5rem !important;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div:before {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: -1.5rem !important;
    right: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background: var(--sef-linea) !important;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):before {
    left: 1.5rem !important;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 1px !important;
    height: calc(100% - 1.5rem) !important;
    background: var(--sef-linea) !important;
  }
}

@media (min-width: 1400px) {
  .bloque-sef-detalle-novedad .sef-page-title {
    font-size: clamp(1.75rem, 1.75vw, 2rem);
    line-height: 1.2;
  }
  .bloque-sef-listado-novedades .sef-grid-card {
    padding: 0 2.5rem;
  }
  .bloque-sef-detalle-novedad .col-lg-4 > .sef-text {
    margin-right: 1rem;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div {
    padding-bottom: 2.5rem !important;
    margin-bottom: 1.2rem;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div::before {
    left: -2.5rem !important;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):before {
    left: 2.5rem !important;
  }
  .bloque-sef-listado-novedades > .sef-container > .row > div:not(:nth-child(3n)):after {
    height: calc(100% - 2.5rem) !important;
  }
}
.sef-results-summary.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

/* ==================================================
   Congresos SEF: listado por fecha, estado y detalle
   Añadido de forma puntual desde la maqueta sin reemplazar el CSS completo.
================================================== */
.bloque-sef-listado-congresos .sef-grid-card .sef-tag {
  margin-bottom: 12px;
}
.bloque-sef-listado-congresos .sef-tag-finalizado {
  background: #ead9d6;
  color: #8a3b35;
}
.bloque-sef-listado-congresos .sef-tag-proximamente {
  background: #edf8e8;
  color: #377d22;
}
.bloque-sef-detalle-congreso .sef-congreso-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}
.bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn,
.bloque-sef-detalle-congreso .sef-congreso-resena-pdf .sef-btn {
  background: transparent;
  border-color: var(--sef-linea);
}
.bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn:hover,
.bloque-sef-detalle-congreso .sef-congreso-resena-pdf .sef-btn:hover {
  border-color: var(--sef-texto);
}
.bloque-sef-detalle-congreso .sef-white-panel > .row > div:first-child img {
  width: 100%;
  display: block;
}
.sef-congreso-gallery-modal .modal-content {
  background: var(--sef-fondo);
  border: 0;
  border-radius: var(--sef-radius);
  overflow: hidden;
}
.sef-congreso-gallery-modal .modal-dialog {
  width: min(725px, calc(100vw - 2rem));
  max-width: none;
}
.sef-congreso-gallery-modal .modal-header {
  border-bottom-color: var(--sef-linea);
}
.single-congreso .sef-congreso-gallery-modal .modal-body {
  padding: 0;
}
.single-congreso .sef-congreso-gallery-modal .carousel-inner {
  background: #111;
}
.single-congreso .sef-congreso-gallery-modal .carousel-item {
  position: relative;
  background: var(--sef-fondo);
}
.single-congreso .sef-congreso-gallery-modal .carousel-item img {
  width: 100%;
  height: min(70vh, 510px);
  object-fit: contain;
  background: #111;
  display: block;
}
.sef-congreso-gallery-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--sef-texto);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.sef-congreso-gallery-caption {
  padding: 1rem 1.25rem;
  color: var(--sef-texto);
  background: #fff;
}
.sef-congreso-gallery-actions {
  display: flex;
  justify-content: center;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
}

@media (max-width: 767px) {
  .bloque-sef-detalle-congreso .sef-congreso-actions {
    display: grid;
  }
  .bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn,
  .bloque-sef-detalle-congreso .sef-congreso-resena-pdf .sef-btn {
    width: 100%;
    justify-content: space-between;
  }
}
.sef-filter-panel-hidden {
  display: none !important;
}


/* ==================================================
   Ajustes Congresos SEF v1.7.9
   Estructura de maqueta sin paneles blancos en archivo y acciones alineadas.
================================================== */
.bloque-sef-texto-editorial .sef-component-text {
  padding-top: 0;
}
.bloque-sef-texto-editorial .sef-component-text > :last-child {
  margin-bottom: 0;
}
.bloque-sef-listado-congresos .sef-grid-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.bloque-sef-listado-congresos .sef-grid-card:hover {
  box-shadow: none;
  transform: none;
}
.bloque-sef-listado-congresos .sef-grid-card > a {
  color: var(--sef-texto);
}
.sef-tag-finalizado {
  background: #ead9d6;
  color: #8a3b35;
}
.sef-tag-proximamente {
  background: #edf8e8;
  color: #377d22;
}
.bloque-sef-detalle-congreso .sef-congreso-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.bloque-sef-detalle-congreso .sef-congreso-lead .sef-tag {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.bloque-sef-detalle-congreso .sef-congreso-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 1rem;
}
.bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn {
  white-space: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  background: transparent;
  border-color: var(--sef-linea);
}
.bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn:hover {
  border-color: var(--sef-texto);
}

@media (max-width: 991px) {
  .bloque-sef-detalle-congreso .sef-congreso-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .bloque-sef-detalle-congreso .sef-congreso-lead {
    display: grid;
    gap: .5rem;
  }
  .bloque-sef-detalle-congreso .sef-congreso-actions {
    display: grid;
  }
  .bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn {
    width: 100%;
  }
}

/* ==================================================
   Ajustes Congresos SEF v1.8.0
   Listado y detalle ajustados a la maqueta, sin paneles extra.
================================================== */
.tax-tipo_congreso .bloque-sef-texto-editorial .sef-component-text {
  padding-top: 0;
}
.tax-tipo_congreso .bloque-sef-texto-editorial .sef-component-text > :last-child {
  margin-bottom: 0;
}
.tax-tipo_congreso .bloque-sef-listado-congresos .sef-grid-card,
.post-type-archive-congreso .bloque-sef-listado-congresos .sef-grid-card {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.tax-tipo_congreso .bloque-sef-listado-congresos .sef-grid-card:hover,
.post-type-archive-congreso .bloque-sef-listado-congresos .sef-grid-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.tax-tipo_congreso .bloque-sef-listado-congresos .sef-grid-card > a,
.post-type-archive-congreso .bloque-sef-listado-congresos .sef-grid-card > a {
  color: var(--sef-texto);
}
.tax-tipo_congreso .bloque-sef-listado-congresos .sef-grid-card .image img,
.post-type-archive-congreso .bloque-sef-listado-congresos .sef-grid-card .image img {
  width: 100%;
  aspect-ratio: unset;
  object-fit: unset;
  border-radius: 0;
  margin-bottom: 1rem;
}
.single-congreso .bloque-sef-detalle-congreso .sef-white-panel {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.single-congreso .bloque-sef-detalle-congreso .sef-white-panel > .row > div:first-child img {
  width: 100%;
  display: block;
}
.single-congreso .bloque-sef-detalle-congreso .sef-congreso-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.single-congreso .bloque-sef-detalle-congreso .sef-congreso-lead .sef-tag {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 1rem;
}
.single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn {
  white-space: nowrap;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-color: var(--sef-linea);
}
.single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn:hover,
.single-congreso .bloque-sef-detalle-congreso .the_content > .sef-btn:hover {
  border-color: var(--sef-texto);
}
.single-congreso .bloque-sef-detalle-congreso .the_content > .sef-btn {
  background: transparent;
  border-color: var(--sef-linea);
}
.single-congreso .sef-congreso-gallery-modal .modal-content {
  background: var(--sef-fondo);
  border: 0;
  border-radius: var(--sef-radius);
  overflow: hidden;
}
.single-congreso .sef-congreso-gallery-modal .modal-dialog {
  width: min(725px, calc(100vw - 2rem));
  max-width: none;
}
.single-congreso .sef-congreso-gallery-modal .modal-header {
  border-bottom-color: var(--sef-linea);
}
.single-congreso .sef-congreso-gallery-modal .modal-body {
  padding: 0;
}
.single-congreso .sef-congreso-gallery-modal .carousel-inner {
  background: #111;
}
.single-congreso .sef-congreso-gallery-modal .carousel-item {
  position: relative;
  background: var(--sef-fondo);
}
.single-congreso .sef-congreso-gallery-modal .carousel-item img {
  width: 100%;
  height: min(70vh, 510px);
  object-fit: contain;
  background: #111;
  display: block;
}
.single-congreso .sef-congreso-gallery-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--sef-texto);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.single-congreso .sef-congreso-gallery-caption {
  padding: 1rem 1.25rem;
  color: var(--sef-texto);
  background: #fff;
}
.single-congreso .sef-congreso-gallery-actions {
  display: flex;
  justify-content: center;
  padding: 1rem 1.25rem 1.25rem;
  background: #fff;
}

@media (max-width: 991px) {
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-lead {
    /*display: grid;*/
    display: block;
    gap: .5rem;
  }
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-lead > span {
    display: block;
  }
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-lead .sef-tag {
    width: max-content;
    margin: 0 auto 1rem auto;
  }
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions {
    display: grid;
  }
  .single-congreso .bloque-sef-detalle-congreso .sef-congreso-actions .sef-btn,
  .single-congreso .bloque-sef-detalle-congreso .the_content > .sef-btn {
    width: 100%;
  }
}

/* ==================================================
   Ajustes Otros congresos v1.8.1
   Listado externo sin detalle navegable.
================================================== */
.bloque-sef-otros-congresos .sef-otros-congresos-row {
  color: var(--sef-texto);
}
.bloque-sef-otros-congresos .sef-otros-congresos-row:hover {
  color: var(--sef-texto);
}
.bloque-sef-otros-congresos a.sef-otros-congresos-row:hover .sef-link-green {
  color: #187900;
  opacity: .75;
}
.bloque-sef-otros-congresos .sef-image-text-copy > p:last-of-type {
  margin-bottom: 28px;
}
.bloque-sef-otros-congresos .sef-link-green {
  display: inline-flex;
}


/* ==================================================
   Ajustes buscadores Noticias/Biblioteca v1.8.2
================================================== */
.sef-listing-noticias .sef-filter-panel,
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-panel,
.sef-listing-diccionario .sef-filter-panel {
  position: relative;
}
.sef-listing-noticias .sef-filter-field > span:not(.screen-reader-text),
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-field > span:not(.screen-reader-text),
.sef-listing-diccionario .sef-filter-field > span:not(.screen-reader-text) {
  display: none !important;
}
.sef-listing-noticias .sef-filter-grid,
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-grid,
.sef-listing-diccionario .sef-filter-grid {
  align-items: center;
}
.sef-listing-noticias .sef-filter-field,
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-field,
.sef-listing-diccionario .sef-filter-field {
  display: block;
}
.sef-listing-noticias .sef-filter-panel .form-control,
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-panel .form-control,
.sef-listing-diccionario .sef-filter-panel .form-control {
  width: 100%;
}
.js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-actions-inline,
.sef-listing-diccionario .sef-filter-actions-inline {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .sef-listing-noticias .sef-filter-actions-inline,
  .js-sef-ajax-listing[data-listing="biblioteca"] .sef-filter-actions-inline,
  .sef-listing-diccionario .sef-filter-actions-inline {
    justify-content: flex-start;
  }
}

/* ==================================================
   Ajustes contenidos de grupo v1.8.3
   Listados por tipo y buscadores automáticos.
================================================== */
.sef-group-content-search .sef-filter-field > span:not(.screen-reader-text) {
  display: none !important;
}
.sef-group-content-search .sef-filter-field {
  display: block;
}
.sef-group-content-search .form-control {
  width: 100%;
}
.sef-group-content-search .sef-filter-actions-inline {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sef-group-news-archive .sef-grid-card,
.sef-group-publications-archive .sef-grid-card {
  height: 100%;
}
.sef-group-content-body > :last-child {
  margin-bottom: 0;
}
.sef-group-content-actions {
  justify-content: flex-start;
}
.bloque-sef-detalle-publicacion-grupo .sef-publicacion-datos {
  margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .sef-group-content-search .sef-filter-actions-inline {
    justify-content: flex-start;
  }
}

/* SEF v1.8.6 - botones de publicaciones restringidas */
.sef-button-panel > .sef-publication-locked-button {
    width: 100%;
    cursor: pointer;
}
.sef-button-panel > .sef-publication-locked-button[aria-describedby] {
    outline: none;
}
.sef-publicacion-entradilla p:last-child {
    margin-bottom: 0;
}

/* ==================================================
   Diccionario v2.0.4
   Modelo ACF: término, inglés, definición, véase y sinónimos.
================================================== */
.sef-listing-diccionario .sef-results-summary {
  margin: 0 0 34px;
  font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 1.15rem;
}
.sef-diccionario-list {
  border-top: 1px solid var(--sef-linea);
}
.sef-diccionario-entry {
  border-bottom: 1px solid var(--sef-linea);
  padding: 30px 0;
}
.sef-diccionario-entry-title {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.25;
  margin-bottom: 16px;
}
.sef-diccionario-entry-title a {
  color: var(--sef-texto);
}
.sef-diccionario-entry-title i {
  font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
  font-style: italic;
  color: var(--sef-muted);
}
.sef-diccionario-entry-definition {
  max-width: none;
  margin-bottom: 16px;
}
.sef-diccionario-entry-definition > :last-child {
  margin-bottom: 0;
}
.sef-diccionario-entry-meta {
  margin: 0 0 8px;
  color: #262626;
}
.sef-diccionario-entry-meta:last-child {
  margin-bottom: 0;
}
.sef-diccionario-entry-meta strong {
  color: var(--sef-texto);
}
.sef-diccionario-entry-meta a {
  color: var(--sef-verde-texto);
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.bloque-sef-detalle-diccionario .sef-diccionario-entry {
  border-top: 1px solid var(--sef-linea);
}
.bloque-sef-detalle-diccionario .sef-page-title {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .sef-diccionario-entry {
    padding: 24px 0;
  }
}


/* ==================================================
   Buscador de socios
================================================== */
.bloque-sef-buscador-socios .sef-member-access-notice {
    /*border-top: 1px solid var(--sef-linea);*/
    /*border-bottom: 1px solid var(--sef-linea);*/
    /*padding: 2rem 0;*/
}
.bloque-sef-buscador-socios .sef-member-access-notice h2 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    margin-bottom: 1rem;
    color: var(--sef-verde-texto);
}
.bloque-sef-buscador-socios .sef-member-access-notice p {
    max-width: 720px;
    margin-bottom: 1.5rem;
}
.sef-member-search-form {
    background: var(--sef-fondo-oscuro);
    border-radius: var(--sef-radius);
    padding: 1.35rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: center;
}
.sef-member-search-form input[type="search"] {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    padding: .75rem 1rem;
    font-size: 1rem;
    color: var(--sef-texto);
}
.sef-member-search-form button {
    border: 0;
    background: transparent;
    color: var(--sef-verde-oscuro);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sef-member-search-form button svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}
.sef-member-search-summary {
    margin-bottom: 1.75rem;
}
.sef-member-results {
    border-top: 1px solid var(--sef-linea);
}
.sef-member-results-header,
.sef-member-result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.sef-member-results-header {
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid var(--sef-linea);
}
.sef-member-results-header > div {
    background: var(--sef-fondo-oscuro);
    border-radius: var(--sef-radius);
    padding: .65rem 1rem;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-member-result-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--sef-linea);
}
.sef-member-result-row strong {
    color: var(--sef-verde-oscuro);
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-member-result-empty {
    display: block;
}
.sef-member-result-empty p {
    margin: 0;
}
@media (max-width: 767px) {
    .sef-member-search-form {
        grid-template-columns: 1fr auto;
        padding: 1rem;
        gap: .75rem;
    }
    .sef-member-results-header {
        display: none;
    }
    .sef-member-result-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}

/* ==================================================
   Buscador de socios v1.9.9
================================================== */
.sef-member-search-form {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 2.5rem;
    display: block;
}
.sef-member-search-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 2.4rem;
    align-items: end;
}
.sef-member-search-field label {
    display: block;
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    line-height: 1.15;
    margin-bottom: .45rem;
    color: var(--sef-texto);
}
.gform-body .gfield .ginput_container > select,
.gform-body .gfield .ginput_container > textarea,
.gform-body .gfield .ginput_container > input[type="text"],
.gform-body .gfield .ginput_container > input[type="email"],
.gform-body .gfield .ginput_container > input[type="tel"],
.gform-body .gfield .ginput_container > input[type="url"],
.gform-body .gfield .ginput_container > input[type="number"],
.gform-body .gfield .ginput_container > input[type="password"],
.sef-member-search-field input,
.sef-member-search-field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cfcac3;
    border-radius: 3px;
    background: #fff;
    padding: .45rem .7rem;
    font-size: 1rem;
    color: var(--sef-texto);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.gform-body .gfield input[type="checkbox"] {
    border: 1px solid #cbc7bf;
}
.sef-member-search-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #397db3 50%), linear-gradient(135deg, #397db3 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 10px) 50%;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
}
.sef-member-search-actions {
    display: flex;
    align-items: end;
    min-height: 42px;
}
.sef-member-search-actions .sef-btn {
    min-height: 42px;
    border-radius: 4px;
    padding: .45rem 1.05rem;
}
.sef-member-search-summary {
    margin-bottom: 1.75rem;
}
.sef-member-profile-results {
    border-top: 1px solid var(--sef-linea);
}
.sef-member-profile-card {
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--sef-linea);
    font-size: 1.05rem;
    line-height: 1.6;
}
.sef-member-profile-card p {
    margin: 0 0 .2rem 0;
}
.sef-member-profile-card strong {
    color: var(--sef-verde-oscuro);
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
}
.sef-member-profile-card a {
    overflow-wrap: anywhere;
}
.sef-member-result-empty {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--sef-linea);
}
@media (max-width: 767px) {
    .sef-member-search-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .sef-member-search-actions {
        min-height: 0;
    }
    .sef-member-profile-card {
        font-size: 1rem;
        line-height: 1.45;
    }
}

/* Socios protectores */
.sef-socios-protectores-intro {
    margin-bottom: 32px;
}
.sef-socios-protectores-grid {
    align-items: stretch;
}
.sef-socio-protector-card {
    display: flex;
    flex-direction: column;
}
.sef-socio-protector-card .sef-socio-protector-image img {
    object-fit: contain;
    background: #FFFFFF;
}
.sef-socio-protector-card h3 {
    margin-bottom: .75rem;
}
.sef-socio-protector-presentation {
    color: var(--sef-muted);
    margin-bottom: 1rem;
}
.sef-socio-protector-presentation > :last-child {
    margin-bottom: 0;
}
.sef-socio-protector-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: auto;
}


/* Ajustes Socios protectores */
.fluid-img {
  max-width: 100%;
  height: auto;
  display: block;
}
.bloque-sef-socios-protectores .sef-image-text-row:first-child {
  border-top: 1px solid var(--sef-linea);
}
.bloque-sef-socios-protectores .sef-image-text-row + .sef-image-text-row {
  border-top: 0;
}
.bloque-sef-socios-protectores nav {
  margin-top: 42px;
}
.bloque-sef-socios-protectores .sef-image-text-copy > :last-child {
  margin-bottom: 0;
}


/* ==================================================
   Widget Noticias y Revista
================================================== */
.bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
    display: block;
}
.bloque-sef-revista-noticias .sef-split-card a {
    color: var(--sef-texto);
}
.bloque-sef-revista-noticias .sef-news-card {
    color: var(--sef-texto);
}
.bloque-sef-revista-noticias .sef-news-card img {
    aspect-ratio: 1.422 / 1;
    object-fit: cover;
    width: 100%;
    margin-bottom: 18px;
}
.bloque-sef-revista-noticias .sef-date {
    color: #222;
    margin-bottom: 12px;
}
.bloque-sef-revista-noticias .sef-news-card h3 {
    font-size: 1.33rem;
    line-height: 1.33;
    margin: 0;
}
@media (max-width: 767px) {
    .bloque-sef-revista-noticias .sef-news-card h3 {
        font-size: 1.05rem;
        line-height: 1.1;
    }
    .bloque-sef-revista-noticias > .sef-container > .row > div:first-child {
        order: 2 !important;
    }
    .bloque-sef-revista-noticias > .sef-container > .row > div:last-child {
        order: 1 !important;
    }
    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
        /*margin: 0 10% 1rem 10%;*/
        margin: 0 auto;
        text-align: center;
    }
    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a > img {
        max-width: 160px;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:first-child > .sef-news-card {
        padding-right: 0;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:last-child > .sef-news-card {
        padding-left: 0;
    }
    .bloque-sef-revista-noticias .sef-split-card .sef-news-separator {
        border-left: 0;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .bloque-sef-revista-noticias .sef-split-card .row > div:first-child > a {
        margin-right: 1.5rem;
    }
    .bloque-sef-revista-noticias .sef-split-card .row > div:last-child > a {
        margin-left: 1.5rem;
    }
    .bloque-sef-revista-noticias .sef-news-separator {
        border-left: 1px solid var(--sef-linea);
    }
    .bloque-sef-revista-noticias .sef-split-card > .sef-block-head + a {
        margin: 0 0;
    }
}

/* ==================================================
   Ajustes WordPress cabeceras v2.2.0
================================================== */
.sef-wp-main.content {
    display: block;
    width: 100%;
}

.pre-header {
    text-align: center;
    background: #efeae3;
}
.pre-header > a {
    display: block;
}
.pre-header > a > img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: 80px !important;
    padding: .8rem 0;
    object-fit: contain;
}

.sef-header .sef-logo,
.sef-header .sef-logo:hover,
.sef-header .sef-logo:focus {
    display: inline-flex;
    align-items: end;
    gap: 14px;
    color: var(--sef-verde-texto);
    line-height: 1.1;
    text-decoration: none;
    min-width: 0;
}
.sef-header .sef-logo img {
    display: block;
    width: auto !important;
    max-width: none;
    object-fit: contain;
    flex: 0 0 auto;
}
.sef-header .sef-logo span {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif !important;
    font-weight: normal !important;
    text-align: left;
}
.sef-header-geddi .sef-logo {
}
.sef-header-geddi .sef-logo,
.sef-header-geddi .sef-logo:hover,
.sef-header-geddi .sef-logo:focus {
    align-items: center;
    gap: 14px;
}
.sef-header-geddi .sef-logo img {
    height: auto !important;
    max-height: 135px !important;
    max-width: 220px !important;
}
.sef-header-geddi .sef-logo span {
    max-width: 560px;
    font-size: 1.025rem;
}

.sef-header-actions {
    flex: 0 0 auto;
}
a.sef-icon-btn,
a.sef-icon-btn:hover,
a.sef-icon-btn:focus,
button.sef-icon-btn,
button.sef-icon-btn:hover,
button.sef-icon-btn:focus,
button.sef-menu-btn,
button.sef-menu-btn:hover,
button.sef-menu-btn:focus {
    color: var(--sef-texto);
    text-decoration: none;
}
.sef-header .sef-icon-btn svg,
.sef-header .sef-menu-btn svg {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    stroke-width: 2;
}

.sef-menu-list,
.sef-menu-list a {
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif !important;
    font-weight: normal !important;
    color: #FFFFFF;
}
.sef-menu-list li {
    list-style: none;
}
.sef-menu-list .sub-menu {
    display: block !important;
    list-style: none;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding-left: 1rem;
    margin: 0;
    transition: max-height .28s ease, opacity .18s ease, margin .28s ease, visibility 0s linear .28s;
}
.sef-menu-list .menu-item-has-children.is-open > .sub-menu {
    max-height: 900px;
    opacity: 1;
    visibility: visible;
    margin: .5rem 0;
    transition: max-height .28s ease, opacity .18s ease, margin .28s ease, visibility 0s linear 0s;
}
.sef-menu-list .menu-item-has-children > a {
    cursor: pointer;
}
.sef-menu-list .menu-item-has-children > a:after {
    content: "›";
    display: inline-block;
    margin-left: 1rem;
    font-size: 2rem;
    line-height: 1;
    transform: rotate(90deg);
    transition: transform .2s ease;
}
.sef-menu-list .menu-item-has-children.is-open > a:after {
    transform: rotate(-90deg);
}
.sef-menu-list .sub-menu a {
    padding: .35rem 0 .35rem 1rem;
    font-size: .95rem;
    opacity: .88;
}

body.logged-in .menu_sin_login,
body.logged-in .menu-sin-login {
    display: none !important;
}
body:not(.logged-in) .menu_con_login,
body:not(.logged-in) .menu-con-login {
    display: none !important;
}

@media (max-width: 767px) {
    .pre-header > a > img {
        max-height: 44px !important;
        padding: .5rem 0;
    }
    .sef-header-geddi .sef-logo {
        align-items: center;
    }
    .sef-header-geddi .sef-logo,
    .sef-header-geddi .sef-logo:hover,
    .sef-header-geddi .sef-logo:focus {
        gap: .5rem;
    }
    .sef-header-geddi .sef-logo img {
        max-height: 60px !important;
        max-width: 120px !important;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .6rem;
        line-height: 1;
        max-width: 180px;
    }
    .sef-header .sef-icon-btn[aria-label="Buscar"] {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .pre-header > a > img {
        max-height: 50px !important;
        padding: .5rem 0;
    }
    .sef-header-geddi .sef-logo img {
        max-height: 80px !important;
        max-width: 180px !important;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .725rem;
        line-height: 1.1;
        max-width: 240px;
    }
}
@media (min-width: 992px) {
    .pre-header > a > img {
        max-height: 60px !important;
        padding: .5rem 0;
    }
    .sef-header-geddi .sef-logo img {
        max-height: 90px !important;
        max-width: 200px !important;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .825rem;
        line-height: 1.1;
        max-width: 240px;
    }
}
@media (min-width: 1200px) {
    .pre-header > a > img {
        max-height: 60px !important;
        padding: .5rem 0;
    }
    .sef-header-geddi .sef-logo img {
        max-height: 120px !important;
        max-width: 220px !important;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .9rem;
        line-height: 1.25;
        max-width: 300px;
    }
}
@media (min-width: 1400px) {
    .pre-header > a > img {
        max-height: 65px !important;
        padding: .5rem 0;
    }
    .sef-header-geddi .sef-logo img {
        max-height: 135px !important;
        max-width: 230px !important;
    }
    .sef-header-geddi .sef-logo span {
        font-size: .9rem;
        line-height: 1.4;
        max-width: 300px;
    }
}

/* ==================================================
   Ajuste fino v2.2.5 - Patógenos archive/single
================================================== */
.sef-listing-patogeno .sef-listing-heading {
    display: none !important;
}
.sef-listing-patogeno.sef-archive-layout {
    padding-top: 0;
}
.sef-listing-patogeno .sef-filter-panel {
    background: var(--sef-fondo-oscuro);
    border-radius: var(--sef-radius);
    padding: 22px;
    margin-bottom: 32px;
}
.sef-listing-patogeno .sef-filter-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    align-items: center !important;
}
.sef-listing-patogeno .sef-filter-field-compact {
    display: block;
}
.sef-listing-patogeno .sef-filter-field-compact .form-control,
.sef-listing-patogeno .sef-filter-field-compact .form-select {
    min-height: 44px;
    border-radius: var(--sef-radius);
    border: 1px solid #d7d0c7;
    padding: .375rem .75rem;
    padding-right: 50px !important;
    font-size: 1rem;
}
.sef-listing-patogeno .sef-filter-field-dark .form-select {
    color: var(--sef-blanco);
    background-color: var(--sef-fondo-mas-oscuro);
    border-color: var(--sef-fondo-mas-oscuro);
}
.sef-listing-patogeno .sef-filter-actions-icon-inline {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sef-listing-patogeno .sef-filter-search-icon,
.sef-listing-patogeno .sef-filter-actions-icon-inline .sef-filter-search-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sef-listing-patogeno .sef-filter-search-icon img,
.sef-listing-patogeno .sef-filter-actions-icon-inline .sef-filter-search-icon img {
    width: 32px;
    height: 32px;
    display: block;
    max-width: none;
}
.sef-listing-patogeno .sef-results-summary {
    margin-bottom: 1.5rem;
}
.single-patogeno .bloque-sef-cabecera {
    padding-bottom: 1rem !important;
}
.single-patogeno .bloque-sef-detalle-patogeno {
    padding-top: 0;
}
.bloque-sef-detalle-patogeno .sef-page-title {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.5rem, 1.7vw, 1.75rem) !important;
    line-height: 1.15;
    margin-bottom: 1.5rem !important;
    max-width: none;
}
.bloque-sef-detalle-patogeno .sef-table-list {
    margin-bottom: 3rem !important;
}
.bloque-sef-compartir .addtoany_shortcode,
.bloque-sef-compartir .addtoany_content,
.bloque-sef-compartir .a2a_kit {
    margin: 0 !important;
}
.bloque-sef.bloque-sef-compartir .a2a_kit {
    display: block !important;
    border-top: 1px solid var(--sef-linea) !important;
    border-bottom: 1px solid var(--sef-linea) !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

@media (max-width: 991px) {
    .sef-listing-patogeno .sef-filter-panel {
        padding: 1rem;
    }
    .sef-listing-patogeno .sef-filter-actions-icon-inline {
        justify-content: flex-start;
    }
}


/* ==================================================
   Ajuste fino v2.2.6 - Galería de enfermedades
================================================== */
.post-type-archive-enfermedad .bloque-sef-cabecera {
    padding-bottom: .5rem !important;
}
.sef-listing-enfermedad .sef-listing-heading {
    display: none !important;
}
.sef-listing-enfermedad.sef-archive-layout {
    padding-top: 0;
}
.sef-listing-enfermedad .sef-filter-panel {
    background: var(--sef-fondo-oscuro);
    border-radius: var(--sef-radius);
    padding: 22px;
    margin-bottom: 32px;
}
.sef-listing-enfermedad .sef-filter-panel .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
.sef-listing-enfermedad .sef-filter-field-compact {
    display: block;
    margin-top: .3rem;
    margin-bottom: .3rem;
}
.sef-listing-enfermedad .sef-filter-field-compact .form-select,
.sef-listing-enfermedad .sef-filter-field-compact .form-control {
    min-height: 44px;
    border-radius: var(--sef-radius);
    border: 1px solid #d7d0c7;
    padding: .375rem .75rem;
    font-size: 1rem;
}
.sef-listing-enfermedad .sef-filter-field-dark .form-select {
    color: var(--sef-blanco);
    background-color: var(--sef-fondo-mas-oscuro);
    border-color: var(--sef-fondo-mas-oscuro);
}
.sef-listing-enfermedad .sef-filter-panel .col-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sef-listing-enfermedad .sef-filter-search-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sef-listing-enfermedad .sef-filter-search-icon img {
    width: 32px;
    height: 32px;
    display: block;
    max-width: none;
}
.bloque-sef-galeria-enfermedades .sef-grid-card > a {
    color: var(--sef-texto);
}
.bloque-sef-galeria-enfermedades .sef-grid-card .image img,
.bloque-sef-detalle-enfermedad .image img {
    width: 100%;
    object-fit: cover;
    display: block;
}
.bloque-sef-galeria-enfermedades .sef-grid-card .image img {
    aspect-ratio: 1.35 / 1;
    margin-bottom: 18px;
}
.bloque-sef-detalle-enfermedad .sef-white-panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
}
.bloque-sef-detalle-enfermedad .image img.mb-5 {
    max-height: 620px;
    margin-bottom: 3rem !important;
}
.bloque-sef-detalle-enfermedad .sef-page-title {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.5rem, 1.7vw, 1.75rem) !important;
    line-height: 1.15;
    margin-bottom: 1rem !important;
    max-width: none;
}
.bloque-sef-detalle-enfermedad .sef-lead {
    font-size: clamp(1.35rem, 1.5vw, 1.35rem);
    line-height: 1.5;
    max-width: none;
}
.bloque-sef-detalle-enfermedad .sef-meta-item strong {
    color: var(--sef-texto);
}
.bloque-sef-detalle-enfermedad .sef-block-head h2 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
}
.single-enfermedad .bloque-sef-cabecera {
    padding-bottom: 1rem !important;
}
.single-enfermedad .bloque-sef-detalle-enfermedad {
    padding-top: 0;
}
@media (max-width: 767px) {
    .sef-listing-enfermedad .sef-filter-panel .col-11,
    .sef-listing-enfermedad .sef-filter-panel .col-1 {
        width: 100%;
    }
    .sef-listing-enfermedad .sef-filter-panel .col-1 {
        justify-content: flex-start;
    }
}


/* ==================================================
   Ajuste fino v2.2.7 - cabeceras, migas y compartir
================================================== */
.bloque-sef-cabecera .sef-eyebrow {
    margin-bottom: 1rem;
}
.bloque-sef-cabecera.pb-2 {
    padding-bottom: .5rem !important;
}
.bloque-sef-cabecera.pb-3 {
    padding-bottom: 1rem !important;
}
.bloque-sef-cabecera .breadcrumb {
    margin-bottom: 0;
}
.bloque-sef-compartir .addtoany_shortcode,
.bloque-sef-compartir .addtoany_content,
.bloque-sef-compartir .a2a_kit {
    margin: 0 !important;
}
.bloque-sef.bloque-sef-compartir .a2a_kit {
    display: block !important;
    border-top: 1px solid var(--sef-linea) !important;
    border-bottom: 1px solid var(--sef-linea) !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.bloque-sef-cta-socio.sef-fixed-cta,
.sef-fixed-membership-cta {
    display: none !important;
}

/* ==================================================
   Ajuste widget Cabecera con texto v2.2.8
   HTML/CSS alineado con componentes.html de maqueta v11
================================================== */
.bloque-sef-texto-fondo {
    padding-top: 0;
    padding-bottom: 0;
}
.bloque-sef-texto-fondo .sef-component-bg {
    position: relative;
    min-height: unset;
    display: flex;
    align-items: end;
    overflow: hidden;
}
.bloque-sef-texto-fondo .sef-component-bg-image {
    position: absolute;
    inset: 0;
}
.bloque-sef-texto-fondo .sef-component-bg-image > img {
    max-width: none;
    width: 100%;
    height: auto;
}
.bloque-sef-texto-fondo .sef-component-bg-image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #efeae3 0%, transparent 40%),
        linear-gradient(to top, #efeae3 25%, transparent 50%),
        linear-gradient(to right, #efeae3 0%, transparent 40%),
        linear-gradient(to left, #efeae3 0%, transparent 40%);
}
.bloque-sef-texto-fondo .sef-component-bg .sef-container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.bloque-sef-texto-fondo .sef-component-bg-card {
    /*width: min(710px, 64%);*/
    width: 100%;
    margin-left: auto;
    background: #efeae3;
    padding: clamp(34px, 5vw, 70px);
    box-shadow: none;
    border-radius: 0;
}
.bloque-sef-texto-fondo .sef-component-bg-card h1,
.bloque-sef-texto-fondo .sef-component-bg-card h2,
.bloque-sef-texto-fondo .sef-component-bg-card .sef-page-title {
    font-size: clamp(2rem, 3.1vw, 3.55rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.bloque-sef-texto-fondo .sef-component-bg-card p {
    font-size: 1.02rem;
    line-height: 1.48;
    margin-bottom: 24px;
}
.bloque-sef-texto-fondo .sef-component-bg-card > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    main.content > .bloque-sef.bloque-sef-texto-fondo {
        margin-left: 0;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo > .sef-component-bg > .sef-container {
        margin-left: 30px;
        margin-right: 30px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        min-height: 0;
        padding: 40px 0 0;
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 100%;
        margin-left: 0;
        padding: 30px;
    }
    .bloque-sef-texto-fondo .sef-component-bg-image:after {
        background:
            linear-gradient(to bottom, #efeae3 0%, transparent 0%),
            linear-gradient(to top, #efeae3 25%, transparent 50%),
            linear-gradient(to right, #efeae3 0%, transparent 0%),
            linear-gradient(to left, #efeae3 0%, transparent 0%);
    }
}

@media (min-width: 768px) {
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 720px);
    }
    main.content > .bloque-sef-cabecera + .bloque-sef-texto-fondo {
        margin-top: -55px;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        padding-top: 60px;
    }
    .bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: clamp(21px, 1.1vw, 1.1rem);
    }
    .bloque-sef-dos-imagenes .sef-image-zoom-link:hover,
    .sef-single-image a.sef-image-link:hover {
        opacity: .85;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        max-width: 120px;
    }

    .bloque-sef-detalle-patogeno .sef-table-row > div > .data-label {
        display: none !important;
    }

    body.single .bloque-sef-detalle-novedad.pb-5 {
        padding-bottom: 30px !important;
    }

    body.single-patogeno main.content > .bloque-sef-detalle-patogeno .sef-table-list {
    }
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element .bloque-sef {
        padding-bottom: 50px;
    }
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element:only-child .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element:only-child .bloque-sef,
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element:last-child .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element:last-child .bloque-sef,
    body.single-patogeno main.content > .bloque-sef.bloque-sef-detalle-patogeno.pb-5 {
        padding-bottom: .5rem !important;
    }
    body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:only-child .bloque-sef,
    body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:last-child .bloque-sef {
        padding-bottom: .5rem;
    }

    /* Estirar <main> cuando hay poco contenido */
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    main.content {
        flex: 1;
    }

    /* ==================================================
       Ventana modal Galería Congresos
    ================================================== */
    .single-congreso .modal.sef-congreso-gallery-modal .modal-header {
        position: absolute !important;
        width: 100% !important;
        padding: 1rem 1.25rem !important;
        background-color: transparent !important;
        border: 0 !important;
        z-index: 2 !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .modal-header .btn-close {
        background-image: url('../img/icono/modal-icon-close.png') !important;
        background-repeat: no-repeat !important;
        background-size: 21px 21px !important;
        width: 21px !important;
        height: 21px !important;
        /*filter: invert(1);*/
    }
    .single-congreso .modal.sef-congreso-gallery-modal .modal-header .modal-title {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .sef-congreso-gallery-counter {
        top: auto !important;
        bottom: 60px !important;
        right: 1.25rem !important;
    }
    .single-congreso  .modal.sef-congreso-gallery-modal .sef-congreso-gallery-caption {
        position: absolute !important;
        bottom: 0 !important;
        padding: 0 180px 1rem 1.25rem !important;
        color: #FFFFFF !important;
        background: transparent !important;
        z-index: 1 !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .sef-congreso-gallery-actions {
        display: flex !important;
        justify-content: end !important;
        padding: 0 1.25rem 1rem 1.25rem !important;
        position: absolute !important;
        bottom: 0 !important;
        width: 100% !important;
        background: transparent !important;
        color: #FFFFFF !important;
        z-index: 1 !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .carousel-item {
        position: relative !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .carousel-item:before,
    .single-congreso .modal.sef-congreso-gallery-modal .carousel-item:after {
        position: absolute !important;
        width: 100% !important;
        height: 120px !important;
        left: auto !important;
        right: auto !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .carousel-item:before {
        top: 0 !important;
        content: "" !important;
        background: linear-gradient(to bottom,  rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 100%) !important;
    }
    .single-congreso .modal.sef-congreso-gallery-modal .carousel-item:after {
        bottom: 0 !important;
        content: "" !important;
        background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,.7) 100%) !important;
    }
    .single-congreso .modal .carousel-control-prev-icon {
        background-image: url('../img/icono/modal-icon-chevron-left.png') !important;
        background-repeat: no-repeat !important;
        background-size: 32px 32px !important;
        width: 32px !important;
        height: 32px !important;
    }
    .single-congreso .modal .carousel-control-next-icon {
        background-image: url('../img/icono/modal-icon-chevron-right.png') !important;
        background-repeat: no-repeat !important;
        background-size: 32px 32px !important;
        width: 32px !important;
        height: 32px !important;
    }
    .single-congreso .modal .carousel-control-next,
    .single-congreso .modal .carousel-control-prev {
        opacity: 1 !important;
    }
    .single-congreso .modal .carousel-control-next:hover,
    .single-congreso .modal .carousel-control-prev:hover {
        opacity: .7 !important;
    }
    /**/

    .bloque-sef {
        padding-bottom: 40px;
    }
}

@media (min-width: 992px) {
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 900px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 707px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        /*padding-top: 120px;*/
        padding-top: 60px;
    }
}

@media (min-width: 1200px) {
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 1000px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 800px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        /*padding-top: 160px;*/
        padding-top: 80px;
    }
}

@media (min-width: 1400px) {
    .bloque-sef-texto-fondo .sef-component-bg .sef-container {
        width: min(calc(100% - 32px), 1230px);
    }
    .bloque-sef-texto-fondo .sef-component-bg-card {
        width: 860px;
        margin: 0 auto;
        margin-right: 0;
    }
    .bloque-sef-texto-fondo .sef-component-bg {
        /*padding-top: 260px;*/
        padding-top: 130px;
    }
}


/* ==================================================
   Ajustes widgets Texto SEF v2.2.9
   El HTML del widget sigue la maqueta v11 y no necesita CSS propio en el plugin.
================================================== */
.bloque-sef-texto-editorial .sef-component-text > .sef-page-title {
    margin-bottom: 1.5rem;
}
.bloque-sef-enlaces-acordeon .accordion-body > .item p,
.bloque-sef-texto-editorial .sef-component-text > p {
    font-size: 1.02rem;
    line-height: 1.48;
    margin-bottom: 24px;
}
.bloque-sef-enlaces-acordeon .accordion-body > .item,
.bloque-sef-texto-editorial .sef-component-text {
    font-size: 1.02rem;
    line-height: 1.48;
}
.bloque-sef-texto-editorial .sef-component-actions {
    margin-top: 32px;
    gap: 18px;
    flex-wrap: wrap;
}
.bloque-sef-texto-editorial .sef-component-text > :last-child {
    margin-bottom: 0;
}

/* Widget Carrusel destacados */
.bloque-sef-carrusel-destacado-4 .sef-component-block-title:empty,
.bloque-sef-carrusel-destacado-4 .sef-timeline-card:empty {
    display: none;
}
.bloque-sef-carrusel-destacado-4 .sef-timeline-card > :last-child {
    margin-bottom: 0;
}
.bloque-sef-carrusel-destacado-4 .sef-timeline-card .sef-btn {
    margin-top: auto;
}

/* ==================================================
   Widget Imágenes
================================================== */
.bloque-sef-imagen figure,
.bloque-sef-imagen-ancho-completo figure,
.bloque-sef-dos-imagenes figure {
    margin: 0;
}
.bloque-sef-imagen a,
.bloque-sef-imagen-ancho-completo a,
.bloque-sef-dos-imagenes a {
    display: block;
}
main.content section.the_content .bloque-sef-imagen figure > a {
    display: inline-flex;
}
.sef-wide-image .sef-image-caption,
.sef-single-image .sef-image-caption,
.sef-two-image .sef-image-caption {
    color: var(--sef-muted);
    font-size: .9rem;
    line-height: 1.35;
    margin-top: .75rem;
}
.sef-two-image img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
    display: block;
    border-radius: 0;
}
.sef-image-zoom-link {
    cursor: zoom-in;
}
.sef-image-modal-open {
    overflow: hidden;
}
.sef-image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.sef-image-modal.is-open {
    display: flex;
}
.sef-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}
.sef-image-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.sef-image-modal-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
}
.sef-image-modal-caption {
    color: #ffffff;
    font-size: .95rem;
    line-height: 1.35;
    text-align: center;
    max-width: 860px;
}
.sef-image-modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 767px) {
    .sef-image-modal {
        padding: 16px;
    }
    .sef-image-modal-dialog {
        max-height: calc(100vh - 32px);
    }
    .sef-image-modal-img {
        max-height: calc(100vh - 110px);
    }
    .sef-image-modal-close {
        top: 8px;
        right: 8px;
    }
}

/* ==================================================
   Widget Formulario
================================================== */
.bloque-sef-formulario-contacto .sef-contact-card-no-copy {
    grid-template-columns: 1fr;
}
.bloque-sef-formulario-contacto .sef-contact-copy > :last-child,
.bloque-sef-formulario-contacto .sef-contact-form > :last-child {
    margin-bottom: 0;
}
.sef-form-card h1,
.sef-form-card h2,
.sef-form-card h3,
.sef-form-card h4,
.sef-form-card h5,
.sef-form-card h6,
.bloque-sef-formulario-contacto .sef-contact-copy h1,
.bloque-sef-formulario-contacto .sef-contact-copy h2,
.bloque-sef-formulario-contacto .sef-contact-copy h3,
.bloque-sef-formulario-contacto .sef-contact-copy h4,
.bloque-sef-formulario-contacto .sef-contact-copy h5,
.bloque-sef-formulario-contacto .sef-contact-copy h6 {
    font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
    line-height: 1.1;
    margin-bottom: 18px;
}
.sef-form-card h1,
.bloque-sef-formulario-contacto .sef-contact-copy h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}
.sef-form-card h2,
.bloque-sef-formulario-contacto .sef-contact-copy h2 {
    font-size: 1.5rem;
}
.sef-form-card h3,
.bloque-sef-formulario-contacto .sef-contact-copy h3 {
    font-size: 1.3rem;
}
.sef-form-card h4,
.sef-form-card h5,
.sef-form-card h6,
.bloque-sef-formulario-contacto .sef-contact-copy h4,
.bloque-sef-formulario-contacto .sef-contact-copy h5,
.bloque-sef-formulario-contacto .sef-contact-copy h6 {
    font-size: 1.1rem;
}
.bloque-sef-formulario-contacto .sef-contact-form .gform_wrapper,
.bloque-sef-formulario-contacto .sef-contact-form .gform_wrapper.gravity-theme {
    margin: 0;
}
.bloque-sef-formulario-contacto .sef-contact-form .gform_fields {
    row-gap: 1rem;
}
.bloque-sef-formulario-contacto .sef-contact-form .gfield_label,
.bloque-sef-formulario-contacto .sef-contact-form .gform-field-label {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.gform-body .gfield .ginput_container > select,
.gform-body .gfield .ginput_container > textarea,
.gform-body .gfield .ginput_container > input[type="text"],
.gform-body .gfield .ginput_container > input[type="email"],
.gform-body .gfield .ginput_container > input[type="tel"],
.gform-body .gfield .ginput_container > input[type="url"],
.gform-body .gfield .ginput_container > input[type="number"],
.gform-body .gfield .ginput_container > input[type="password"],
.bloque-sef-zona-socios-login .sef-form-card .form-control,
.bloque-sef-zona-socios-login .sef-form-card .form-select,
.bloque-sef-formulario-contacto .sef-contact-form input[type="text"],
.bloque-sef-formulario-contacto .sef-contact-form input[type="email"],
.bloque-sef-formulario-contacto .sef-contact-form input[type="tel"],
.bloque-sef-formulario-contacto .sef-contact-form input[type="url"],
.bloque-sef-formulario-contacto .sef-contact-form input[type="number"],
.bloque-sef-formulario-contacto .sef-contact-form input[type="password"],
.bloque-sef-formulario-contacto .sef-contact-form select,
.bloque-sef-formulario-contacto .sef-contact-form textarea {
    width: 100%;
    border: 1px solid #cbc7bf;
    border-radius: 7px;
    min-height: 42px;
    background: #ffffff;
    color: var(--sef-texto);
    font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
    font-size: .95rem;
    line-height: 1.35;
    padding: .55rem .75rem;
    box-shadow: none;
}
.gform-body .gfield input[type="checkbox"] {
    border: 1px solid #cbc7bf;
}
.bloque-sef-formulario-contacto .sef-contact-form textarea {
    min-height: 160px;
    resize: vertical;
}
.bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button,
.gform_wrapper .gform-body .gform-page-footer > .button,
.bloque-sef-formulario-contacto .sef-contact-form .gform_button button,
.bloque-sef-formulario-contacto .sef-contact-form input[type="submit"],
.bloque-sef-formulario-contacto .sef-contact-form button[type="submit"],
.bloque-sef-formulario-contacto .sef-contact-form .gform_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px !important;
    min-height: unset !important;
    padding: 0.5rem 1rem !important;
    border-radius: 999px !important;
    border: 1px solid var(--sef-verde) !important;
    background: var(--sef-verde) !important;
    color: var(--sef-texto) !important;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif !important;
    font-weight: normal !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}
.gform_wrapper .gform-body .gform-page-footer > .button:hover,
.bloque-sef-formulario-contacto .sef-contact-form .gform_button button:hover,
.bloque-sef-formulario-contacto .sef-contact-form input[type="submit"]:hover,
.bloque-sef-formulario-contacto .sef-contact-form button[type="submit"]:hover,
.bloque-sef-formulario-contacto .sef-contact-form .gform_button:hover,
.bloque-sef-area-personal .sef-member-zone-edit-form .gform-footer > .button:hover,
.gform_wrapper .gform-body .gform-page-footer > .button:hover,
.bloque-sef-formulario-contacto .sef-contact-form input[type="submit"]:hover,
.bloque-sef-formulario-contacto .sef-contact-form button[type="submit"]:hover,
.bloque-sef-formulario-contacto .sef-contact-form .gform_button:hover {
    transform: translateY(-.15rem);
    background: #36e000 !important;
    border-color: #36e000 !important;
}
.bloque-sef-formulario-contacto .sef-contact-form .gform_footer,
.bloque-sef-formulario-contacto .sef-contact-form .gform_page_footer {
    margin-top: 18px;
    padding-bottom: 0;
}
.bloque-sef-formulario-contacto .sef-contact-form .gfield_required,
.bloque-sef-formulario-contacto .sef-contact-form .gfield_error .gfield_label,
.bloque-sef-formulario-contacto .sef-contact-form .validation_message,
.bloque-sef-formulario-contacto .sef-contact-form .gform_validation_errors {
    color: #b00020;
}
.bloque-sef-formulario-contacto .sef-contact-form .gfield_error input,
.bloque-sef-formulario-contacto .sef-contact-form .gfield_error select,
.bloque-sef-formulario-contacto .sef-contact-form .gfield_error textarea {
    border-color: #b00020;
}

/* ==================================================
   Widget Desplegables
================================================== */
.bloque-sef-enlaces-acordeon .accordion-button span {
    display: block;
}
.bloque-sef-enlaces-acordeon .accordion-body .item > :last-child {
    margin-bottom: 0;
}


/* ==================================================
   Widget Galería / personas
================================================== */
.bloque-sef-galeria-personas .sef-person-image-link {
    display: block;
    color: inherit;
}
.bloque-sef-galeria-personas .sef-person-title-link {
    color: var(--sef-texto);
    font-family: inherit;
    font-weight: inherit;
}
.bloque-sef-galeria-personas .sef-person-title-link:hover {
    color: var(--sef-verde-oscuro);
}
.bloque-sef-galeria-personas .sef-person-text > :last-child {
    margin-bottom: 0;
}
.bloque-sef-galeria-personas .sef-person-text p {
    font-size: .98rem;
    margin: 0;
}

/* Widget Grupos */
.bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
    max-width: 160px;
    width: auto;
    height: auto;
}
.bloque-sef-grupos-home .sef-group-card .sef-btn {
    margin-top: .25rem;
}
@media (max-width: 767px) {
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        max-width: 120px;
    }
}

/* Widget Destacados */
.bloque-sef-carrusel-banners .sef-cta-text-white,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h1,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h2,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h3,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h4,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h5,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy h6,
.bloque-sef-carrusel-banners .sef-cta-text-white .sef-cta-copy p {
    color: #ffffff;
}
.bloque-sef-carrusel-banners .sef-cta-text-black,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h1,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h3,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h4,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h5,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h6,
.bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy p {
    color: var(--sef-texto);
}
.bloque-sef-carrusel-banners .sef-banner-slide > .sef-cta-image + .row {
    position: relative;
    z-index: 1;
}


/* Widget Socios protectores */
.bloque-sef-socios-protectores .owl-carousel.bloque-sef {
    padding: 0;
    margin-bottom: 34px;
}
.bloque-sef-socios-protectores .owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bloque-sef-socios-protectores .owl-carousel .item a {
    display: block;
}
.bloque-sef-socios-protectores .owl-carousel .item img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}
.bloque-sef-socios-protectores .sef-sponsors > :last-child {
    margin-bottom: 0;
}
.bloque-sef-socios-protectores .sef-link-green {
    line-height: 1;
}

/* ==================================================
   Ajuste v2.4.1 - imágenes de widgets y crops WP
================================================== */
.bloque-sef-imagen figure,
.bloque-sef-imagen-ancho-completo figure,
.bloque-sef-imagen .sef-single-image,
.bloque-sef-imagen-ancho-completo .sef-wide-image {
    margin-top: 0;
    margin-bottom: 0;
}

.sef-single-image a,
.sef-wide-image a,
.sef-two-images a,
.sef-image-text-img a,
.sef-person-item > a,
.sef-person-image-link {
    display: block;
}

.sef-single-image img,
.sef-wide-image img,
.sef-two-images img,
.sef-image-text-img img,
.sef-person-item img {
    display: block;
}

.sef-single-image img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
}

.sef-wide-image img {
    width: 100%;
    max-height: 600px;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
}

.sef-two-images img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    object-fit: cover;
}

.sef-image-caption {
    font-size: .9rem;
    color: var(--sef-muted);
    margin-top: .75rem;
    line-height: 1.35;
}

.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
.elementor .bloque-sef-imagen figure.sef-single-image,
.bloque-sef-imagen .sef-single-image {
    width: min(560px, 58%);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 587px;
        margin-left: auto;
        margin-right: 0;
    }
    .bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: clamp(21px, 1.1vw, 1.1rem);
    }
    .bloque-sef-grupos-home .sef-group-card {
        display: block;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo {
        place-items: start;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        max-width: 120px;
        margin-bottom: 1rem;
    }
    .bloque-sef-grupos-home .sef-group-card h3 {
        font-size: 1.15rem;
    }

    .bloque-sef {
        padding-bottom: 50px;
    }
}

@media (min-width: 1200px) {
    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 660px;
        margin-left: auto;
        margin-right: 0;
    }
    .bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: clamp(27px, 1.2vw, 1.2rem);
    }
    .bloque-sef-grupos-home .sef-group-card {
        display: flex;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo {
        place-items: center;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        max-width: 120px;
        margin-bottom: 0;
    }
    .bloque-sef-grupos-home .sef-group-card h3 {
        font-size: 1.15rem;
    }

    .bloque-sef {
        padding-bottom: 60px;
    }
}

@media (min-width: 1400px) {
    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image {
        width: 725px;
        margin-left: auto;
        margin-right: 0;
    }
    .bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: clamp(35px, 1.5vw, 1.5rem);
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        max-width: 160px;
    }
    .bloque-sef-grupos-home .sef-group-card h3 {
        font-size: 1.3rem;
    }

    .bloque-sef {
        padding-bottom: 72px;
    }
}

@media (max-width: 767px) {
    .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) figure.sef-single-image,
    .elementor .bloque-sef-imagen figure.sef-single-image,
    .bloque-sef-imagen .sef-single-image,
    .sef-single-image {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==================================================
   Ajuste v2.4.2 - bloques SEF montados con Elementor

   La maqueta usa .bloque-sef + .bloque-sef, pero Elementor
   inserta wrappers entre widgets. Estas reglas aplican el mismo
   comportamiento cuando los bloques SEF están dentro de widgets
   o contenedores de Elementor.
================================================== */
.elementor .elementor-element {
    --widgets-spacing: 0 0 !important;
    --widgets-spacing-row: 0 !important;
    --widgets-spacing-column: 0 !important;
    margin: 0 0 !important;
    padding: 0 0 !important;
}
.elementor-widget:has(> .elementor-widget-container > .bloque-sef) {
    margin-bottom: 0;
}

.elementor-widget:has(> .elementor-widget-container > .bloque-sef) > .elementor-widget-container {
    margin: 0;
}

main.content > .bloque-sef:first-child,
main.content > .bloque-sef:only-child,
body.single-post .elementor + .bloque-sef-compartir,
main.content > .elementor > .elementor-element:first-child .bloque-sef,
.elementor-widget:has(> .elementor-widget-container > .bloque-sef) +
.elementor-widget:has(> .elementor-widget-container > .bloque-sef) >
.elementor-widget-container > .bloque-sef,
.elementor-widget:has(.bloque-sef) +
.elementor-widget:has(.bloque-sef) .bloque-sef:first-child,
.elementor-section:has(.bloque-sef) +
.elementor-section:has(.bloque-sef) .bloque-sef:first-child,
.e-con:has(.bloque-sef) +
.e-con:has(.bloque-sef) .bloque-sef:first-child {
    padding-top: 0;
}

/* Si Elementor genera separación propia entre widgets SEF consecutivos,
   se anula para que mande el padding del bloque de la maqueta. */
.elementor-widget:has(.bloque-sef) + .elementor-widget:has(.bloque-sef) {
    margin-top: 0;
}

/* ==================================================
   Socios: buscador, detalle y área personal v2.4.3
================================================== */
.bloque-sef-buscador-socios,
.bloque-sef-socio-detalle,
.bloque-sef-area-personal {
    padding-top: 0;
}
.bloque-sef-buscador-socios > .sef-container,
.bloque-sef-socio-detalle > .sef-container,
.bloque-sef-area-personal > .sef-container,
.bloque-sef-area-personal-cabecera > .sef-container {
    max-width: 1100px;
}
.bloque-sef-area-personal-cabecera + .bloque-sef-area-personal > .sef-container > .sef-member-data-section:first-child {
    border-top: 0;
    padding-top: .5rem;
}
.bloque-sef-buscador-socios .sef-filter-panel,
.sef-member-search-form.sef-filter-panel {
    background: var(--sef-fondo-oscuro);
    border-radius: 6px;
    padding: 25px 32px;
    margin-bottom: 48px;
    display: block;
}
.sef-member-search-layout {
    display: grid;
    grid-template-columns: 1fr 34px;
    gap: 22px;
    align-items: center;
}
.sef-member-search-main {
    display: grid;
    gap: 16px;
}
.sef-member-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.sef-member-search-row-top {
    grid-template-columns: 1fr 2.08fr;
}
.sef-member-search-field label {
    display: none;
}
.sef-member-search-field input,
.sef-member-search-field select,
.sef-member-search-field .form-control,
.sef-member-search-field .form-select {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    padding: .45rem 1rem;
    font-size: .95rem;
    line-height: 1.2;
    box-shadow: none;
}
.sef-member-search-field input,
.sef-member-search-field .form-control {
    background: #fff;
    color: var(--sef-texto);
}
.sef-member-search-field input::placeholder,
.sef-member-search-field .form-control::placeholder {
    color: #7f7f7f;
    opacity: 1;
}
.gform-body .gfield .ginput_container > select {
}
.sef-member-search-field select,
.sef-member-search-field .form-select {
    appearance: none;
    background-color: var(--sef-fondo-mas-oscuro);
    border-color: var(--sef-fondo-mas-oscuro);
    color: #fff;
    background-image: url('../img/icono/icon-arrow-down.png') !important;
    background-repeat: no-repeat !important;
    background-position: right .75rem center !important;
    background-size: 20px 12px !important;
    padding-right: 2.4rem;
}
.sef-member-search-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.sef-member-search-actions button:not(.sef-filter-search-icon) {
    border: 0;
    background: transparent;
    padding: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sef-member-search-actions button:not(.sef-filter-search-icon) img {
    width: 26px;
    height: auto;
    display: block;
}
.sef-member-search-summary {
    margin: 0 0 28px;
    font-size: 1.05rem;
}
.sef-member-results-table,
.sef-member-profile-results {
    border-top: 0;
}
.sef-member-results-header,
.sef-member-result-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.sef-member-results-header {
    padding: 0 0 30px;
    border-bottom: 1px solid var(--sef-linea);
}
.sef-member-results-header > div {
    background: var(--sef-fondo-oscuro);
    border-radius: 5px;
    padding: .55rem .85rem;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: .95rem;
    color: var(--sef-texto);
}
.sef-member-result-row {
    padding: 20px 0;
    border-bottom: 1px solid var(--sef-linea);
    font-size: 1rem;
    line-height: 1.25;
}
.sef-member-result-row a {
    color: #187900;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-member-result-empty {
    border-bottom: 1px solid var(--sef-linea);
    padding: 1.5rem 0;
}

.bloque-sef-socio-detalle .sef-member-data-section,
.bloque-sef-area-personal .sef-member-data-section {
    display: grid;
    grid-template-columns: minmax(220px, 36%) 1fr;
    gap: 42px;
    padding: 28px 0;
    border-top: 1px solid var(--sef-linea);
}
.bloque-sef-socio-detalle .sef-member-data-section:last-child,
.bloque-sef-area-personal .sef-member-data-section:last-of-type {
    border-bottom: 1px solid var(--sef-linea);
}
.sef-member-data-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.sef-member-data-title h2 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0;
}
.sef-member-data-copy {
    font-size: 1.05rem;
    line-height: 1.2;
}
.sef-member-data-line {
    margin: 0;
}
.sef-member-data-line:not(:last-child) {
    margin-bottom: 22px;
}
.sef-member-data-line strong,
.sef-member-data-line b {
    display: block;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-weight: normal;
}
.sef-member-data-line a,
.sef-member-data-copy a {
    color: #187900;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
}
.sef-member-edit-link {
    color: #187900;
    font-size: 1.2rem;
    line-height: 1;
    padding: 2px 4px;
}
.sef-member-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--sef-linea);
}
.sef-member-zone-title-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}
.sef-member-zone-head .sef-page-title {
    margin: 0;
}
.sef-member-votes-btn {
    min-height: 30px;
    padding: .35rem 1rem;
    font-size: .95rem;
}
.sef-member-logout {
    color: #187900;
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
.sef-member-zone-edit-form {
    margin-top: 42px;
}
.sef-member-zone-edit-form .sef-form-card {
    background: #fff;
    border-radius: 6px;
    padding: clamp(28px, 4vw, 56px);
}
.sef-member-pending-email-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.sef-member-pending-email-actions form {
    margin: 0;
}

@media (max-width: 991px) {
    .sef-member-search-row,
    .sef-member-search-row-top {
        grid-template-columns: 1fr 1fr;
    }
    .bloque-sef-socio-detalle .sef-member-data-section,
    .bloque-sef-area-personal .sef-member-data-section {
        grid-template-columns: minmax(190px, 32%) 1fr;
        gap: 28px;
    }
}
@media (max-width: 767px) {
    .bloque-sef-buscador-socios .sef-filter-panel,
    .sef-member-search-form.sef-filter-panel {
        padding: 18px;
        margin-bottom: 32px;
    }
    .sef-member-search-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .sef-member-search-main {
        gap: .05rem;
    }
    .sef-member-search-row,
    .sef-member-search-row-top {
        grid-template-columns: 1fr;
        gap: .05rem;
    }
    .sef-member-search-actions {
        justify-content: flex-start;
    }
    .sef-member-results-header {
        display: none;
    }
    .sef-member-result-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }
    .sef-member-result-row > div::before {
        content: attr(data-label) ': ';
        font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    }
    .sef-member-result-row > div:empty {
        display: none;
    }
    .sef-member-zone-head,
    .sef-member-zone-title-actions {
        /*align-items: flex-start;*/
        /*flex-direction: column;*/
        /*gap: 14px;*/
        align-items: center;
        flex-direction: unset;
        gap: 0;
    }
    .bloque-sef-socio-detalle .sef-member-data-section,
    .bloque-sef-area-personal .sef-member-data-section {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }
    .sef-member-data-title h2 {
        font-size: 1.2rem;
    }
    .sef-member-data-copy {
        font-size: 1rem;
    }
}

/* Zona de socios - formularios separados y cambio de contraseña */
.sef-member-zone-edit-form {
    margin-top: clamp(24px, 4vw, 48px);
}
.sef-member-readonly-fields {
    border-top: 1px solid var(--sef-linea);
    border-bottom: 1px solid var(--sef-linea);
    padding: 1rem 0;
}
.sef-member-readonly-fields p {
    margin-bottom: .5rem;
}
.sef-member-readonly-fields p:last-child {
    margin-bottom: 0;
}
.sef-member-change-password h2 {
    font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
}

/* Votaciones de socios con Gravity Forms */
.sef-member-vote-notice {
    border-top: 1px solid var(--sef-linea);
    border-bottom: 1px solid var(--sef-linea);
    padding: 1.25rem 0;
    margin: 1.5rem 0;
    font-size: 1.02rem;
}
.sef-member-vote-notice p {
    margin: 0;
}
.sef-member-vote-notice a {
    color: var(--sef-verde-oscuro);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sef-member-vote-notice-info {
    color: var(--sef-texto);
}
.sef-member-vote-notice-warning {
    color: var(--sef-verde-oscuro);
}

/* ==================================================
   SEF v2.4.6 - Diccionario en dos columnas y zona socios
================================================== */
.sef-member-votes-btn {
  display: none !important;
}

.sef-listing-diccionario .sef-diccionario-list {
  border-top: 1px solid var(--sef-linea);
}

.sef-listing-diccionario .sef-diccionario-entry {
  display: grid;
  grid-template-columns: minmax(180px, 28%) 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  border-bottom: 1px solid var(--sef-linea);
  padding: 28px 0 30px;
}

.sef-listing-diccionario .sef-diccionario-entry-term {
  min-width: 0;
}

.sef-listing-diccionario .sef-diccionario-entry-title {
  font-family: 'GoogleSans-Medium', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 1.02rem;
  line-height: 1.18;
  margin: 0 0 2px;
}

.sef-listing-diccionario .sef-diccionario-entry-english {
  font-size: .88rem;
  line-height: 1.2;
  color: var(--sef-texto);
}

.sef-listing-diccionario .sef-diccionario-entry-english i {
  font-family: 'GoogleSans-Regular', Arial, Helvetica, sans-serif;
  font-style: italic;
  color: var(--sef-texto);
}

.sef-listing-diccionario .sef-diccionario-entry-content {
  min-width: 0;
}

.sef-listing-diccionario .sef-diccionario-entry-definition {
  font-size: .98rem;
  line-height: 1.42;
  margin-bottom: 22px;
}

.sef-listing-diccionario .sef-diccionario-entry-definition p {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 18px;
}

.sef-listing-diccionario .sef-diccionario-entry-definition > :last-child {
  margin-bottom: 0;
}

.sef-listing-diccionario .sef-diccionario-entry-meta {
  font-size: .96rem;
  line-height: 1.35;
  margin: 0 0 4px;
}

.sef-listing-diccionario .sef-diccionario-entry-meta strong {
  font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
  font-weight: normal;
}

.sef-listing-diccionario .sef-diccionario-entry-meta a {
  color: var(--sef-verde-texto);
  font-family: 'GoogleSans-SemiBold', Arial, Helvetica, sans-serif;
  font-weight: normal;
}

@media (max-width: 767px) {
    body.archive main.content > .bloque-sef.entradilla-listado > .sef-container {
        padding-top: .5rem;
    }
    .sef-listing-diccionario .sef-diccionario-entry {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
    }

    .sef-listing-diccionario .sef-diccionario-entry-title {
        font-size: 1.15rem;
    }
    .sef-member-search-summary {
        margin-bottom: 1rem;
    }
    .bloque-sef-buscador-socios .sef-member-results {
        border-top: 1px solid var(--sef-linea);
    }
    .bloque-sef-buscador-socios .sef-member-search-actions {
        display: none;
    }
    .bloque-sef-carrusel-banners .sef-cta-text-black .sef-cta-copy h2,
    .bloque-sef-carrusel-banners .verde .sef-cta-copy h2 {
        font-size: clamp(21px, 1vw, 1.35rem);
    }
    .bloque-sef-otros-congresos > .sef-container > a:first-child {
        border-top: none;
    }
    .bloque-sef-listado-congresos .sef-grid-card > a {
        border-bottom: 1px solid var(--sef-linea);
    }
    .bloque-sef-listado-publicaciones .publicacion {
    }
    .bloque-sef-listado-publicaciones .publicacion,
    .bloque-sef-listado-publicaciones .publicacion .image,
    .bloque-sef-listado-publicaciones .publicacion h3 {
        text-align: center;
    }
    .bloque-sef-listado-publicaciones .publicacion .image > img {
        max-width: 160px;
    }
    .bloque-sef-listado-publicaciones .publicacion h3 {
        margin-bottom: 0;
    }

    .bloque-sef-grupos-home .sef-group-card {
        display: block;
        text-align: center;
    }
    .bloque-sef-grupos-home .sef-group-card .sef-group-logo img {
        margin-bottom: 1rem;
    }

    .bloque-sef-detalle-patogeno .sef-table-header {
        display: none;
    }
    .bloque-sef-detalle-patogeno .sef-table-row {
        display: block;
        padding: 0 0;
    }
    .bloque-sef-detalle-patogeno .sef-table-row > div {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--sef-linea);
    }
    .bloque-sef-detalle-patogeno .sef-table-row > div:last-child {
        border-bottom: 0 !important;
    }
    .bloque-sef-detalle-patogeno .sef-table-row > div > .data-label {
        display: block;
        font-weight: 700;
        margin-bottom: .25rem;
        background: var(--sef-fondo-oscuro);
        border-radius: var(--sef-radius);
        padding: .25rem .75rem .25rem .5rem;
        max-width: fit-content;
    }

    .sef-member-search-row,
    .sef-member-search-row-top,
    .sef-member-search-row > .sef-member-search-field {
        margin-bottom: .5rem;
    }
    .sef-member-search-main > .sef-member-search-row:last-child,
    .sef-member-search-row > .sef-member-search-field:last-child {
        margin-bottom: 0;
    }

    .bloque-sef-imagen.bloque-sef-imagen-vertical .sef-vertical-image {
        text-align: center;
    }

    body.single-patogeno main.content > .bloque-sef-detalle-patogeno .sef-table-list {
    }
    body.single .bloque-sef-detalle-novedad.pb-5 {
        padding-bottom: 1.5rem !important;
    }
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element + .elementor-element .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element + .elementor-element .bloque-sef {
        padding-bottom: 50px;
    }
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element:only-child .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element:only-child .bloque-sef,
    body.single section.the_content .elementor-element > .e-con-inner > .elementor-element:last-child .bloque-sef,
    body.wp-singular section.the_content .elementor-element > .e-con-inner > .elementor-element:last-child .bloque-sef,
    body.single-patogeno main.content > .bloque-sef.bloque-sef-detalle-patogeno.pb-5 {
        padding-bottom: .5rem !important;
    }
    body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:only-child .bloque-sef,
    body.single main.content .the_content .elementor-element > .elementor-element.elementor-widget:last-child .bloque-sef {
        padding-bottom: .5rem;
    }

    .bloque-sef {
        padding-bottom: 30px;
    }
}


/* Widget Carrusel destacados - se ocultan las flechas cuando no hace falta, sin cambiar la maqueta */
.bloque-sef-carrusel-destacado-4 .sef-timeline-carousel.is-carousel-disabled .sef-timeline-arrow {
    visibility: hidden;
    pointer-events: none;
}


/* ==================================================
   Contenidos de grupo - simplificación plantillas y acceso socios
================================================== */
.sef-group-content-locked-link {
  cursor: pointer;
}

.sef-group-content-locked-link[aria-describedby] {
  outline: none;
}

.sef-members-only-panel {
  padding: clamp(28px, 4vw, 48px);
}

.sef-members-only-panel .sef-page-title {
  margin-bottom: 1.25rem;
}

.sef-members-only-panel .sef-lead {
  margin-bottom: .75rem;
}

.bloque-sef-contenido-grupo-restringido {
  padding-bottom: 4rem;
}
