/* ===== Secretaries list (sg-*) ===== */
.sg-section { padding-block: 12px; }
.sg-wrap { max-width: 1100px; margin-inline: auto; padding-inline: 12px; }

.sg-title{
  margin: 0 0 16px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .2px;
  color: #0f172a;
}

.sg-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sg-item{
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;

  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
  padding: 12px;
}

.sg-media{ margin:0; }
.sg-img{
  width: 88px; height: 88px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #f1f5f9; /* لون خلفية لو الصورة ما ظهرت */
}

.sg-content{ min-width: 0; }
.sg-line{
  font-size: clamp(15px, 2.2vw, 17px);
  color: #0f172a;
  margin: 2px 0 6px;
  line-height: 1.7;
  display: flex; flex-wrap: wrap; gap: 6px;
}

.sg-number{ font-weight: 700; color:#0f172a; }
.sg-name{ font-weight: 700; }
.sg-role{ color:#475569; font-weight: 600; }

.sg-meta{
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.sg-badge{
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  padding: 0 6px;
  font-weight: 700;
}
.sg-sep{ color:#94a3b8; }

/* Responsive */
@media (max-width: 600px){
  .sg-item{
    grid-template-columns: 64px 1fr;
    padding: 10px;
  }
  .sg-img{ width:64px; height:64px; border-radius: 8px; }
}











/* ===== Conferences grid (caconf-*) ===== */
.caconf-section { padding-block: clamp(12px, 2vw, 20px); }
.caconf-wrap { max-width: 1100px; margin-inline: auto; padding-inline: 12px; }

.caconf-title{
  margin: 0 0 14px;
  font: 800 clamp(20px, 3vw, 26px)/1.35 system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;
  color: #0f172a;
}

/* Grid */
.caconf-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 580px){
  .caconf-grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px){
  .caconf-grid{ grid-template-columns: 1fr 1fr 1fr; }
}

/* Card */
.caconf-item{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(17,24,39,.05);
  padding: 14px 14px 16px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

/* Logo container — الصورة كاملة باينة */
.caconf-logo{
  width: 100%;
  aspect-ratio: 4/3;          /* يحفظ مساحة ثابتة متناسقة */
  object-fit: contain;         /* يعرض الشعار كاملًا */
  object-position: center;
  background: #f8fafc;        /* خلفية فاتحة للشعار */
  border-radius: 10px;
  display: block;
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}

/* Title */
.caconf-name{
  margin: 0;
  color: #0f172a;
  font: 700 clamp(14px, 2.1vw, 16.5px)/1.7 "Noto Sans Arabic", system-ui, sans-serif;
  word-break: break-word;
}

/* Hover/focus animation */
.caconf-item:hover,
.caconf-item:focus-within{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17,24,39,.10);
  border-color: #dfe3ea;
}

.caconf-item:hover .caconf-logo,
.caconf-item:focus-within .caconf-logo{
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.03);
}

/* Accent bar subtle */
.caconf-item::after{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:0;
  width:0;
  height:100%;
  background:#0b5ed7;
  opacity:.12;
  transition: width .22s ease;
}
.caconf-item:hover::after,
.caconf-item:focus-within::after{
  width:6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .caconf-item, .caconf-logo{ transition: none !important; }
  .caconf-item:hover, .caconf-item:focus-within{ transform: none; }
  .caconf-item::after{ width:6px; transition:none; }
}












/* ===== Reports list (replist-*) ===== */
.replist { padding-block: clamp(10px, 2vw, 20px); }
.replist__wrap { max-width: 900px; margin-inline: auto; padding-inline: 12px; }
.replist__title {
  margin: 0 0 10px;
  font: 800 clamp(18px, 3vw, 24px)/1.4 system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", Arial, sans-serif;
  color: #0f172a;
}

.replist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.replist__item {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(17,24,39,.05);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.replist__item:hover,
.replist__item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17,24,39,.08);
  border-color: #dfe3ea;
}

.replist__link {
  position: relative;
  display: block;
  padding: clamp(10px, 1.8vw, 14px) clamp(14px, 2vw, 18px);
  color: #0b5ed7;
  text-decoration: none;
  font: 700 clamp(14px, 2.2vw, 16.5px)/1.8 "Noto Sans Arabic", system-ui, sans-serif;
  word-break: break-word;
}

/* خط سفلي منزلق + سهم بسيط */
.replist__link::after,
.replist__link::before {
  content: "";
  position: absolute;
  inset-inline-end: clamp(12px, 2vw, 16px);
  top: 50%;
  transform: translateY(-50%);
  transition: transform .18s ease, opacity .18s ease, width .18s ease;
}

/* السهم */
.replist__link::before {
  width: 16px; height: 16px; opacity: .7;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,') center/contain no-repeat;
}

/* الخط */
.replist__link::after {
  content: "";
  inset-inline: clamp(14px, 2vw, 18px) auto;
  bottom: clamp(8px, 1.6vw, 10px);
  top: auto;
  height: 2px;
  width: 0;
  background: currentColor;
  opacity: .25;
  transform: none;
}

/* تفاعل الهوفر/الفوكس */
.replist__item:hover .replist__link::before,
.replist__item:focus-within .replist__link::before {
  transform: translateY(-50%) translateX(-2px);
  opacity: 1;
}
.replist__item:hover .replist__link::after,
.replist__item:focus-within .replist__link::after {
  width: 46%;
  opacity: .5;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .replist__item, .replist__link::before, .replist__link::after { transition: none !important; }
}
















/* ===== CV (cvua-*) ===== */
.cvua { padding-block: clamp(14px, 3vw, 28px); }
.cvua__wrap { max-width: 900px; margin-inline: auto; padding-inline: 12px; }

.cvua__header{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.cvua__avatar{
  width:84px; height:84px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid #e6e8ec;
  background:#f8fafc;
  box-shadow:0 6px 14px rgba(17,24,39,.08);
}
.cvua__avatar img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .25s ease, filter .25s ease;
}
.cvua__header:hover .cvua__avatar img{
  transform:scale(1.04);
  filter:brightness(1.05);
}
.cvua__name{
  margin:0 0 4px;
  color:#0f172a;
  font-weight:800;
  font-size:clamp(20px,3vw,26px);
}
.cvua__role{ margin:0; color:#475569; font-weight:600; font-size:14.5px; }
.cvua__date{ margin-top:4px; font-size:13.5px; color:#64748b; font-weight:600; }

.cvua__card{
  background:#fff;
  border:1px solid #e6e8ec;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(17,24,39,.05);
  padding:16px;
  animation:fadeIn .45s ease both;
}
.cvua__para{
  color:#334155;
  line-height:1.9;
  font-size:15px;
  white-space:pre-line;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(8px);}
  to{opacity:1;transform:translateY(0);}
}














.ecards-wrapper {
    padding: 40px 0;
    direction: rtl;
}

/* الشبكة الأساسية */
.ecards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* الكارت */
.ecard-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
    transition: all 0.3s ease;
    border: 1px solid #e9e9e9;
    height: 100%;
}

/* Hover ناعم */
.ecard-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* صورة واضحة + مربعة */
.ecard-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* مربع ثابت */
    overflow: hidden;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* الصورة */
.ecard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* أفضل جودة + قص متناسق */
    transition: transform 0.35s ease;
}

/* Hover على الصورة */
.ecard-item:hover .ecard-image img {
    transform: scale(1.07);
}

/* المحتوى */
.ecard-content {
    padding: 20px;
    text-align: center;
}

/* العنوان */
.ecard-title {
    font-size: 19px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* الوصف */
.ecard-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 480px) {
    .ecard-title {
        font-size: 17px;
    }
    .ecard-desc {
        font-size: 14px;
    }
}
@media (max-width: 1024px) {
    .ecards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 كروت */
    }
}

/* Mobile (كارت واحد) */
@media (max-width: 600px) {
    .ecards-grid {
        grid-template-columns: 1fr; /* 1 كارت */
    }
}

















.secmap {
    padding: 40px 0;
    direction: rtl;
    font-family: inherit;
}

.secmap__wrap {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
}

/* Sidebar – القطاعات */
.secmap__sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.secmap__sectorButton {
    border: 1px solid #dde2ea;
    background: #f7f9fc;
    border-radius: 12px;
    padding: 10px 14px;
    text-align: right;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    transition: all 0.25s ease;
}

.secmap__sectorButton:hover {
    background: #e9f0ff;
    border-color: #c5d6ff;
    transform: translateX(-3px);
}

.secmap__sectorButton--active {
    background: #1f4f9c;
    color: #fff;
    border-color: #1f4f9c;
}

/* Content area */
.secmap__content {
    position: relative;
    min-height: 200px;
}

/* Panels (كل قطاع) */
.secmap__panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.secmap__panel--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.secmap__panelHeader {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.secmap__panelImage img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.secmap__panelTitle {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

/* Cards (الاتحادات / الشركات) */
.secmap__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.secmap__card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #edf0f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.secmap__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* صورة العنصر */
.secmap__cardImage img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

/* نص العنصر */
.secmap__cardBody {
    padding: 14px 16px 16px;
}

.secmap__cardTitle {
    font-size: 15px;
    font-weight: 700;
    color: #183c73;
    text-decoration: none;
    line-height: 1.5;
}

.secmap__cardTitle:hover {
    text-decoration: underline;
}

.secmap__empty {
    font-size: 14px;
    color: #777;
}

/* Responsive */
@media (max-width: 992px) {
    .secmap__wrap {
        grid-template-columns: 1fr;
    }

    .secmap__sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .secmap__sectorButton {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}







.fw-logo img{
  max-height:80px !important
}



.blog__post-bg-two {
  padding: 0px 0 90px !important;
}