/**
 * KOMPLETT NEU - Exakte Vorlage-Nachbildung
 * Asymmetrisches Masonry Layout mit Text unter Bildern
 */

/* Schriftarten */
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

/* Container */
.flexible-articles-layout {
    margin: 0;
    padding: 0;
}

.flexible-articles-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    margin: 0;
    position: relative;
    background-color: #000;
    overflow: hidden;
    width: 100%;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}

.hero-content-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section .hero-content-overlay .hero-category {
    display: none;
}

.hero-section .hero-content-overlay .hero-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 40px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    font-family: 'Merriweather', Georgia, serif !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-shadow: 0 3px 20px rgba(0,0,0,0.7) !important;
}

.hero-section .hero-content-overlay .hero-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ========================================
   THUMBNAIL SCROLLBAR
   ======================================== */
.hero-thumbnails-wrapper {
    background: #fff;
    padding: 25px 0;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

.hero-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 50px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
}

.hero-thumbnails::-webkit-scrollbar {
    display: none;
}

.hero-thumbnail-item {
    flex: 0 0 110px;
    height: 110px;
    scroll-snap-align: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   LATEST SECTION - Versteckt
   ======================================== */
.latest-section {
    display: none !important;
}

/* ========================================
   EXPLORE SECTION
   ======================================== */
.explore-section {
    margin: 70px auto 80px;
    max-width: 1100px;
    padding: 0 40px;
}

.explore-heading {
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    font-size: 32px !important;
    font-weight: normal !important;
    color: #333 !important;
    text-align: center !important;
    margin: 0 0 50px 0 !important;
}

.explore-categories {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.explore-category {
    text-align: center;
}

.explore-icon-wrapper {
    width: 130px;
    height: 130px;
    background: #c1c0a0;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.explore-icon-wrapper:before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.explore-category:hover .explore-icon-wrapper {
    transform: scale(1.05);
}

.explore-icon {
    width: 55%;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
}

.explore-category a {
    text-decoration: none;
}

.explore-category-name {
    font-family: 'Karla', sans-serif !important;
    font-size: 15px !important;
    color: #333 !important;
    font-weight: 500 !important;
}

/* ========================================
   CATEGORY SECTIONS - Basis
   ======================================== */
.category-section {
    margin: 80px auto;
    max-width: 1100px;
    padding: 0 40px;
}

.category-heading {
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    font-size: 28px !important;
    font-weight: normal !important;
    color: #333 !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
}

.category-heading a {
    color: #333 !important;
    text-decoration: none !important;
}

.category-heading a:hover {
    color: #c1c0a0 !important;
}

.category-heading .arrow {
    color: #c1c0a0 !important;
    margin-left: 8px;
    font-weight: normal !important;
}

/* ========================================
   HOME & LIVING - ASYMMETRISCHES LAYOUT
   Links: 1 großes Bild
   Rechts: 2 Artikel übereinander (Bild + Text)
   ======================================== */
.home-living-section .category-articles-asymmetric {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    align-items: start;
}

/* Linke Spalte: Großes Bild */
.home-living-section .category-article-item:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
}

.home-living-section .category-article-item:first-child .category-article-image {
    height: 520px;
}

.home-living-section .category-article-item:first-child .category-article-meta {
    padding: 15px 0 8px 0;
}

.home-living-section .category-article-item:first-child .category-article-title {
    padding: 0;
    font-size: 24px !important;
    line-height: 1.3 !important;
}

/* Rechte Spalte: 2 kleinere Artikel */
.home-living-section .category-article-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.home-living-section .category-article-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.home-living-section .category-article-item:nth-child(2) .category-article-image,
.home-living-section .category-article-item:nth-child(3) .category-article-image {
    height: 240px;
}

/* Basis für alle Artikel-Items */
.category-article-item {
    background: transparent;
    overflow: visible;
    transition: transform 0.2s ease;
}

.category-article-item:hover {
    transform: translateY(-2px);
}

.category-article-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.category-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-article-item:hover .category-article-image img {
    transform: scale(1.03);
}

.category-article-meta {
    padding: 12px 0 8px 0;
}

.category-label {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #c1c0a0 !important;
    color: #fff !important;
    font-family: 'Karla', sans-serif !important;
    font-size: 10px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    border: none !important;
}

.category-label:hover {
    background: #a8af95 !important;
}

.category-article-title {
    font-family: 'Merriweather', serif !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: normal !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.category-article-title a {
    color: #333 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

.category-article-title a:hover {
    color: #c1c0a0 !important;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    margin: 80px auto;
    max-width: 1100px;
    padding: 60px 40px;
    background: #fafafa;
    text-align: center;
}

.team-heading {
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    font-size: 32px !important;
    font-weight: normal !important;
    margin: 0 0 15px 0 !important;
    color: #333 !important;
}

.team-description {
    font-family: 'Karla', sans-serif !important;
    font-size: 15px !important;
    color: #666 !important;
    margin: 0 auto 45px !important;
    max-width: 600px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 700px;
    margin: 0 auto 35px;
}

.team-member {
    text-align: center;
}

.team-member-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-family: 'Merriweather', serif !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin: 0 0 5px 0 !important;
    color: #333 !important;
}

.team-member-title {
    font-family: 'Karla', sans-serif !important;
    font-size: 11px !important;
    color: #c1c0a0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-weight: 600 !important;
}

.team-button {
    display: inline-block;
    padding: 10px 28px;
    background: #c1c0a0;
    color: #fff !important;
    font-family: 'Karla', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border-radius: 3px;
    transition: background 0.3s ease;
    border: none !important;
}

.team-button:hover {
    background: #8a9d97;
}

/* ========================================
   DECORATION SECTION - 3-Grid
   ======================================== */
.decoration-section .category-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.decoration-section .category-article-image {
    height: 260px;
}

/* ========================================
   EDITORS PICK
   ======================================== */
.editors-pick-section {
    margin: 90px 0;
    padding: 70px 0;
    background: #f5f5f5;
}

.editors-pick-header {
    text-align: center;
    margin-bottom: 45px;
}

.editors-pick-title {
    font-family: 'Merriweather', serif !important;
    font-style: italic !important;
    font-size: 26px !important;
    color: #333 !important;
    font-weight: normal !important;
    text-transform: none !important;
}

.editors-pick-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}

.editors-pick-image {
    margin-bottom: 25px;
    overflow: hidden;
}

.editors-pick-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.editors-pick-category {
    display: inline-block !important;
    padding: 3px 10px !important;
    background: #c1c0a0 !important;
    color: #fff !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    font-family: 'Karla', sans-serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.editors-pick-article-title {
    font-family: 'Merriweather', serif !important;
    font-size: 28px !important;
    line-height: 1.4 !important;
    font-weight: normal !important;
    margin: 0 0 15px 0 !important;
    color: #333 !important;
}

.editors-pick-article-title a {
    color: #333 !important;
    text-decoration: none !important;
}

.editors-pick-excerpt {
    font-family: 'Karla', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #666 !important;
}

/* ========================================
   OUTDOOR & GARDEN - 3-Grid
   ======================================== */
.outdoor-garden-section .category-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.outdoor-garden-section .category-article-image {
    height: 260px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-image {
        height: 350px;
    }
    
    .hero-section .hero-content-overlay .hero-title {
        font-size: 26px !important;
    }
    
    .hero-thumbnails {
        padding: 5px 20px;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .hero-thumbnail-item {
        flex: 0 0 90px;
        height: 90px;
    }
    
    .category-section,
    .explore-section {
        padding: 0 20px;
        margin: 60px auto;
    }
    
    /* Home & Living: Mobile - stacked */
    .home-living-section .category-articles-asymmetric {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .home-living-section .category-article-item:first-child {
        grid-row: auto;
    }
    
    .home-living-section .category-article-item:first-child .category-article-image,
    .home-living-section .category-article-item:nth-child(2) .category-article-image,
    .home-living-section .category-article-item:nth-child(3) .category-article-image {
        height: 280px;
    }
    
    .home-living-section .category-article-item:nth-child(2),
    .home-living-section .category-article-item:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .decoration-section .category-articles,
    .outdoor-garden-section .category-articles {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .decoration-section .category-article-image,
    .outdoor-garden-section .category-article-image {
        height: 280px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .team-section {
        padding: 40px 20px;
    }
    
    .explore-categories {
        gap: 40px;
    }
    
    .editors-pick-section {
        padding: 50px 0;
    }
    
    .editors-pick-content {
        padding: 0 20px;
    }
    
    .editors-pick-image img {
        height: 300px;
    }
}
