.zmh-wrapper {
    width: 100%;
}

/* =========================
   DESTAQUE
   ========================= */

.zmh-featured {
    margin-bottom: 40px;
}

.zmh-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.zmh-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.zmh-featured-content {
    margin-top: 22px;
}

.zmh-title {
    margin: 0 0 14px;
    line-height: 1.25;
    font-size: 2rem;
    font-weight: 700;
}

.zmh-description {
    font-size: .92rem;
    line-height: 1.6;
    color: #555;
}


/* =========================
   FILTROS
   ========================= */

.zmh-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    flex-wrap: wrap;
}

.zmh-filter {
    appearance: none;
    -webkit-appearance: none;

    border: 1px solid #c9a227;
    background: #fff;
    color: #222;

    padding: 8px 16px;
    margin: 0;

    border-radius: 3px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.zmh-filter:hover {
    background: #f5ecd0;
    color: #111;
    border-color: #b18c16;
}

.zmh-filter.active {
    background: #c9a227;
    color: #fff;
    border-color: #c9a227;
}

.zmh-filter.active:hover {
    background: #b18c16;
    border-color: #b18c16;
    color: #fff;
}


/* =========================
   SELECTOR MOBILE
   ========================= */

.zmh-filter-select-wrapper {
    display: none;
}

.zmh-filter-select-label {
    display: block;
    margin: 0 0 6px;

    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.zmh-filter-select {
    display: block;

    width: 100%;
    max-width: 100%;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #c9a227;
    border-radius: 3px;

    background: #fff;
    color: #222;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}


/* =========================
   RIBBON DA PLAYLIST
   ========================= */

.zmh-thumb-wrapper {
    position: relative;
    overflow: hidden;
}

.zmh-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;

    display: inline-block;

    padding: 5px 9px;

    background: #c9a227;
    color: #fff;

    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: .2px;

    z-index: 2;
}

.zmh-featured-ribbon {
    display: inline-block;

    margin-bottom: 10px;

    padding: 5px 9px;

    background: #c9a227;
    color: #fff;

    border-radius: 3px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: .2px;
}


/* =========================
   GRID
   ========================= */

.zmh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.zmh-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all .25s ease;
}

.zmh-card:hover {
    border-color: #d8d8d8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.zmh-card.active {
    border-color: #0a66c2;
    box-shadow: 0 8px 22px rgba(10, 102, 194, .20);
}

.zmh-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.zmh-card-content {
    padding: 14px 16px 16px;
}

.zmh-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================
   CARREGAR MAIS
   ========================= */

.zmh-load-more {
    display: block;

    margin: 30px auto 10px;
    padding: 9px 22px;

    border: 1px solid #c9a227;
    border-radius: 3px;

    background: #fff;
    color: #222;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.zmh-load-more:hover {
    background: #c9a227;
    color: #fff;
    border-color: #c9a227;
}


/* =========================
   ERRO DE ITEM
   ========================= */

.zmh-item-error {
    margin: 0 0 20px;
    padding: 12px 15px;

    border-left: 3px solid #c9a227;

    background: #f7f7f7;
    color: #555;

    font-size: .92rem;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    /* Esconde os botões de filtro */
    .zmh-filters {
        display: none;
    }

    /* Mostra o selector */
    .zmh-filter-select-wrapper {
        display: block;
        margin: 0 0 24px;
    }

    .zmh-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .zmh-title {
        font-size: 1.6rem;
    }

    .zmh-load-more {
        margin-top: 26px;
        margin-bottom: 12px;
    }

}


/* =========================================================
   HNTUBE HOME
   ========================================================= */

/*
 * Este bloco é exclusivo do layout da Home do Hotelier News.
 *
 * Não altera:
 * .zmh-featured
 * .zmh-grid
 * .zmh-card
 *
 * do Media Hub completo.
 */

.zmh-hntube {
    width: 100%;
    padding: 24px;
    background: #ccc !important;
    border-radius: 8px;
}

.zmh-hntube-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, .9fr);
    gap: 28px;
    align-items: start;
}


/* =========================
   DESTAQUE HNTUBE
   ========================= */

.zmh-hntube-featured {
    min-width: 0;
}

.zmh-hntube-featured .zmh-player {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.zmh-hntube-featured .zmh-featured-content {
    margin-top: 18px;
}

.zmh-hntube-featured .zmh-title {
    margin-bottom: 10px;
    font-size: 1.65rem;
    line-height: 1.25;
}

.zmh-hntube-featured .zmh-description {
    font-size: .9rem;
    line-height: 1.5;
}
.zmh-featured-ribbon {display:none}

/* =========================
   GRID DOS 8 CARDS
   ========================= */

.zmh-hntube-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 12px;
    min-width: 0;
}


/* =========================
   CARDS HNTUBE
   ========================= */

.zmh-hntube-grid .zmh-card {
    min-width: 0;

    background: #fff;
    border: 2px solid transparent;
    border-radius: 6px;

    overflow: hidden;
    cursor: pointer;

    box-shadow: none;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.zmh-hntube-grid .zmh-card:hover {
    border-color: #d8d8d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}


/* =========================
   CARD ATIVO
   ========================= */

.zmh-hntube-grid .zmh-card.active .zmh-card-content {
    background: #F0D9C9 !important;
}

.zmh-hntube-grid .zmh-card.active {
    border-color: #F0D9C9 !important;
    box-shadow: none !important;
}

.zmh-hntube-grid .zmh-card.active:hover {
    border-color: transparent;
    box-shadow: none;
}

.zmh-hntube-grid .zmh-card.active:hover .zmh-card-content {
    background: #085aa8;
}


/* =========================
   THUMBNAILS
   ========================= */

.zmh-hntube-grid .zmh-thumb-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #eee;
}

.zmh-hntube-grid .zmh-thumb {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}


/* =========================
   CONTEÚDO DOS CARDS
   ========================= */

.zmh-hntube-grid .zmh-card-content {
    padding: 9px 10px 11px;
}

.zmh-hntube-grid .zmh-card-title {
    margin: 0;

    font-size: .84rem;
    line-height: 1.28;
    font-weight: 600;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.zmh-hntube-grid .zmh-thumb-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .38);

    opacity: 0;
    transition: opacity .2s ease;

    z-index: 3;
}

.zmh-hntube-grid .zmh-thumb-wrapper::after {
    content: "▶";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 42px;
    height: 42px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff0033;
    color: #fff;

    border-radius: 50%;

    font-size: 17px;
    line-height: 1;

    padding-left: 2px;

    opacity: 0;

    transition:
        opacity .2s ease,
        transform .2s ease;

    z-index: 4;
}

.zmh-hntube-grid .zmh-card:not(.active):hover .zmh-thumb-wrapper::before {
    opacity: 1;
}

.zmh-hntube-grid .zmh-card:not(.active):hover .zmh-thumb-wrapper::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}



/* =========================
   MOBILE HNTUBE
   ========================= */

@media (max-width: 767px) {

    .zmh-hntube-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .zmh-hntube-featured .zmh-title {
        font-size: 1.5rem;
    }

    .zmh-hntube-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .zmh-hntube-grid .zmh-card-title {
        font-size: .95rem;
    }

}