.freelancer-faq-heading-wrapper {
    margin: 0 auto 1rem auto;
    max-width: 800px;
    width: 100%;
}

.freelancer-faq-heading-wrapper h2.freelancer-faq-heading,
h2.freelancer-faq-heading {
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

/* Small size */
h2.freelancer-faq-heading-small,
.freelancer-faq-heading-wrapper h2.freelancer-faq-heading-small {
    font-size: 1.125rem !important; /* mobil */
}
@media (min-width: 768px) {
    h2.freelancer-faq-heading-small,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-small {
        font-size: 1.25rem !important; /* tablet */
    }
}
@media (min-width: 1024px) {
    h2.freelancer-faq-heading-small,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-small {
        font-size: 1.25rem !important; /* desktop */
    }
}

/* Medium size */
h2.freelancer-faq-heading-medium,
.freelancer-faq-heading-wrapper h2.freelancer-faq-heading-medium {
    font-size: 1.375rem !important; /* mobil */
}
@media (min-width: 768px) {
    h2.freelancer-faq-heading-medium,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-medium {
        font-size: 1.75rem !important; /* tablet */
    }
}
@media (min-width: 1024px) {
    h2.freelancer-faq-heading-medium,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-medium {
        font-size: 1.875rem !important; /* desktop */
    }
}

/* Large size (default) */
h2.freelancer-faq-heading-large,
.freelancer-faq-heading-wrapper h2.freelancer-faq-heading-large,
h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge),
.freelancer-faq-heading-wrapper h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge) {
    font-size: 1.5rem !important; /* mobil */
}
@media (min-width: 768px) {
    h2.freelancer-faq-heading-large,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-large,
    h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge),
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge) {
        font-size: 1.875rem !important; /* tablet */
    }
}
@media (min-width: 1024px) {
    h2.freelancer-faq-heading-large,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-large,
    h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge),
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading:not(.freelancer-faq-heading-small):not(.freelancer-faq-heading-medium):not(.freelancer-faq-heading-xlarge) {
        font-size: 2.25rem !important; /* desktop */
    }
}

/* XLarge size */
h2.freelancer-faq-heading-xlarge,
.freelancer-faq-heading-wrapper h2.freelancer-faq-heading-xlarge {
    font-size: 1.75rem !important; /* mobil */
}
@media (min-width: 768px) {
    h2.freelancer-faq-heading-xlarge,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-xlarge {
        font-size: 2.25rem !important; /* tablet */
    }
}
@media (min-width: 1024px) {
    h2.freelancer-faq-heading-xlarge,
    .freelancer-faq-heading-wrapper h2.freelancer-faq-heading-xlarge {
        font-size: 2.5rem !important; /* desktop */
    }
}

.freelancer-faq-accordion {
    margin: 0 auto 4rem auto;
    max-width: 800px;
    width: 100%;
}

.freelancer-faq-accordion .rank-math-list {
    display: grid;
    gap: 0.75rem;
}

.freelancer-faq-accordion .rank-math-list-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 6px 16px rgba(0,0,0,0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.freelancer-faq-accordion .rank-math-list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.22), 0 12px 24px rgba(0,0,0,0.26);
    background: rgba(255, 255, 255, 0.04);
}

.freelancer-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #e5e7eb; /* gray-200 */
}

.freelancer-faq-question::after {
    content: "\25BC"; /* caret */
    font-size: 0.875rem;
    color: #9ca3af; /* gray-400 */
    transition: transform 0.2s ease, color 0.2s ease;
}

.freelancer-faq-accordion .rank-math-list-item.open .freelancer-faq-question::after {
    transform: rotate(180deg);
}

/* Ensure question heading has 1rem top margin, overriding prose defaults */
.freelancer-faq-accordion .rank-math-question.freelancer-faq-question {
    margin-top: 1rem !important;
}

.freelancer-faq-answer {
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    opacity: 0.98;
}

.freelancer-faq-answer p {
    color: #d1d5db; /* gray-300 */
}

/* Subtle focus state for accessibility */
.freelancer-faq-question:focus-visible {
    outline: 2px solid #fcd307;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Show More/Less Button Container */
.freelancer-faq-button-container {
    margin-top: 1.5rem;
    text-align: center;
}

/* Override any prose or global button styles */
.freelancer-faq-accordion ~ .freelancer-faq-button-container button,
.freelancer-faq-button-container button:not(.freelancer-faq-show-less) {
    background: #fcd307 !important;
    border: none !important;
}

.freelancer-faq-button-container .freelancer-faq-show-more,
button.freelancer-faq-show-more,
a.freelancer-faq-show-more,
.show-more-button.freelancer-faq-show-more {
    background-color: var(--color-primary) !important;
    color: var(--color-button-text, #000000) !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    padding: 1rem 2rem !important; /* px-8 py-4 */
    font-size: 1rem !important; /* text-base */
    font-weight: 600 !important; /* font-semibold */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hide "Daha Az Göster" button completely */
.freelancer-faq-button-container .freelancer-faq-show-less,
button.freelancer-faq-show-less {
    display: none !important;
    visibility: hidden !important;
}

.freelancer-faq-button-container .freelancer-faq-show-more span,
button.freelancer-faq-show-more span {
    color: var(--color-button-text, #000000) !important;
}

.freelancer-faq-button-container .freelancer-faq-show-more svg,
button.freelancer-faq-show-more svg {
    color: var(--color-button-text, #000000) !important;
}

.freelancer-faq-show-more:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Ensure SVG icon size matches */
.freelancer-faq-button-container .freelancer-faq-show-more svg,
button.freelancer-faq-show-more svg,
a.freelancer-faq-show-more svg,
.show-more-button.freelancer-faq-show-more svg {
    width: 1.25rem !important; /* w-5 */
    height: 1.25rem !important; /* h-5 */
    margin-left: 0.5rem !important; /* ml-2 */
}

/* Mobile adjustments - All show more buttons same size - Override Tailwind classes */
@media (max-width: 768px) {
    /* Override px-8 py-4 for mobile */
    .freelancer-faq-button-container .freelancer-faq-show-more,
    button.freelancer-faq-show-more,
    a.freelancer-faq-show-more,
    .show-more-button.freelancer-faq-show-more,
    .fotoshopcu-reviews .show-more-reviews-btn,
    .fotoshopcu-reviews a.show-more-reviews-btn,
    .show-more-reviews-btn,
    .hero-primary-button.freelancer-faq-show-more,
    .hero-primary-button.show-more-reviews-btn,
    .hero-primary-button.show-more-button {
        padding: 0.75rem 1.5rem !important; /* Override px-8 py-4 */
        font-size: 0.875rem !important; /* Override text-base */
        font-weight: 600 !important; /* Override font-semibold */
        min-height: auto !important;
        height: auto !important;
        line-height: 1.5 !important;
    }
    
    /* Override SVG sizes */
    .freelancer-faq-button-container .freelancer-faq-show-more svg,
    button.freelancer-faq-show-more svg,
    a.freelancer-faq-show-more svg,
    .show-more-button.freelancer-faq-show-more svg,
    .fotoshopcu-reviews .show-more-reviews-btn svg,
    .show-more-reviews-btn svg,
    .hero-primary-button.freelancer-faq-show-more svg,
    .hero-primary-button.show-more-reviews-btn svg,
    .hero-primary-button.show-more-button svg {
        width: 1rem !important; /* Override w-5 */
        height: 1rem !important; /* Override h-5 */
        margin-left: 0.5rem !important; /* Override ml-2 */
    }
}

@media (max-width: 480px) {
    .freelancer-faq-button-container .freelancer-faq-show-more,
    button.freelancer-faq-show-more,
    a.freelancer-faq-show-more,
    .show-more-button.freelancer-faq-show-more,
    .fotoshopcu-reviews .show-more-reviews-btn,
    .fotoshopcu-reviews a.show-more-reviews-btn,
    .show-more-reviews-btn,
    .hero-primary-button.freelancer-faq-show-more,
    .hero-primary-button.show-more-reviews-btn,
    .hero-primary-button.show-more-button {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.8125rem !important;
    }
}


