/* === SZAKCIKKEK SLIDER === */
.szakcikkek-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    overflow: visible;
}

.szakcikkek-slider {
    padding: 20px 0;
    overflow: hidden;
}

.szakcikk-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 4px 4px 8px 1px rgba(0, 0, 0, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    position: relative;
}

.swiper-slide {
    height: auto;
}

.szakcikkek-slider .swiper-wrapper {
    align-items: stretch;
}

.szakcikk-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.szakcikk-image .card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.szakcikk-category-badge {
    position: absolute;
    top: 135px;
    left: 15px;
    background-color: #FF4712;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: normal;
    z-index: 10;
    letter-spacing: 0.5px;
}

.szakcikk-content {
    padding: 25px 15px 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.szakcikk-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.szakcikk-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1A1A1A;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.4em * 2);
}

.szakcikk-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.szakcikk-title a:hover {
    color: #000B8C;
}

.szakcikk-excerpt {
    color: #1A1A1A;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.szakcikk-read-more {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
    transition: color 0.3s ease;
    margin-top: auto;
}

.szakcikk-read-more:hover {
    color: #FF4712;
}

/* Mobile navigation container - alapértelmezetten rejtett */
.mobile-nav-container {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    padding: 0 20px;
}

.mobile-nav-counter {
    background: #666;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav-arrows {
    display: flex;
    gap: 10px;
}

.mobile-nav-arrow {
    width: 35px;
    height: 35px;
    border: 2px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-size: 20px;
    font-weight: normal;
}

.mobile-nav-arrow:hover {
    background: white;
    color: #000B8C;
}

/* Mobile nyilak HTML karakterek */
.mobile-nav-arrow .arrow-text {
    display: block;
    line-height: 1;
    font-size: 24px;
    font-weight: bold;
}

/* =============================================== */
/* ===== DESKTOP NÉZET (1025px+) ===== */
/* =============================================== */

@media (min-width: 1025px) {
    /* Desktop Swiper navigation arrows */
    .szakcikkek-slider-container .swiper-button-next,
    .szakcikkek-slider-container .swiper-button-prev {
        color: white !important;
        background: none !important;
        width: 50px !important;
        height: 50px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .szakcikkek-slider-container .swiper-button-next {
        right: 10px !important;
    }

    .szakcikkek-slider-container .swiper-button-prev {
        left: 10px !important;
    }

    /* Eltávolítjuk az alapértelmezett Swiper nyilakat */
    .szakcikkek-slider-container .swiper-button-next::after,
    .szakcikkek-slider-container .swiper-button-prev::after {
        display: none !important;
    }

    /* Az új HTML nyíl karakterek stílusa */
    .szakcikkek-slider-container .arrow-char {
        font-size: 48px !important;
        font-weight: bold !important;
        line-height: 1 !important;
        display: block !important;
    }

    .szakcikkek-slider-container .swiper-button-next:hover,
    .szakcikkek-slider-container .swiper-button-prev:hover {
        color: #FF4712 !important;
    }

    /* Desktop pagination */
    .szakcikkek-slider-container .swiper-pagination {
        position: static !important;
        margin-top: 20px !important;
        text-align: center !important;
        background: unset !important;
        color: #000B8C !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        display: inline-block !important;
        width: 100% !important;
        height: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
}


/* =============================================== */
/* ===== TABLET ÉS MOBIL NÉZET (1024px-) ===== */
/* =============================================== */

@media (max-width: 1024px) {

    /* Szakcikkek slider tablet/mobil */
    .szakcikkek-slider-container {
        padding: 0;
    }

    .szakcikk-card {
        margin: 20px;
    }
    
    .szakcikk-content {
        padding: 20px 12px 12px 12px;
    }
    
    .szakcikk-title {
        font-size: 16px;
    }
    
    .szakcikk-excerpt {
        font-size: 13px;
    }

    /* Swiper navigation elrejtése tablet/mobilon */
    .szakcikkek-slider-container .swiper-button-next,
    .szakcikkek-slider-container .swiper-button-prev {
        display: none !important;
    }
    
    .szakcikkek-slider-container .swiper-pagination {
        display: none !important;
    }
	
    /* Mobile navigation megjelenítése */
    .mobile-nav-container {
        display: flex !important;
        margin-top: 20px;
    }
}


/* =============================================== */
/* ===== MOBIL NÉZET (768px-) ===== */
/* =============================================== */

@media (max-width: 768px) {
    /* Mobile navigation megjelenítése */
    .mobile-nav-container {
        display: flex !important;
        margin-top: 0px;
    }
    
    .szakcikkek-slider .swiper-wrapper {
        align-items: flex-start;
    }
    
    .szakcikkek-slider {
        padding: 0;
    }
}