.elementor-3738 .elementor-element.elementor-element-bb36f4d{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3738 .elementor-element.elementor-element-c42b0d1{padding:0px 0px 0px 0px;}/* Start custom CSS for container, class: .elementor-element-bb36f4d *//* ==========================================================
   CODHEM · ARCHIVO DE RECOMENDACIONES
   Shortcode: [codhem_recomendaciones]
   Todos los estilos están aislados dentro de .codhem-reco
   ========================================================== */

.codhem-reco {
    --reco-navy: #153659;
    --reco-navy-2: #2e3c4a;
    --reco-teal: #539e9c;
    --reco-aqua: #69c2bf;
    --reco-purple: #8067ab;
    --reco-plum: #8a537f;
    --reco-blue: #738fbe;
    --reco-steel: #596c8b;
    --reco-green: #84c0a3;
    --reco-green-2: #84bf88;
    --reco-lavender: #8472ad;
    --reco-gold: #ada14c;
    --reco-yellow: #dece60;
    --reco-ink: #2e2e2e;
    --reco-muted: #5f6367;
    --reco-line: #d6e3e8;
    --reco-paper: #ffffff;
    --reco-bg: #f1f7f8;

    position: relative;
    isolation: isolate;
    width: min(1180px, calc(100% - 32px));
    margin: clamp(32px, 5vw, 72px) auto;

    overflow: hidden;
    color: var(--reco-ink);
    font-family: inherit;
   
}

.codhem-reco::before,
.codhem-reco::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.codhem-reco::before {
    top: -120px;
    right: -110px;
    width: 310px;
    aspect-ratio: 1;
    border: 44px solid rgba(18, 57, 95, .035);
    border-radius: 50%;
}

.codhem-reco::after {
    bottom: -88px;
    left: -88px;
    width: 220px;
    aspect-ratio: 1;
    border: 32px solid rgba(21, 157, 163, .055);
    border-radius: 50%;
}

.codhem-reco,
.codhem-reco *,
.codhem-reco *::before,
.codhem-reco *::after {
    box-sizing: border-box;
}

.codhem-reco__header {
    position: relative;
    max-width: 760px;
    margin: 0 0 30px;
}

.codhem-reco__eyebrow {
    margin: 0 0 8px;
    color: var(--reco-teal);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.codhem-reco__header h1 {
    margin: 0;
    color: var(--reco-navy);
    font-size: clamp(2.25rem, 5vw, 4.15rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
}

.codhem-reco__header h1::after {
    display: block;
    width: 86px;
    height: 4px;
    margin-top: 17px;
    content: "";
    background: linear-gradient(90deg, var(--reco-teal) 0 58%, var(--reco-gold) 58%);
    border-radius: 999px;
}

.codhem-reco__header > p:last-child {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--reco-muted);
    font-size: clamp(.95rem, 1.5vw, 1.06rem);
    line-height: 1.65;
}

/* Filtros */
.codhem-reco__filters {
    position: relative;
    z-index: 2;
    padding: clamp(17px, 2.4vw, 26px);
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(18, 57, 95, .12);
    border-radius: 12px 36px 12px 36px;
    box-shadow: 0 14px 32px rgba(18, 57, 95, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.codhem-reco__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.codhem-reco__search input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 17px;
    color: var(--reco-ink);
    font: inherit;
    background: #fff;
    border: 1px solid #cbdbe1;
    border-radius: 10px 20px 10px 20px;
    box-shadow: inset 0 1px 2px rgba(18, 57, 95, .04);
}

.codhem-reco__search input::placeholder {
    color: #80909b;
}

.codhem-reco__search button,
.codhem-reco__apply {
    min-height: 50px;
    padding: 10px 24px;
    color: #fff;
    font: inherit;
    font-weight: 800;
    background: linear-gradient(135deg, var(--reco-navy), var(--reco-navy-2));
    border: 0;
    border-radius: 10px 22px 10px 22px;
    box-shadow: 0 9px 18px rgba(18, 57, 95, .17);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.codhem-reco__search button:hover,
.codhem-reco__apply:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 13px 23px rgba(18, 57, 95, .22);
}

.codhem-reco__years {
    display: flex;
    margin: 16px 0 0;
    padding: 0 0 3px;
    overflow-x: auto;
    gap: 7px;
    border: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--reco-aqua) transparent;
}

.codhem-reco__years label {
    flex: 0 0 auto;
}

.codhem-reco__years input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.codhem-reco__years span {
    display: grid;
    min-width: 54px;
    min-height: 38px;
    padding: 7px 13px;
    place-items: center;
    color: var(--reco-navy);
    font-size: .79rem;
    font-weight: 800;
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--reco-line);
    border-radius: 8px 16px 8px 16px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.codhem-reco__years label:hover span {
    border-color: var(--reco-aqua);
    transform: translateY(-1px);
}

.codhem-reco__years label.is-active span,
.codhem-reco__years input:checked + span {
    color: #fff;
    background: linear-gradient(135deg, var(--reco-teal), #45b8b4);
    border-color: transparent;
    box-shadow: 0 7px 14px rgba(21, 157, 163, .20);
}

.codhem-reco__filter-actions {
    display: flex;
    margin-top: 14px;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.codhem-reco__advanced-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(180px, .7fr) minmax(190px, .8fr);
    margin-top: 16px;
    gap: 11px;
}

.codhem-reco__advanced-filters label {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.codhem-reco__advanced-filters label > span {
    color: var(--reco-navy);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .025em;
}

.codhem-reco__advanced-filters select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 9px 39px 9px 13px;
    overflow: hidden;
    color: var(--reco-ink);
    font: inherit;
    font-size: .84rem;
    text-overflow: ellipsis;
    background-color: #fff;
    border: 1px solid #cbdbe1;
    border-radius: 9px 18px 9px 18px;
    cursor: pointer;
}

.codhem-reco__apply {
    min-height: 42px;
    padding: 8px 17px;
    font-size: .82rem;
    background: linear-gradient(135deg, var(--reco-purple), #6d5798);
}

.codhem-reco__clear {
    display: inline-flex;
    min-height: 42px;
    padding: 8px 14px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--reco-purple);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    background: rgba(128, 103, 171, .08);
    border: 1px solid rgba(128, 103, 171, .20);
    border-radius: 9px 17px 9px 17px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.codhem-reco__clear:hover {
    color: #fff;
    background: var(--reco-purple);
    transform: translateY(-1px);
}

.codhem-reco__summary {
    display: inline-flex;
    margin: 23px 0 15px;
    padding: 7px 12px;
    align-items: center;
    gap: 5px;
    color: var(--reco-navy);
    font-size: .84rem;
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(21, 157, 163, .18);
    border-radius: 8px 15px 8px 15px;
}

.codhem-reco__summary strong {
    color: var(--reco-teal);
}

/* Tarjetas */
.codhem-reco__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.codhem-reco__card {
    --type-accent: var(--reco-teal);
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(18, 57, 95, .11);
    border-radius: 11px 42px 11px 42px;
    box-shadow: 0 13px 29px rgba(18, 57, 95, .09);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.codhem-reco__card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 76px;
    height: 5px;
    content: "";
    background: var(--type-accent);
    border-radius: 999px 0 0;
}

.codhem-reco__card--estatal { --type-accent: var(--reco-blue); }
.codhem-reco__card--municipal { --type-accent: var(--reco-green); }
.codhem-reco__card--fisc { --type-accent: var(--reco-plum); }

.codhem-reco__card:hover {
    border-color: rgba(21, 157, 163, .30);
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(18, 57, 95, .15);
}

.codhem-reco__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(18, 57, 95, .96), rgba(29, 82, 124, .88)),
        var(--reco-navy);
}

.codhem-reco__visual::after {
    position: absolute;
    inset: auto -38px -55px auto;
    width: 150px;
    aspect-ratio: 1;
    content: "";
    border: 23px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.codhem-reco__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.codhem-reco__card:hover .codhem-reco__visual img {
    filter: saturate(1.05);
    transform: scale(1.045);
}

.codhem-reco__pdf-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.codhem-reco__pdf-placeholder span {
    position: relative;
    display: grid;
    width: 68px;
    height: 82px;
    place-items: end center;
    padding-bottom: 15px;
    color: #fff;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .08em;
    background: rgba(255, 255, 255, .14);
    border: 2px solid rgba(255, 255, 255, .76);
    border-radius: 7px 20px 7px 7px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.codhem-reco__pdf-placeholder span::before {
    position: absolute;
    top: 17px;
    left: 15px;
    width: 31px;
    height: 2px;
    content: "";
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 9px 0 rgba(255, 255, 255, .55), 0 18px 0 rgba(255, 255, 255, .38);
}

.codhem-reco__year {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 6px 11px;
    color: var(--reco-navy);
    font-size: .72rem;
    font-weight: 900;
    background: rgba(255, 255, 255, .91);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 7px 15px 7px 15px;
    box-shadow: 0 7px 15px rgba(18, 57, 95, .12);
    backdrop-filter: blur(8px);
}

.codhem-reco__content {
    display: flex;
    min-height: 390px;
    padding: 22px 22px 25px;
    flex: 1;
    flex-direction: column;
}

.codhem-reco__card-top {
    display: flex;
    margin: -22px -22px 18px;
    padding: 18px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background:
        radial-gradient(circle at 92% 50%, rgba(105, 194, 191, .18), transparent 30%),
        linear-gradient(135deg, var(--reco-navy), var(--reco-navy-2));
    box-shadow: inset 5px 0 0 var(--type-accent);
}

.codhem-reco__document-icon {
    position: relative;
    display: grid;
    width: 46px;
    height: 55px;
    flex: 0 0 auto;
    place-items: end center;
    padding-bottom: 9px;
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .07em;
    border: 1.5px solid rgba(255, 255, 255, .72);
    border-radius: 6px 15px 6px 6px;
}

.codhem-reco__document-icon::before {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 22px;
    height: 2px;
    content: "";
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 7px 0 rgba(255, 255, 255, .55), 0 14px 0 rgba(255, 255, 255, .38);
}

.codhem-reco__card-badges {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.codhem-reco__card-top .codhem-reco__document-type,
.codhem-reco__card-top .codhem-reco__year {
    position: static;
    margin: 0;
    padding: 6px 10px;
    color: #fff;
    font-size: .64rem;
    line-height: 1.2;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px 13px 6px 13px;
    box-shadow: none;
    backdrop-filter: blur(7px);
}

.codhem-reco__card-top .codhem-reco__year {
    color: var(--reco-navy);
    background: #fff;
}

.codhem-reco__classification {
    display: flex;
    margin: 0 0 11px;
    flex-wrap: wrap;
    gap: 7px;
}

.codhem-reco__status,
.codhem-reco__authority-type {
    display: inline-flex;
    min-height: 28px;
    padding: 5px 9px;
    align-items: center;
    gap: 6px;
    color: #4c6172;
    font-size: .68rem;
    font-weight: 800;
    background: #edf3f5;
    border: 1px solid #dce7eb;
    border-radius: 6px 12px 6px 12px;
}

/* Tipo de autoridad: usa la paleta global de CODHEM como código visual. */
.codhem-reco__authority-type--estatal {
    color: #405270;
    background: #e9eef7;
    border-color: #b9c7df;
}

.codhem-reco__authority-type--estatal::before,
.codhem-reco__authority-type--municipal::before,
.codhem-reco__authority-type--fisc::before {
    width: 7px;
    height: 7px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.codhem-reco__authority-type--municipal {
    color: #27614c;
    background: #e5f4ed;
    border-color: #acd8c4;
}

.codhem-reco__authority-type--fisc {
    color: #6e4167;
    background: #f3e8f0;
    border-color: #d6b9cf;
}

.codhem-reco__status > span {
    width: 7px;
    height: 7px;
    background: #80909b;
    border-radius: 50%;
}

.codhem-reco__status--cumplida {
    color: #236a54;
    background: #e8f6ef;
    border-color: #bee5d2;
}

.codhem-reco__status--cumplida > span { background: #38a274; }

.codhem-reco__status--en-tramite {
    color: #725f18;
    background: #fbf6df;
    border-color: #eadc9b;
}

.codhem-reco__status--en-tramite > span { background: #c3a52f; }

.codhem-reco__status--solicitada {
    color: #5e478a;
    background: #f1ecf9;
    border-color: #d7c9ec;
}

.codhem-reco__status--solicitada > span { background: var(--reco-purple); }

.codhem-reco__status--general {
    color: #17656b;
    background: #e7f6f6;
    border-color: #bfe2e1;
}

.codhem-reco__status--general > span { background: var(--reco-teal); }

.codhem-reco__authority {
    margin: 0 0 13px;
    padding: 10px 12px;
    color: #526775;
    font-size: .78rem;
    line-height: 1.4;
    background: #f4f7f8;
    border-left: 3px solid var(--reco-aqua);
    border-radius: 0 9px 9px 0;
}

.codhem-reco__authority strong {
    color: var(--reco-navy);
}

.codhem-reco__intro {
    position: relative;
    margin-bottom: 15px;
}

.codhem-reco__document-type {
    align-self: flex-start;
    margin: 0 0 11px;
    padding: 5px 10px;
    color: #fff;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--reco-purple), #947fc0);
    border-radius: 6px 13px 6px 13px;
}

.codhem-reco__content h2 {
    margin: 0 0 10px;
    color: var(--reco-navy);
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.codhem-reco__content h2 a {
    color: inherit;
    text-decoration: none;
}

.codhem-reco__content h2 a:hover {
    color: var(--reco-teal);
}

.codhem-reco__excerpt {
    position: relative;
    display: block;
    max-height: 9.6em;
    margin: 0;
    overflow: hidden;
    color: var(--reco-muted);
    font-size: .86rem;
    line-height: 1.57;
    transition: max-height .35s ease;
}

.codhem-reco__intro::after {
    position: absolute;
    right: 0;
    bottom: 38px;
    left: 0;
    height: 38px;
    content: "";
    pointer-events: none;
    background: linear-gradient(transparent, rgba(255, 255, 255, .98));
    transition: opacity .2s ease;
}

.codhem-reco__intro.is-complete .codhem-reco__excerpt {
    max-height: none;
}

.codhem-reco__intro.is-complete::after {
    display: none;
}

.codhem-reco button.codhem-reco__excerpt-toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: auto;
    min-height: 36px;
    margin-top: 7px;
    padding: 6px 10px;
    align-items: center;
    gap: 7px;
    color: var(--reco-purple);
    font: inherit;
    font-size: .74rem;
    font-weight: 850;
    background: rgba(128, 103, 171, .07);
    border: 0;
    border-bottom: 1px solid rgba(128, 103, 171, .30);
    border-radius: 7px 14px 7px 14px;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.codhem-reco button.codhem-reco__excerpt-toggle:hover {
    color: #fff;
    background: var(--reco-purple);
    transform: translateY(-1px);
}

.codhem-reco__excerpt-toggle > span:last-child {
    font-size: 1rem;
    transition: transform .25s ease;
}

.codhem-reco__toggle-less { display: none; }

.codhem-reco__card.is-excerpt-open .codhem-reco__excerpt {
    max-height: 60em;
}

.codhem-reco__card.is-excerpt-open .codhem-reco__intro::after { opacity: 0; }
.codhem-reco__card.is-excerpt-open .codhem-reco__toggle-more { display: none; }
.codhem-reco__card.is-excerpt-open .codhem-reco__toggle-less { display: inline; }
.codhem-reco__card.is-excerpt-open .codhem-reco__excerpt-toggle > span:last-child { transform: rotate(180deg); }

.codhem-reco__meta {
    display: flex;
    margin: auto 0 13px;
    padding-top: 13px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #6b7b87;
    font-size: .74rem;
    font-weight: 700;
    border-top: 1px solid #e4ecef;
}

.codhem-reco__meta span:first-child::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    content: "";
    background: var(--reco-gold);
    border-radius: 50%;
}

.codhem-reco__pdf-link {
    display: inline-flex;
    width: fit-content;
    min-height: 40px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--reco-navy);
    font-size: .8rem;
    font-weight: 900;
    text-decoration: none;
    background: rgba(105, 194, 191, .13);
    border: 1px solid rgba(21, 157, 163, .23);
    border-radius: 8px 17px 8px 17px;
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.codhem-reco__pdf-link:not(.is-disabled):hover {
    color: #fff;
    background: var(--reco-teal);
    transform: translateY(-2px);
    box-shadow: 0 9px 17px rgba(21, 157, 163, .22);
}

.codhem-reco__pdf-link span {
    font-size: 1rem;
    transition: transform .2s ease;
}

.codhem-reco__pdf-link:hover span {
    transform: translate(2px, -2px);
}

.codhem-reco__pdf-link.is-disabled {
    color: #8b969e;
    background: #f1f4f5;
    border-color: #e0e6e8;
    cursor: not-allowed;
}

/* Paginación y estados */
.codhem-reco__pagination {
    margin-top: 34px;
}

.codhem-reco__pagination ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 7px;
    list-style: none;
}

.codhem-reco__pagination a,
.codhem-reco__pagination span {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    padding: 7px 11px;
    place-items: center;
    color: var(--reco-navy);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--reco-line);
    border-radius: 8px 15px 8px 15px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.codhem-reco__pagination a:hover,
.codhem-reco__pagination .current {
    color: #fff;
    background: var(--reco-navy);
    border-color: var(--reco-navy);
    transform: translateY(-1px);
}

.codhem-reco__empty {
    padding: clamp(35px, 6vw, 65px) 24px;
    text-align: center;
    background: rgba(255, 255, 255, .76);
    border: 1px dashed rgba(18, 57, 95, .22);
    border-radius: 12px 38px;
}

.codhem-reco__empty h2 {
    margin: 0 0 8px;
    color: var(--reco-navy);
}

.codhem-reco__empty p {
    margin: 0 0 15px;
    color: var(--reco-muted);
}

.codhem-reco__empty a {
    color: var(--reco-purple);
    font-weight: 800;
}

.codhem-reco.is-loading {
    opacity: .60;
    pointer-events: none;
}

.codhem-reco.is-loading::before {
    position: fixed;
    z-index: 9999;
    top: calc(50% - 23px);
    left: calc(50% - 23px);
    width: 46px;
    height: 46px;
    border: 4px solid rgba(18, 57, 95, .17);
    border-top-color: var(--reco-teal);
    border-radius: 50%;
    animation: codhem-reco-spin .72s linear infinite;
}

@keyframes codhem-reco-spin {
    to { transform: rotate(360deg); }
}

.codhem-reco input:focus-visible,
.codhem-reco select:focus-visible,
.codhem-reco button:focus-visible,
.codhem-reco a:focus-visible,
.codhem-reco__years input:focus-visible + span {
    outline: 3px solid rgba(21, 157, 163, .42);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .codhem-reco {
        width: min(94%, 900px);
        padding: 38px 28px;
    }

    .codhem-reco__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .codhem-reco__advanced-filters {
        grid-template-columns: 1fr 1fr;
    }

    .codhem-reco__advanced-filters label:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .codhem-reco {
        width: calc(100% - 16px);
        margin-block: 24px;
        padding: 26px 12px;
        border-radius: 10px 34px 10px 34px;
    }

    .codhem-reco__header {
        margin-bottom: 23px;
    }

    .codhem-reco__header h1 {
        font-size: clamp(1.55rem, 7.5vw, 2.05rem);
        line-height: 1.05;
        letter-spacing: -.025em;
        word-break: keep-all;
        overflow-wrap: normal;
        hyphens: none;
        white-space: nowrap;
    }

    .codhem-reco__header > p:last-child {
        font-size: .94rem;
        line-height: 1.55;
    }

    .codhem-reco__filters {
        width: 100%;
        max-width: 100%;
        padding: 14px;
        overflow: hidden;
        border-radius: 10px 27px 10px 27px;
    }

    .codhem-reco__search {
        width: 100%;
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .codhem-reco__search input,
    .codhem-reco__advanced-filters select {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    .codhem-reco__search button {
        width: 100%;
    }

    .codhem-reco__filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .codhem-reco__advanced-filters {
        width: 100%;
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .codhem-reco__years {
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
        padding: 0;
        overflow: visible;
        gap: 7px;
    }

    .codhem-reco__years label {
        width: 100%;
        min-width: 0;
    }

    .codhem-reco__years span {
        width: 100%;
        min-width: 0;
        padding-inline: 6px;
    }

    .codhem-reco__advanced-filters label:first-child {
        grid-column: auto;
    }

    .codhem-reco__apply,
    .codhem-reco__clear {
        width: 100%;
    }

    .codhem-reco__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .codhem-reco__content {
        min-height: 0;
    }

    .codhem-reco__pagination .prev,
    .codhem-reco__pagination .next {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .codhem-reco__filter-actions {
        grid-template-columns: 1fr;
    }

    .codhem-reco__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .codhem-reco *,
    .codhem-reco *::before,
    .codhem-reco *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}/* End custom CSS */