/* ─────────────────────────────────────────────────────────────
   Headline Rotator — Front-end Card Styles
───────────────────────────────────────────────────────────── */

.hlr-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.10);
    background: #ffffff;
    max-width: 640px;
    margin: 16px 0;
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
}

.hlr-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
    transform: translateY(-2px);
}

/* Image block */
.hlr-img-wrap {
    flex: 0 0 200px;
    display: block;
    overflow: hidden;
    position: relative;
}

.hlr-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.hlr-card:hover .hlr-img-wrap img {
    transform: scale(1.04);
}

/* Body / headline */
.hlr-body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
}

.hlr-headline {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    color: #333;
    text-decoration: none;
    display: block;
    transition: color .15s;
}

.hlr-headline:hover {
    color: #e1b4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 600px) {
    .hlr-card {
        flex-direction: row;
        align-items: stretch;
    }
    .hlr-img-wrap {
        flex: 0 0 110px;
        width: 110px;
        min-height: 90px;
    }
    .hlr-img-wrap img {
        height: 100%;
    }
    .hlr-body {
        padding: 10px 12px;
        align-items: flex-start;
    }
    .hlr-headline {
        font-size: 14px;
        line-height: 1.4;
    }
}
