.w3l-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/hero-background.png') center/cover no-repeat;
    height: 100vh;
    box-sizing: border-box;
    padding-top: var(--site-header-height, 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-info-grid {
    text-align: center;
    color: #fff;
}

.banner-info-grid h3 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 40px 0;
    line-height: 1.2;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b9dd8 0%, #2d7db8 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(59, 157, 216, 0.4);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.hero-cta-btn:hover {
    background: linear-gradient(135deg, #2d7db8 0%, #1e5a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 157, 216, 0.5);
    color: #ffffff;
}

.hero-cta-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: translateY(3px);
}

.demo {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.demo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.demo a span {
    width: 2px;
    height: 30px;
    background: #fff;
    display: block;
    margin-bottom: 8px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.w3l-blog-cards {
    background: #f8f9fa;
    padding: 60px 0 80px 0;
    scroll-margin-top: 80px;
}

.section-title-left {
    font-size: 2rem;
    color: #32325d;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3b9dd8;
}

/* Hogyan működik szekció */
.how-it-works-section {
    background: #f8f9fa;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #32325d;
    margin-bottom: 40px;
}

.how-it-works-text {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.how-it-works-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #32325d;
    margin-bottom: 25px;
    text-align: left;
}

.how-it-works-text ul {
    text-align: left;
    margin: 0 0 25px 0;
    padding-left: 1.2rem;
}

.how-it-works-text li {
    text-align: left;
    margin-bottom: 10px;
}

.how-it-works-text p:last-child {
    margin-bottom: 0;
}

.how-it-works-text strong {
    color: #3b9dd8;
    font-weight: 600;
}

/* Szűrő és kereső konténer */
.filter-search-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-weight: 600;
    color: #32325d;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label i {
    color: #3b9dd8;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Kumbh Sans', sans-serif;
    color: #32325d;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #3b9dd8;
    box-shadow: 0 0 0 3px rgba(59, 157, 216, 0.1);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-search-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Kumbh Sans', sans-serif;
    color: #32325d;
    transition: all 0.3s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: #3b9dd8;
    box-shadow: 0 0 0 3px rgba(59, 157, 216, 0.1);
}

.search-submit-btn {
    position: absolute;
    right: 5px;
    background: #3b9dd8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    background: #2d7db8;
    transform: translateY(-2px);
}

/* Reszponzív szűrő */
@media (max-width: 768px) {
    .filter-search-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Szabadszavas kereső */
.search-bar-section {
    position: relative;
}

.search-bar-section .search {
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 25px;
    overflow: hidden;
}

.search__input-section {
    background: #fff;
    border: none;
    color: #32325d;
    padding: 0.7rem 1.2rem;
    width: 300px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.search__input-section:focus {
    outline: none;
    background: #f8f9fa;
}

.search__input-section::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.search__btn {
    background: #3b9dd8;
    border: none;
    color: #fff;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search__btn:hover {
    background: #2d8bc7;
}

.search__btn i {
    font-size: 0.95rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.blog-image {
    width: 300px;
    min-width: 300px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.blog-image img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-category {
    display: inline-block;
    background: transparent;
    color: #6c757d;
    padding: 0;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 10px;
    align-self: flex-start;
}

.blog-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b9dd8 0%, #2d7db8 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(59, 157, 216, 0.3);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #32325d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px 0 0 0;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-author, .blog-date, .blog-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-actions {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.blog-action-btn {
    background: linear-gradient(135deg, #3b9dd8 0%, #2d7db8 100%);
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(59, 157, 216, 0.3);
}

.blog-action-btn:hover {
    background: linear-gradient(135deg, #2d7db8 0%, #1e5a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 157, 216, 0.4);
}

.blog-action-btn i {
    font-size: 0.9rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b9dd8;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #3b9dd8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-left: auto;
    cursor: pointer;
}

.btn-read-more:hover {
    background: #2d7db8;
    border-color: #2d7db8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 157, 216, 0.3);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination-custom {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pagination-custom .page-item {
    display: inline-block;
}

.pagination-custom .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #32325d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-custom .page-link:hover {
    background: #3b9dd8;
    color: #fff;
    border-color: #3b9dd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 157, 216, 0.3);
}

.pagination-custom .page-item.active .page-link {
    background: #3b9dd8;
    color: #fff;
    border-color: #3b9dd8;
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.partners-slider {
    background: #fff;
    padding: 50px 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.partners-track {
    display: flex;
    animation: scrollPartners 30s linear infinite;
    width: fit-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-slide {
    flex-shrink: 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-slide img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 999;
    max-width: 280px;
    animation: slideIn 0.6s ease;
    display: none;
}

@keyframes slideIn {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.close-ad {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #adb5bd;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
}

.close-ad:hover {
    color: #495057;
}

.floating-ad-title {
    font-size: 0.9rem;
    color: #32325d;
    font-weight: 600;
    margin-bottom: 12px;
}

.floating-partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.floating-partner-logo {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    font-size: 0.7rem;
    color: #6c757d;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-nav-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.scroll-nav-buttons.show {
    opacity: 1;
    visibility: visible;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: #3b9dd8;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 157, 216, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-btn:hover {
    background: #2d8bc7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 157, 216, 0.4);
}

.scroll-btn.scroll-top {
    background: #6c757d;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.scroll-btn.scroll-top:hover {
    background: #5a6268;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.scroll-btn:active {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .banner-info-grid h3 {
        font-size: 2.8rem;
    }
    
    .hero-cta-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 991px) {
    .how-it-works-section {
        padding: 30px 0;
    }
    
    .how-it-works-title {
        font-size: 2rem;
    }
    
    .how-it-works-text {
        padding: 35px 40px;
    }
}

@media (max-width: 767px) {
    .banner-info-grid h3 {
        font-size: 2.2rem;
    }
    
    .hero-cta-btn {
        font-size: 0.95rem;
        padding: 14px 24px;
    }

    .floating-ad {
        max-width: 240px;
        bottom: 15px;
        right: 15px;
    }

    .section-title-left {
        font-size: 1.5rem;
    }
    
    .how-it-works-section {
        padding: 25px 0;
    }
    
    .how-it-works-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .how-it-works-text {
        padding: 30px 25px;
    }
    
    .how-it-works-text p {
        font-size: 1rem;
    }

    .search-bar-section {
        width: 100%;
        margin-top: 15px;
    }

    .search__input-section {
        width: 100%;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .pagination-custom {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partners-track {
        animation: scrollPartners 20s linear infinite;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-image {
        width: 100%;
        height: 200px;
        min-width: auto;
    }

    .blog-image img {
        height: 100%;
    }

    .scroll-nav-buttons {
        right: 15px;
        bottom: 15px;
    }

    .scroll-btn {
        width: 48px;
        height: 48px;
    }
    
    .blog-action-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* Extra kicsi telefonok (360px és kisebb) */
@media (max-width: 480px) {
    .banner-info-grid h3 {
        font-size: 1.8rem;
    }
    
    .hero-cta-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title-left {
        font-size: 1.3rem;
    }
    
    .how-it-works-section {
        padding: 20px 0;
    }
    
    .how-it-works-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .how-it-works-text {
        padding: 25px 20px;
    }
    
    .how-it-works-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .blog-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .blog-meta span {
        font-size: 0.85rem;
    }
    
    .btn-read-more {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .partner-slide img {
        height: 30px;
        max-width: 100px;
    }
    
    .pagination-custom .page-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
