﻿/* ═══════════════════════════════════════════
   Single Page – irfollower (static pages)
   Contact, Rules, About, etc.
   ═══════════════════════════════════════════ */

/* ===== Hero ===== */
.single-hero {
    position: relative;
    padding: 130px 0 50px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 30%, #2563eb 60%, #1d4ed8 100%);
}

.single-hero-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    z-index: 0;
}

.single-hero-deco-1 {
    width: 400px;
    height: 400px;
    top: -180px;
    right: -120px;
}

.single-hero-deco-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -60px;
    background: rgba(255,255,255,.04);
}

.single-hero-deco-3 {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 15%;
    background: rgba(255,255,255,.05);
}

.single-hero-content {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.single-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px;
}

    .single-breadcrumb a {
        color: rgba(255,255,255,.7);
        text-decoration: none;
        transition: color .2s;
    }

        .single-breadcrumb a:hover {
            color: #fff;
        }

    .single-breadcrumb .sep {
        opacity: .3;
    }

.single-hero h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0;
    color: #fff;
}

/* ===== Body ===== */
.single-body {
    background: #f8fafc;
    padding: 45px 0 70px;
}

/* ===== Article ===== */
.single-article {
    font-size: 16px;
    line-height: 2.2;
    color: #1f2937;
}

    .single-article h2 {
        font-family: IRANSansX, sans-serif;
        font-size: 22px;
        font-weight: 800;
        margin-top: 40px;
        margin-bottom: 14px;
        color: #111827;
        border-right: 4px solid #3b82f6;
        padding-right: 14px;
    }

        .single-article h2.irf-sp-title {
            margin-top: 0px;
            border-right: 0;
        }

        .single-article h2.package-group-title {
            margin-top: 0;
            border-right: 0;
            padding-right: 0px;
        }

    .single-article h3 {
        font-size: 20px;
        font-weight: 700;
        margin-top: 28px;
        margin-bottom: 12px;
        color: #1f2937;
    }

    .single-article h4 {
        font-size: 18px;
        font-weight: 700;
        margin-top: 22px;
        margin-bottom: 10px;
        color: #374151;
    }

.irf-pkg-modal-title {
    font-family: IRANSansX, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.single-article p {
    margin-bottom: 18px;
    color: #374151;
}

.single-article img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 22px 0;
}

.single-article ul,
.single-article ol {
    margin: 14px 0;
    padding-right: 24px;
    list-style: disc;
}

.single-article ol {
    list-style: decimal;
}

.single-article > li,
.single-article > .container li {
    margin-bottom: 8px;
    line-height: 2;
}

.single-article a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,.2);
    transition: border-color .2s;
}

.irf-pkg-modal-btn {
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.single-article a:hover {
    border-bottom-color: #2563eb;
}

.irf-pkg-modal-btn:hover {
    border-bottom: none;
}

/* Reset for widget/component links inside article */
.single-article .irf-pkg-btn {
    color: #fff;
    border-bottom: none;
}

.single-article .irf-pkg-card a,
.single-article .irf-sp-faq a {
    border-bottom: none;
}

.single-article .irf-pkg-features,
.single-article .irf-pkg-features li,
.single-article .irf-pkg-modal-features,
.single-article .irf-pkg-modal-features li {
    list-style: none;
    padding-right: 0;
}

    .single-article .irf-pkg-features ul, .irf-pkg-modal-features ul {
        margin: 0px !important;
        padding-right: 5px !important;
        list-style: none !important;
    }

        .single-article .irf-pkg-features ul li, .single-article .irf-pkg-modal-features ul li {
            font-size: 14px;
            color: #64748b;
            padding: 3px 0;
            line-height: 1.7;
            position: relative;
            padding-right: 18px;
            margin-right: 0;
            margin-bottom: 0;
        }

.single-article blockquote {
    margin: 26px 0;
    padding: 20px 22px;
    background: #eff6ff;
    border-right: 4px solid #3b82f6;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #1d4ed8;
    line-height: 2;
}

.single-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

    .single-article table th,
    .single-article table td {
        padding: 12px 16px;
        border: 1px solid #e5e7eb;
        text-align: right;
    }

    .single-article table th {
        background: #f3f4f6;
        font-weight: 700;
        color: #111827;
    }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .single-hero {
        padding: 110px 0 40px;
    }

        .single-hero h1 {
            font-size: 28px;
        }
}

@media (max-width: 576px) {
    .single-hero {
        padding: 100px 0 35px;
    }

        .single-hero h1 {
            font-size: 22px;
        }
}

/* ═══ FAQ Accordion ═══ */
.blog-faq {
    margin-top: 48px;
    margin-bottom: 40px;
}

.blog-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

    .blog-faq-item:hover {
        border-color: #bfdbfe;
    }

    .blog-faq-item.active {
        border-color: #93c5fd;
        box-shadow: 0 4px 16px rgba(59,130,246,.08);
    }

.blog-faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    user-select: none;
    transition: background .2s;
}

    .blog-faq-q:hover {
        background: #f8fafc;
    }

    .blog-faq-q::before {
        content: '';
        width: 8px;
        height: 8px;
        border-left: 2px solid #3b82f6;
        border-bottom: 2px solid #3b82f6;
        transform: rotate(-45deg);
        transition: transform .3s;
        flex-shrink: 0;
    }

.blog-faq-item.active .blog-faq-q::before {
    transform: rotate(135deg);
}

.blog-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 20px;
}

.blog-faq-item.active .blog-faq-a {
    max-height: 500px;
    padding: 0 20px 18px;
}

.blog-faq-a p {
    font-size: 14px;
    color: #64748b;
    line-height: 2;
    margin: 0;
}

.blog-faq-a a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

    .blog-faq-a a:hover {
        text-decoration: underline;
    }
