.elementor-209 .elementor-element.elementor-element-d302cbc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overflow:hidden;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-209 .elementor-element.elementor-element-7687265{--display:flex;--min-height:300px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--gap:5px 5px;--row-gap:5px;--column-gap:5px;--flex-wrap:nowrap;}.elementor-209 .elementor-element.elementor-element-7687265:not(.elementor-motion-effects-element-type-background), .elementor-209 .elementor-element.elementor-element-7687265 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-394c560 );}.elementor-209 .elementor-element.elementor-element-8e9e134{z-index:5;}.elementor-209 .elementor-element.elementor-element-504dc67{--spacer-size:250px;width:var( --container-widget-width, 250px );max-width:250px;--e-transform-translateX:-90px;--e-transform-translateY:20px;background-image:url("https://comisionchilenaddhhvinadelmar.cl/wp-content/uploads/2026/06/blob-tt-4.png");--container-widget-width:250px;--container-widget-flex-grow:0;top:0px;background-position:center center;background-repeat:no-repeat;background-size:contain;}.elementor-209 .elementor-element.elementor-element-504dc67.elementor-element{--align-self:flex-start;}body:not(.rtl) .elementor-209 .elementor-element.elementor-element-504dc67{left:0px;}body.rtl .elementor-209 .elementor-element.elementor-element-504dc67{right:0px;}body:not(.rtl) .elementor-209 .elementor-element.elementor-element-df3ad96{left:0px;}body.rtl .elementor-209 .elementor-element.elementor-element-df3ad96{right:0px;}.elementor-209 .elementor-element.elementor-element-df3ad96{top:0px;z-index:1;--lottie-container-width:250px;--lottie-container-max-width:100%;}.elementor-209 .elementor-element.elementor-element-4f87a5b{--spacer-size:300px;width:var( --container-widget-width, 300px );max-width:300px;--e-transform-translateX:-60px;--e-transform-translateY:60px;background-image:url("https://comisionchilenaddhhvinadelmar.cl/wp-content/uploads/2026/06/blob-tt-1.png");--container-widget-width:300px;--container-widget-flex-grow:0;top:0px;background-position:center center;background-repeat:no-repeat;background-size:contain;}.elementor-209 .elementor-element.elementor-element-4f87a5b.elementor-element{--align-self:flex-start;}body:not(.rtl) .elementor-209 .elementor-element.elementor-element-4f87a5b{right:0px;}body.rtl .elementor-209 .elementor-element.elementor-element-4f87a5b{left:0px;}body:not(.rtl) .elementor-209 .elementor-element.elementor-element-1bce8fa{right:0px;}body.rtl .elementor-209 .elementor-element.elementor-element-1bce8fa{left:0px;}.elementor-209 .elementor-element.elementor-element-1bce8fa{top:0px;z-index:0;--lottie-container-width:250px;--lottie-container-max-width:100%;}.elementor-209 .elementor-element.elementor-element-6b8531e{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-209 .elementor-element.elementor-element-d302cbc{--content-width:1600px;}.elementor-209 .elementor-element.elementor-element-7687265{--content-width:1600px;}}@media(max-width:1200px){.elementor-209 .elementor-element.elementor-element-4f87a5b{--spacer-size:250px;width:var( --container-widget-width, 250px );max-width:250px;--container-widget-width:250px;--container-widget-flex-grow:0;}}@media(max-width:880px){.elementor-209 .elementor-element.elementor-element-4f87a5b{--e-transform-translateX:90px;}}@media(max-width:767px){.elementor-209 .elementor-element.elementor-element-504dc67{--spacer-size:200px;width:var( --container-widget-width, 200px );max-width:200px;--e-transform-translateY:50px;--container-widget-width:200px;--container-widget-flex-grow:0;}.elementor-209 .elementor-element.elementor-element-df3ad96{--lottie-container-width:150px;}.elementor-209 .elementor-element.elementor-element-4f87a5b{--spacer-size:150px;--e-transform-translateX:0px;--e-transform-translateY:120px;--container-widget-width:150px;--container-widget-flex-grow:0;width:var( --container-widget-width, 150px );max-width:150px;}.elementor-209 .elementor-element.elementor-element-1bce8fa{--e-transform-translateY:160px;--lottie-container-width:150px;}}/* Start custom CSS for shortcode, class: .elementor-element-534dd22 *//* Corrección del buscador del Archivo Digital */
.cchdv-archive .cchdv-search {
    position: relative;
}

.cchdv-archive .cchdv-search svg {
    left: 18px !important;
    width: 18px !important;
    height: 18px !important;
    z-index: 2;
    pointer-events: none;
}

.cchdv-archive .cchdv-search-input {
    padding-left: 52px !important;
}
/* =====================================================
   REFINAMIENTO VISUAL — ARCHIVO DIGITAL CCHDV
   ===================================================== */

.cchdv-archive {
    max-width: 1140px;
    margin: 0 auto;
    color: #1f2937;
}

/* ---------- Toolbar superior ---------- */
.cchdv-archive .cchdv-toolbar,
.cchdv-archive .cchdv-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.cchdv-archive .cchdv-search {
    position: relative;
    flex: 1 1 680px;
    max-width: 860px;
}

.cchdv-archive .cchdv-search svg {
    left: 18px !important;
    width: 18px !important;
    height: 18px !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
}

.cchdv-archive .cchdv-search-input,
.cchdv-archive input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 18px 0 52px !important;
    border: 1px solid #d7e1ea;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: #374151;
    box-shadow: none;
}

.cchdv-archive .cchdv-search-input:focus,
.cchdv-archive input[type="search"]:focus {
    border-color: #178fbb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(23, 143, 187, 0.12);
}

/* .elementor-209 .elementor-element.elementor-element-534dd22 por página */
.cchdv-archive select {
    height: 42px;
    min-width: 64px;
    padding: 0 14px;
    border: 1px solid #d7e1ea;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: #374151;
    box-shadow: none;
}

/* botones de vista */
.cchdv-archive .cchdv-view-toggle,
.cchdv-archive .cchdv-view-switcher {
    display: flex;
    gap: 8px;
}

.cchdv-archive .cchdv-view-toggle button,
.cchdv-archive .cchdv-view-switcher button,
.cchdv-archive .cchdv-view-toggle a,
.cchdv-archive .cchdv-view-switcher a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d7e1ea;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: none;
    transition: all 0.2s ease;
}

.cchdv-archive .cchdv-view-toggle button:hover,
.cchdv-archive .cchdv-view-switcher button:hover,
.cchdv-archive .cchdv-view-toggle a:hover,
.cchdv-archive .cchdv-view-switcher a:hover {
    border-color: #178fbb;
    background: #f4fbfe;
}

/* ---------- Contador superior ---------- */
.cchdv-archive .cchdv-results-count,
.cchdv-archive .cchdv-count-total {
    font-size: 15px;
    color: #6b7280;
    margin: 4px 0 18px;
}

/* ---------- Bloques / acordeones ---------- */
.cchdv-archive .cchdv-accordion-item,
.cchdv-archive .cchdv-section {
    margin-bottom: 16px;
    border: 1px solid #d8e7f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

/* encabezado */
.cchdv-archive .cchdv-accordion-header,
.cchdv-archive .cchdv-section-header,
.cchdv-archive .cchdv-section-toggle {
    background: #178fbb !important;
    padding: 16px 20px !important;
    min-height: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

/* título de la sección */
.cchdv-archive .cchdv-accordion-title,
.cchdv-archive .cchdv-section-title,
.cchdv-archive .cchdv-section-header strong,
.cchdv-archive .cchdv-section-toggle strong {
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    margin: 0 !important;
    color: #fff !important;
}

/* icono + / - */
.cchdv-archive .cchdv-accordion-icon,
.cchdv-archive .cchdv-toggle-icon,
.cchdv-archive .cchdv-section-toggle .icon {
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 600;
    color: #fff !important;
}

/* badge numérico */
.cchdv-archive .cchdv-count,
.cchdv-archive .cchdv-section-count,
.cchdv-archive .cchdv-badge {
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1;
}

/* contenido interno */
.cchdv-archive .cchdv-accordion-content,
.cchdv-archive .cchdv-section-content {
    padding: 24px !important;
    background: #fff;
}

/* estado vacío */
.cchdv-archive .cchdv-empty,
.cchdv-archive .cchdv-no-files {
    padding: 34px 20px !important;
    text-align: center;
    color: #7b8794;
    font-size: 15px;
}

/* icono de carpeta vacía */
.cchdv-archive .cchdv-empty svg,
.cchdv-archive .cchdv-no-files svg {
    width: 42px;
    height: 42px;
    opacity: 0.5;
    margin-bottom: 10px;
}

/* ---------- Subsecciones ---------- */
.cchdv-archive .cchdv-subsection,
.cchdv-archive .cchdv-child-section {
    margin-bottom: 14px;
    border: 1px solid #e5edf3;
    border-radius: 10px;
    overflow: hidden;
    background: #fbfdff;
}

.cchdv-archive .cchdv-subsection-header,
.cchdv-archive .cchdv-child-section-header {
    padding: 13px 16px !important;
    background: #f5fafc !important;
    border-bottom: 1px solid #e5edf3;
}

.cchdv-archive .cchdv-subsection-title,
.cchdv-archive .cchdv-child-section-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    color: #1f2937 !important;
}

/* ---------- Tarjetas de documento ---------- */
.cchdv-archive .cchdv-doc-card,
.cchdv-archive .cchdv-document-card {
    border: 1px solid #e4ecf3;
    border-radius: 12px;
    background: #fff;
    padding: 22px 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cchdv-archive .cchdv-doc-card:hover,
.cchdv-archive .cchdv-document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.cchdv-archive .cchdv-doc-title,
.cchdv-archive .cchdv-document-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #1f2937;
    margin-bottom: 8px;
}

.cchdv-archive .cchdv-doc-meta,
.cchdv-archive .cchdv-document-meta {
    font-size: 13px;
    color: #6b7280;
}

/* botones */
.cchdv-archive .cchdv-btn,
.cchdv-archive .cchdv-button,
.cchdv-archive .cchdv-doc-card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.cchdv-archive .cchdv-btn-primary,
.cchdv-archive .cchdv-button-primary {
    background: #178fbb !important;
    color: #fff !important;
    border: 1px solid #178fbb !important;
}

.cchdv-archive .cchdv-btn-primary:hover,
.cchdv-archive .cchdv-button-primary:hover {
    background: #12779b !important;
    border-color: #12779b !important;
}

.cchdv-archive .cchdv-btn-secondary,
.cchdv-archive .cchdv-button-secondary {
    background: #fff !important;
    color: #178fbb !important;
    border: 1px solid #178fbb !important;
}

.cchdv-archive .cchdv-btn-secondary:hover,
.cchdv-archive .cchdv-button-secondary:hover {
    background: #f4fbfe !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .cchdv-archive .cchdv-accordion-title,
    .cchdv-archive .cchdv-section-title,
    .cchdv-archive .cchdv-section-header strong,
    .cchdv-archive .cchdv-section-toggle strong {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    .cchdv-archive .cchdv-toolbar,
    .cchdv-archive .cchdv-topbar {
        align-items: stretch;
    }

    .cchdv-archive .cchdv-search {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .cchdv-archive .cchdv-accordion-header,
    .cchdv-archive .cchdv-section-header,
    .cchdv-archive .cchdv-section-toggle {
        padding: 14px 16px !important;
    }

    .cchdv-archive .cchdv-accordion-title,
    .cchdv-archive .cchdv-section-title,
    .cchdv-archive .cchdv-section-header strong,
    .cchdv-archive .cchdv-section-toggle strong {
        font-size: 18px !important;
    }

    .cchdv-archive .cchdv-section-content,
    .cchdv-archive .cchdv-accordion-content {
        padding: 18px !important;
    }
}/* End custom CSS */