/* ============================================================================
   MR CASTING KSA — PILLAR ARTICLE STYLES
   File: assets/css/article-pillar.css
   Add this AFTER your existing blog-single CSS to style the new pillar elements.
   ============================================================================ */

/* ---------- TL;DR Box ---------- */
.tldr-box {
    background: linear-gradient(135deg, #fef3c7 0%, #f8f6f2 100%);
    border-left: 4px solid #c9a961;
    padding: 1.75rem 2rem;
    margin: 2rem 0 3rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tldr-box .tldr-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #c9a961;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tldr-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1a1f2e;
    margin: 0;
}

.tldr-box strong {
    color: #0a0e1a;
    font-weight: 700;
}

/* ---------- Lead paragraph ---------- */
p.lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: #1a1f2e;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* ---------- Elegant blockquote ---------- */
.blockquote-elegant {
    border-left: 3px solid #c9a961;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #1a1f2e;
    background: #fafaf7;
    line-height: 1.7;
}

.blockquote-elegant cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    color: #6b7280;
    font-weight: 500;
}

/* ---------- Pricing & Timeline Tables ---------- */
.rate-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
}

.rate-table thead {
    background: #0a0e1a;
}

.rate-table thead th {
    color: #c9a961;
    font-weight: 700;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #c9a961;
}

.rate-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1a1f2e;
    vertical-align: top;
}

.rate-table tbody tr:nth-child(even) {
    background: #fafaf7;
}

.rate-table tbody tr:hover {
    background: #fef3c7;
    transition: background 0.2s;
}

.rate-table tbody td strong {
    color: #0a0e1a;
}

p.caption-muted {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.service-block {
    background: #fafaf7;
    border-left: 3px solid #c9a961;
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.service-block h3 {
    color: #0a0e1a;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.service-block p {
    color: #4b5563;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.service-block a {
    color: #c9a961;
    text-decoration: none;
    font-weight: 600;
}

.service-block a:hover {
    text-decoration: underline;
}

/* ---------- Inline CTA Box ---------- */
.cta-inline {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    color: #ffffff;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    border-radius: 8px;
    border-left: 4px solid #c9a961;
}

.cta-inline p {
    color: #e8eaed;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.cta-inline strong {
    color: #c9a961;
}

.cta-inline .btn-primary {
    background: #c9a961;
    color: #0a0e1a;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
}

.cta-inline .btn-primary:hover {
    background: #e5d4a8;
    transform: translateY(-1px);
}

/* ---------- Case Study Meta ---------- */
.case-study-meta {
    background: #fafaf7;
    padding: 1rem 1.5rem;
    border-left: 3px solid #059669;
    font-size: 0.95rem;
    color: #4b5563;
    margin: 1.5rem 0 2rem 0;
    border-radius: 4px;
    line-height: 1.8;
}

.case-study-meta strong {
    color: #0a0e1a;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: #c9a961;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.1);
}

.faq-item h3 {
    color: #0a0e1a;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    font-size: 0.98rem;
}

.faq-item a {
    color: #c9a961;
    font-weight: 600;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* ---------- General buttons (if not already styled) ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: #c9a961;
    color: #0a0e1a;
}

.btn-primary:hover {
    background: #e5d4a8;
}

.btn-outline {
    border: 2px solid #c9a961;
    color: #c9a961;
    background: transparent;
}

.btn-outline:hover {
    background: #c9a961;
    color: #0a0e1a;
}

/* ---------- Section Anchors (smooth scroll target offset for sticky headers) ---------- */
h2[id], h3[id] {
    scroll-margin-top: 100px;
}

/* ---------- RTL Support (Arabic) ---------- */
[dir="rtl"] .tldr-box,
[dir="rtl"] .blockquote-elegant,
[dir="rtl"] .service-block,
[dir="rtl"] .cta-inline,
[dir="rtl"] .case-study-meta {
    border-left: none;
    border-right: 4px solid #c9a961;
}

[dir="rtl"] .rate-table thead th {
    text-align: right;
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
    .tldr-box,
    .cta-inline {
        padding: 1.25rem 1.5rem;
    }

    .rate-table {
        font-size: 0.85rem;
    }

    .rate-table thead th,
    .rate-table tbody td {
        padding: 0.75rem 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    p.lead {
        font-size: 1.05rem;
    }
}