/* =========================================================================
   YEHEMAK — صفحات الأخبار (القسم + التفاصيل)
   تكملة لـ site.css — تعتمد على نفس متغيّرات الثيم.
   ========================================================================= */

/* تخطيط عمودين: محتوى + شريط جانبي */
.yh-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 10px;
}

/* ----- ترويسة قسم: شريط + عنوان + خط + رابط ----- */
.yh-sec-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.yh-sec-head--lg { margin: 34px 0 20px; }
.yh-sec-head__bar { width: 5px; height: 24px; background: var(--accent); border-radius: 3px; }
.yh-sec-head--lg .yh-sec-head__bar { height: 26px; }
.yh-sec-head__title {
  margin: 0;
  font-family: 'Markazi Text', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--headline);
}
.yh-sec-head--lg .yh-sec-head__title { font-size: 27px; }
.yh-sec-head__line { flex: 1; height: 1px; background: var(--border); }
.yh-sec-head__all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ----- الهيرو ----- */
.yh-hero {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  height: 390px;
  background: #0f2342;
}
.yh-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .95; }
.yh-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,38,.95), rgba(8,18,38,.2) 58%, rgba(8,18,38,.05)); }
.yh-hero__body { position: absolute; bottom: 0; right: 0; left: 0; padding: 34px; }
.yh-hero__title { font-family: 'Markazi Text', serif; font-size: 37px; font-weight: 700; line-height: 1.3; margin: 14px 0 8px; color: #fff; }
.yh-hero__excerpt { margin: 0; font-size: 15px; color: #dbe4f0; max-width: 78%; line-height: 1.7; }
.yh-hero__meta { margin-top: 13px; font-size: 13px; color: #aebfd6; display: inline-flex; gap: 7px; align-items: center; }

.yh-chip { background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 5px; display: inline-block; }
.yh-chip--sm { font-size: 11px; padding: 3px 10px; border-radius: 4px; }

/* ----- شبكات ----- */
.yh-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }

/* بطاقة الهايلايت (صورة بخلفية + عنوان) */
.yh-mini {
  position: relative; display: block; border-radius: 12px; overflow: hidden; height: 190px; background: #0f2342;
}
.yh-mini__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; }
.yh-mini__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,38,.95), rgba(8,18,38,.12) 72%); }
.yh-mini__body { position: absolute; bottom: 0; right: 0; left: 0; padding: 16px; }
.yh-mini__title { margin: 9px 0 0; font-family: 'Markazi Text', serif; font-size: 19px; font-weight: 600; line-height: 1.45; color: #fff; }

/* ----- بطاقة خبر (تعمل grid و rows) ----- */
.yh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yh-cards.is-rows { display: flex; flex-direction: column; gap: 10px; }

.yh-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.yh-card__media { position: relative; height: 168px; background-color: var(--surface-2); background-size: cover; background-position: center; flex-shrink: 0; }
.yh-card__cat { position: absolute; top: 12px; right: 12px; }
.yh-card__cat-inline { display: none; align-self: flex-start; }   /* يظهر في وضع الصفوف فقط */
.yh-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.yh-card__title { margin: 0; font-family: 'Markazi Text', serif; font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--text); }
.yh-card__excerpt { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.yh-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--muted-2); }
.yh-card__time { display: inline-flex; gap: 6px; align-items: center; }
.yh-card__more { color: var(--accent); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }

/* وضع القائمة (صفوف): الصورة جانبية + التصنيف داخل الجسم (كما في التصميم) */
.yh-cards.is-rows .yh-card { flex-direction: row; border-radius: 14px; }
.yh-cards.is-rows .yh-card__media { width: 250px; height: auto; min-height: 162px; }
.yh-cards.is-rows .yh-card__cat { display: none; }
.yh-cards.is-rows .yh-card__cat-inline { display: inline-block; }
.yh-cards.is-rows .yh-card__title { font-size: 24px; }
.yh-cards.is-rows .yh-card__excerpt { line-height: 1.75; }
.yh-cards.is-rows .yh-card__body { padding: 10px 10px; }

/* ----- مبدّل العرض (شبكة/قائمة) ----- */
.yh-switch { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 4px; }
.yh-switch__btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 30px; border-radius: 6px; border: none; cursor: pointer;
  background: transparent; color: var(--muted-2); transition: all .15s;
}
.yh-switch__btn.is-active { background: var(--accent); color: #fff; }

.yh-section { margin-top: 40px; }

/* ----- قائمة مدمجة بصور مصغّرة (قسم اقتصاد وأسواق) ----- */
.yh-list { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--card); }
.yh-list__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
}
.yh-list__item:last-child { border-bottom: none; }
.yh-list__img {
  width: 92px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
}
.yh-list__title { margin: 0; font-family: 'Markazi Text', serif; font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--text); transition: color .15s ease; }
.yh-list__item:hover .yh-list__title { color: var(--accent); }
.yh-list__meta { display: flex; gap: 10px; align-items: center; margin-top: 7px; font-size: 12px; color: var(--muted-2); }

/* ----- الشريط الجانبي ----- */
.yh-aside{     max-width: 300px; }
.yh-aside > * + * { margin-top: 10px; }
.yh-widget { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--card); }
.yh-widget__head {
  background: var(--nav); color: #fff; padding: 10px 10px;
  font-family: 'Markazi Text', serif; font-size: 21px; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.yh-rank { display: flex; gap: 13px; padding: 10px 10px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.yh-rank:last-child { border-bottom: none; }
.yh-rank__n { font-family: 'Readex Pro', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent); line-height: 1; min-width: 22px; }
.yh-rank__title { font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.5; }
.yh-rank__time { font-size: 12px; color: var(--muted-2); margin-top: 6px; display: inline-flex; gap: 5px; align-items: center; }

.yh-fb { padding: 22px; text-align: center; }
.yh-fb__circle { width: 60px; height: 60px; border-radius: 50%; background: #1877f2; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.yh-fb__name { font-weight: 700; font-size: 17px; color: var(--text); }
.yh-fb__count { font-size: 13px; color: var(--muted-2); margin: 4px 0 14px; }
.yh-fb__btn { background: #1877f2; color: #fff; font-weight: 600; padding: 11px; border-radius: 8px; font-size: 14px; }

.yh-newsletter { background: linear-gradient(135deg, var(--accent), #f59a2e); border-radius: 12px; padding: 24px; color: #fff; }
.yh-newsletter__title { font-family: 'Markazi Text', serif; font-size: 22px; font-weight: 700; }
.yh-newsletter__p { font-size: 13px; opacity: .95; margin: 7px 0 15px; line-height: 1.6; }
.yh-newsletter__field { background: rgba(255,255,255,.96); border-radius: 8px; padding: 12px 15px; font-size: 13px; color: #9aa6ba; margin-bottom: 10px; }
.yh-newsletter__btn { background: #13294b; color: #fff; text-align: center; font-weight: 600; padding: 12px; border-radius: 8px; font-size: 14px; }

/* =========================== صفحة التفاصيل =========================== */
.yh-article { background: var(--card); border: 1px solid var(--card-border); border-radius: 10px; padding: 10px; }
.yh-bc { font-size: 13px; color: var(--muted-2); margin-bottom: 10px; }
.yh-bc a { color: var(--accent); font-weight: 600; }
.yh-article__title { font-family: 'Markazi Text', serif; font-size: 39px; font-weight: 700; line-height: 1.35; color: var(--headline); margin: 10px 0 10px; }
.yh-article__deck { font-size: 18px; color: var(--muted); line-height: 1.8; margin: 0; }

.yh-byline { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 5px 0; margin: 22px 0; flex-wrap: wrap; gap: 12px; }
.yh-byline__who { display: flex; align-items: center; gap: 12px; }
.yh-byline__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--nav); color: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.yh-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.yh-byline__name { font-weight: 700; font-size: 15px; color: var(--text); }
.yh-byline__date { font-size: 13px; color: var(--muted-2); }
.yh-share { display: flex; gap: 9px; }
.yh-share__btn { width: 36px; height: 36px; border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; }

.yh-article__video { margin: 8px 0 4px; }
.yh-article__video iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.yh-article__img { background-color: var(--surface-2);}
.yh-article__img img {    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    width: 100%; }
.yh-article__body { margin-top: 26px; }
.yh-article__body p { font-size: 18px; line-height: 2.1; color: var(--text); margin: 0 0 22px; }
.yh-article__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }

/* معرض صور الخبر */
.yh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.yh-gallery__img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; display: block; }
@media (max-width: 720px) { .yh-gallery { grid-template-columns: 1fr 1fr; } }

.yh-related-card { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--card); display: block; }
.yh-related-card__img { height: 165px; width: 100%; background-color: var(--surface-2); background-size: cover; background-position: center; }
.yh-related-card__body { padding: 10px 10px 10px; }
.yh-related-card__cat { color: var(--accent); font-size: 12px; font-weight: 700; }
.yh-related-card__title { font-family: 'Markazi Text', serif; font-size: 18px; font-weight: 600; line-height: 1.45; margin: 7px 0 0; color: var(--text); }

/* =========================== FEATURED MOSAIC (أعلى صفحة القسم) =========================== */
.yh-feat { margin-bottom: 32px; }
.yh-feat__top { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.yh-feat__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.yh-hero--feat { height: auto; min-height: 436px; border-radius: 14px; }
.yh-hero--feat .yh-hero__title { font-size: 34px; line-height: 1.35; }
.yh-hero--feat .yh-hero__excerpt { max-width: 88%; }

.yh-feat__side .yh-mini { height: auto; min-height: 210px; border-radius: 14px; }
.yh-feat__side .yh-mini__title { font-size: 20px; }

.yh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }

.yh-fcard { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--card); display: block; }
.yh-fcard__img { position: relative; height: 124px; background-color: var(--surface-2); background-size: cover; background-position: center; }
.yh-fcard__cat { position: absolute; top: 10px; right: 10px; background: rgba(15, 35, 66, .92); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.yh-fcard__body { padding: 13px 14px 15px; }
.yh-fcard__title { margin: 0; font-family: 'Markazi Text', serif; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--text); }
.yh-fcard__time { font-size: 12px; color: var(--muted-2); margin-top: 8px; display: inline-flex; gap: 5px; align-items: center; }

/* ----- بطاقة صغيرة (قسم فن وثقافة، ٣ أعمدة) ----- */
.yh-cul-card { border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; background: var(--card); display: block; }
.yh-cul-card__img { height: 150px; background-color: var(--surface-2); background-size: cover; background-position: center; }
.yh-cul-card__body { padding: 14px 15px 16px; }
.yh-cul-card__cat { color: var(--accent); font-size: 12px; font-weight: 700; }
.yh-cul-card__title { margin: 8px 0 0; font-family: 'Markazi Text', serif; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--text); }
.yh-cul-card__time { font-size: 12px; color: var(--muted-2); margin-top: 8px; display: inline-flex; gap: 5px; align-items: center; }

/* =========================== وسوم الخبر (chips) =========================== */
.yh-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.yh-tag {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 15px;
  transition: border-color .15s ease, color .15s ease;
}
.yh-tag:hover { border-color: var(--accent); color: var(--accent); }

/* زرّ «اقرأ الخبر من مصدره» (خبر خارجي) */
.yh-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--nav);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
}
.yh-source-link:hover { background: var(--accent); }

/* عرض الخبر الخارجي داخل iframe */
.yh-iframe-wrap { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; }
.yh-iframe { width: 100%; height: 85vh; border: 0; display: block; background: #fff; }

/* =========================== مصدر الخبر (صفحة التفاصيل) =========================== */
.yh-source {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-top: 26px;
}
.yh-source__who { display: flex; align-items: center; gap: 13px; }
.yh-source__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yh-source__label { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.yh-source__name { font-size: 17px; font-weight: 700; color: var(--headline); }
.yh-source__btn { display: inline-flex; align-items: center; gap: 7px; background: var(--nav); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 9px; }

/* =========================== الشريط الجانبي: آراء وكتّاب =========================== */
.yh-opinion { padding: 15px 16px; border-bottom: 1px solid var(--border); }
.yh-opinion:last-child { border-bottom: none; }
.yh-opinion__title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.55; }
.yh-opinion__who { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.yh-opinion__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.yh-opinion__name { font-size: 13px; color: var(--accent); font-weight: 600; }

/* =========================== صفحة «آخر الأخبار» (feed) =========================== */
.yh-feed { display: flex; flex-direction: column; gap: 5px; }

.yh-feed-card { display: flex; background: var(--card); border: 1px solid var(--card-border); border-radius: 10px; overflow: hidden; }
.yh-feed-card__media {
  display: block;
  width: 240px;
  flex-shrink: 0;
  min-height: 172px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  position: relative;
}
.yh-feed-card__cat { position: absolute; top: 12px; right: 12px; }
.yh-feed-card__body { padding: 7px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.yh-feed-card__meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.yh-feed-card__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--headline);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 30px;
}
.yh-feed-card__time { font-size: 12px; color: var(--muted-2); display: inline-flex; gap: 5px; align-items: center; }
.yh-feed-card__title { margin: 0; font-family: 'Markazi Text', serif; font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--text); }
.yh-feed-card__title a { color: inherit; transition: color .15s ease; }
.yh-feed-card__title a:hover { color: var(--accent); }
.yh-feed-card__excerpt { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }
.yh-feed-card__more { align-self: flex-start; color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; gap: 5px; align-items: center; }

.yh-loadmore {
  width: 100%;
  margin: 14px 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--card);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.yh-loadmore:hover { background: var(--accent); color: #fff; }
.yh-loadmore:disabled { opacity: .6; cursor: default; }

@media (max-width: 720px) {
  .yh-feed-card { /*flex-direction: column;*/ }
  .yh-feed-card__media { width: 140px;  min-height: 130px;    }
 .yh-feed-card .yh-feed-card__excerpt { display:none;}
}

/* =========================== صفحة البحث =========================== */
.yh-search-page { max-width: 820px; margin: 0 auto; }

.yh-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  padding: 6px 18px 6px 8px;
}
.yh-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  color: var(--text);
  padding: 11px 0;
}

.yh-search-count { margin: 18px 2px 22px; font-size: 14px; color: var(--muted); }
.yh-search-count span { color: var(--accent); font-weight: 700; }

/* بطاقة نتيجة البحث (نسخة أصغر من كارت الـ feed) */
.yh-feed-card--sm .yh-feed-card__media { width: 180px; min-height: 140px; }
.yh-feed-card--sm .yh-feed-card__body { padding: 16px 18px; }
.yh-feed-card--sm .yh-feed-card__title { font-size: 22px; }

.yh-noresults {
  text-align: center;
  padding: 50px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}
.yh-noresults svg { margin: 0 auto 14px; display: block; }
.yh-noresults__title { font-family: 'Markazi Text', serif; font-size: 22px; font-weight: 600; color: var(--headline); }
.yh-noresults__sub { font-size: 14px; color: var(--muted); margin-top: 7px; }

/* =========================== صفحات ثابتة (اتصل بنا / الخصوصية) =========================== */
.yh-page--md { max-width: 980px; margin: 0 auto; }
.yh-page--sm { max-width: 820px; margin: 0 auto; }

.yh-page-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px;background: var(--topbar); border-radius: 3px; border-start-start-radius: 0; border-end-start-radius: 0;transition: all .5s ease-in-out; }
.yh-page-head__bar { width: 5px; height: 35px; background: var(--accent); border-radius: 3px; transition: all .5s ease-in-out;}
.yh-page-head__title { margin: 0; font-family: 'Markazi Text', serif; font-size: 30px; font-weight: 700; color: var(--text-light); }
.yh-page-sub { margin: 0 17px 26px; font-size: 15px; color: var(--text-light); line-height: 1.7; }
.yh-page-sub--meta { font-size: 13px; color: var(--muted-2); }

.yh-page-head:hover { background: var(--accent);  }
.yh-page-head:hover .yh-page-head__bar { width: 5px; height: 35px; background: var(--topbar); border-radius: 3px; }


/* ----- نموذج اتصل بنا ----- */
.yh-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.yh-form-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 26px; }
.yh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.yh-field { margin-top: 16px; }
.yh-field:first-child, .yh-form-row .yh-field { margin-top: 0; }
.yh-field__label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.yh-input, .yh-textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 12px 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.yh-input:focus, .yh-textarea:focus { border-color: var(--accent); }
.yh-textarea { resize: vertical; min-height: 120px; }
.yh-btn-primary {
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.yh-val { color: #e23; font-size: 12px; margin-top: 5px; display: block; }
.yh-alert-ok {
  background: rgba(37, 211, 102, .12);
  border: 1px solid #25d366;
  color: #1a8f48;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.yh-info-col { display: flex; flex-direction: column; gap: 16px; }
.yh-info-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.yh-info-card__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yh-info-card__label { font-weight: 700; font-size: 15px; color: var(--headline); margin-bottom: 4px; }
.yh-info-card__val { font-size: 14px; color: var(--muted); line-height: 1.6; }
.yh-contact-social { display: flex; gap: 10px; }
.yh-contact-social a { flex: 1; height: 44px; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ----- صفحة الخصوصية ----- */
.yh-doc-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 34px; }
.yh-doc-sec { margin-bottom: 26px; }
.yh-doc-sec:last-child { margin-bottom: 0; }
.yh-doc-sec__h { margin: 0 0 10px; font-family: 'Markazi Text', serif; font-size: 23px; font-weight: 700; color: var(--headline); display: flex; align-items: center; gap: 10px; }
.yh-doc-sec__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; flex-shrink: 0; }
.yh-doc-sec__p { margin: 0; font-size: 16px; line-height: 2; color: var(--text); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 980px) {
  .yh-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .yh-contact { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .yh-feat__top { grid-template-columns: 1fr; }
  .yh-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {

    .yh-aside{max-width: 100%;}
  .yh-grid-3, .yh-cards { grid-template-columns: 1fr; }
  .yh-cards.is-rows .yh-card { flex-direction: column; }
  .yh-cards.is-rows .yh-card__media { width: 100%; min-height: 168px; }
  .yh-hero { height: 300px; }
  .yh-hero__title { font-size: 28px; }
  .yh-hero__excerpt { max-width: 100%; }
  .yh-hero--feat .yh-hero__title { font-size: 28px; }
  .yh-article {  }
  .yh-article__title { font-size: 30px; }
  .yh-article__img { }
 
  .yh-feed-card__title {font-size: 18px; }
  .yh-chip  {font-size: 10px; }
}

/* ----- صفحة 404 ----- */
.yh-404 { text-align: center; padding: 60px 20px 70px; }
.yh-404__code {
  font-family: 'Readex Pro', sans-serif;
  font-size: 130px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 4px;
}
.yh-404__title {
  margin: 14px 0 0;
  font-family: 'Markazi Text', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--headline);
}
.yh-404__text {
  margin: 12px auto 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.yh-404__actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.yh-404__actions .yh-btn-primary { margin-top: 0; }
.yh-404__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s ease;
}
.yh-404__link:hover { color: var(--accent); }

@media (max-width: 640px) {
  .yh-404__code { font-size: 96px; }
  .yh-404__title { font-size: 28px; }
}
