/*
 Theme Name:   FASD-Fachzentrum Hamburg
 Theme URI:    https://generatepress.com
 Description:  FASD-Fachzentrum Hamburg - Relaunch 2025
 Author:       Anastasia Berg
 Author URI:   https://fasd-fachzenztrum.hamburg
 Template:     generatepress
 Version:      1.5
*/


    .fasd-membership {
        line-height: 1.6;
        padding: 20px;
    }
    

    .fasd-membership .highlight {
        background-color: #f5f9fc;
        padding: 15px;
        border-left: 4px solid #1a5276;
        margin: 20px 0;
    }
    
    .fasd-membership table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }
    
    .fasd-membership th, 
    .fasd-membership td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
    }
    
    .fasd-membership th {
        background-color: #f5f9fc;
        color: #1a5276;
        font-weight: bold;
    }
    
    .fasd-membership ul {
        padding-left: 20px;
    }
    
    .fasd-membership li {
        margin-bottom: 8px;
    }
    
    .fasd-membership .bank-info {
        background-color: #f5f9fc;
        padding: 15px;
        border-radius: 8px;
        margin: 20px 0;
    }


/* FASD Teasers */
.fasd-teaser-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.fasd-teaser {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fasd-teaser:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.fasd-teaser-image {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.fasd-teaser-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
}

.fasd-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fasd-teaser:hover .fasd-teaser-image img {
    transform: scale(1.05);
}

.fasd-teaser-content {
    padding: 20px;
}

.fasd-teaser-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a5276;
}

.fasd-teaser-text {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.fasd-teaser-link {
    display: inline-block;
    color: #1a5276;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.fasd-teaser-link:after {
    content: "→";
    margin-left: 5px;
}

.fasd-teaser-link:hover {
    text-decoration: underline;
}

/* Special variants for specific teasers */
#fuersprecher-teaser .fasd-teaser-image img {
    object-fit: cover;
}

#fuersprecher-teaser .fasd-teaser-image {
    background-color: #d9f1f8;
}

#aktivitaeten-teaser .fasd-teaser-image {
    background-color: #7ecbe8;
}

/* Grid layout variant - for the 6-item layout */
.fasd-teaser-container.grid-layout {
    gap: 24px;
}

.fasd-teaser-container.grid-layout .fasd-teaser {
    width: calc(33.33% - 16px);
    flex: none;
    box-shadow: none;
    border-radius: 0;
}

.fasd-teaser-container.grid-layout .fasd-teaser:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.fasd-teaser-container.grid-layout .fasd-teaser-image {
    width: 100%;
    height: auto;
    padding-bottom: 100%;
    background-color: transparent;
}

.fasd-teaser-container.grid-layout .fasd-teaser-image a {
    position: absolute;
    top: 0;
    left: 0;
}

.fasd-teaser-container.grid-layout .fasd-teaser-image img {
    position: absolute;
    top: 0;
    left: 0;
}

.fasd-teaser-container.grid-layout .fasd-teaser-content {
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .fasd-teaser-container.grid-layout .fasd-teaser {
        width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .fasd-teaser-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .fasd-teaser {
        width: 100%;
        min-width: auto;
    }
    
    .fasd-teaser-container.grid-layout .fasd-teaser {
        width: 100%;
    }
    
    /* Mobile: make images cover and taller for better mobile viewing */
    .fasd-teaser-image {
        height: 180px;
    }
    
    .fasd-teaser-image img {
        object-fit: cover;
        object-position: center;
    }
    
    /* Grid layout mobile adjustments */
    .fasd-teaser-container.grid-layout .fasd-teaser-image {
        height: 180px;
        padding-bottom: 0;
        position: relative;
    }
    
    .fasd-teaser-container.grid-layout .fasd-teaser-image a {
        position: static;
    }
    
    .fasd-teaser-container.grid-layout .fasd-teaser-image img {
        position: static;
        object-fit: cover;
        object-position: center;
    }
    
    /* Mobile content adjustments */
    .fasd-teaser-content {
        padding: 15px;
    }
    
    .fasd-teaser-container.grid-layout .fasd-teaser-content {
        padding: 15px 0;
    }
    
    .fasd-teaser-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .fasd-teaser-text {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .fasd-teaser-container.grid-layout .fasd-teaser {
        width: 100%;
    }
    
    /* Even smaller mobile adjustments */
    .fasd-teaser-container {
        gap: 15px;
        padding: 0 10px;
    }
    
    .fasd-teaser-image {
        height: 160px;
    }
    
    .fasd-teaser-container.grid-layout .fasd-teaser-image {
        height: 160px;
    }
    
    .fasd-teaser-content {
        padding: 12px;
    }
    
    .fasd-teaser-title {
        font-size: 15px;
    }
    
    .fasd-teaser-text {
        font-size: 12px;
    }
}

/* Membership Banner Styles */
.stoerer-wrapper {
    background: #1e3170;
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
	margin-bottom: 20px;
}

.stoerer-left-image {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.stoerer-left-image img {
    height: 200px;
    width: auto;
}

.stoerer-center-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 120px;
}

.stoerer-title {
    font-size: 26px;
    margin: 5px 0 15px 0;
}

.stoerer-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.stoerer-button {
    display: inline-block;
    background: white;
    color: #1e3170!important;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.stoerer-button:hover {
    color: #000!important;
    transform: scale(1.05);
}

.stoerer-right-image {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.stoerer-right-image img {
    height: 190px;
    width: auto;
}

/* Donation Banner Styles */
.donation-stoerer-wrapper {
    background: #1e3170;
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 30px;
}

.donation-left-image {
    position: absolute;
    left: 90px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.donation-left-image img {
    height: 220px;
    width: auto;
}

.donation-center-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 120px;
}

.donation-title {
    font-size: 26px;
    margin: 5px 0 15px 0;
}

.donation-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.donation-button {
    display: inline-block;
    background: white;
    color: #1e3170;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.donation-button:hover {
    transform: scale(1.05);
}

.donation-icons {
    margin-top: 15px;
}

.donation-icons i {
    color: white;
    font-size: 20px;
    margin: 0 5px;
}

.donation-right-image {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.donation-right-image img {
    height: 190px;
    width: auto;
}

/* Partner Carousel Styles */
.logo-gallery {
    position: relative;
    max-width: 100%;
    background: white !important;
}

.logo-viewport {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    transition: transform 0.3s ease;
}

.logo-panel {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.logo-cell {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    text-align: center;
    text-decoration: none;
}

.logo-cell img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.logo-nav-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-nav-control:disabled {
    opacity: 0.5;
}

.logo-prev-control {
    left: 15px;
}

.logo-next-control {
    right: 15px;
}

.logo-nav-control::before {
    content: '';
    width: 20px;
    height: 20px;
    border-top: 5px solid #666;
    border-right: 5px solid #666;
    display: inline-block;
}

.logo-prev-control::before {
    transform: rotate(-135deg);
}

.logo-next-control::before {
    transform: rotate(45deg);
}

.logo-spacer {
    aspect-ratio: 1/1;
    display: flex;
    visibility: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .stoerer-wrapper {
        text-align: center;
    }
    
    .stoerer-center-content {
        padding: 0 20px;
    }
    
    .stoerer-left-image,
    .stoerer-right-image {
        display: none;
    }
    
    .donation-stoerer-wrapper {
        text-align: center;
    }
    
    .donation-center-content {
        padding: 0 20px;
    }
    
    .donation-left-image,
    .donation-right-image {
        display: none;
    }
}


.site-footer {
    display: none !important;
}

.fasd-footer {
    width: 100%;
    background-color: #d9f1f8;
    padding: 30px 0 0 0;
    font-family: 'Lexend', sans-serif;
    margin: 0;
}

.fasd-footer-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 0 20px;
}

.fasd-footer-column {
    margin-bottom: 20px;
}

.footer-title {
    color: #005f8c;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #005f8c;
}

.fasd-footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 10px auto 0;
    padding: 15px 0 0;
    text-align: center;
    max-width: 700px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-bottom-links li {
    display: inline-block;
}

.footer-bottom-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 768px) {
    .fasd-footer-container {
        flex-direction: column;
        gap: 30px;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 768px) {
   .wp-block-latest-posts__list.wp-block-latest-posts li {
       margin-bottom: 30px;
       padding-bottom: 20px;
       border-bottom: 1px solid #eee;
   }
   
   .wp-block-latest-posts__featured-image.alignleft {
       float: none !important;
       margin: 0 0 15px 0 !important;
       width: 100% !important;
   }
   
   .wp-block-latest-posts__featured-image img {
       width: 100% !important;
       height: 200px !important;
       object-fit: cover !important;
       max-width: none !important;
       max-height: none !important;
       top: 0 !important;
       left: 0 !important;
   }
   
   .wp-block-latest-posts__featured-image::after {
       display: none;
   }
   
   .wp-block-latest-posts__post-title {
       font-size: 18px !important;
       line-height: 1.3 !important;
       margin-bottom: 10px !important;
       display: block !important;
   }
   
   .wp-block-latest-posts__post-excerpt {
       font-size: 14px !important;
       line-height: 1.4 !important;
       margin-top: 10px !important;
       overflow: hidden;
       display: -webkit-box;
       -webkit-line-clamp: 3;
       -webkit-box-orient: vertical;
   }
   
   .read-more {
       font-weight: bold;
       color: #0073aa;
   }
}


.wpcf7-acceptance.wpcf7-form-control {
    background: none !important;
    border: none !important;
    width: auto !important;
}

.wpcf7-form {
    padding: 0;
}

.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: #1e3170;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 49, 112, 0.1);
}

.wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

.wpcf7-submit {
    width: 100%;
    background: #1e3170;
    color: white;
    padding: 18px 24px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcf7-submit:hover {
    background: #2a4080;
}

.wpcf7-quiz label {
    display: block;
    font-weight: 600;
    color: #333;
}

.wpcf7-quiz .wpcf7-form-control {
    max-width: 200px;
}

/* Fix for form wrapper */
.wpcf7 {
    margin-bottom: 0;
}

.entry-content p:first-child {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.entry-content p:nth-child(2) {
    margin-bottom: 32px;
    line-height: 1.6;
}#post-3121 > div > div > ul {
	margin: 0;
}

.featured-image.page-header-image-single img {
    width: 1200px;
    max-height: 600px;
    object-fit: cover;
    object-position: 50% center;
}

#post-178 > div > div > ul {
	margin: 0px;
}

.entry-meta {
    display: none;
}

body:not(.wp-admin):not(.login) *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="fa-"]):not(#wpadminbar *):not(.dashicons):not(.dashicons-before):not(.awsm-icon-link) {
    font-family: Lexend !important;
}

.main-nav > ul > li > a {
    font-size: 1.2rem;
}

.main-nav li li a {
    font-size: 1rem;
}
.wp-block-latest-posts__post-title {
    font-size: 1.6rem;
    color: #212a63 !important;
    display: block;
    clear: none;
}
.top-bar {
    background-color: #d9f1f8 !important;
}
.menu {
    background-color: #d9f1f8 !important;
    padding-bottom: 20px;
}
#masthead {
    background-color: #d9f1f8 !important;
}
.copyright-bar {
    display: none !important;
}
#slide-indicator {
    display: none !important;
}
.site-info {
    background-color: white;
}
.site-header {
    background: #d9f1f8 !important;
}

.wp-block-latest-posts__list > li {
    overflow: hidden;
    margin-bottom: 30px;
    display: block;
	padding: 20px 30px;
}

.wp-block-latest-posts__list > li:nth-child(odd) {
    background-color: white;
}

.wp-block-latest-posts__list > li:nth-child(even):not(.donation-stoerer-item) {
    background-color: #d9f1f8;
}

.wp-block-latest-posts__featured-image,
.wp-block-latest-posts__featured-image.alignleft {
    position: relative;
    width: 225px;
    height: 225px;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    float: left;
    overflow: hidden;
}

.wp-block-latest-posts__featured-image img {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
    object-fit: cover;
    z-index: 1;
    border: none !important; 
    max-width: none !important;
    max-height: none !important;
}

.wp-block-latest-posts__featured-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://edv-help.de/kunden/fasd/wp-content/uploads/Frame_Blog_Quadrat_.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

.wp-block-latest-posts__post-excerpt {
    clear: none;
    overflow: hidden;
}

@media (max-width: 768px) {
    .wp-block-latest-posts__featured-image,
    .wp-block-latest-posts__featured-image.alignleft {
        width: 180px;
        height: 180px;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .wp-block-latest-posts__list li {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .wp-block-latest-posts__featured-image,
    .wp-block-latest-posts__featured-image.alignleft {
        width: 140px;
        height: 140px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .wp-block-latest-posts__post-title {
        font-size: 16px; 
        line-height: 1.3;
        display: block;
        margin-bottom: 8px;
    }

    .wp-block-latest-posts__post-excerpt {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .wp-block-latest-posts__featured-image,
    .wp-block-latest-posts__featured-image.alignleft {
        float: none;
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.page-header-image {
    margin-top: 60px !important;
}

        .slider-container {
            position: relative;
            max-width: 100%;
            width: 100%;
            height: 600px;
            margin: 10px auto;
            overflow: hidden;
            touch-action: pan-y;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .slide.active {
            opacity: 1;
            pointer-events: auto;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            pointer-events: none;
        }

        .slide-overlay {
            position: absolute;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 800px;
            background: rgba(56,88,112, 0.8);
            color: white;
            padding: 20px;
            text-align: left;
            z-index: 5;
            pointer-events: auto;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
        }

        .slide-overlay .hand-drawn-title {
            display: block;
            width: 600px;
            height: 100px;
            margin-bottom: 15px;
        }

        .slide-overlay:hover,
        .slide-overlay:active {
            background: rgba(56,88,112, 0.9);
            transform: translateX(-50%) scale(1.02);
        }

        .slide-overlay::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 6px solid white;
            filter: url(#roughOverlay);
            z-index: -1;
            pointer-events: none;
        }

        .slide-overlay h3 {
            margin: 0 0 8px 0;
            font-size: 24px;
            font-weight: bold;
            display: none;
        }

        .slide-overlay p {
            margin: 0;
            font-size: 18px;
            line-height: 1.4;
            width: 90%;
        }

        .corner-banner {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 20;
            width: 200px;
            height: auto;
            max-width: 25%;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .corner-banner:hover {
            transform: scale(1.05);
        }

        .corner-banner img {
            width: 100%;
            height: auto;
            display: block;
        }

        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
        }

        .arrow-left {
            left: 15px;
        }

        .arrow-right {
            right: 15px;
        }

        .arrow::before {
            content: '';
            width: 25px;
            height: 25px;
            border-top: 8px solid #000000;
            border-right: 8px solid #000000;
            display: inline-block;
            transition: border-color 0.3s ease;
        }

        .arrow-left::before {
            transform: rotate(-135deg);
        }

        .arrow-right::before {
            transform: rotate(45deg);
        }

        .dots-container {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
        }

        .dot {
            width: 10px;
            height: 10px;
            background-color: #fbcf47;
            cursor: pointer;
            transition: background-color 0.3s;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
        }

        .dot.active {
            background-color: #ffffff;
        }

        .mehr-link {
            position: absolute;
            bottom: 70px;
            right: 15%;
            z-index: 15;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            display: inline-block;
        }

        .mehr-link img {
            width: 100px;
            height: auto;
            pointer-events: none;
            display: none;
        }

        .mehr-link:hover,
        .mehr-link:active {
            transform: scale(1.05) rotate(1deg);
        }

        @media screen and (max-width: 768px) {
            .slider-container {
                height: 450px;
                margin-top: -80px;
            }

            .slide img {
                object-fit: cover;
            }

            .corner-banner {
                display: none;
            }

            .arrow {
                width: 50px;
                height: 50px;
            }

            .arrow::before {
                width: 20px;
                height: 20px;
                border-top: 6px solid #000000;
                border-right: 6px solid #000000;
            }

            .slide:nth-child(3).active ~ .arrow::before {
                border-top: 6px solid #ffffff;
                border-right: 6px solid #ffffff;
            }

            .arrow-left {
                left: 10px;
            }

            .arrow-right {
                right: 10px;
            }

            .dots-container {
                bottom: 15px;
                gap: 15px;
                padding: 15px;
            }

            .dot {
                width: 14px;
                height: 14px;
            }

            .mehr-link {
                display: none;
            }

            .slide-overlay {
                bottom: 50px;
                width: 90%;
                padding: 15px 20px;
            }

            .slide-overlay .hand-drawn-title {
                display: none;
            }
            
            .slide-overlay h3 {
                font-size: 18px;
                margin-bottom: 8px;
                display: block;
            }
            
            .slide-overlay p {
                font-size: 14px;
                line-height: 1.4;
                width: 100%;
            }
        }

        @media screen and (max-width: 480px) {
            .slider-container {
                height: 400px;
                 margin-top: -200px;
            }

            .arrow {
                width: 48px;
                height: 48px;
            }

            .arrow::before {
                width: 18px;
                height: 18px;
                border-top: 5px solid #000000;
                border-right: 5px solid #000000;
            }

            .slide:nth-child(3).active ~ .arrow::before {
                border-top: 5px solid #ffffff;
                border-right: 5px solid #ffffff;
            }

            .arrow-left {
                left: 8px;
            }

            .arrow-right {
                right: 8px;
            }

            .dots-container {
                bottom: 10px;
                gap: 18px;
                padding: 12px;
            }

            .dot {
                width: 16px;
                height: 16px;
            }

            .slide-overlay {
                bottom: 50px;
                width: 92%;
                padding: 18px 22px;
            }
            
            .slide-overlay h3 {
                font-size: 20px;
                margin-bottom: 8px;
            }
            
            .slide-overlay p {
                font-size: 14px;
                line-height: 1.4;
                width: 100%;
            }
        }

        @media screen and (max-width: 360px) {
            .slider-container {
                height: 350px;
                margin-top: -200px;
            }

            .arrow {
                width: 46px;
                height: 46px;
            }

            .arrow-left {
                left: 5px;
            }

            .arrow-right {
                right: 5px;
            }

            .slide-overlay {
                bottom: 45px;
                width: 94%;
                padding: 15px 18px;
            }
            
            .slide-overlay h3 {
                font-size: 18px;
                margin-bottom: 6px;
            }
            
            .slide-overlay p {
                font-size: 13px;
                line-height: 1.3;
                width: 100%;
            }
        }

.slider-container {
   aspect-ratio: 16/9;
   min-height: 600px;
   contain: layout style;
}
.corner-banner {
   aspect-ratio: 4/3;
   min-height: 150px;
}
.wp-block-latest-posts__list {
   display: grid;
   grid-template-rows: repeat(auto-fit, minmax(200px, auto));
}
.fasd-footer {
   contain: layout;
   min-height: 200px;
}
@font-face {
   font-family: 'Lexend';
   font-display: swap;
}
.slide {
   min-height: 600px;
}
.slide-overlay {
   min-height: 120px;
}
.dots-container {
   min-height: 26px;
}
.arrow {
   width: 40px;
   height: 40px;
}
