/* FAQ section inherits background from main.css */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    min-height: 100px; /* Prevent collapse when loading */
}

.faq-item {
    background-color: var(--card-bg); /* Use variable */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    border: 1px solid var(--border-color-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flex for better internal alignment */
    flex-direction: column;
}
.faq-item:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
     border-color: var(--border-color-medium); /* Subtle gold border */
}


.faq-item dl { /* Use definition list structure */
    margin: 0;
}
.faq-item dt { /* Question term */
    margin-bottom: 15px;
}

.faq-item h3 { /* Question heading */
    font-size: clamp(18px, 3vw, 20px); /* Responsive size */
    color: var(--accent-gold);
    font-weight: 600;
    margin: 0; /* Remove default margin */
}

.faq-item dd { /* Answer definition */
    margin: 0; /* Remove default margin */
}

.faq-item p, .faq-item ul {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1em; /* Space below paragraphs */
}
.faq-item p:last-child, .faq-item ul:last-child {
    margin-bottom: 0; /* No space after last element */
}

.faq-item ul {
    padding-left: 25px;
    margin-top: 10px;
    list-style-type: disc;
}
.faq-item li {
    margin-bottom: 8px;
}

.faq-item a {
    color: var(--accent-gold);
    font-weight: 500;
    text-decoration: underline;
}

.faq-item a:hover, .faq-item a:focus {
    color: #ffffff;
}


.more-questions {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg-darker); /* Use variable */
    border-radius: 10px;
    max-width: 700px; /* Slightly wider */
    margin: 0 auto;
    border: 1px solid var(--border-color-medium); /* Use variable */
}

.more-questions h3 {
    font-size: clamp(22px, 4vw, 26px);
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.more-questions p {
    font-size: 17px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 550px; /* Limit text width */
    line-height: 1.7;
}
/* CTA button inherits styles */