﻿.category-btn {
    padding-left: 12px;
    padding-right: 12px;
    min-width: 80px;
}

.nav-list {
    justify-content: start;
    gap: 60px;
}

.news-slider .swiper-slide img {
    height: 270px;
    border-radius: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 72px;
    margin-bottom: 72px;
}

.faq-item {
    border-bottom: 1px solid rgba(45, 49, 63, 0.10);
    padding-top: 24px;
    padding-bottom: 24px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Bai Jamjuree";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: var(--Primary-DGN-Purple-Shade, #1D1666);
    /* 31.2px */
    /* 28.8px */
}

    .faq-question:hover {
        opacity: 0.8;
    }

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    background: var(--Gradient-Pembe-Mor, linear-gradient(285deg, #2841FF -3.22%, #B300AC 100.13%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item.active .faq-icon {
    transform: rotate(-180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Adjust based on content */
    padding-top: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--Secondary-Text-Dark-Anthracite, #2D313F);
    /* Body/B1 */
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 30px */
    letter-spacing: 0.4px;
    opacity: 0.8;
}




.search-container {
    margin-bottom: 0;
}

.news-grid {
    margin-bottom: 72px;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%;
        /* 46.8px */
        letter-spacing: 0.72px;
    }

    .hero-section {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}
