@import url("https://fonts.googleapis.com/css2?family=Fustat:wght@200;300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap");

body.blog-page,
body.article-page {
  background: #020402;
  color: #f6f7f2;
}

body.blog-page.rtl-lang,
body.article-page.rtl-lang {
  font-family: var(--font-body);
}

body.blog-page.rtl-lang .blog-title,
body.blog-page.rtl-lang .blog-copy,
body.blog-page.rtl-lang .blog-row,
body.article-page.rtl-lang .article-title,
body.article-page.rtl-lang .article-intro,
body.article-page.rtl-lang .article-content,
body.article-page.rtl-lang .article-sidebar {
  font-family: var(--font-body);
}

.blog-hero,
.article-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: #020202;
  border-bottom: 1px solid rgba(151, 214, 0, 0.22);
}

.blog-hero {
  min-height: 100svh;
  padding: 142px 0 90px;
}

.article-hero {
  min-height: 68svh;
  padding: 168px 0 90px;
}

.blog-hero::before,
.article-hero::before,
.blog-index::before,
.article-body-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 72% 62%, rgba(151, 214, 0, 0.15), transparent 18%),
    linear-gradient(135deg, transparent 0 30%, rgba(151, 214, 0, 0.18) 30.08%, transparent 30.22% 62%, rgba(151, 214, 0, 0.1) 62.08%, transparent 62.22%);
  opacity: 0.78;
}

.blog-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.94);
  background: url("assets/ourprocess-back.svg") center / contain no-repeat;
  opacity: 0.2;
  filter:
    drop-shadow(0 0 16px rgba(148, 183, 21, 0.22))
    drop-shadow(0 0 44px rgba(148, 183, 21, 0.12));
  animation: blogHeroXBreath 4.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blogHeroXBreath {
  0%,
  100% {
    opacity: 0.16;
    transform: translate(-50%, -50%) scale(0.92);
  }

  48% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

.blog-hero-inner,
.article-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-9svh);
}

.blog-hero-inner {
  min-height: calc(100svh - 232px);
}

.article-hero-inner {
  min-height: auto;
  transform: translateY(-6svh);
}

.blog-kicker,
.article-kicker {
  color: #97d600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.blog-title,
.article-title {
  max-width: 1040px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}

.blog-title {
  max-width: 820px;
  font-size: 70px;
  line-height: 0.98;
}

.article-title {
  max-width: 880px;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.blog-copy,
.article-intro {
  max-width: 650px;
  color: rgba(246, 247, 242, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  margin: 0 auto;
}

.blog-copy {
  margin-top: 20px;
}

.article-intro {
  margin-top: 20px;
}

.blog-scroll-link {
  width: max-content;
  margin-top: 34px;
  color: #97d600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.blog-hero .blog-scroll-link {
  position: absolute;
  bottom: -40px;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.blog-hero .blog-scroll-link::after {
  content: "";
  width: 1px;
  height: 44px;
  background: currentColor;
  transform-origin: top;
  animation: blogScrollPulse 1.8s ease-in-out infinite;
}

@keyframes blogScrollPulse {
  0%,
  100% { transform: scaleY(0.42); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

.blog-index,
.article-body-section {
  position: relative;
  padding: 108px 0 120px;
  overflow: hidden;
}

.blog-index-heading {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.blog-index-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.95;
  font-weight: 500;
}

.blog-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.blog-row {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: inherit;
  text-decoration: none;
}

.blog-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.blog-row-number {
  color: #97d600;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1;
}

.blog-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.68;
  filter: saturate(0.8) contrast(1.06);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.blog-row:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.blog-card-body {
  padding: 0;
}

.blog-card-meta,
.article-meta {
  color: #97d600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.blog-row h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  margin: 16px 0;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.blog-row:hover h2 {
  color: #97d600;
}

.blog-row p {
  max-width: 680px;
  color: rgba(246, 247, 242, 0.76);
  line-height: 1.55;
  margin: 0 0 24px;
}

.blog-card-cta,
.article-back,
.article-cta {
  color: #97d600;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 64px;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  border-top: 1px solid rgba(151, 214, 0, 0.3);
  padding-top: 22px;
}

.article-sidebar nav {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.article-sidebar a {
  color: rgba(246, 247, 242, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

.article-sidebar a:hover {
  color: #97d600;
}

.article-content {
  max-width: 820px;
}

.article-hero-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(151, 214, 0, 0.22);
  background: rgba(255, 255, 255, 0.025);
  margin: 0 0 48px;
  opacity: 0.92;
}

.article-visual-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: clamp(14px, 2vw, 24px);
  margin: 0 0 clamp(38px, 5vw, 70px);
  align-items: stretch;
}

.article-visual-strip img,
.article-inline-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(151, 214, 0, 0.22);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.article-visual-strip img {
  aspect-ratio: 4 / 3;
}

.article-visual-strip img:nth-child(2) {
  transform: translateY(22px);
}

.article-inline-visual {
  width: min(760px, 92%);
  margin: clamp(22px, 4vw, 54px) 0 clamp(34px, 5vw, 72px);
  padding: clamp(10px, 1.5vw, 18px);
  border-radius: 8px;
  border: 1px solid rgba(151, 214, 0, 0.14);
  background: rgba(255, 255, 255, 0.018);
}

.article-inline-visual.is-offset {
  margin-left: auto;
}

.article-inline-visual img {
  height: auto;
  max-height: 520px;
}

.article-section {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-section h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.article-section p,
.article-section li {
  color: rgba(246, 247, 242, 0.78);
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-section ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.article-quote {
  color: #f6f7f2;
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
  line-height: 1.25;
  border-left: 3px solid #97d600;
  padding-left: 20px;
  margin: 32px 0;
}

.article-final {
  margin-top: 42px;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid rgba(151, 214, 0, 0.32);
  background: rgba(151, 214, 0, 0.07);
}

.article-final h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-index-heading,
  .blog-row {
    grid-template-columns: 1fr;
  }

  .blog-row img {
    width: min(100%, 320px);
  }

  .article-sidebar {
    position: static;
  }

  .article-visual-strip {
    grid-template-columns: 1fr;
  }

  .article-visual-strip img:nth-child(2) {
    transform: none;
  }

  .article-inline-visual {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .blog-hero,
  .article-hero {
    padding: 104px 0 60px;
  }

  .blog-hero { min-height: 92svh; }
  .article-hero { min-height: 58svh; }

  .blog-hero-inner,
  .article-hero-inner {
    min-height: auto;
    transform: translateY(-4svh);
  }

  .blog-hero-inner {
    min-height: calc(92svh - 164px);
  }

  .blog-title,
  .article-title {
    font-size: clamp(36px, 11vw, 56px);
  }

  .blog-copy,
  .article-intro {
    font-size: 15px;
  }

  .blog-row {
    min-height: 0;
    gap: 18px;
  }
}
