/**
 * Helios Theme - Critical Fixes v3.0.2
 * Fixes for: FAQ double +, City name overflow, Mobile responsiveness
 */

/* ==========================================================================
   FIX #1: FAQ Accordion - Remove Double + Signs
   ========================================================================== */

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Ensure only ONE toggle icon */
.faq-question .faq-toggle {
    font-size: 1.5rem;
    color: var(--gold-primary, #dcc87f);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Remove any pseudo-elements that might add extra + */
.faq-question::after,
.faq-question::before {
    content: none !important;
    display: none !important;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ==========================================================================
   FIX #2: City Cards - Prevent Text Overflow
   ========================================================================== */

.city-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 200, 127, 0.2);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.city-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.city-tagline {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    min-height: 40px;
}

/* ==========================================================================
   FIX #3: Mobile Responsive Improvements
   ========================================================================== */

@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .city-card {
        padding: 1.5rem 0.75rem;
        min-height: 240px;
    }
    
    .city-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .city-tagline {
        font-size: 0.8rem;
        min-height: 35px;
    }
    
    .city-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .city-card h3 {
        font-size: 1rem;
    }
    
    .city-tagline {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   FIX #4: FAQ Mobile Improvements
   ========================================================================== */

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-question .faq-toggle {
        font-size: 1.25rem;
        margin-left: 0.5rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   FIX #5: Ensure FAQ Accordion Works Properly
   ========================================================================== */

.faq-item {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--gold-primary, #dcc87f);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

