/* =============================================
   FINIT — Article Page Styles
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.article-page {
  font-family: var(--font-body, 'Heebo', sans-serif);
  background: var(--brand-navy, #071e36);
  color: #fff;
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- NAV ---- */
.article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(7, 30, 54, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.article-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.article-nav__logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.article-nav__cta {
  background: var(--brand-accent, #0fb9a8);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  transition: background 0.18s ease;
}
.article-nav__cta:hover { background: #0da596; }

/* ---- MAIN CONTENT ---- */
.article-main {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---- HEADER ---- */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.article-breadcrumb a:hover { color: var(--brand-accent, #0fb9a8); }

.article-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.article-meta__sep { color: rgba(255,255,255,0.25); }

/* ---- BODY ---- */
.article-body { line-height: 1.8; }

.article-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 500;
}

.article-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 2.25rem 0 0.85rem;
  color: #fff;
}

.article-body p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.1rem;
  font-size: 0.97rem;
}

.article-body ul, .article-body ol {
  margin: 0.5rem 0 1.25rem 1.25rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.97rem;
}
.article-body li { margin-bottom: 0.45rem; }

.article-body strong { color: #fff; font-weight: 700; }

/* ---- EXAMPLE BOX ---- */
.article-example {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.article-example__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-accent, #0fb9a8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.article-example__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.article-example__row:last-child { border-bottom: none; }
.article-example__label { color: rgba(255,255,255,0.65); }
.article-example__val { font-weight: 700; color: #fff; }
.article-example__row--highlight .article-example__val {
  color: var(--brand-accent, #0fb9a8);
  font-size: 1.05rem;
}

/* ---- CTA BOX ---- */
.article-cta-box {
  background: linear-gradient(135deg, rgba(11,107,99,0.25) 0%, rgba(15,185,168,0.1) 100%);
  border: 1px solid rgba(15,185,168,0.25);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.article-cta-box__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.article-cta-box__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.article-cta-box__btn {
  display: inline-block;
  background: var(--brand-accent, #0fb9a8);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.65rem 1.75rem;
  border-radius: 22px;
  transition: background 0.18s;
}
.article-cta-box__btn:hover { background: #0da596; }

/* ---- FAQ ---- */
.article-faq {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-faq__item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.article-faq__q {
  list-style: none;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.article-faq__q::-webkit-details-marker { display: none; }
.article-faq__q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--brand-accent, #0fb9a8);
  transition: transform 0.18s;
  flex-shrink: 0;
  margin-right: 0.75rem;
}
details[open] .article-faq__q::after { transform: rotate(45deg); }
.article-faq__a {
  padding: 0 1.1rem 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}

/* ---- RELATED ---- */
.article-related {
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.article-related__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.85rem;
}
.article-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.article-related__links a {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.38rem 0.9rem;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.article-related__links a:hover {
  background: rgba(15,185,168,0.12);
  color: #fff;
}

/* ---- ADVISOR CTA ---- */
.article-advisor {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.article-advisor__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.article-advisor__btn {
  flex-shrink: 0;
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 22px;
  transition: border-color 0.18s, background 0.18s;
  white-space: nowrap;
}
.article-advisor__btn:hover {
  border-color: var(--brand-accent, #0fb9a8);
  background: rgba(15,185,168,0.08);
}

@media (max-width: 600px) {
  .article-main { padding: 1.75rem 1rem 3rem; }
  .article-advisor { flex-direction: column; gap: 0.85rem; }
  .article-advisor__btn { align-self: flex-start; }
}
