/* ==========================================================================
   Dorf News / Blog Elemente (Design matching index.html)
   ========================================================================== */

/* 1. Großer Beitrags-Kasten (Links) */
.dorf-news-featured {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-decoration: none !important;
    color: inherit !important;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    font-family: var(--body_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.dorf-news-featured:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.dorf-news-featured-image {
    width: 100%;
    height: 330px;
    border-radius: 14px;
    background-color: #f4efe9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    transition: filter 0.35s ease;
}

.dorf-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.dorf-news-featured:hover .dorf-news-featured-image img,
.dorf-news-featured:hover .dorf-news-featured-image {
    filter: brightness(0.96);
}

.dorf-news-featured-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dorf-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    color: #a09789 !important;
    font-family: var(--body_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    line-height: 1.2;
}

.dorf-news-meta-category {
    color: #e8641e !important;
    font-weight: 700 !important;
}

.dorf-news-meta-divider {
    width: 14px;
    height: 1px;
    background: #ddd6cb;
    display: inline-block;
    flex-shrink: 0;
}

.dorf-news-meta-date {
    color: #a09789 !important;
    font-weight: 500;
}

.dorf-news-featured-title {
    margin: 0 !important;
    font-family: var(--h1_typography-font-family, var(--headings_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif)) !important;
    font-weight: 700 !important;
    font-size: clamp(24px, 2.4vw, 32px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.015em !important;
    color: #333333 !important;
    text-wrap: balance;
    transition: color 0.2s ease;
}

.dorf-news-featured:hover .dorf-news-featured-title {
    color: #e8641e !important;
}

.dorf-news-featured-text {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    color: #666666 !important;
    max-width: 52ch;
    font-family: var(--body_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    text-wrap: pretty;
}


/* 2. Beitrags-Liste (Rechts) */
.dorf-news-list-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--body_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.dorf-news-list-header {
    margin: 0 0 24px !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd6cb;
    font-family: var(--h1_typography-font-family, var(--headings_typography-font-family, inherit)) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
    color: #333333 !important;
    line-height: 1.2;
}

.dorf-news-list-items {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dorf-news-list-item {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid #ece8e2;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.dorf-news-list-item:first-child {
    padding-top: 0;
}

.dorf-news-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dorf-news-list-thumb {
    flex: 0 0 118px;
    width: 118px;
    height: 118px;
    border-radius: 12px;
    background-color: #f4efe9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: filter 0.35s ease;
}

.dorf-news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.dorf-news-list-item:hover .dorf-news-list-thumb img,
.dorf-news-list-item:hover .dorf-news-list-thumb {
    filter: brightness(0.96);
}

.dorf-news-list-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.dorf-news-list-title {
    margin: 0 !important;
    font-family: var(--h1_typography-font-family, var(--headings_typography-font-family, inherit)) !important;
    font-weight: 700 !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    color: #333333 !important;
    text-wrap: balance;
    transition: color 0.2s ease;
}

.dorf-news-list-item:hover .dorf-news-list-title {
    color: #e8641e !important;
}

.dorf-news-list-text {
    margin: 0 !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #7a736a !important;
    font-family: var(--body_typography-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    text-wrap: pretty;
}

/* Responsive adjustments */
@media (max-width: 680px) {
    .dorf-news-featured-image {
        height: 240px;
    }
    .dorf-news-list-item {
        gap: 16px;
        padding: 18px 0;
    }
    .dorf-news-list-thumb {
        flex: 0 0 90px;
        width: 90px;
        height: 90px;
    }
    .dorf-news-list-title {
        font-size: 17px !important;
    }
    .dorf-news-list-text {
        font-size: 14px !important;
    }
}
