/*
Theme Name: Alsharq Haj And Umrah Tours الشرق للحج والعمرة والسياحة
Theme URI: https://alsharq-travel.com
Author: Antigravity
Author URI: https://alsharq-travel.com
Description: A minimalist, premium WordPress theme for Alsharq.
Version: 1.0.0
Text Domain: alsharq
*/

/* Base reset handled in assets/css/main.css */

/* Added by Flow-PDF Workflow for Responsive Blog Layout */
article.single-post-premium .entry-content .responsive-float-wrapper,
article.single-post-premium .entry-content .responsive-float,
article.single-post-premium .entry-content figure.responsive-float {
    float: right !important;
    width: 40% !important;
    margin: 10px 0 30px 30px !important;
    clear: right !important;
    display: block !important;
}

/* RTL Support for Arabic Articles */
article.single-post-premium.is-rtl .entry-content .responsive-float-wrapper,
article.single-post-premium.is-rtl .entry-content .responsive-float,
article.single-post-premium.is-rtl .entry-content figure.responsive-float {
    float: left !important;
    margin: 10px 30px 30px 0 !important;
    clear: left !important;
}

[dir="rtl"] .faq-toggle {
    text-align: right;
}

/* Fix for WP injected empty paragraphs */
article.single-post-premium .entry-content .responsive-float-wrapper+p {
    margin-top: 0 !important;
}

article.single-post-premium .entry-content .responsive-float img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
    margin: 0 !important;
}

/* Card Specific Styles */
/* Card Specific Styles */
a.responsive-float {
    text-decoration: none !important;
    border: 1px solid #e5e5e5;
    /* Restore Border */
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    /* Restore Background */
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Restore Subtle Shadow */
    display: block;
    /* Ensure it behaves like a block */
}

a.responsive-float .card-img-container {
    height: 180px;
    width: 100%;
    position: relative;
    border-bottom: none;
    border-radius: 0;
    /* Container clips via overflow */
}

a.responsive-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    display: block;
}

a.responsive-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

@media (max-width: 768px) {
    .responsive-float {
        float: none;
        width: 100%;
        margin: 30px 0;
        clear: both;
    }
}

/* FAQ Accordion Styles (Matches Homepage) */
.faq-accordion-container {
    margin: 40px 0;
    max-width: 800px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.faq-item:hover {
    border-color: #d4af37;
    /* Gold accent */
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.faq-toggle {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s;
}

.faq-item.active .faq-toggle {
    color: #d4af37;
    background: #fff;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #d4af37;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Reduce Gap around H2 */
h2 {
    margin-bottom: 25px !important;
}