/* =====================================================================
   تعديلات موقع غرفة التجارة والصناعة والزراعة زليتن
   يُحمَّل بعد custom.css ولا يعدّل أي ملف قالب
   ===================================================================== */

/* ---------- 1) البانر بصورة كاملة ---------- */
.banner__area.banner__full {
  position: relative; z-index: 1;
  min-height: 640px; display: flex; align-items: center;
  padding: 120px 0 100px;
}
/* القالب يجعل .banner__bg علامة مائية (opacity .08 + luminosity)، هنا نعيده صورة كاملة */
.banner__area.banner__full .banner__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 1; mix-blend-mode: normal; background-color: transparent;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0;
}
.banner__area.banner__full .banner__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to left, rgba(7,28,64,.90) 0%, rgba(7,28,64,.65) 45%, rgba(7,28,64,.15) 100%);
}
.banner__area.banner__full > .container { position: relative; z-index: 2; width: 100%; }
.banner__area.banner__full .banner__content { margin-bottom: 0; }
.banner__area.banner__full .banner__content .sub-title { color: #f3a812; }
.banner__area.banner__full .banner__content .title { color: #fff; }
.banner__area.banner__full .banner__content p { color: rgba(255,255,255,.88); }
.banner__area.banner__full .tg-btn { border: 2px solid #fff; }

@media (max-width: 767px) {
  .banner__area.banner__full { min-height: 520px; padding: 100px 0 70px; }
  .banner__area.banner__full .banner__overlay { background: rgba(7,28,64,.78); }
}

/* ---------- 2) أحجام الشعار ---------- */
/* الشعار يحتوي اسم الغرفة، فيحتاج ارتفاعًا أكبر من 45px ليبقى النص مقروءًا */
.tgmenu__nav .logo img, .logo img { max-height: 62px; width: auto; }
.nav-logo img { max-width: 190px; }
.offCanvas__logo img { max-height: 72px; width: auto; }
.footer__logo img, .footer__logo-two img { max-width: 230px; height: auto; }


/* ---------- 3) قسم "نبذة عن الغرفة" ---------- */
.zc-about {
  --zc-dark: #0c3b37;
  --zc-dark2: #072927;
  --zc-gold: #c9a24a;
  --zc-gold2: #d8b865;
  --zc-card: linear-gradient(145deg, #0f4a45 0%, #0a302d 55%, #072927 100%);
}

/* مجموعة الصور المركّبة (بدل الصور الفوتوغرافية) */
.zc-collage { position: relative; width: 100%; padding-top: 87%; container-type: inline-size; direction: ltr; }
.zc-collage > * { position: absolute; direction: rtl; }

.zc-main {
  left: 24%; top: 0; width: 56%; height: 81%; z-index: 1; overflow: hidden;
  border-radius: 5cqw; box-shadow: 0 2cqw 5cqw rgba(7,41,39,.28);
  background:
    radial-gradient(rgba(216,184,101,.14) 1px, transparent 1.3px) 0 0 / 14px 14px,
    var(--zc-card);
}
.zc-art { position: absolute; left: -6%; top: 5%; width: 92%; height: 82%; direction: ltr; }
.zc-label {
  position: absolute; left: 0; bottom: 0; width: 52%; z-index: 2; text-align: center;
  padding: 2.2cqw 3cqw; font-size: max(10px, 2.9cqw); font-weight: 700; color: #fff;
  background: var(--zc-dark2); border-top: 1.5px solid rgba(216,184,101,.7); border-top-right-radius: 4cqw;
}

.zc-years {
  left: 56%; top: 13%; width: 44%; height: 68%; z-index: 2;
  padding: 3.6cqw 3.4cqw; border-radius: 4cqw; color: #fff; text-align: right;
  background: var(--zc-card); border: 1.5px solid rgba(216,184,101,.75);
  box-shadow: 0 2cqw 5cqw rgba(7,41,39,.35);
}
.zc-years .zc-count { margin: 0; font-size: max(26px, 10.5cqw); font-weight: 800; line-height: 1.05; color: #fff; }
.zc-years strong { display: block; margin-top: .8cqw; font-size: max(11px, 3.4cqw); line-height: 1.35; font-weight: 700; color: #fff; }
.zc-years small { display: block; margin-top: 1.4cqw; font-size: max(9px, 2.4cqw); color: #bcd3cf; }
.zc-fact { position: absolute; left: 10%; bottom: 4cqw; width: 80%; color: var(--zc-gold2); opacity: .9; }

.zc-chip {
  z-index: 3; display: flex; align-items: center; gap: 2.2cqw; padding: 2.2cqw 3cqw;
  border-radius: 3.2cqw; color: #fff; font-size: max(11px, 3.2cqw); font-weight: 700; line-height: 1.3;
  background: var(--zc-card); border: 1.5px solid rgba(216,184,101,.75);
  box-shadow: 0 1.6cqw 4cqw rgba(7,41,39,.35);
}
.zc-chip--trade { left: 0; top: 53%; width: 34%; }
.zc-chip--train { left: 50%; top: 85%; width: 47%; }
.zc-ico { width: 8cqw; height: auto; flex: 0 0 auto; color: var(--zc-gold2); }

/* ألوان القسم: عنوان فرعي وأيقونات وزر */
.zc-about .section__title .sub-title { color: var(--zc-gold); }
.zc-about .section__title .title span { color: inherit; font-weight: inherit; }
.zc-about .about__list-box-item .icon { color: var(--zc-gold); }
.zc-about .about__list-item li .icon { border-color: var(--zc-gold); color: var(--zc-gold); }
.zc-about .author__wrap .thumb img { border-color: var(--zc-gold); }
.zc-about .tg-btn { background: var(--zc-dark); border: 2px solid var(--zc-gold); color: #fff; }
.zc-about .tg-btn::before { background: var(--zc-gold); }
.zc-about .tg-btn:hover { color: var(--zc-dark2); }


/* ---------- 4) ترويسة الصفحات الداخلية ---------- */
/* القالب يطبّق luminosity على الصورة فتصبح رمادية؛ نعيد ألوان الشعار ونحسّن وضوح مسار الصفحة */
.breadcrumb__bg { background-blend-mode: normal; background-color: transparent; }
.breadcrumb__bg::before { background: linear-gradient(90deg, rgba(7,28,64,.30) 0%, rgba(7,28,64,.78) 100%); }
.breadcrumb__content .breadcrumb > * { color: #fff; }
.breadcrumb__content .breadcrumb > * a { color: #cfe0f2; }
.breadcrumb__content .breadcrumb > * a:hover { color: #f3a812; }
.breadcrumb-separator { color: #cfe0f2; }


/* ---------- 5) مخطط "أولويات" في قسم نبذة الغرفة ---------- */
.history__img-wrap.zc-orbit-wrap { padding: 0 0 30px; margin-right: 0; }
.zc-orbit { position: relative; width: 100%; padding-top: 86.7%; container-type: inline-size; direction: ltr; }
.zc-orbit > * { position: absolute; }
.zc-orbit-lines { inset: 0; width: 100%; height: 100%; }
.zc-hub { left: 12.5%; top: 27.9%; width: 38.3%; aspect-ratio: 1; }
.zc-hub-back {
  position: absolute; inset: -7% -11% -9% -5%; transform: rotate(-14deg);
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: linear-gradient(145deg, #2a62ab, #0a2a5e); opacity: .5;
}
.zc-hub-core {
  position: absolute; inset: 0; border-radius: 50%; color: #fff; direction: rtl;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw;
  background: radial-gradient(circle at 30% 22%, #2d62a8 0%, #12356b 46%, #0a1f45 100%);
  border: 1.5px solid rgba(255,255,255,.22); box-shadow: 0 3cqw 7cqw rgba(10,42,94,.35);
}
.zc-hub-core span { font-size: max(11px, 2.7cqw); font-weight: 700; opacity: .92; }
.zc-compass { width: 34%; height: auto; }
.zc-node {
  display: flex; align-items: center; gap: 2cqw; width: 29.2%; padding: 1.8cqw 2cqw; direction: ltr;
  background: #fff; border-radius: 3.6cqw; box-shadow: 0 2cqw 5.5cqw rgba(10,42,94,.14); color: #0a2a5e;
}
.zc-node--1 { left: 60%; top: 13.5%; } .zc-node--2 { left: 67.5%; top: 44.2%; } .zc-node--3 { left: 60%; top: 75%; }
.zc-node-ico { flex: 0 0 auto; width: 6.6cqw; color: #0b57a4; }
.zc-node-ico svg { display: block; width: 100%; height: auto; }
.zc-node-txt { flex: 1; direction: rtl; text-align: right; font-size: max(10px, 2.7cqw); font-weight: 700; line-height: 1.3; }

.zc-hub-logo { display: block; width: 62%; height: auto; filter: drop-shadow(0 .8cqw 1.6cqw rgba(0,0,0,.28)); }


/* ---------- 6) شريط مصغّرات الآراء ---------- */
/* كل الآراء لرئيس المجلس، فلا حاجة لصور مصغّرة. نُبقي العنصر مخفيًا لأن منزلق الآراء مربوط به برمجيًا */
.testimonial__nav { display: none; }


/* ---------- 7) لوحة الشعار في قسم الاستشارة ---------- */
.zc-brand-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 5 / 4; padding: 6%; border-radius: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(63,134,209,.34) 0%, rgba(63,134,209,.08) 45%, transparent 70%),
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
.zc-brand-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zc-brand-panel .zc-brand-logo { position: relative; width: 68%; max-width: 380px; height: auto; border-radius: 0; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.zc-brand-tag {
  position: relative; margin-top: 18px; padding: 6px 16px; border-radius: 99px;
  font-size: 14px; font-weight: 600; color: #cfe0f2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
@media (max-width: 575px) { .zc-brand-tag { font-size: 12px; } }


/* ---------- 8) منشور الأخبار (صور وتوقيع) ---------- */
.zc-dateline { font-weight: 700; color: #0a2a5e; }
.zc-news-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.zc-news-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #e9eef5; }
.zc-news-gallery .is-land { aspect-ratio: 3 / 2; }
.zc-news-gallery .is-port { aspect-ratio: 3 / 4; }
.zc-news-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.zc-news-gallery figure:hover img { transform: scale(1.05); }
.zc-news-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(7,28,64,.8)); }
.zc-news-sign { margin: 32px 0; padding: 22px 26px; border-radius: 12px; background: #f4f7fc; border-inline-start: 4px solid #0b57a4; }
.zc-news-sign strong { display: block; font-size: 18px; color: #0a2a5e; }
.zc-news-sign span { display: block; margin-top: 4px; color: #4b5563; }
.zc-news-sign em { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: #6b7280; }
@media (max-width: 575px) { .zc-news-gallery { gap: 10px; } .zc-news-gallery figcaption { font-size: 11px; padding: 20px 10px 8px; } }


/* ---------- 9) شارة التاريخ في بطاقة الخبر ---------- */
/* أيقونة التقويم قد تبقى وسم img (لم تُحقن كـ SVG) فتظهر بحجمها الكامل؛ نحجّمها ونجعلها بيضاء في الحالتين */
.blog__post-date span img { width: 18px; height: 18px; flex: 0 0 auto; filter: brightness(0) invert(1); }
.blog__post-date span svg { width: 18px; height: 18px; flex: 0 0 auto; }
.blog__post-date span { white-space: nowrap; }

/* ---------- 10) ترقيم صفحات الأخبار + فيديو الخبر ---------- */
.zc-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.zc-pager:empty { display: none; }
.zc-pager button { min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #d6deea; border-radius: 10px; background: #fff; color: #0a2a5e; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.zc-pager button:hover { border-color: #0b57a4; }
.zc-pager button.is-active { background: #0a2a5e; border-color: #0a2a5e; color: #fff; }
.zc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.zc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zc-more-link { font-weight: 700; color: #0b57a4; white-space: nowrap; }
