/* ============================================================
   DATEI: assets/css/blog-global-layout.css
   VERSION: FINAL PRODUCTION
   Design: Glassmorphism, #495E77, #769cc1, Montserrat
============================================================ */

/* ============================================================
   1. BLOG HEADER HERO [global-blog1-header]
============================================================ */

.blog-header-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0;
}

.blog-header-hero .blog-header-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
}

.blog-header-hero .blog-header-container {
    width: 90%;
    margin: 0 auto;
    padding: 10rem 0;
}

.blog-header-hero .blog-header-content {
    display: grid;
    grid-template-columns: 1fr;
    color: #ffffff;
    gap: 2rem;
}

.blog-header-hero h1.blog-header-title {
    font-size: clamp(1.7rem, 1.3rem + 2vw, 2.7rem);
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.05em;
    padding-bottom: 0;
}

.blog-header-hero .blog-header-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
    line-height: 1.5;
    font-weight: 400;
    max-width: 850px;
}

@media (max-width: 980px) {
    .blog-header-hero {
        border-radius: 25px;
    }

    .blog-header-hero .blog-header-overlay {
        background: rgba(0, 0, 0, 0.4);
    }

    .blog-header-hero .blog-header-container {
        width: 100%;
        padding: 7rem 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .blog-header-hero {
        border-radius: 20px;
    }

    .blog-header-hero .blog-header-container {
        text-align: center;
        padding: 5rem 1.5rem !important;
    }

    .blog-header-hero .blog-header-content {
        margin: 0 auto;
        justify-items: center;
    }

    .blog-header-hero .blog-header-desc {
        max-width: 100%;
    }
}

/* ============================================================
   2. BLOG ARTICLE BODY [global-blog2/3]
============================================================ */

.blog-article-container {
    width: 100%;
}

.blog-article-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #495E77;
    font-family: 'Montserrat', sans-serif;
}

.blog-article-body h1,
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4,
.blog-article-body h5,
.blog-article-body h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #495E77;
}

.blog-article-body h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.blog-article-body h3 {
    font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
}

.blog-article-body h4 {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-article-body h5 {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
}

.blog-article-body p {
    margin-bottom: 1.5rem;
}

.blog-article-body a {
    color: #495E77;
    transition: all 0.3s ease;
}

.blog-article-body img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    margin: 2rem 0;
}

@media (max-width: 980px) {
    .blog-article-body img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-article-body {
        font-size: 1rem;
    }

    .blog-article-body img {
        border-radius: 20px;
    }
}

/* ============================================================
   3. GRID LAYOUTS
============================================================ */

.blog-column-grid,
.blog-image-grid,
.grid-50-50,
.grid-33-33 {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    margin: 2rem 0;
    align-items: stretch;
}

.blog-column-grid > div,
.blog-image-grid > div,
.grid-50-50 > div,
.grid-33-33 > div {
    flex: none !important;
    width: 100% !important;
}

.blog-image-grid img {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 30px;
}

@media (max-width: 980px) {
    .blog-image-grid img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-image-grid img {
        border-radius: 20px;
    }
}

/* ============================================================
   4. TABLES - RESPONSIVE
============================================================ */

.table-container {
    width: 100%;
    margin: 2.5rem 0;
    border-radius: 30px;
    overflow: hidden;
}

.blog-article-body table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.blog-article-body table thead th {
    background-color: #495E77;
    color: #ffffff;
    padding: 18px 25px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
}

.blog-article-body table td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(73, 94, 119, 0.1);
    color: #495E77;
}

@media (max-width: 980px) {
    .table-container {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .table-container {
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .blog-article-body table {
        display: block;
        background: transparent;
    }

    .blog-article-body table thead {
        display: none;
    }

    .blog-article-body table tbody {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .blog-article-body table tr {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 20px;
        padding: 0;
        overflow: hidden;
    }

    .blog-article-body table td:first-child {
        background: #495E77;
        color: #ffffff;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 15px 20px;
        text-align: center;
        border-bottom: none;
    }

    .blog-article-body table td:first-child::before {
        display: none !important;
    }

    .blog-article-body table td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(73, 94, 119, 0.08);
        gap: 4px;
    }

    .blog-article-body table td:last-child {
        border-bottom: none;
        padding-bottom: 15px;
    }

    .blog-article-body table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #495E77;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        opacity: 0.8;
    }

    .blog-article-body table td:not([data-label])::before {
        display: none;
    }
}

/* ============================================================
   5. BLOCKQUOTES / ZITATE
============================================================ */

.blog-article-body blockquote,
.blog-article-body blockquote.blog-quote {
    margin: 2rem 0;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: #495E77;
    font-style: italic;
    position: relative;
}

.blog-article-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: clamp(3rem, 2.5rem + 1.5vw, 4rem);
    color: #769cc1;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.blog-article-body blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .blog-article-body blockquote,
    .blog-article-body blockquote.blog-quote {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-article-body blockquote,
    .blog-article-body blockquote.blog-quote {
        padding: 1.5rem 2rem;
        border-radius: 20px;
    }
}

/* ============================================================
   6. HIGHLIGHT BOXES (Tip, Info, Warning)
============================================================ */

.blog-highlight-box,
.blog-tip-box,
.blog-info-box,
.blog-warning-box {
    margin: 2rem 0;
    padding: 2rem 2.5rem;
    border-radius: 30px;
    border-left: 5px solid;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.blog-highlight-box h4,
.blog-tip-box h4,
.blog-info-box h4,
.blog-warning-box h4 {
    margin: 0 0 0.8rem 0 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.blog-highlight-box p,
.blog-tip-box p,
.blog-info-box p,
.blog-warning-box p {
    margin: 0;
    color: #495E77;
}

.blog-highlight-box,
.blog-tip-box {
    border-left-color: #769cc1;
}

.blog-highlight-box h4,
.blog-tip-box h4 {
    color: #769cc1;
}

.blog-info-box {
    border-left-color: #495E77;
}

.blog-info-box h4 {
    color: #495E77;
}

.blog-warning-box {
    border-left-color: #f44336;
}

.blog-warning-box h4 {
    color: #f44336;
}

@media (max-width: 980px) {
    .blog-highlight-box,
    .blog-tip-box,
    .blog-info-box,
    .blog-warning-box {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-highlight-box,
    .blog-tip-box,
    .blog-info-box,
    .blog-warning-box {
        padding: 1.5rem 2rem;
        border-radius: 20px;
    }
}

/* ============================================================
   7. LISTEN (Check & Numbered)
============================================================ */

.blog-check-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 2rem 0;
}

.blog-check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 1rem;
    color: #495E77;
    line-height: 1.6;
}

.blog-check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #495E77;
    font-weight: bold;
    font-size: 1.1rem;
}

.blog-numbered-list {
    padding-left: 0 !important;
    margin: 2rem 0;
    counter-reset: blog-counter;
    list-style: none !important;
    list-style-type: none !important;
}

.blog-numbered-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 1.2rem;
    color: #495E77;
    line-height: 1.6;
    counter-increment: blog-counter;
    list-style: none !important;
    list-style-type: none !important;
}

.blog-numbered-list li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    background: #495E77;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ============================================================
   8. VIDEO GRID
============================================================ */

.blog-video-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    margin: 2.5rem 0;
}

.blog-video-item {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    aspect-ratio: 16 / 9;
}

.blog-video-item iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0;
}

@media (max-width: 980px) {
    .blog-video-item {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-video-item {
        border-radius: 20px;
    }
}

/* ============================================================
   9. FIGURE & FIGCAPTION
============================================================ */

.blog-figure {
    margin: 2.5rem 0;
    text-align: center;
}

.blog-figure img {
    margin: 0 !important;
    border-radius: 30px;
}

.blog-figcaption {
    margin-top: 1rem;
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.9rem);
    color: #769cc1;
    font-style: italic;
}

@media (max-width: 980px) {
    .blog-figure img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-figure img {
        border-radius: 20px;
    }
}

/* ============================================================
   10. CTA BUTTON
============================================================ */

.blog-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #495E77;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(73, 94, 119, 0.2);
    margin: 2.5rem 0;
}

.blog-cta-button:hover {
    background: #3a4d61;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(73, 94, 119, 0.25);
    color: #ffffff !important;
}

.blog-article-body .blog-cta-button {
    display: block;
    width: fit-content;
    margin: 2.5rem auto;
    text-align: center;
}

/* ============================================================
   11. DIVIDER
============================================================ */

.blog-divider,
.blog-article-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #495E77 50%, transparent 100%);
    margin: 3rem 0;
    opacity: 0.5;
}

/* ============================================================
   12. SERVICE GRID
============================================================ */

.blog-service-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.blog-service-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2.5rem;
    border-radius: 30px;
}

.blog-service-content {
    flex: 1;
    color: #495E77;
}

.blog-service-image {
    flex: 1;
    width: 50%;
}

.blog-service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-service-image img {
    margin: 0 !important;
    border-radius: 30px;
    width: 100%;
}

.service-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    background: #495E77;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 980px) {
    .blog-service-item,
    .blog-service-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        border-radius: 25px;
    }

    .blog-service-image {
        width: 100%;
    }

    .blog-service-image img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-service-item {
        border-radius: 20px;
    }

    .blog-service-image img {
        border-radius: 20px;
    }
}

/* ============================================================
   13. AUTHOR BOX [global-blog4-authorbox]
============================================================ */

.blog-author-box {
    width: 100%;
    margin: 2.5rem 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 3rem;
}

.blog-author-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.blog-author-avatar img {
    border-radius: 30px;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.blog-author-content {
    flex: 1;
}

.blog-author-label {
    display: block;
    font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #769cc1;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-author-name {
    font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
    color: #495E77 !important;
    margin: 0 0 1rem 0 !important;
    font-weight: 700;
}

.blog-author-bio {
    color: #495E77;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-author-bio p {
    margin: 0;
}

.blog-author-link {
    font-size: clamp(0.85rem, 0.8rem + 0.15vw, 0.9rem);
    font-weight: 700;
    color: #769cc1;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

@media (max-width: 980px) {
    .blog-author-box {
        border-radius: 25px;
    }

    .blog-author-avatar img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .blog-author-box {
        border-radius: 20px;
        padding: 2rem;
    }

    .blog-author-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .blog-author-avatar img {
        border-radius: 20px;
        width: 100px;
        height: 100px;
    }
}

/* ============================================================
   14. FAQ SECTION [global-blog5-faq]
============================================================ */

.blog-faq-wrapper {
    width: 100%;
    margin: 2.5rem 0;
}

.blog-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-faq-main-title {
    font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    padding-bottom: 2rem;
    color: #495E77;
}

.blog-faq-main-desc {
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
    margin: 0 auto;
    line-height: 1.5;
}

.blog-faq-area {
    width: 100%;
}

.blog-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.blog-faq-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    list-style: none;
}

.blog-faq-item summary {
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #495E77;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.03em;
    list-style: none;
}

.blog-faq-item summary::-webkit-details-marker {
    display: none;
}

.blog-faq-item summary::after {
    content: '';
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
    background-image:
        linear-gradient(#495E77, #495E77),
        linear-gradient(#495E77, #495E77);
    background-size: 100% 2px, 2px 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.blog-faq-item[open] summary::after {
    transform: rotate(180deg);
    background-size: 100% 2px, 0% 100%;
}

.blog-faq-content {
    padding: 0 30px 25px 30px;
    color: #495E77;
    line-height: 1.6;
    font-size: 1rem;
}

.blog-faq-content p {
    margin: 0;
}

@media (max-width: 980px) {
    .blog-faq-item {
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .blog-faq-item {
        border-radius: 10px;
    }

    .blog-faq-item summary {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .blog-faq-content {
        padding: 0 20px 20px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   15. DIVI LAYOUT OVERRIDES
============================================================ */

@media (max-width: 980px) {
    html body #main-content .et-l.et-l--body .global-blog1-header,
    html body #main-content .et-l.et-l--body .global-blog2-standard-editor,
    html body #main-content .et-l.et-l--body .global-blog3-blogcontentmarkup,
    html body #main-content .et-l.et-l--body .global-blog4-authorbox,
    html body #main-content .et-l.et-l--body .global-blog5-faq {
        width: 100% !important;
    }
}

/* ============================================================
   16. BLOG ARCHIVE GRID [blog-archive-grid]
============================================================ */

.blog-archive-grid-wrapper {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* ---------- Filter Bar ---------- */

.blog-archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    align-items: flex-end;
}

.blog-archive-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 200px;
}

.blog-archive-filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #769cc1;
    font-weight: 700;
}

.blog-archive-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495E77;
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23495E77' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    border: 1px solid rgba(73, 94, 119, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-archive-select:hover {
    border-color: rgba(73, 94, 119, 0.3);
}

.blog-archive-select:focus {
    outline: none;
    border-color: #769cc1;
    box-shadow: 0 0 0 3px rgba(118, 156, 193, 0.15);
}

/* ---------- Reset Button ---------- */

.blog-archive-filter-reset-group {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.blog-archive-reset-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #769cc1;
    background: transparent;
    border: 1px solid rgba(118, 156, 193, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-archive-reset-btn:hover {
    color: #495E77;
    border-color: #495E77;
    background: rgba(73, 94, 119, 0.05);
}

/* ---------- Grid ---------- */

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ---------- Card ---------- */

.blog-archive-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(73, 94, 119, 0.15);
}

/* Card Image */

.blog-archive-card-image-link {
    display: block;
    text-decoration: none;
}

.blog-archive-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-archive-card:hover .blog-archive-card-image img {
    transform: scale(1.05);
}

/* Card Body */

.blog-archive-card-body {
    padding: 1.8rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-archive-card-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #769cc1;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.blog-archive-card-title {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    font-weight: 700;
    color: #495E77;
    line-height: 1.35;
    margin: 0 0 0.8rem 0;
}

.blog-archive-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-archive-card-title a:hover {
    color: #769cc1;
}

.blog-archive-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #495E77;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.blog-archive-card-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #769cc1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-archive-card-link:hover {
    color: #495E77;
    border-bottom-color: #495E77;
}

/* ---------- Empty State ---------- */

.blog-archive-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #769cc1;
    font-size: 1rem;
    padding: 3rem 1rem;
}

/* ---------- Load More ---------- */

.blog-archive-loadmore-wrap {
    text-align: center;
    margin-top: 3rem;
}

.blog-archive-loadmore {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: #495E77;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(73, 94, 119, 0.2);
}

.blog-archive-loadmore:hover {
    background: #3a4d61;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(73, 94, 119, 0.25);
}

.blog-archive-loadmore:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Loading Spinner ---------- */

.blog-archive-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0;
}

.blog-archive-grid-wrapper.is-loading .blog-archive-spinner {
    display: flex;
}

.blog-archive-grid-wrapper.is-loading .blog-archive-grid {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.blog-archive-spinner-dot {
    width: 10px;
    height: 10px;
    background: #769cc1;
    border-radius: 50%;
    animation: waBlogDotPulse 1.2s ease-in-out infinite;
}

.blog-archive-spinner-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.blog-archive-spinner-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes waBlogDotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---------- Fade-in for new cards ---------- */

.blog-archive-card.is-new {
    animation: waBlogCardFadeIn 0.5s ease forwards;
}

@keyframes waBlogCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive: 1200px (2-column grid) ---------- */

@media (max-width: 1200px) {
    .blog-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blog-archive-card {
        border-radius: 25px;
    }
}

/* ---------- Responsive: 980px (1-column grid) ---------- */

@media (max-width: 980px) {
    .blog-archive-filters {
        border-radius: 25px;
    }

    .blog-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Responsive: Mobile (767px) ---------- */

@media (max-width: 767px) {
    .blog-archive-filters {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }

    .blog-archive-filter-group {
        flex: 1 1 100%;
        width: 100%;
    }

    .blog-archive-select {
        width: 100%;
    }

    .blog-archive-card {
        border-radius: 20px;
    }

    .blog-archive-card-body {
        padding: 1.5rem;
    }

    .blog-archive-loadmore-wrap {
        margin-top: 2rem;
    }
}

/* ============================================================
   17. BLOG THEMEN LIST [blog-themen-grid]
============================================================ */

.blog-themen-list-wrapper {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.blog-themen-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ---------- Horizontal Card ---------- */

.blog-themen-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-themen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(73, 94, 119, 0.15);
}

.blog-themen-card-image-link {
    display: block;
    flex: 0 0 320px;
    text-decoration: none;
}

.blog-themen-card-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
}

.blog-themen-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-themen-card:hover .blog-themen-card-image img {
    transform: scale(1.05);
}

/* Card Body */

.blog-themen-card-body {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-themen-card-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #769cc1;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.blog-themen-card-title {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
    font-weight: 700;
    color: #495E77;
    line-height: 1.35;
    margin: 0 0 0.8rem 0;
}

.blog-themen-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-themen-card-title a:hover {
    color: #769cc1;
}

.blog-themen-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #495E77;
    margin: 0 0 1.5rem 0;
}

.blog-themen-card-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #769cc1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-themen-card-link:hover {
    color: #495E77;
    border-bottom-color: #495E77;
}

/* ---------- Empty / Load More ---------- */

.blog-themen-empty {
    text-align: center;
    color: #769cc1;
    font-size: 1rem;
    padding: 3rem 1rem;
}

.blog-themen-loadmore-wrap {
    text-align: center;
    margin-top: 3rem;
}

/* Loading state */

.blog-themen-list-wrapper.is-loading .blog-themen-spinner {
    display: flex;
}

.blog-themen-list-wrapper.is-loading .blog-themen-list {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Fade-in for appended cards */

.blog-themen-card.is-new {
    animation: waBlogCardFadeIn 0.5s ease forwards;
}

/* ---------- Responsive: 980px ---------- */

@media (max-width: 980px) {
    .blog-themen-card {
        border-radius: 25px;
    }

    .blog-themen-card-image-link {
        flex: 0 0 260px;
    }

    .blog-themen-card-image {
        min-height: 200px;
    }

    .blog-themen-card-body {
        padding: 1.8rem 2rem;
    }
}

/* ---------- Responsive: 767px (stack vertically) ---------- */

@media (max-width: 767px) {
    .blog-themen-card {
        flex-direction: column;
        border-radius: 20px;
    }

    .blog-themen-card-image-link {
        flex: none;
        width: 100%;
    }

    .blog-themen-card-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .blog-themen-card-body {
        padding: 1.5rem;
    }

    .blog-themen-loadmore-wrap {
        margin-top: 2rem;
    }
}
