/**
 * Rahi Theme - About Us Minimalist Core Architecture
 * Clean typography inheritance, zero-bloat grids, and precise edge-padding.
 *
 * @package Rahi_Theme
 */

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.about-hero-block {
    background: #16213e;
    padding: 80px 20px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

.about-sub-title {
    opacity: 0.85;
    max-width: 600px;
    margin: 20px auto 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   2. CORE CORPORATE GRID MATRIX (SECTION 2)
   ========================================================================== */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.section-headline {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #6c5ce7;
}
.rahi-about-pipeline[data-lang="fa"] .section-headline::after { right: 0; left: auto; }
.rahi-about-pipeline[data-lang="de"] .section-headline::after { left: 0; right: auto; }

.corporate-description-content p,
.extended-text-block p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* GISA Badge Elements */
.gisa-badge-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.gisa-badge-item {
    background: #f5f6fa;
    border-left: 4px solid #6c5ce7;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 700;
}
.rahi-about-pipeline[data-lang="de"] .gisa-badge-item {
    border-left: none;
    border-right: 4px solid #6c5ce7;
}

/* Notice & Verification External Boxes */
.verification-notice-box,
.tax-compliance-card {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 25px;
}

.verification-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

.tax-row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.tax-label {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

.tax-details-text {
    margin: 0;
    line-height: 1.6;
}

/* Triple Image Presentation Grid */
.triple-image-presentation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.triple-image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* ==========================================================================
   3. HIGH COMMERCIAL COURT ENDORSEMENT BANNER (SECTION 3)
   ========================================================================== */
.about-trademark-court-banner {
    background: #f8f9fa;
    padding: 60px 20px;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    margin-bottom: 60px;
}

.court-grid-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.court-subparagraph {
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

.court-certificate-showcase img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   4. INTERACTIVE HORIZONTAL SLIDER VIEWPORT (SECTION 4)
   ========================================================================== */
.about-horizontal-slider-section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.rahi-carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 25px;
}

.rahi-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    scrollbar-width: none;
}

.rahi-carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide-node {
    flex: 0 0 280px;
    max-width: 280px;
}

.carousel-slide-node img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

.carousel-navigation-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.ctrl-btn {
    background: #ffffff;
    border: 1px solid #ccc;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.ctrl-btn:hover {
    background: #6c5ce7;
    color: #ffffff;
    border-color: #6c5ce7;
}

/* ==========================================================================
   5. ELITE CONSULTANT SPOTLIGHT PROFILE (SECTION 5)
   ========================================================================== */
.about-consultant-spotlight {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.consultant-profile-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.consultant-avatar-frame {
    flex: 0 0 320px;
}

.consultant-avatar-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.spotlight-tag {
    background: #f3ebff;
    color: #6c5ce7;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
}

.consultant-title-sub {
    font-weight: 600;
    color: #6c5ce7;
    margin: 10px 0 25px 0;
}

.biography-paragraph-body p {
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.consultant-bullet-achievements {
    margin: 20px 0;
    padding: 0 20px;
}

.consultant-bullet-achievements li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ==========================================================================
   6. GLOBAL CREDENTIALS ECOSYSTEM GRID (SECTION 6)
   ========================================================================== */
.about-global-credentials-ecosystem {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.ecosystem-sub-paragraph {
    max-width: 600px;
    margin: 15px 0 40px 0;
    line-height: 1.7;
}

.credentials-structural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

.credential-box-card {
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 25px;
}

.card-icon-layer {
    color: #6c5ce7;
    margin-bottom: 15px;
}

.card-icon-layer .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.card-node-title {
    margin-bottom: 10px;
}

.card-node-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.full-width-card-node {
    grid-column: span 3;
    background: #fbf9ff;
    border-color: #dcd1f9;
}

.ecosystem-six-images-array {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.array-image-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* ==========================================================================
   7. STRICT RESPONSIVE BREAKPOINTS (ANTI-PADDING CORRUPTION)
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid-layout,
    .court-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .consultant-profile-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .consultant-avatar-frame {
        width: 100%;
        max-width: 340px;
    }
    
    .credentials-structural-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-width-card-node {
        grid-column: span 2;
    }

    .ecosystem-six-images-array {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid-layout,
    .court-grid-container,
    .about-horizontal-slider-section,
    .about-consultant-spotlight,
    .about-global-credentials-ecosystem {
        padding: 0 16px; /* پیاده‌سازی فاصله ایمن لبه گوشی در موبایل */
    }

    .about-hero-block {
        padding: 60px 16px;
    }

    .triple-image-presentation-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .triple-image-item img {
        height: 200px;
    }
    
    .carousel-slide-node {
        flex: 0 0 230px;
        max-width: 230px;
    }
    
    .carousel-slide-node img {
        height: 320px;
    }
    
    .credentials-structural-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .full-width-card-node {
        grid-column: span 1;
    }

    .ecosystem-six-images-array {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .array-image-item img {
        height: 110px;
    }
}