.hero-header-news {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 0;
}

.hhn-wrapper {
    display: flex;
    gap: 0;
    min-height: clamp(550px, 38vw, 680px);
    border-radius: 10px;
    overflow: hidden;
}

/* Featured (left) - slider area */
.hhn-featured {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

/* Background slides */
.hhn-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    background-color: var(--color-dark, #1d1d1d);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.hhn-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hhn-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(29, 29, 29, 0.85) 0%, rgba(29, 29, 29, 0.4) 40%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

/* Slide content (shared) */
.hhn-slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hhn-slide-content.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Custom slide - centered */
.hhn-slide-content--custom {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 50px 40px;
}

.hhn-featured__title {
    font-family: var(--font-primary, sans-serif);
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--color-white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hhn-title-text {
    white-space: nowrap;
}

.hhn-title-logo {
    height: 80px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.hhn-featured__text {
    color: var(--color-light-body, rgba(255, 255, 255, 0.9));
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 550px;
}

/* Post slide - bottom-left like reference */
.hhn-slide-content--post {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px 50px;
    max-width: 650px;
}

.hhn-featured__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hhn-category-sep,
.hhn-category-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.hhn-date {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white, #fff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 3px;
    line-height: 1;
}

.hhn-category-name {
    font-style: italic;
}

.hhn-post__title {
    font-family: var(--font-primary, sans-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-white, #fff);
}

.hhn-post__title a {
    color: inherit;
    text-decoration: none;
}

.hhn-post__title a:hover {
    text-decoration: underline;
}

.hhn-post__excerpt {
    color: var(--color-light-body, rgba(255, 255, 255, 0.85));
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Buttons */
.hhn-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hhn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary, sans-serif);
    color: var(--color-white, #fff);
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.5));
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hhn-btn:hover {
    background: var(--color-primary, #CF2027);
    color: var(--color-white, #fff);
    border-color: var(--color-primary, #CF2027);
}

.hhn-btn .arrow {
    font-size: 13px;
}

/* Badge */
.hhn-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary, sans-serif);
    background: var(--color-primary, #CF2027);
    color: var(--color-white, #fff);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.hhn-badge--small {
    font-size: 10px;
    padding: 3px 10px;
    align-self: flex-start;
}

/* Sidebar (right) */
.hhn-sidebar {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-light, #fff);
}

.hhn-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--color-border-white, #00000024);
    text-decoration: none;
    color: inherit;
    flex: 1;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hhn-card.is-active {
    background: rgba(29, 29, 29, 0.06);
}

.hhn-card:hover {
    background: var(--color-lightest, #F0F2F5);
}

.hhn-card.is-active:hover {
    background: rgba(29, 29, 29, 0.08);
}

.hhn-card__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hhn-card.is-active .hhn-card__progress {
    opacity: 1;
}

.hhn-card__progress-bar {
    height: 100%;
    background: var(--color-primary, #CF2027);
    width: 0;
    animation: none;
}

.hhn-card.is-active .hhn-card__progress-bar {
    animation: hhn-progress var(--hhn-interval, 5s) linear forwards;
}

@keyframes hhn-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hhn-card__image {
    width: 120px;
    aspect-ratio: 4 / 3;
    align-self: center;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hhn-card--welcome {
    background: var(--color-dark, #1d1d1d) !important;
    justify-content: center;
    align-items: center;
}

.hhn-card--welcome:hover {
    background: rgba(29, 29, 29, 0.88) !important;
}

.hhn-card__welcome-label {
    font-family: var(--font-primary, sans-serif);
    color: var(--color-white, #fff);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.hhn-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hhn-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.hhn-card__title {
    font-family: var(--font-primary, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--color-light-heading, #181c32);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hhn-card__date {
    font-size: 12px;
    color: var(--color-midgray, #888);
    font-style: italic;
}

/* Responsive */
@media (min-width: 1600px) {
    .hhn-sidebar {
        width: 420px;
    }

    .hhn-featured__title {
        font-size: 64px;
    }

    .hhn-slide-content--post {
        max-width: 750px;
    }
}

@media (max-width: 1200px) {
    .hhn-sidebar {
        width: 320px;
    }
}

@media (max-width: 991px) {
    .hero-header-news {
        margin-top: 114px;
    }

    .hhn-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .hhn-featured {
        min-height: 450px;
    }

    .hhn-slide-content--custom {
        min-height: 450px;
    }

    .hhn-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hhn-card {
        flex: 1 1 calc(50% - 1px);
        min-width: 280px;
    }
}

@media (max-width: 575px) {
    .hhn-slide-content--custom {
        padding: 80px 20px 24px;
    }

    .hhn-slide-content--post {
        padding: 50px 20px 30px;
    }

    .hhn-featured__title {
        font-size: 24px;
    }

    .hhn-title-text {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .hhn-featured__meta {
        margin-bottom: 20px;
    }

    .hhn-post__title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hhn-post__excerpt {
        margin-bottom: 20px;
    }

    .hhn-sidebar {
        flex-direction: column;
    }

    .hhn-card {
        flex: 1 1 100%;
    }

    .hhn-card__image {
        width: 100px;
    }

    .hhn-title-logo {
        height: 50px;
    }
}
