

@font-face {
    font-family: "Borna";
    src: url("../fonts/Borna-Regular.woff2") format("woff2"),
         url("../fonts/Borna-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Borna";
    src: url("../fonts/Borna-Bold.woff2") format("woff2"),
         url("../fonts/Borna-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  


.navbar {
  background-color: #0b3b2e;
  padding: 12px 24px;
}

.navbar .navbar-brand img {
  border-radius: 50%;
  height: 42px;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.navbar-collapse {
  background-color: rgba(11,59,46,.95);
  padding: 14px 0;
  border-radius: 14px;
}
.nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 10px 18px;
}
.nav-link:hover {
  color: #3bb273 !important;
}
.article-tags {
    margin-top: 8px;
  }
  .article-tags .tag-pill {
    display: inline-block;
    background: #3bb273;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    margin: 2px 2px 0 0;
    border-radius: 12px;
  }
  .article-card {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 68, 34, .10);
    transition: .25s ease;
    cursor: pointer;
  }
  .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15, 68, 34, .18);
  }
  .article-cover {
    height: 220px;
    background: linear-gradient(135deg, #eafaf2, #d8f7e7);
    position: relative;
    overflow: hidden;
  }
  .article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* لینک‌های رفرنس مقالات */
.article-ref .ref-link a {
  display: block;           /* هر رفرنس در خط جدا */
  direction: ltr;           /* چپ‌چین برای DOI/لینک انگلیسی */
  text-align: left;
  word-break: break-word;   /* متن طولانی را می‌شکند */
  color: #198754;
  text-decoration: none;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.article-ref .ref-link a:hover {
  text-decoration: underline;
}



@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
    gap: 25px;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }
}




.kiwi-footer-clean {
  margin-top: 42px;
  padding: 0 0 36px;
  font-family: "Borna", sans-serif;
}

.kiwi-footer-box {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #063322, #0b4a32);
  color: #fff;
  box-shadow: 0 18px 45px rgba(11, 59, 46, 0.18);
  border: 1px solid rgba(255,255,255,.12);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 28px 30px 20px;
}

.footer-main h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 900;
}

.footer-main p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .92rem;
  line-height: 2;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.footer-socials a {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  transition: .2s ease;
}

.footer-socials a:hover {
  background: #39b36f;
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .84rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  transition: .2s ease;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(57,179,111,.45);
}

.footer-copy {
  text-align: center;
  padding: 14px 20px 16px;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    padding: 26px 18px 18px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links {
    padding: 14px;
  }
}


/* برند نوار لاگین – تنظیم متن ریسپانسیو مثل صفحه اصلی */
.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  max-width: 75%;
}

.navbar-brand .brand-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* روی موبایل، متن کوچکتر و خواناتر می‌شود */
@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 80%;
  }
  .navbar-brand .brand-text {
    font-size: 0.8rem;
  }
}

.article-summary-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,178,115,.10), rgba(255,209,102,.12));
  border: 1px solid rgba(59,178,115,.22);
  color: #173b2e;
  font-size: .84rem;
  line-height: 1.9;
  min-height: 86px;
}

.article-summary-card i {
  color: #3bb273;
  font-size: 1rem;
}

.article-tags {
  min-height: 30px;
}

.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 999px;
  background: #eefbf4;
  color: #1c7f52;
  font-size: .72rem;
  font-weight: 700;
}

.article-ref {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


    @font-face {
      font-family: "Borna";
      src: url("fonts/Borna-Regular.woff2") format("woff2"),
           url("fonts/Borna-Regular.woff") format("woff");
      font-weight: 400;
    }

    @font-face {
      font-family: "Borna";
      src: url("fonts/Borna-Bold.woff2") format("woff2"),
           url("fonts/Borna-Bold.woff") format("woff");
      font-weight: 700;
    }

    * {
      font-family: "Borna", sans-serif !important;
    }

    :root {
      --kiwi-dark: #0b3b2e;
      --kiwi-green: #3bb273;
      --kiwi-light: #eafaf2;
      --kiwi-accent: #ffd166;
    }

    body {
      background: radial-gradient(circle at top, #e9ffe9 0, #f6fff9 45%, #e7f5ff 100%);
      color: #122;
      padding-top: 78px;
      min-height: 100vh;
    }

    .kiwi-navbar {
      background: linear-gradient(90deg, var(--kiwi-dark), #145c42);
      box-shadow: 0 10px 28px rgba(3, 25, 18, 0.45);
    }

    .brand-logo-circle {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--kiwi-light);
    }

    .brand-logo-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .brand-text {
      font-size: 0.92rem;
      font-weight: 700;
    }

    .page-hero {
      margin-top: 32px;
      border-radius: 30px;
      padding: 34px 28px;
      background:
        radial-gradient(circle at top left, rgba(255,209,102,.22), transparent 35%),
        linear-gradient(135deg, #0b3b2e, #145c42);
      color: #fff;
      box-shadow: 0 24px 60px rgba(15, 68, 34, 0.28);
    }

    .page-hero h1 {
      font-size: 1.55rem;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .page-hero p {
      margin: 0;
      opacity: .9;
      font-size: .92rem;
      line-height: 2;
    }

    .search-box {
      margin-top: -28px;
      background: rgba(255,255,255,.98);
      border: 1px solid rgba(11,59,46,.08);
      box-shadow: 0 18px 42px rgba(15, 68, 34, 0.13);
      border-radius: 24px;
      padding: 18px;
      position: relative;
      z-index: 3;
    }

    .search-inner {
      position: relative;
    }

    .search-inner input {
      width: 100%;
      border-radius: 999px;
      border: 1px solid rgba(59,178,115,.35);
      padding: 13px 48px 13px 18px;
      background: #f8fffb;
      outline: none;
      font-size: .9rem;
      box-shadow: 0 0 0 0 rgba(59,178,115,0);
    }

    .search-inner input:focus {
      border-color: var(--kiwi-green);
      box-shadow: 0 0 0 4px rgba(59,178,115,.16);
      background: #fff;
    }

    .search-inner i {
      position: absolute;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--kiwi-green);
      font-size: 1.15rem;
    }

    /* .article-card {
      height: 100%;
      border: 1px solid rgba(11,59,46,.08);
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 14px 34px rgba(15, 68, 34, .10);
      transition: .18s ease;
      cursor: pointer;
    }

    .article-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 44px rgba(15, 68, 34, .18);
    }

    .article-cover {
      height: 210px;
      background: linear-gradient(135deg, #eafaf2, #d8f7e7);
      position: relative;
      overflow: hidden;
    }

    .article-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .article-badge {
      position: absolute;
      right: 14px;
      top: 14px;
      border-radius: 999px;
      padding: 5px 12px;
      background: rgba(11,59,46,.86);
      color: #fff;
      font-size: .74rem;
      backdrop-filter: blur(6px);
    }

    .article-body {
      padding: 17px 18px 18px;
    }

    .article-title {
      color: var(--kiwi-dark);
      font-size: 1rem;
      font-weight: 800;
      line-height: 1.9;
      margin-bottom: 8px;
    }

    .article-excerpt {
      color: #64748b;
      font-size: .84rem;
      line-height: 1.9;
      min-height: 48px;
    }

    .article-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
      font-size: .78rem;
      color: #64748b;
      border-top: 1px solid rgba(15,23,42,.06);
      padding-top: 12px;
    }

    .read-more {
      color: var(--kiwi-green);
      font-weight: 700;
      white-space: nowrap;
    }

    .empty-box {
      border-radius: 24px;
      padding: 30px;
      text-align: center;
      background: #fff;
      border: 1px dashed rgba(59,178,115,.45);
      color: #64748b;
    } */

    body {
      font-family: "Borna", sans-serif;
      background: radial-gradient(circle at top, #e9ffe9 0, #f6fff9 45%, #e7f5ff 100%);
      padding-top: 78px;
      color: #122;
    }

    .page-hero {
      margin-top: 32px;
      border-radius: 30px;
      padding: 34px 28px;
      background: radial-gradient(circle at top left, rgba(255,209,102,.22), transparent 35%), linear-gradient(135deg, #0b3b2e, #145c42);
      color: #fff;
      box-shadow: 0 24px 60px rgba(15,68,34,0.28);
    }

    .search-box {
      margin-top: -28px;
      background: rgba(255,255,255,.98);
      border: 1px solid rgba(11,59,46,.08);
      border-radius: 24px;
      padding: 18px;
    }

    .search-inner input {
      width: 100%;
      border-radius: 999px;
      border: 1px solid rgba(59,178,115,.35);
      padding: 13px 48px 13px 18px;
      background: #f8fffb;
      outline: none;
      font-size: .9rem;
      color: #0b3b2e;
    }

    .article-card {
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 12px 35px rgba(15,68,34,.08);
      transition: 0.25s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }

    .article-card:hover img {
      transform: scale(1.07);
    }

    .article-cover {
      height: 240px;
      overflow: hidden;
      border-radius: 24px 24px 0 0;
      position: relative;
    }

    .article-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .article-badge {
      position: absolute;
      right: 14px;
      top: 14px;
      border-radius: 999px;
      padding: 5px 12px;
      background: rgba(11,59,46,.86);
      color: #fff;
      font-size: .74rem;
      backdrop-filter: blur(6px);
    }

    .article-body {
      padding: 14px 16px 18px;
    }

    .article-title {
      font-size: 1rem;
      font-weight: 800;
      color: #0b3b2e;
      margin-bottom: 6px;
    }

    .article-excerpt {
      font-size: 0.85rem;
      color: #64748b;
      min-height: 50px;
    }

    .article-meta {
      display: flex;
      justify-content: space-between;
      font-size: .78rem;
      color: #64748b;
      margin-top: 12px;
    }

    .read-more {
      color: #3bb273;
      font-weight: 700;
    }

    .empty-box {
      border-radius: 24px;
      padding: 30px;
      text-align: center;
      background: #fff;
      border: 1px dashed rgba(59,178,115,.45);
      color: #64748b;
    }

    .app-footer {
      margin-top: 56px;
      background:
        radial-gradient(circle at top left, rgba(59,178,115,.22), transparent 30%),
        linear-gradient(135deg, #061f18, #0b3b2e);
      padding: 34px 14px;
      border-top: 2px solid rgba(255, 209, 102, 0.35);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      padding: 14px 24px;
      border-radius: 28px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.14);
      color: var(--kiwi-light);
      font-size: .86rem;
      box-shadow: 0 10px 28px rgba(0,0,0,.25);
    }

    .footer-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--kiwi-accent);
    }

    @media (max-width: 576px) {
      .page-hero {
        padding: 26px 20px;
      }

      .page-hero h1 {
        font-size: 1.25rem;
      }

      .article-cover {
        height: 185px;
      }
    }


    /* دکمه منوی موبایل */
.custom-toggler {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 14px;
  padding: 0 !important;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transition: all 0.25s ease;
}

/* حذف آیکون پیش‌فرض بوت‌استرپ */
.custom-toggler .navbar-toggler-icon {
  display: none !important;
}

.custom-toggler i {
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  transition: all 0.25s ease;
}

.custom-toggler:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.custom-toggler[aria-expanded="true"] i {
  transform: rotate(90deg);
  color: #b7f7a1;
}

/* مرتب شدن منوی بازشده در موبایل */
@media (max-width: 991px) {
  #navbarContent {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(8, 57, 36, 0.96);
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
  }

  #navbarContent .navbar-nav {
    gap: 6px;
  }

  #navbarContent .nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    text-align: right;
  }

  #navbarContent .nav-link:hover {
    background: rgba(255,255,255,0.10);
  }

  .user-menu {
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
}

.article-card{
  border:none;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 35px rgba(15,68,34,.08);
  transition:.25s;
}

.article-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(15,68,34,.15);
}   

.article-cover{
  height:240px;
  background:#f5f8f7;
}

.article-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.search-box {
  margin: -28px auto 0;
  max-width: 880px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(59,178,115,.18);
  box-shadow: 0 18px 45px rgba(11,59,46,.16);
  border-radius: 28px;
  padding: 18px 20px 20px;
  position: relative;
  z-index: 3;
}

.search-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b3b2e;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 12px;
}

.search-title i {
  color: #3bb273;
  font-size: 1.15rem;
}

.search-inner {
  position: relative;
}

.search-inner input {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(59,178,115,.35);
  background: linear-gradient(135deg,#ffffff,#f3fff8);
  padding: 0 52px 0 18px;
  outline: none;
  font-size: .9rem;
  color: #0b3b2e;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}

.search-inner input::placeholder {
  color: #8aa39a;
}

.search-inner input:focus {
  border-color: #3bb273;
  box-shadow: 0 0 0 4px rgba(59,178,115,.16);
  background: #fff;
}

.search-inner > i {
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #3bb273;
  font-size: 1.2rem;
}


/* کارت مقالات */
.article-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,68,34,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15,68,34,0.18);
}
.article-cover {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-card:hover img {
  transform: scale(1.07);
}
.article-body {
  padding: 14px 16px 18px;
}
.article-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0b3b2e;
  margin-bottom: 6px;
}
.article-excerpt {
  font-size: 0.85rem;
  color: #64748b;
  min-height: 50px;
}
.article-tags {
  margin-top: 8px;
}
.article-tags .tag-pill {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 999px;
  background: #eefbf4;
  color: #1c7f52;
  font-size: 0.72rem;
  font-weight: 600;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 12px;
}

/* سرچ‌بار */
.search-box {
  margin: -28px auto 30px;
  max-width: 880px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(59,178,115,.18);
  box-shadow: 0 18px 45px rgba(11,59,46,.16);
  border-radius: 28px;
  padding: 18px 20px 20px;
  position: relative;
  z-index: 3;
}
.search-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b3b2e;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 12px;
}
.search-title i {
  color: #3bb273;
  font-size: 1.15rem;
}
.search-inner {
  position: relative;
}
.search-inner input {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(59,178,115,.35);
  background: linear-gradient(135deg,#ffffff,#f3fff8);
  padding: 0 52px 0 18px;
  outline: none;
  font-size: .9rem;
  color: #0b3b2e;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.search-inner input::placeholder {
  color: #8aa39a;
}
.search-inner input:focus {
  border-color: #3bb273;
  box-shadow: 0 0 0 4px rgba(59,178,115,.16);
  background: #fff;
}
.search-inner > i {
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #3bb273;
  font-size: 1.2rem;
}

/* ریسپانسیو کارت‌ها و سرچ‌بار */
@media (max-width: 992px) {
  .article-cover { height: 210px; }
}
@media (max-width: 768px) {
  .article-cover { height: 190px; }
  .article-body { padding: 12px 14px 16px; }
  .article-title { font-size: 0.95rem; }
  .article-excerpt { font-size: 0.82rem; }
  .search-box { margin: -20px auto 25px; padding: 14px 18px 16px; }
}
@media (max-width: 576px) {
  .article-cover { height: 170px; }
  .article-body { padding: 10px 12px 14px; }
  .article-title { font-size: 0.9rem; }
  .article-excerpt { font-size: 0.8rem; min-height: 40px; }
  .search-inner input { height: 48px; padding: 0 50px 0 14px; }
}


 /* ---------- SPLASH ---------- */
/* Splash Screen – Full */
#splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #0b3b2e, #02110d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #fff;
  height: 100vh;
  width: 100vw;
}



.kiwi-footer {
  background: linear-gradient(135deg,#06281c,#0b3b2e);
  color: #fff;
  padding: 30px 0;
}
.footer-social .social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.2rem;
  transition: 0.25s;
}
.footer-social .social-link:hover {
  background: #3bb273;
  color: #fff;
}
.footer-copy {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-top: 12px;
}

/* Logo – وسط صفحه و اندازه بزرگ‌تر */
#splash-logo img {
  width: 70vw;                /* عرض 70% از عرض صفحه */
  height: auto;
  max-height: 70vh;           /* حداکثر ارتفاع 70% از صفحه */
  object-fit: contain;        /* اندازه تصویر به گونه‌ای که فشرده نشود */
  border: 10px solid #3bb273;  /* حاشیه سبز */
  border-radius: 20px;        /* گوشه‌های گرد */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);  /* سایه اطراف لوگو */
  display: block;
  margin-bottom: 0;           /* حذف فاصله از متن */
}

/* ریسپانسیو – موبایل */
@media (max-width: 576px) {
  #splash-logo img {
    width: 80vw;            /* بزرگ‌تر کردن برای موبایل */
    max-height: 80vh;       /* افزایش ارتفاع برای موبایل */
    border-width: 6px;      /* کاهش ضخامت حاشیه برای موبایل */
  }
}

/* ریسپانسیو – تبلت‌ها */
@media (min-width: 576px) and (max-width: 768px) {
  #splash-logo img {
    width: 75vw;           /* اندازه لوگو در تبلت */
    max-height: 75vh;      /* تغییر اندازه ارتفاع در تبلت */
  }
}
    /* .spinner-border {
      width: 2.2rem;
      height: 2.2rem;
      border-width: 0.22rem;
    } */

    /* ---------- NAVBAR (همان تم صفحه اصلی) ---------- */
    .navbar {
      background: rgba(11, 59, 46, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 28px rgba(3, 25, 18, 0.45);
    }
    .navbar-brand {
      font-weight: 700;
      letter-spacing: 0.03em;
    }
    .brand-logo-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--kiwi-green), var(--kiwi-accent));
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      color: #083021;
      margin-inline-end: 8px;
      font-size: 1rem;
      box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    }
    .navbar-nav .nav-link {
      font-size: 0.9rem;
      padding-inline: 0.8rem;
      color: #f8f9fa !important;
      opacity: 0.9;
    }
    .navbar-nav .nav-link:hover {
      opacity: 1;
      color: var(--kiwi-accent) !important;
    }
    .navbar-actions {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-inline-start: 1rem;
    }


.search-pulse.show {
  display: flex;
}




/* 
body {
  background: radial-gradient(circle at top, #e9ffe9 0, #f6fff9 45%, #e7f5ff 100%);
  color: #122;
  padding-top: 82px;
  min-height: 100vh;
  overflow-x: hidden;
}

main.container {
  padding-top: 24px;
}

.page-hero {
  margin-top: 0;
  margin-bottom: 22px;
}

.search-box {
  margin: 0 auto 32px;
  max-width: 900px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(59,178,115,.18);
  box-shadow: 0 14px 38px rgba(11,59,46,.13);
  border-radius: 26px;
  padding: 18px 20px;
  position: relative;
  z-index: 1;
}

.search-inner {
  position: relative;
  width: 100%;
}

.search-inner input {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(59,178,115,.35);
  background: linear-gradient(135deg,#ffffff,#f3fff8);
  padding: 0 52px 0 18px;
  outline: none;
  font-size: .9rem;
  color: #0b3b2e;
}

.search-inner > i {
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #3bb273;
  font-size: 1.2rem;
}

@media (max-width: 576px) {
  body {
    padding-top: 74px;
  }

  main.container {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
  }

  .page-hero {
    border-radius: 22px;
    padding: 22px 18px;
    margin-bottom: 18px;
  }

  .search-box {
    border-radius: 22px;
    padding: 14px;
    margin-bottom: 24px;
  }

  .search-inner input {
    height: 50px;
    font-size: .82rem;
    padding-right: 46px;
  }
} */


.article-ref {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  direction: ltr;
  text-align: left;
  line-height: 1.8;
}

.article-ref i {
  float: right;
  margin-left: 6px;
}

.article-ref-link,
.article-ref-text {
  display: block;
  direction: ltr;
  text-align: left;
  color: #198754;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.article-ref-link:hover {
  text-decoration: underline;
}


/* لینک‌های رفرنس با افکت hover حرفه‌ای */
.article-ref-link {
  display: block;
  direction: ltr;
  text-align: left;
  color: #198754;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  transition: all 0.25s ease; /* برای smooth effect */
  padding: 2px 4px;
  border-radius: 6px;
}

.article-ref-link:hover {
  text-decoration: underline;                /* زیرخط هنگام hover */
  color: #0b3b2e;                           /* تغییر رنگ متن به سبز تیره */
  background-color: rgba(59, 178, 115, 0.15); /* پس‌زمینه روشن سبز */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);    /* سایه نرم */
  transform: scale(1.03);                    /* کمی بزرگ شدن */
}


.article-ref-link {
  display: block;
  direction: ltr;
  text-align: left;
  color: #198754;
  text-decoration: none;   /* هیچ وقت زیرخط نداشته باشد */
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  transition: all 0.25s ease;
  padding: 2px 4px;
  border-radius: 6px;
}

.article-ref-link:hover {
  text-decoration: none;                         /* زیرخط هنگام hover حذف شود */
  color: #0b3b2e;                                /* تغییر رنگ متن به سبز تیره */
  background-color: rgba(59, 178, 115, 0.15);    /* پس‌زمینه روشن سبز */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);       /* سایه نرم */
  transform: scale(1.03);                        /* کمی بزرگ شدن */
}

