/* ==========================================================================
   صفحات المعلومات + المقالات بشكل الرئيسية (body.o-ihs3)
   يُستخدم بعد site.css + pages/home.css + pages/home-osos.css + inner-home-style.css
   ========================================================================== */

/* ---------- الهيرو: عناصر إضافية تحت الـH1 (مسار التنقل / الشعار / تاريخ التحديث) ---------- */
.o-ihs3 #top .ihs3-hero-extra { margin-top: 14px; color: #f3eee4; font-size: 15px; }
.o-ihs3 #top .o-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0; font-size: 14px; }
.o-ihs3 #top .o-breadcrumb li { margin: 0; color: #f3eee4; }
.o-ihs3 #top .o-breadcrumb li + li::before { content: none !important; }
.o-ihs3 #top .o-breadcrumb a { color: #d8c08a; text-decoration: none; }
.o-ihs3 #top .o-breadcrumb a:hover { color: #fff; }
.o-ihs3 #top .o-breadcrumb__sep { color: rgba(255,255,255,.6); }
.o-ihs3 #top .o-banner__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; margin: 0; }
.o-ihs3 #top .o-banner__brand .o-banner__emblem, .o-ihs3 #top .o-banner__emblem { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px; }
.o-ihs3 #top .o-banner__brand span { display: flex; flex-direction: column; line-height: 1.5; }
.o-ihs3 #top .o-banner__brand b { color: #fff; font-size: 15px; }
.o-ihs3 #top .o-banner__brand small { color: #d8c08a; font-size: 13px; }
.o-ihs3 #top .last-updated { display: inline-block; border: 1px solid rgba(216,192,138,.6); border-radius: 30px; padding: 3px 14px; font-size: 14px; color: #f3eee4; background: rgba(0,0,0,.15); }

/* ---------- الشريط البني: أكثر من فقرة ---------- */
.o-ihs3 .hero-band-strip .hero-band-text p + p { margin-top: 6px; }

/* ---------- أقسام نصية (عرض مريح) ---------- */
.o-ihs3 .ihs3-sec { padding: 75px 20px; }
.o-ihs3 .ihs3-wrap { max-width: 900px; margin: 0 auto; }
.o-ihs3 .ihs3-wrap.is-wide { max-width: 1200px; }
.o-ihs3 .ihs3-sec .col_title { margin-bottom: 26px; }
.o-ihs3 .ihs3-sec .col_title.ihs3-center { text-align: center; }
.o-ihs3 .ihs3-sec .elementor-heading-title.elementor-size-xl { font-size: clamp(26px, 3.2vw, 39px); }
.o-ihs3 .ihs-brown3 { background: #927f59 url("../../img/ui/lines-1.png") center / cover no-repeat; color: #fff; }
.o-ihs3 .ihs-brown3 .elementor-heading-title { color: #fff; }
.o-ihs3 .ihs-brown3 .col_title::before { background-color: #d8c08a; }

/* نص المحتوى */
.o-ihs3 .ihs3-prose, .o-ihs3 .ihs3-sec .o-prose { font-size: 16px; line-height: 1.95; color: #3b3836; }
.o-ihs3 .ihs3-prose p, .o-ihs3 .ihs3-sec p { margin: 0 0 1em; }
.o-ihs3 .ihs3-prose ul, .o-ihs3 .ihs3-prose ol, .o-ihs3 .ihs3-sec .o-prose ul, .o-ihs3 .ihs3-sec .o-prose ol { margin: 0 0 1.1em; padding-right: 22px; padding-left: 0; }
.o-ihs3 .ihs3-prose li, .o-ihs3 .ihs3-sec .o-prose li { margin-bottom: 6px; }
.o-ihs3 .ihs3-prose h3, .o-ihs3 .ihs3-sec .o-prose h3 { font-size: 21px; font-weight: 600; color: #8f805e; margin: 22px 0 10px; line-height: 1.6; }
.o-ihs3 .ihs3-prose h4, .o-ihs3 .ihs3-sec .o-prose h4 { font-size: 18px; font-weight: 700; color: #3b3836; margin: 0 0 8px; line-height: 1.6; }
.o-ihs3 .ihs3-sec .o-box, .o-ihs3 .ihs3-prose .o-box { background: #faf8f5; border: 1px solid #e2dacb; border-right: 3px solid #8f805e; border-radius: 4px; padding: 18px 22px; margin: 18px 0; }
.o-ihs3 .ihs-beige .o-box { background: #fff; }
.o-ihs3 .ihs3-sec .o-box p:last-child, .o-ihs3 .ihs3-prose .o-box p:last-child { margin-bottom: 0; }
.o-ihs3 .ihs3-sec .o-box ul { margin: 0; padding-right: 20px; }
.o-ihs3 .o-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.o-ihs3 .ihs3-prose .o-table-wrap table, .o-ihs3 .ihs3-sec .o-table-wrap table { min-width: 0; }

/* القسم البني: نصوص بيضاء */
.o-ihs3 .ihs-brown3 p, .o-ihs3 .ihs-brown3 h3, .o-ihs3 .ihs-brown3 h4 { color: #fff; }

/* ---------- المقال ---------- */
.o-ihs3 .ihs3-article .o-prose { font-size: 17px; line-height: 2; color: #3b3836; max-width: none; }
.o-ihs3 .ihs3-article .o-prose h2 { position: relative; font-size: clamp(24px, 2.6vw, 31px); font-weight: 500; color: #8f805e; line-height: 1.5; margin: 38px 10px 14px 0; padding: 0; }
.o-ihs3 .ihs3-article .o-prose h2::before { content: ""; position: absolute; top: 0; right: -10px; width: 1px; height: 100%; background: #927f59; }
.o-ihs3 .ihs3-article .o-prose h2::after { content: none !important; }
.o-ihs3 .ihs3-article .o-prose h3 { font-size: 20px; font-weight: 600; color: #3b3836; margin: 22px 0 10px; }
.o-ihs3 .ihs3-article .o-prose b, .o-ihs3 .ihs3-article .o-prose strong { color: #6f6247; }
.o-ihs3 .ihs3-article .o-prose ul { padding-right: 22px; margin: 0 0 1.1em; }
.o-ihs3 .ihs3-article .o-prose li { margin-bottom: 8px; }
.o-ihs3 .ihs3-article .o-faq { margin-top: 10px; }
.o-ihs3 .ihs3-article .o-faq__q h3 { display: inline; font-size: 17px; margin: 0; color: inherit; }
.o-ihs3 .ihs3-fig { margin: 26px 0 30px; }
.o-ihs3 .ihs3-fig img { border-radius: 4px; }
.o-ihs3 .ihs3-fig--index { max-width: 900px; margin: 0 auto 34px; }

/* فهرس المقالات */
.o-ihs3 .o-articles .o-articles__intro { text-align: center; font-size: 17px; line-height: 1.9; max-width: 820px; margin: 0 auto 30px; color: #3b3836; }
.o-ihs3 .o-articles .o-article-card { background: #fff; border: 1px solid #e2dacb; border-right: 3px solid #8f805e; border-radius: 4px; padding: 22px 22px 18px; text-decoration: none; display: block; transition: transform .2s, box-shadow .2s; }
.o-ihs3 .o-articles .o-article-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(59,56,54,.1); }
.o-ihs3 .o-articles .o-article-card .o-card__title { font-size: 19px; font-weight: 700; color: #3b3836; line-height: 1.6; margin: 8px 0; }
.o-ihs3 .o-articles .o-article-card .o-card__text { color: #6f6a64; font-size: 15px; line-height: 1.8; margin: 0; }
.o-ihs3 .o-articles .o-article-card__tag { display: inline-block; font-size: 12.5px; color: #8f805e; border: 1px solid #d8c08a; border-radius: 30px; padding: 1px 12px; }
.o-ihs3 .o-articles .o-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991px) { .o-ihs3 .o-articles .o-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .o-ihs3 .o-articles .o-grid { grid-template-columns: 1fr; } }

/* ---------- 404 / التأكيد ---------- */
.o-ihs3 .ihs3-short { padding: 10px 0; }
.o-ihs3 .ihs3-short .oi-btns .o-btn--outline { color: #3b3836; border-color: #8f805e; }
.o-ihs3 .oi-404__logo { margin-top: 26px; }
.o-ihs3 .oi-404__sub { color: #8f805e; font-weight: 700; margin-top: 8px; }
.o-ihs3 .oi-confirm { max-width: 820px; margin: 0 auto; text-align: center; }
.o-ihs3 .oi-confirm .o-box { text-align: right; }

/* ---------- بطاقات التراخيص / الشكاوى على الأبيض ---------- */
.o-ihs3 .ihs3-sec .oi-lcard { border-top-color: #8f805e; border-radius: 4px; }
.o-ihs3 .ihs3-sec .oi-lcard .o-title { font-size: 20px; color: #8f805e; }
.o-ihs3 .ihs3-sec .oi-response { border-radius: 4px; }

@media (max-width: 767px) {
  .o-ihs3 .ihs3-sec { padding: 50px 16px; }
  .o-ihs3 .ihs3-article .o-prose { font-size: 16px; }
  .o-ihs3 .ihs3-sec .o-box { padding: 14px 16px; }
}
