/**
 * Instagram Hashtags Landing Page Styles
 * Location: /var/www/saafee/public/css/instagram.css
 */

/* ── Hero ── */
.ig-hero {
    text-align: center;
    padding: 2rem 0 1rem;
}

.ig-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 0.5rem;
}

.ig-subtitle {
    font-size: 1.05rem;
    color: #7A7A7A;
    margin: 0;
}

/* ── Intro ── */
.ig-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.ig-intro p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── FAQ ── */
.ig-faq {
    max-width: 800px;
    margin: 3rem auto 2rem;
}

.ig-faq h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 1.5rem;
    text-align: center;
}

.ig-faq-item {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.ig-faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A1A1A;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ig-faq-item summary::-webkit-details-marker {
    display: none;
}

.ig-faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: #999;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-inline-start: 12px;
}

.ig-faq-item[open] summary::after {
    content: '−';
    color: #E44335;
}

.ig-faq-answer {
    padding: 0 1.25rem 1rem;
}

.ig-faq-answer p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── CTA ── */
.ig-cta {
    text-align: center;
    padding: 2.5rem 1rem;
    margin: 1rem 0 2rem;
    background: #F5F5F5;
    border-radius: 12px;
}

.ig-cta p {
    font-size: 1.05rem;
    color: #333;
    margin: 0 0 1rem;
}

.ig-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #D4A017, #F2C94C);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ig-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

/* ── RTL ── */
html[dir="rtl"] .ig-breadcrumb {
    direction: rtl;
}

html[dir="rtl"] .ig-faq-item summary {
    text-align: right;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .ig-hero {
        padding: 1.5rem 0 0.75rem;
    }

    .ig-intro {
        margin-bottom: 1.5rem;
    }

    .ig-faq {
        margin-top: 2rem;
    }

    .ig-cta {
        padding: 2rem 1rem;
    }
}
