/* Estilos base para el widget Event Panorama Elementor */


/*
 * Clases personalizables:
 * - .epe-widget-wrapper
 * - .epe-item
 * - .epe-item-inner
 * - .epe-item-left
 * - .epe-item-right
 * - .epe-item-thumb
 * - .epe-item-date
 * - .epe-item-time
 * - .epe-item-title
 * - .epe-item-meta
 * - .epe-meta-address, .epe-meta-region, .epe-meta-comuna,
 *   .epe-meta-contact, .epe-meta-website, .epe-meta-price, .epe-meta-panorama
 * - .epe-item-excerpt
 * - .epe-pagination
 */


/* ==========================================================
   PANORAMAS: FORMULARIO FRONTEND [epe_panorama_submit]
   ========================================================== */
.epe-submit-form {
    width: 100%;
    padding: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.epe-submit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.epe-submit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.epe-submit-field--full {
    grid-column: 1 / -1;
}

.epe-submit-field label {
    font-weight: 700;
    font-size: 13px;
}

.epe-submit-field input,
.epe-submit-field select,
.epe-submit-field textarea {
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 9px 10px;
}

.epe-submit-actions {
    margin-top: 18px;
}

.epe-submit-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: #ff8050;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease all;
}

.epe-submit-button:hover {
    background: #222;
    color: #fff;
}

.epe-submit-message {
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-weight: 700;
}

.epe-submit-message--success {
    background: #e8f7ee;
    color: #1f7a3f;
    border: 1px solid #b9e4c8;
}

.epe-submit-message--error,
.epe-submit-message--denied {
    background: #fff0f0;
    color: #a72121;
    border: 1px solid #f0bcbc;
}

@media (max-width: 768px) {
    .epe-submit-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   PANORAMAS: ACCESO FRONTEND / LOGIN / REGISTRO
   ========================================================== */
.epe-submit-auth {
    width: 100%;
    padding: 22px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
}

.epe-submit-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px;
}

.epe-submit-auth-box {
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.epe-submit-auth-box h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.epe-submit-auth input[type="text"],
.epe-submit-auth input[type="email"],
.epe-submit-auth input[type="password"] {
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 9px 10px;
}

.epe-submit-message--info {
    background: #eef8f6;
    color: #1d4a42;
    border: 1px solid #cfe8e2;
}

.epe-register-submit,
.epe-submit-logout-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: #1d4a42;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: .3s ease all;
}

.epe-register-submit:hover,
.epe-submit-logout-button:hover {
    background: #222;
    color: #fff;
}

/* Botón principal de envío solicitado */
.epe-submit-button {
    border: 0;
    border-radius: 999px;
    padding: 16px 34px;
    background: #c6e062;
    color: #1d4a42;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease all;
}

.epe-submit-button:hover {
    background: #f0f0f0;
    color: #1d4a42;
}

@media (max-width: 768px) {
    .epe-submit-auth-grid {
        grid-template-columns: 1fr;
    }

    .epe-submit-button {
        width: 100%;
    }
}


/* Botón caso 1: acceso / registro proveedor */
.epe-submit-auth-actions {
    margin-top: 18px;
    text-align: center;
}

.epe-submit-access-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: #ff5a00;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: .3s ease all;
}

.epe-submit-access-button:hover {
    background: #f0f0f0;
    color: #1d4a42;
}

/* ==========================================================
   DARDUSE EVENTOS Y PANORAMAS 2.1: FILTRO AISLADO
   Namespace exclusivo ddep21 para evitar colisiones con CSS previo.
   ========================================================== */
.ddep21-filter-shell,
.ddep21-filter-shell * {
    box-sizing: border-box;
}

.ddep21-filter-shell {
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(0, 84, 45, 0.14);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 84, 45, 0.08);
}

.ddep21-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 1.15fr) minmax(170px, 0.9fr) minmax(180px, 1.15fr) auto;
    align-items: end;
    gap: 14px;
    width: 100%;
    margin: 0;
}

.ddep21-filter-field {
    min-width: 0;
    margin: 0;
}

.ddep21-filter-label {
    display: block;
    margin: 0 0 7px;
    color: #00542d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.015em;
}

.ddep21-filter-control {
    position: relative;
    width: 100%;
}

.ddep21-filter-select,
.ddep21-filter-date {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 43px 0 15px;
    border: 1px solid rgba(0, 84, 45, 0.24);
    border-radius: 12px;
    outline: none;
    background-color: #f8fbf5;
    color: #00542d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    box-shadow: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.ddep21-filter-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #00542d 50%), linear-gradient(135deg, #00542d 50%, transparent 50%);
    background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.ddep21-filter-date {
    padding-right: 14px;
    cursor: pointer;
}

.ddep21-filter-select:hover,
.ddep21-filter-date:hover {
    border-color: #00542d;
    background-color: #ffffff;
}

.ddep21-filter-select:focus,
.ddep21-filter-date:focus {
    border-color: #00542d;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(198, 224, 98, 0.34);
}

.ddep21-filter-actions {
    min-width: 190px;
    margin: 0;
}

.ddep21-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid #c6e062;
    border-radius: 12px;
    background: #c6e062;
    color: #00542d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 84, 45, 0.12);
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.ddep21-filter-button:hover,
.ddep21-filter-button:focus {
    border-color: #00542d;
    background: #00542d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(0, 84, 45, 0.22);
}

.ddep21-filter-button-icon {
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    transition: transform 180ms ease;
}

.ddep21-filter-button:hover .ddep21-filter-button-icon,
.ddep21-filter-button:focus .ddep21-filter-button-icon {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .ddep21-filter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ddep21-filter-actions {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .ddep21-filter-shell {
        padding: 15px;
        border-radius: 15px;
    }

    .ddep21-filter-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ddep21-filter-actions {
        grid-column: auto;
    }

    .ddep21-filter-button {
        width: 100%;
    }
}

/* ==========================================================
   DARDUSE EVENTOS Y PANORAMAS 2.2
   Refuerzo de botones + layouts y ordenamiento aislados.
   ========================================================== */

/* Neutraliza las variables globales de temas como Woodmart sólo dentro del filtro. */
.ddep21-filter-shell .ddep21-filter-button,
.ddep21-filter-shell button.ddep21-filter-button,
.ddep21-filter-shell :is(button.ddep21-filter-button, [type="submit"].ddep21-filter-button) {
    --btn-brd-radius: 12px;
    --btn-color: #00542d;
    --btn-brd-width: 1px;
    --btn-brd-style: solid;
    --btn-brd-color: #c6e062;
    --btn-bgcolor: #c6e062;
    --btn-box-shadow: 0 8px 20px rgba(0, 84, 45, 0.12);
    --btn-transform: none;
    --btn-font-weight: 850;
    --btn-font-family: inherit;
    --btn-font-style: normal;
    --btn-padding: 0 20px;
    --btn-height: 50px;
    --btn-font-size: 14px;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 1px solid #c6e062 !important;
    border-radius: 12px !important;
    outline: none !important;
    background: #c6e062 !important;
    color: #00542d !important;
    box-shadow: 0 8px 20px rgba(0, 84, 45, 0.12) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.ddep21-filter-shell .ddep21-filter-button:hover,
.ddep21-filter-shell .ddep21-filter-button:focus {
    --btn-color: #ffffff;
    --btn-brd-color: #00542d;
    --btn-bgcolor: #00542d;
    border-color: #00542d !important;
    background: #00542d !important;
    color: #ffffff !important;
    box-shadow: 0 11px 24px rgba(0, 84, 45, 0.22) !important;
}

.ddep24-list-shell,
.ddep24-list-shell * {
    box-sizing: border-box;
}

.ddep24-list-shell {
    width: 100%;
}

.ddep24-list-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 0 0 22px;
}

.ddep24-sort-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

.ddep24-sort-label {
    margin: 0;
    color: #00542d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.ddep24-sort-select {
    display: block;
    width: auto;
    min-width: 235px;
    height: 46px;
    margin: 0;
    padding: 0 42px 0 14px;
    border: 1px solid rgba(0, 84, 45, 0.25);
    border-radius: 12px;
    outline: none;
    background-color: #f8fbf5;
    background-image: linear-gradient(45deg, transparent 50%, #00542d 50%), linear-gradient(135deg, #00542d 50%, transparent 50%);
    background-position: calc(100% - 19px) 20px, calc(100% - 14px) 20px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    color: #00542d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.ddep24-sort-select:focus {
    border-color: #00542d;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(198, 224, 98, 0.34);
}

.ddep24-items-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--ddep24-columns, 3), minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

.ddep24-card {
    display: block;
    min-width: 0;
    height: 100%;
    margin: 0;
}

.ddep24-card-inner {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 84, 45, 0.13);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 84, 45, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ddep24-card-inner:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 84, 45, 0.28);
    box-shadow: 0 16px 38px rgba(0, 84, 45, 0.13);
}

.ddep24-card-media {
    position: relative;
    min-width: 0;
    background: #eef4e7;
}

.ddep24-card-thumb,
.ddep24-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.ddep24-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

.ddep24-card-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 16px;
    background: #00542d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.ddep24-card-schedule .epe-item-date,
.ddep24-card-schedule .epe-item-time {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.ddep24-card-category {
    padding: 17px 20px 0;
}

.ddep24-card-category:empty {
    display: none;
}

.ddep24-card-category .epe-item-category-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #c6e062;
    color: #00542d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.ddep24-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 14px 20px 22px;
}

.ddep24-card-content .epe-item-title {
    margin: 0 0 10px;
    color: #00542d;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.2;
}

.ddep24-card-content .epe-item-title-link {
    color: inherit;
    text-decoration: none;
}

.ddep24-card-content .epe-item-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: #4b5f54;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ddep24-card-content .epe-item-excerpt p {
    margin: 0;
}

.ddep24-card-meta {
    display: grid;
    gap: 7px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 84, 45, 0.1);
}

.ddep24-card-meta .epe-meta-row {
    margin: 0;
    color: #53665c;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ddep24-card-meta strong {
    color: #00542d;
}

.ddep24-card-meta a {
    color: #00542d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Vista vertical tipo tarjetas. */
.ddep24-layout-masonry .ddep24-card-inner {
    display: flex;
    flex-direction: column;
}

.ddep24-layout-masonry .ddep24-card-thumb {
    aspect-ratio: 16 / 10;
}

/* Vista horizontal compacta y de altura uniforme dentro de cada fila. */
.ddep24-layout-horizontal .ddep24-card-inner {
    display: grid;
    grid-template-columns: minmax(210px, 36%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "media category"
        "media content";
    align-content: stretch;
}

.ddep24-layout-horizontal .ddep24-card-media {
    grid-area: media;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
}

.ddep24-layout-horizontal .ddep24-card-thumb {
    min-height: 0;
    height: 100%;
}

.ddep24-layout-horizontal .ddep24-card-category {
    grid-area: category;
    padding: 18px 22px 0;
}

.ddep24-layout-horizontal .ddep24-card-content {
    grid-area: content;
    padding: 12px 22px 20px;
}

.ddep24-layout-horizontal .ddep24-card-content .epe-item-excerpt {
    display: block;
    overflow: visible;
    margin-bottom: 12px;
    -webkit-line-clamp: unset;
}

.ddep24-layout-horizontal .ddep24-card-meta {
    margin-top: 14px;
}

/* Capa clickeable para toda la tarjeta, conservando enlaces internos. */
.ddep24-card-hit-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-decoration: none;
}

.ddep24-card-inner a:not(.ddep24-card-hit-area),
.ddep24-card-inner button,
.ddep24-card-inner .ddep24-read-more,
.ddep24-card-inner .ddep24-finished-badge {
    position: relative;
    z-index: 2;
}

.ddep24-read-more-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.ddep24-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid #00542d;
    border-radius: 999px;
    background: #00542d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ddep24-card-inner:hover .ddep24-read-more {
    transform: translateX(3px);
    border-color: #c6e062;
    background: #c6e062;
    color: #00542d;
}

.ddep24-finished-badge {
    position: absolute !important;
    top: 14px;
    right: 14px;
    z-index: 4 !important;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #00542d;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0.015em;
}

.ddep24-card--finished .ddep24-card-thumb img {
    filter: saturate(.72) brightness(.9);
}

.ddep24-card--finished .ddep24-card-inner {
    border-color: rgba(0, 84, 45, 0.22);
}

.ddep24-pagination {
    margin-top: 28px;
}

.ddep24-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ddep24-pagination a,
.ddep24-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 84, 45, 0.18);
    border-radius: 10px;
    background: #ffffff;
    color: #00542d;
    font-weight: 750;
    text-decoration: none;
}

.ddep24-pagination .current,
.ddep24-pagination a:hover {
    border-color: #00542d;
    background: #00542d;
    color: #ffffff;
}

.ddep24-no-posts {
    padding: 24px;
    border: 1px solid rgba(0, 84, 45, 0.14);
    border-radius: 16px;
    background: #f8fbf5;
    color: #00542d;
    text-align: center;
    font-weight: 750;
}

@media (max-width: 1024px) {
    .ddep24-items-grid {
        grid-template-columns: repeat(var(--ddep24-columns-tablet, 2), minmax(0, 1fr)) !important;
    }

    .ddep24-layout-horizontal .ddep24-card-inner {
        grid-template-columns: minmax(150px, 36%) minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .ddep24-list-toolbar,
    .ddep24-sort-form {
        align-items: stretch;
        flex-direction: column;
    }

    .ddep24-sort-form {
        width: 100%;
    }

    .ddep24-sort-select {
        width: 100%;
        min-width: 0;
    }

    .ddep24-items-grid {
        grid-template-columns: repeat(var(--ddep24-columns-mobile, 1), minmax(0, 1fr)) !important;
        gap: 18px;
    }

    .ddep24-layout-horizontal .ddep24-card-inner {
        display: flex;
        flex-direction: column;
    }

    .ddep24-layout-horizontal .ddep24-card-thumb {
        min-height: 210px;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .ddep24-finished-badge {
        top: 12px;
        right: 12px;
    }

    .ddep24-read-more-row {
        justify-content: flex-start;
    }
}

/* =========================================================
 * Darduse Eventos y Panoramas 2.4
 * Ajustes de altura e imagen para tarjetas horizontales.
 * ========================================================= */
.ddep24-layout-horizontal .ddep24-card {
    height: auto !important;
    align-self: start;
}

.ddep24-layout-horizontal .ddep24-card-inner {
    height: auto !important;
    max-height: var(--ddep24-horizontal-height, 340px);
    align-content: start !important;
    align-items: stretch !important;
}

.ddep24-layout-horizontal .ddep24-card-media {
    height: var(--ddep24-horizontal-height, 340px);
    max-height: var(--ddep24-horizontal-height, 340px);
    background: #00542d !important;
    padding-top: 12px;
    align-self: start;
}

.ddep24-layout-horizontal .ddep24-card-thumb,
.ddep24-layout-horizontal .ddep24-card-thumb a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #00542d !important;
}

.ddep24-layout-horizontal .ddep24-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.ddep24-layout-horizontal .ddep24-card-category,
.ddep24-layout-horizontal .ddep24-card-content {
    align-self: start !important;
}

.ddep24-layout-horizontal .ddep24-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    min-height: 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 84, 45, .35) transparent;
}

.ddep24-layout-horizontal .ddep24-card-content .epe-item-title,
.ddep24-layout-horizontal .ddep24-card-content .epe-item-excerpt,
.ddep24-layout-horizontal .ddep24-read-more-row,
.ddep24-layout-horizontal .ddep24-card-meta {
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .ddep24-layout-horizontal .ddep24-card-inner {
        max-height: var(--ddep24-horizontal-height-tablet, 320px);
    }

    .ddep24-layout-horizontal .ddep24-card-media {
        height: var(--ddep24-horizontal-height-tablet, 320px);
        max-height: var(--ddep24-horizontal-height-tablet, 320px);
    }
}

@media (max-width: 767px) {
    .ddep24-layout-horizontal .ddep24-card-inner {
        max-height: none;
    }

    .ddep24-layout-horizontal .ddep24-card-media {
        height: auto;
        max-height: none;
        min-height: 240px;
    }

    .ddep24-layout-horizontal .ddep24-card-thumb {
        min-height: 210px !important;
    }

    .ddep24-layout-horizontal .ddep24-card-content {
        overflow: visible;
    }
}
