/* Accordion */
:root {
    --main-acc-border-color: #000;
    --main-acc-bg-color: linear-gradient(180deg, rgb(133 133 133 / 32%) 0%, rgba(133, 133, 133, 0.00) 100%);
    --main-acc--darker-bg-color: #a0a0a0;
    --main-acc-ease: all 0.6s cubic-bezier(0.5, 1, 0.89, 1);
}

.accordion-item {
    padding: 5px 5px 5px 0;
    margin-bottom: 20px;
    position: relative;
}
.accordion-thumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    padding-right: 10px;
}
.accordion-thumb h2 {
    margin: 0;
    transition: var(--main-acc-ease);
    color: var(--off-orange);
    flex: 1;
}
.accordion-panel-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.5, 1, 0.89, 1);
}
.accordion-text {
    padding: 20px 0;
    position: relative;
}

.accordion-item p {
    margin-bottom: 20px;
}
.accordion-item h2 {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

/* SVG Arrow Styling */
.accordion-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
}

.accordion-arrow {
    width: 16px;
    height: 10px;
    transition: transform 0.6s cubic-bezier(0.5, 1, 0.89, 1);
}

/* Βελάκι δείχνει προς τα κάτω όταν είναι κλειστό (default state) */
.accordion-arrow {
    transform: rotate(0deg);
}

/* Βελάκι δείχνει προς τα επάνω όταν είναι ανοιχτό */
.accordion-thumb.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-text ul {
    margin: 20px 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
}
.accordion-text ul li img {
    width: 100%;
    height: auto;
}
.accordion-text ul li {
    position: relative;
    padding: 0 10px 0 30px;
    margin: 0;
    position: relative;
}
.accordion-text ul li::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 10px;
    top: 15px;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.frequent-questions-title {
    font-size: 24px;
    color: var(--d-red);
    padding-bottom: 20px;
}

.faq-q .accordion-item {border-bottom: 1px solid rgba(255, 255, 255, 0.1);;}

/* Responsiveness */
@media only screen and (max-width: 1440px) {
    .accordion-item h2 {font-size: 20px; font-weight: 700;}
    .accordion-text p{font-size: 16px;}
}
@media only screen and (max-width: 1024px) {
    .accordion-item h2 {font-size: 18px; padding-right: 50px;}
    .accordion-text p, .accordion-item {margin: 0;}
}
@media only screen and (max-width: 768px) {
    .accordion-item h2 {font-size: 16px;}
}
@media only screen and (max-width: 620px) {
    .accordion-svg {
        margin-left: 5px;
    }
    .accordion-arrow {
        width: 14px;
        height: 8px;
    }
}

/* Optional: Hover effect for the arrow */
.accordion-thumb:hover .accordion-arrow {
    opacity: 0.8;
}