/* November 2026 audit fixes. Preserve the approved grid and brand hierarchy. */
body.em-readability :is(.em-modern-card-city,.em-modern-card-category,.em-offer-category) { font-size: 13px !important; line-height: 1.5 !important; }
body.em-readability .em-modern-card-description { font-size: 14px !important; line-height: 1.6 !important; }
body.em-readability :is(.em-offer-info h3,.em-modern-card-body h2,.em-article-card h3),
body.em-readability .listar-listing-card .listar-card-content-title {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
}
body.em-readability.em-catalog-page .enteremo-directory-heading,
body.em-readability.em-catalog-page .enteremo-directory-heading :is(h1,p) { text-align: left !important; }
body.em-readability.blog .listar-page-header {
    box-shadow: inset 0 0 0 10000px #102a3cd9 !important;
    background-color: #102a3c !important;
}
body.em-readability.blog .listar-page-header :is(.listar-page-title,.listar-page-subtitle,.listar-page-description,h1,p) { color: #fff !important; }
body.em-readability.woocommerce-account #main #customer_login .woocommerce-privacy-policy-text,
body.em-readability.woocommerce-account #main #customer_login .woocommerce-privacy-policy-text :is(p,a) { font-size: 14px !important; line-height: 1.6 !important; }
body.em-readability.woocommerce-account #customer_login .woocommerce-privacy-policy-text a { color: #075b80 !important; text-decoration: underline !important; text-underline-offset: 3px; }
body.em-readability.woocommerce-account #customer_login .woocommerce-privacy-policy-text a:is(:hover,:focus) { color: #173247 !important; }
body.em-readability.woocommerce-account #main .em-account-auth-tabs { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 8px; }
body.em-readability.woocommerce-account #main .em-account-auth-tabs button { min-width: 0; min-height: 44px; padding-inline: 8px; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
body.em-readability .em-offer-subtitle[data-em-year-only],
body.em-readability .listar-listing-subtitle[data-em-year-only] { display: none !important; }
body.em-readability .em-offer-actions .em-offer-primary,
body.em-readability .listar-listing-contact-data .em-contact-reveal { background: #d1fa68 !important; border-color: #b4d954 !important; color: #173247 !important; }
body.em-readability .em-offer-actions .em-offer-primary:hover,
body.em-readability .listar-listing-contact-data .em-contact-reveal:hover { background: #c3ee58 !important; }
body.em-readability .listar-site-footer .em-footer :is(a,.em-install-app) { min-height: 44px; padding-block: 9px !important; font-size: 14px; }
body.em-readability .listar-site-footer .em-footer :is(p,.em-footer-operator),
body.em-readability .listar-footer-credits .copyright { font-size: 14px !important; line-height: 1.65 !important; }

/* Replace only an enhanced article TOC's disclosure, keeping its original links/IDs. */
body.em-readability .em-toc-disclosure { border: 1px solid #d6e4e8; border-radius: 12px; background: #f7fafb; padding: 0 16px; margin: 0 0 24px; }
body.em-readability .em-toc-disclosure > summary { min-height: 48px; padding: 12px 0; cursor: pointer; color: #173247; font-size: 16px; font-weight: 700; line-height: 1.5; }
body.em-readability.single-post .em-toc-disclosure #ez-toc-container { margin: 0 !important; padding: 0 0 16px !important; border: 0 !important; background: transparent; }
body.em-readability .em-toc-disclosure #ez-toc-container :is(.ez-toc-title-container,.ez-toc-title,.ez-toc-cssicon-toggle-label,.ez-toc-toggle,input[type=checkbox]) { display: none !important; }
body.em-readability .em-toc-disclosure #ez-toc-container nav { display: block !important; height: auto !important; max-height: none !important; opacity: 1 !important; margin-top: 0; }
body.em-readability .em-toc-disclosure a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }

body.em-readability .em-chat-panel { z-index: 100061; width: min(390px,calc(100% - 24px)); box-sizing: border-box; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 100px); }
body.em-readability .em-chat-form :is(label,small),
body.em-readability .em-chat-city { font-size: 13px !important; line-height: 1.5 !important; }
body.em-readability .em-chat-examples button { font-size: 14px; min-height: 44px; }
body.em-readability .em-chat-close { min-width: 44px; min-height: 44px; }
body.em-readability .em-chat-panel header { padding-block: 6px; }
body.em-readability .em-chat-panel .em-chat-form input { font-size: 16px; }

@media(max-width:767px) {
    body.em-readability :is(.em-offer-info h3,.em-modern-card h2,.em-modern-card h3,.em-article-card h3),
    body.em-readability .listar-listing-card .listar-card-content-title { font-size: 16px !important; line-height: 1.4 !important; }
    body.em-readability :is(.em-offer-info p,.em-modern-card p,.em-modern-card-description),
    body.em-readability .listar-listing-card .listar-card-content-excerpt { font-size: 14px !important; line-height: 1.55 !important; }
    body.em-readability :is(.em-offer-category,.em-modern-card-city,.em-modern-card-address,.em-modern-card-category,.em-modern-card-more,.em-article-more,.em-category-tile small,.em-offer-photo-controls,.em-offer-sections a,.em-offer-back,.em-activity-breadcrumb,.em-activity-children a,.em-filter-label),
    body.em-readability .listar-listing-card :is(.listar-distance-references,.listar-location-references-wrapper>div,.listar-card-category-name,.listar-card-category-name a) { font-size: 13px !important; line-height: 1.5 !important; }
    body.em-readability .em-modern-card-price small { font-size: 13px !important; }
    body.em-readability .em-offer-category,
    body.em-readability .em-modern-card-category { min-height: 44px; display: flex; align-items: center; }
    body.em-readability .listar-filter-form-wrapper :is(input,select,.select2-search__field),
    body.em-readability.woocommerce-account #customer_login :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size: 16px !important; }
    body.em-readability .listar-site-footer .em-footer :is(a,.em-install-app) { min-height: 44px; padding-block: 9px !important; font-size: 14px; }
    body.em-readability .listar-site-footer .em-footer :is(p,.em-footer-operator),
    body.em-readability .listar-footer-credits .copyright { font-size: 14px !important; line-height: 1.65 !important; }
}
