/* تعريف الخط السعودي */
@font-face {
    font-family: "Saudi";
    src: url("../SA_Font/Saudi-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Saudi";
    src: url("../SA_Font/Saudi-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}


  :root{
    --bg: #ECE2CC;
    --bg-alt: #F6EFDE;
    --card: #FBF7EC;
    --ink: #2A2318;
    --ink-soft: #5B5140;
    --green: #1F3B2C;
    --green-deep: #142A1F;
    --gold: #B8873B;
    --gold-light: #D9AE63;
    --clay: #9C4A28;
    --line: rgba(31,59,44,0.16);
    --shadow: 0 18px 40px -22px rgba(20,42,31,0.35);
    --radius: 4px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
  }

    body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family: "Saudi", sans-serif;
    line-height:1.75;
    -webkit-font-smoothing:antialiased;
  }

    h1,h2,h3,.display{
    font-family: "Saudi", sans-serif;
    font-weight:700;
    color:var(--green-deep);
    margin:0;
  }
  a{color:inherit;text-decoration:none;}
  ul{margin:0;padding:0;list-style:none;}
  img,svg{display:block;max-width:100%;}
  .container{
    max-width:1120px;
    margin:0 auto;
    padding:0 28px;
  }
  section{scroll-margin-top:84px;}

  
  /* ---------- Sadu pattern (signature element) ---------- */
  .sadu-defs{position:absolute;width:0;height:0;overflow:hidden;}
  .sadu-strip{
    width:100%;
    height:26px;
    display:block;
  }
  .sadu-strip--tall{height:40px;}

  /* ---------- Header ---------- */
  header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(236,226,204,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:76px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .brand-mark{width:38px;height:38px;flex-shrink:0;}
  .brand-text{
    font-family: "Saudi", sans-serif;
    font-size:30px;
    font-weight:700;
    color:var(--green-deep);
    line-height:1;
  }
  .brand-text small{
    display:block;
    font-family: "Saudi", sans-serif;
    font-size:0.62rem;
    font-weight:500;
    letter-spacing:0.12em;
    color:var(--gold);
    margin-top:4px;
  }
  nav.links{
    display:flex;
    gap:6px;
  }
  nav.links button{
    background:none;
    border:none;
    font-family: "Saudi", sans-serif;
    font-size:20px;
    font-weight:500;
    color:var(--ink-soft);
    padding:10px 30px;
    border-radius:var(--radius);
    cursor:pointer;
    position:relative;
    transition:color .2s ease;
  }
  nav.links button::after{
    content:"";
    position:absolute;
    right:16px;
    left:16px;
    bottom:5px;
    height:2px;
    background:var(--gold);
    transform:scaleX(0);
    transition:transform .25s ease;
  }
  nav.links button:hover{color:var(--green-deep);}
  nav.links button.active{color:var(--green-deep); font-weight:700;}
  nav.links button:hover::after{transform:scaleX(1);}
  .menu-toggle{
    display:none;
    background:none;
    border:1px solid var(--line);
    border-radius:var(--radius);
    width:42px;height:42px;
    cursor:pointer;
    align-items:center;
    justify-content:center;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after{
    content:"";
    display:block;
    width:18px;height:2px;
    background:var(--green-deep);
    position:relative;
  }
  .menu-toggle span::before{position:absolute;top:-6px;}
  .menu-toggle span::after{position:absolute;top:6px;}

  /* @media (max-width: 860px){
    nav.links{
      position:fixed;
      inset:76px 0 auto 0;
      background:var(--bg-alt);
      flex-direction:column;
      padding:10px 24px 20px;
      border-bottom:1px solid var(--line);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .2s ease, transform .2s ease;
    }
    nav.links.open{opacity:1; transform:translateY(0); pointer-events:auto;}
    nav.links button{text-align:right; width:100%;}
    .menu-toggle{display:flex;}
  }

  .back-btn {
    display: flex;
    align-items: center;
    gap: 12px;
} */

/* السهم الي جنب زر العودة  */
/* الدائرة */
.back-btn {
    display: flex;
    align-items: center;
    gap: 12px;

    direction: rtl;

    text-decoration: none;
    color: var(--ink-soft);
}

.back-text {
    order: 1;
}

.back-arrow {
    order: 2;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    border: 2px solid var(--green-deep);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 1;

    color: var(--green-deep);

    transition: .25s ease;
}

.back-btn:hover .back-arrow {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(-4px);
}

/* نهاية ستلايل السهم الي جنب زر العودة */


/* ========================================
   Details Section
======================================== */

.details-section {
    background: var(--bg);
    padding: 90px 0;
}


/* عنوان الصفحة */

.details-head {
    max-width: 720px;

    margin-bottom: 55px;

    text-align: right;
}

.details-head .eyebrow {
    color: var(--gold);

    font-size: 15px;
    font-weight: 700;

    margin-bottom: 14px;
}

.details-head h1 {
    color: var(--green-deep);

    font-family: "Saudi", sans-serif;

    font-size: clamp(2rem, 4vw, 3rem);

    margin: 0 0 14px;
}

.details-head p {
    color: var(--ink-soft);

    font-size: 1rem;

    line-height: 1.8;

    margin: 0;
}






  /* ---------- Footer ---------- */
  footer{background:var(--green-deep); color:#C9BE9E; padding:56px 0 34px;}
  .footer-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:40px;
    padding-bottom:36px;

  }
  .footer-brand .brand-text{color:#F3E8CB;}
  .footer-brand p{margin-top:16px; font-size:0.9rem; max-width:34ch; color:#B8AD8C;}
  footer h4{font-size:0.85rem; color:#F3E8CB; margin-bottom:16px; font-family:"Saudi",sans-serif; font-weight:700;}
  footer ul li{font-size:0.88rem; padding:6px 0; color:#B8AD8C;}
  .footer-bottom{
    border-top:1px solid rgba(237,227,200,0.14);
    padding-top:24px;
    display:flex;
    justify-content:space-between;
    font-size:0.8rem;
    color:#8E8468;
    flex-wrap:wrap;
    gap:10px;
  }
  @media (max-width:720px){.footer-grid{grid-template-columns:1fr;}}

/* حساب الانستقرام  */

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: inherit;
    text-decoration: none;

    transition: .25s ease;
}

.instagram-icon {
    width: 20px;
    height: 20px;

    color: var(--gold-light);
}

.instagram-link:hover {
    color: var(--gold-light);
}

.instagram-link:hover .instagram-icon {
    color: var(--gold-light);
}

/*  نهايه التصميم حق الانستقرام */

/* زرالعوده للجوال  */

@media (max-width: 600px) {

    .nav-row {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 12px;
    }


    .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }


    .back-arrow {
        width: 29px;
        height: 29px;

        font-size: 18px;

        flex-shrink: 0;
    }

}

/* تصميم المربع  */


.news-details-section {
    background: #eee7d2;
    min-height: calc(100vh - 100px);
    padding: 70px 20px 100px;

    font-family: "Saudi", sans-serif;
}

.news-details-card {
    width: min(850px, 100%);
    margin: 0 auto;
    background: #fffdf7;
    border-radius: 22px;
    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(30, 48, 39, 0.08);

    border: 1px solid rgba(30, 48, 39, 0.08);
}


/* =========================
   الصورة
========================= */

.news-details-image {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.news-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================
   الشريط الزخرفي
========================= */

.sadu-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;

    background: #f7f1df;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    overflow: hidden;
}

.sadu-pattern span {
    width: 0;
    height: 0;

    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 25px solid #294236;

    position: relative;
}

.sadu-pattern span::after {
    content: "";
    position: absolute;

    width: 7px;
    height: 7px;

    background: #c49a48;
    border-radius: 50%;

    top: 7px;
    left: -3.5px;
}


/* =========================
   المحتوى
========================= */

.news-details-content {
    padding: 45px 55px 50px;
}

.news-details-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}


/* التصنيف */

.news-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 23px;
    border-radius: 999px;

    background: #f2ead7;
    color: #b98c3c;

    font-size: 15px;
    font-weight: 700;
}


/* التاريخ */

.news-date {
    color: #6d6252;
    font-size: 15px;
}


/* =========================
   العنوان
========================= */

.news-main-title {
    color: #182e25;
    font-size: 34px;
    line-height: 1.7;
    margin: 0;

    font-weight: 700;
}


/* الخط الفاصل */

.news-divider {
    width: 75px;
    height: 3px;
    background: #c39848;

    margin: 24px 0 30px auto;
    border-radius: 10px;
}


/* =========================
   تفاصيل الموضوع
========================= */

.news-article-text {
    color: #5f574a;
    font-size: 18px;
    line-height: 2.25;
}

.news-article-text p {
    margin: 0 0 20px;
    font-weight: 400;
}


/* =========================
   المعلومات في الأسفل
========================= */

.news-info-row {
    margin-top: 40px;
    padding-top: 25px;

    border-top: 1px solid #e7dfcb;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    color: #6b6253;
}

.news-info-item {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
}

.news-info-icon {
    color: #c39848;
    font-size: 20px;
}


/* =========================
   الجوال
========================= */

@media (max-width: 700px) {

    .news-details-section {
        padding: 35px 14px 70px;
    }

    .news-details-card {
        border-radius: 17px;
    }

    .news-details-image {
        height: 330px;
    }

    .news-details-content {
        padding: 30px 24px 35px;
    }

    .news-details-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .news-main-title {
        font-size: 25px;
        line-height: 1.65;
    }

    .news-article-text {
        font-size: 16px;
        line-height: 2.1;
    }

    .news-info-row {
        flex-direction: column;
        align-items: flex-start;
    }
}