* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: #032e3f;
  background: #f5f8fa;
  line-height: 1.9;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(248, 181, 23, 0.14),
      transparent 34%
    ),
    radial-gradient(circle at 88% 10%, rgba(3, 46, 63, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fa 54%, #e9f0f3 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(3, 46, 63, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 46, 63, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

figure {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(3, 46, 63, 0.09);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(3, 46, 63, 0.14));
}

.brand span {
  display: grid;
}

.brand strong {
  color: #032e3f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.4;
}

.brand small {
  color: rgba(3, 46, 63, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(3, 46, 63, 0.1);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
}

.main-nav a {
  color: #032e3f;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(248, 181, 23, 0.22);
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #032e3f;
  background: #f8b517;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(248, 181, 23, 0.26);
}

/* Hero */

.article-hero {
  padding: 88px 0 70px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(248, 181, 23, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, #032e3f 0%, #062637 58%, #02141f 100%);
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
  overflow: hidden;
  position: relative;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(
    120deg,
    transparent 0 34%,
    rgba(255, 255, 255, 0.28) 34% 35%,
    transparent 35% 100%
  );
  background-size: 180px 180px;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  text-align: center;
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.article-breadcrumb a:hover {
  color: #f8b517;
}

.article-category,
.section-heading span,
.related-grid span,
.side-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.article-category {
  margin: 0 auto 16px;
  padding: 7px 15px;
  color: #032e3f;
  background: #f8b517;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.35;
  letter-spacing: -1.7px;
  font-weight: 950;
}

.article-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 2.1;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.article-meta span {
  padding: 7px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 850;
}

/* Cover */

.article-cover-section {
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.article-cover {
  overflow: hidden;
  border-radius: 36px;
  background: #032e3f;
  border: 1px solid rgba(3, 46, 63, 0.1);
  box-shadow: 0 30px 80px rgba(3, 46, 63, 0.16);
    margin-top:30px;
    margin-bottom:30px;
}

.article-cover img {
  width: 100%;
  /*height: min(560px, 48vw);*/
  object-fit: cover;
  object-position: center;


}

/* Article Layout */

.article-layout {
    display:flex;
  /*display: grid;*/
  /*grid-template-columns: minmax(0, 1fr) 320px;*/
  /*gap: 32px;*/
  /*align-items: start;*/
  /*padding: 76px 0 0;*/
}

.article-content {
  padding: 46px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(3, 46, 63, 0.08);
  box-shadow: 0 24px 64px rgba(3, 46, 63, 0.08);
}

.article-content p {
  margin: 0 0 24px;
  color: rgba(3, 46, 63, 0.72);
  font-size: 18px;
  line-height: 2.35;
  text-align: justify;
}

.article-content .article-lead {
  color: #032e3f;
  font-size: 21px;
  font-weight: 850;
  line-height: 2.25;
}

.article-content h2 {
  margin: 44px 0 18px;
  color: #032e3f;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.5;
  letter-spacing: -0.8px;
  font-weight: 950;
}

.article-inline-image {
  margin: 36px 0;
  overflow: hidden;
  border-radius: 28px;
  background: #032e3f;
}

.article-inline-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.article-inline-image figcaption {
  padding: 12px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 2;
}

.article-content blockquote {
  margin: 40px 0;
  padding: 28px 32px;
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(248, 181, 23, 0.22),
      transparent 30%
    ),
    linear-gradient(135deg, #032e3f, #061f2c);
  font-size: 22px;
  line-height: 2.15;
  font-weight: 850;
  box-shadow: 0 22px 54px rgba(3, 46, 63, 0.16);
}

/* Side */

.article-side {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(3, 46, 63, 0.08);
  box-shadow: 0 18px 46px rgba(3, 46, 63, 0.06);
}

.side-card span {
  margin-bottom: 12px;
  padding: 6px 12px;
  color: #032e3f;
  background: rgba(248, 181, 23, 0.2);
}

.side-card p {
  margin: 0;
  color: rgba(3, 46, 63, 0.68);
  font-size: 14px;
  line-height: 2.1;
  text-align: justify;
}

.side-image-card {
  padding: 14px;
}

.side-image-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* Related */

.related-articles {
  padding: 84px 0 96px;
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.section-heading span {
  padding: 6px 13px;
  color: #032e3f;
  background: rgba(248, 181, 23, 0.18);
}

.section-heading h2 {
  margin: 14px 0 0;
  color: #032e3f;
  font-size: clamp(28px, 2.8vw, 48px);
  line-height: 1.45;
  font-weight: 950;
  letter-spacing: -1px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-grid article {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(3, 46, 63, 0.08);
  box-shadow: 0 18px 48px rgba(3, 46, 63, 0.06);
  transition: 0.25s ease;
}

.related-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(3, 46, 63, 0.12);
}

.related-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.related-grid article div {
  padding: 22px;
}

.related-grid span {
  padding: 5px 11px;
  color: #032e3f;
  background: rgba(248, 181, 23, 0.2);
  font-size: 12px;
}

.related-grid h3 {
  margin: 12px 0 0;
  color: #032e3f;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
    text-align:justify;

  
}

/* Footer */

.site-footer {
  color: #ffffff;
  background: #032e3f;
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
}

.footer-inner img {
  width: 84px;
  margin-bottom: 12px;
}

.footer-inner h3,
.footer-inner h4 {
  margin: 0 0 12px;
  color: #f8b517;
}

.footer-inner p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.footer-inner a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner a:hover {
  color: #f8b517;
}

/* Responsive */

@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 22px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .login-btn {
    display: none;
  }

  .article-hero {
    padding: 72px 0 54px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
  }

  .article-cover img {
    height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand small {
    display: none;
  }

  .article-hero h1 {
    font-size: 32px;
  }

  .article-hero p {
    font-size: 15px;
  }

  .article-cover {
    border-radius: 26px;
  }

  .article-cover img {
    height: 260px;
  }

  .article-layout {
    padding-top: 52px;
  }

  .article-content {
    padding: 26px;
    border-radius: 26px;
  }

  .article-content p {
    font-size: 15px;
    line-height: 2.25;
  }

  .article-content .article-lead {
    font-size: 17px;
  }

  .article-content h2 {
    margin-top: 34px;
    font-size: 26px;
  }

  .article-inline-image img {
    height: 230px;
  }

  .article-content blockquote {
    padding: 22px;
    font-size: 18px;
    border-radius: 22px;
  }

  .article-side {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-grid img {
    height: 210px;
  }
}
.article-body-text {
  margin: 0;
  color: rgba(3, 46, 63, 0.72);
  font-size: 18px;
  line-height: 2.35;
  text-align: justify;
}

.article-body-text br {
  display: block;
  content: "";
  margin-bottom: 10px;
}