/* ===== HEADLINE NEWS — Waldbrölkirche (золото + крем) ===== */

.hn-section {
    --hn-gold:   #B8975A;
    --hn-gold-l: #D4B47A;
    --hn-dark:   #1C1C1A;
    --hn-cream:  #FAF8F4;
    --hn-mid:    #5C5852;
    --hn-border: #E8E4DB;
    --hn-white:  #FFFFFF;

    padding: 5rem 4rem;
    background: var(--hn-cream);
    font-family: 'Jost', 'Helvetica Neue', sans-serif;
}

.hn-tag {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hn-gold);
    margin-bottom: 0.5rem;
}

.hn-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    color: var(--hn-dark);
    margin: 0 0 2.5rem;
}

/* Сітка */
.hn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
    align-items: start;
}

/* Картка */
.hn-card {
    background: var(--hn-white);
    border: 1px solid var(--hn-border);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.hn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* Фото */
.hn-card-imglink {
    display: block;
    overflow: hidden;
    height: 190px;
}
.hn-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hn-card:hover .hn-card-img {
    transform: scale(1.04);
}

/* Тіло картки */
.hn-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Картка без фото — трохи більше повітря зверху */
.hn-card--text .hn-card-body {
    padding-top: 1.6rem;
}

/* Метарядок */
.hn-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
}

.hn-cat {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 2px;
}
.hn-cat-news, .hn-cat- { background: #F0EDE6; color: var(--hn-mid); }
.hn-cat-event { background: #EAF1FB; color: #1A5FA3; }
.hn-cat-promo { background: #F5EFE3; color: #8B6B2E; }
.hn-cat-alert { background: #FFF8E1; color: #8B5E00; }
.hn-cat-community { background: #F5EEF8; color: #6B3A8B; }

.hn-badge {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: 500;
}
.hn-badge--soon { background: #FFF8E1; color: #8B5E00; }
.hn-badge--urgent { background: #FFF0F0; color: #A33333; }

.hn-card-date {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hn-gold);
    margin-bottom: 0.5rem;
}

.hn-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.65rem;
}
.hn-card-title a {
    color: var(--hn-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.hn-card-title a:hover { color: var(--hn-gold); }

.hn-card-excerpt {
    font-size: 13px;
    color: var(--hn-mid);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.hn-card-link {
    display: inline-block;
    margin-top: 1.1rem;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hn-gold);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, letter-spacing 0.2s;
    align-self: flex-start;
}
.hn-card-link:hover {
    color: var(--hn-gold-l);
    letter-spacing: 0.14em;
}

/* Адаптив */
@media (max-width: 900px) {
    .hn-section { padding: 3rem 1.2rem; }
    .hn-heading { font-size: 30px; }
    .hn-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
