/**
 * Half Slider CSS - Egyszerű Splide.js kártya design
 */

.half-slider-wrapper {
    width: 100%;
    padding: 20px 0;
}

.half-slider-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Splide override */
.splide__track {
    overflow: visible !important;
}

.splide__slide {
    transition: transform 0.3s ease;
}

.splide__slide:hover {
    transform: translateY(-10px);
}

/* Kártya design */
.half-slide-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.half-slide-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: #555;
}

.half-slide-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 10px;
}

.half-slide-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.half-slide-card:hover .half-slide-image img {
    transform: scale(1.1);
}

.half-slide-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    margin-top: 35px;
}

.half-slide-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ac9260;
    margin-bottom: 5px;
    font-family: "Manrope", Sans-serif;
}

.half-slide-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.half-slide-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Manrope", Sans-serif;
    font-weight: 800;
        margin-bottom: 15px;
}

.half-slide-title a:hover {
    color: #4a9eff;
}

.half-slide-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #ffffff;
    font-family: "Manrope", Sans-serif;
    width: 292px;
}

.half-slide-meta {
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

.half-slide-date::before {
    content: '📅';
    margin-right: 8px;
}

/* Splide navigáció */
.splide__arrow {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    opacity: 1 !important;
}

.splide__arrow:hover {
    background: rgba(74, 158, 255, 0.8) !important;
    border-color: #4a9eff !important;
}

.splide__arrow svg {
    fill: #ffffff !important;
}

.splide__arrow--prev {
    left: -25px !important;
}

.splide__arrow--next {
    right: -25px !important;
}

/* Dots */
.splide__pagination {
    bottom: -50px !important;
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.3) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
}

.splide__pagination__page.is-active {
    background: #4a9eff !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .half-slider-container {
        padding: 0 15px;
    }
    
    .splide__arrow--prev {
        left: -15px !important;
    }
    
    .splide__arrow--next {
        right: -15px !important;
    }
}

@media (max-width: 768px) {
    .half-slide-image {
        height: 340px;
    }
    
    .half-slide-content {
        padding: 20px;
    }
    
    .half-slide-title {
        font-size: 16px;
    }
    
    .half-slide-excerpt {
        font-size: 13px;
    }
    
    .splide__arrow {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    .half-slide-image {
        height: 340px;
    }
    
    .half-slide-content {
        padding: 15px;
    }
    
    .half-slide-title {
        font-size: 14px;
    }
    
    .splide__arrow {
        display: none !important;
    }
    
    .splide__pagination {
        bottom: -30px !important;
    }
}

/* No posts message */
.half-slider-no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #2d2d2d;
    border-radius: 20px;
    color: #888;
    font-size: 16px;
}

/* Egyedi navigációs nyilak - csak ezek kellenek */
.custom-slider-nav {
position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.custom-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ac9260;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-nav-btn:hover {
    background: rgba(172, 146, 96, 0.2);
    border-color: #d4b574;
    transform: scale(1.05);
}

.custom-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-nav-btn svg {
    fill: #ac9260;
    transition: fill 0.3s ease;
    width: 20px;
    height: 20px;
}

.custom-nav-btn:hover svg {
    fill: #d4b574;
}

/* Mobilra */
@media (max-width: 768px) {
    .custom-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .custom-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .custom-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .custom-slider-nav {
        bottom: -65px;
        gap: 10px;
    }
}