/* ============================
   ZIMGerm Archive – Global Layout
   ============================ */

.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

/* ============================
   Hero – Midnight + Umber
   ============================ */

.archive-hero {
    position: relative;
    padding: 150px 0 90px;
    background: linear-gradient(135deg, #0F1A2B 0%, #2A2F36 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.archive-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(198, 166, 103, 0.25),
        transparent 70%
    );
    opacity: 0.9;
}

.archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.65)
    );
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */

.archive-breadcrumb {
    font-size: 14px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.75);
}

.archive-breadcrumb a {
    color: #C6A667;
    text-decoration: none;
    font-weight: 600;
}

.archive-breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero title */

.archive-hero-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

/* Verified toggle */

.archive-verified-toggle {
    margin-top: 18px;
}

.archive-verified-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}

.archive-verified-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C6A667;
}

/* ============================
   Intro blocks
   ============================ */

.archive-intro {
    margin-top: 40px;
    margin-bottom: 26px;
    text-align: left;
}

.archive-intro h2 {
    font-size: 26px;
    font-weight: 600;
    color: #2A2F36;
    margin-bottom: 10px;
}

.archive-intro p {
    font-size: 16px;
    line-height: 1.65;
    color: #3A3F47;
}

.projects-archive-intro {
    margin-bottom: 32px;
}

.projects-archive-intro h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2A2F36;
    margin-bottom: 10px;
}

.projects-archive-intro p {
    font-size: 16px;
    line-height: 1.65;
    color: #3A3F47;
}

/* ============================
   Layout
   ============================ */

.projects-archive-wrapper {
    margin-top: 30px;
}

.projects-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

/* ============================
   Mobile filter button
   ============================ */

.mobile-filter-btn {
    display: none;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    background: #0F1A2B;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-filter-btn {
        display: inline-block;
        margin-bottom: 12px;
    }
}

/* ============================
   Filter bar
   ============================ */

.projects-archive-filters {
    background: #F5F7FA;
    border-radius: 12px;
    padding: 20px 18px;
    border: 1px solid rgba(15,26,43,0.08);
}

.projects-archive-filters h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2A2F36;
    margin-bottom: 14px;
}

.projects-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2A2F36;
}

.filter-group select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid rgba(15,26,43,0.18);
    font-size: 14px;
    color: #2A2F36;
    background: #FFFFFF;
}

.checkbox-inline {
    font-size: 13px;
    color: #2A2F36;
}

/* Filter actions */

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.btn-primary,
.btn-secondary {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0F1A2B;
    color: #FFFFFF;
}

.btn-secondary {
    background: #E0E3E8;
    color: #2A2F36;
}

@media (max-width: 900px) {
    .projects-filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .projects-filter-form {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Active filter chips
   ============================ */

.active-filters-bar {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #F5F7FA;
    border: 1px solid rgba(15,26,43,0.12);
    font-size: 13px;
    color: #2A2F36;
}

.filter-chip a {
    text-decoration: none;
    color: #0F1A2B;
    font-weight: 600;
}

/* ============================
   Featured projects slider
   ============================ */

.featured-projects {
    margin-top: 30px;
    padding: 22px 18px;
    border-radius: 12px;
    background: #0F1A2B;
    color: #FFFFFF;
    position: relative;
}

.featured-projects h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.featured-nav {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    gap: 8px;
}

.featured-prev,
.featured-next {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #FFFFFF;
    cursor: pointer;
    font-size: 14px;
}

.featured-prev:hover,
.featured-next:hover {
    background: rgba(255,255,255,0.25);
}

.featured-slider {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
}

.featured-slide {
    min-width: 260px;
    background: rgba(42,47,54,0.9);
    border-radius: 10px;
    padding: 12px 12px 14px;
    flex-shrink: 0;
}

.featured-slide img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
}

.featured-slide h3 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

/* ============================
   Section title above grid
   ============================ */

.archive-section-title {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 600;
    color: #2A2F36;
}

/* ============================
   Main grid
   ============================ */

.projects-archive-main {
    min-width: 0;
}

.projects-grid-wrapper {
    margin-top: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ============================
   Project card
   ============================ */

.project-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(15,26,43,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-card-inner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Thumbnail */

.project-card-thumb {
    height: 170px;
    background: #0F1A2B;
    overflow: hidden;
}

.project-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body */

.project-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Topline badges */

.project-card-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.badge-sector {
    background: #E8EBEF;
    color: #2A2F36;
}

.badge-verified {
    background: #1F7A4D;
    color: #FFFFFF;
}

.badge-flagship {
    background: #C6A667;
    color: #2A2F36;
}

/* Title */

.project-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2A2F36;
    margin-bottom: 4px;
}

/* Meta */

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #3A3F47;
}

.meta-item {
    display: inline-flex;
    align-items: center;
}

/* Stats */

.project-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #2A2F36;
}

.stat-item {
    display: inline-flex;
    align-items: center;
}

/* Excerpt */

.project-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #3A3F47;
    margin-top: 4px;
}

/* CTA */

.project-card-cta {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0F1A2B;
}

/* ============================
   Pagination
   ============================ */

.projects-archive-pagination {
    margin-top: 26px;
    text-align: center;
}

.projects-archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    background: #F5F7FA;
    border-radius: 6px;
    border: 1px solid rgba(15,26,43,0.12);
    font-size: 14px;
    color: #2A2F36;
    text-decoration: none;
}

.projects-archive-pagination .page-numbers.current {
    background: #C6A667;
    color: #2A2F36;
    border-color: #C6A667;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 900px) {
    .archive-hero {
        padding: 130px 0 70px;
    }

    .archive-hero-title {
        font-size: 32px;
    }

    .archive-container {
        padding: 0 16px 40px;
    }
}

@media (max-width: 600px) {
    .featured-projects {
        padding: 18px 14px;
    }

    .featured-slide {
        min-width: 220px;
    }
}


/* ============================
   NEW FEATURED SLIDER
============================ */

.zg-featured-section {
    margin-top: 40px;
    padding: 24px 20px;
    background: #0F1A2B;
    border-radius: 12px;
    color: #FFFFFF;
    position: relative;
}

.zg-featured-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.zg-featured-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.zg-featured-prev,
.zg-featured-next {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}

.zg-featured-slider {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.zg-featured-slide {
    min-width: 260px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px;
    flex-shrink: 0;
    text-align: center;
}

.zg-featured-slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.zg-featured-slide h3 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}



/* ============================
   ZG Featured Slider — Midnight + Umber
   ============================ */

.zg-featured-section {
    margin-top: 40px;
    padding: 28px 22px;
    background: #0F1A2B;
    border-radius: 14px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.zg-featured-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: left;
    color: #C6A667; /* Umber gold */
}

.zg-featured-slider {
    display: flex !important;
    gap: 22px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.zg-featured-slider::-webkit-scrollbar {
    height: 6px;
}

.zg-featured-slider::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
}

.zg-featured-slide {
    min-width: 260px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px;
    flex-shrink: 0;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
}

.zg-featured-slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.zg-featured-slide h3 {
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
}


/* Fix filter bar breaking */
.projects-filter-form select {
    min-width: 100%;
    max-width: 100%;
    white-space: nowrap;
}

.filter-group {
    min-width: 0;
}

.projects-filter-form {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 18px !important;
}


/* Archive intro — sovereign brand */
.archive-intro,
.projects-archive-intro {
    text-align: center !important;
    max-width: 780px;
    margin: 40px auto 50px !important;
    padding: 0 20px;
}

.archive-intro h2,
.projects-archive-intro h3 {
    font-size: 28px;
    font-weight: 600;
    color: #7A5E3A; /* Umber gold */
    margin-bottom: 14px;
}

.archive-intro p,
.projects-archive-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: #E0E3E8;
}


.archive-hero,
.zg-archive-hero {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}


/* Fix hero background repeat */
.archive-hero,
.zg-archive-hero {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}


/* Archive intro — sovereign brand */
.archive-intro,
.projects-archive-intro {
    text-align: center !important;
    max-width: 760px;
    margin: 40px auto 50px !important;
    padding: 0 20px;
}

.archive-intro h2,
.projects-archive-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: #7A5E3A; /* Amber */
    margin-bottom: 12px;
}

.archive-intro p,
.projects-archive-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: #2F3B4C
; /* Strong dark text on white */
    margin-top: 8px;
}


.archive-hero {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}


.archive-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(212, 162, 76, 0.45),   /* Amber */
        rgba(15, 26, 43, 0.85) 70%  /* Midnight fade */
    );
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    column-gap: 20px;   /* keep horizontal spacing tight */
    row-gap: 32px;      /* add breathing room between rows */
}


.archive-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
}


.archive-intro h2 {
    font-size: 26px;
    font-weight: 700;
    color: #D4A24C; /* Amber */
    margin-bottom: 10px;
}


.project-card h3,
.zg-featured-slide h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1A1A1A; /* or #FFFFFF on dark */
}


.archive-hero-bg {
    background-image: none !important;
}

.archive-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 20% 30%,
        rgba(212, 162, 76, 0.45),
        rgba(15, 26, 43, 0.85) 70%
    ) !important;
}


.archive-hero-overlay {
    background-image: none !important;
    background-color: transparent !important;
}


.archive-hero-bg {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}


/* HERO WRAPPER */
.archive-hero {
    position: relative;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* HERO IMAGE */
.archive-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* CONTENT */
.archive-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 40px 20px;
    color: #FFFFFF;
}

/* TITLE */
.archive-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* SUBTITLE */
.archive-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 680px;
}


/* HERO WRAPPER */
.archive-hero {
    position: relative;
    height: 360px; /* REQUIRED so the image can appear */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* HERO IMAGE */
.archive-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* OVERLAY — keep it simple */
.archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.65)
    );
    z-index: 2;
    pointer-events: none;
}

/* CONTENT */
.archive-hero-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    color: #FFFFFF !important; /* FIX invisible text */
}

/* TITLE */
.archive-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* SUBTITLE */
.archive-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 680px;
    color: #FFFFFF !important; /* FIX invisible text */
}


/* HERO WRAPPER */
.archive-hero {
    position: relative;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* HERO IMAGE — INSERT YOUR IMAGE HERE */
.archive-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://design.zimgerm.de/wp-content/uploads/2026/06/ind4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* CONTENT */
.archive-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 760px;
    color: #FFFFFF;
}

/* TITLE */
.archive-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* SUBTITLE */
.archive-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 680px;
}



/* HERO WRAPPER */
.archive-hero {
    position: relative;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* HERO IMAGE — INSERT YOUR IMAGE HERE */
.archive-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://design.zimgerm.de/wp-content/uploads/2026/07/scene.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* CONTENT */
.archive-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 760px;
    color: #FFFFFF !important;
}

/* TITLE */
.archive-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* SUBTITLE */
.archive-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 680px;
    color: #FFFFFF !important;
}


.archive-hero-content {
    text-align: center !important;
}

.archive-hero-title {
    text-align: center !important;
}




/* Increase hero height */
.archive-hero {
    height: 620px !important; /* was 360px */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.archive-hero-title,
.archive-hero-subtitle {
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}




header.archive-hero > .archive-hero-overlay {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 35, 0.78),   /* Midnight tone to darken architecture */
        rgba(10, 20, 35, 0.92)    /* Stronger midnight for text clarity */
    );
    z-index: 2;
    pointer-events: none;
}


.archive.archive-project_listing .archive-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 35, 0.78),
        rgba(10, 20, 35, 0.92)
    ) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}


.archive.archive-project_listing .archive-hero-bg {
    background-image: url('YOUR-IMAGE.jpg') !important;
}



.archive-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 26, 43, 0.55),
        rgba(15, 26, 43, 0.65),
        rgba(15, 26, 43, 0.75)
    );
    z-index: 1;
}
