/* Articles section: same light look as daghazahav.com (light.css + dz-upgrade.css). Generated pages link here. */
:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #111a2e;
  --dim: #4f5a72;
  --blue: #1d4fa3;
  --cyan: #0a8fb5;
  --border: rgba(17, 26, 46, 0.09);
  --shadow: 0 1px 2px rgba(17, 26, 46, 0.04), 0 8px 24px -12px rgba(17, 26, 46, 0.12);
  --lift: 0 18px 40px -16px rgba(17, 26, 46, 0.28), 0 0 0 1px rgba(29, 79, 163, 0.30);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  font-size: 17.5px;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(10, 143, 181, 0.10), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(29, 79, 163, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(17, 26, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 46, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }
.narrow { max-width: 820px; }

/* Floating glass pill nav */
.nav { position: sticky; top: 12px; z-index: 100; padding: 0 16px; }
.nav-in {
  max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(29, 79, 163, 0.18);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 34px -12px rgba(17, 26, 46, 0.22);
}
.nav-logo { position: relative; display: block; line-height: 0; flex: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-slogan { position: absolute; right: 25.3%; top: 67%; font-weight: 500; font-size: 13.5px; line-height: 1; color: #0f1729; white-space: nowrap; pointer-events: none; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: #3c465c; text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links a[aria-current="page"] { font-weight: 700; }
.nav-cta { color: #fff !important; background: linear-gradient(135deg, #0a8fb5, #0b6fa0); padding: 8px 18px; border-radius: 999px; font-weight: 700 !important; }
@media (max-width: 860px) {
  .nav-links .hide-sm { display: none; }
  .nav-links { gap: 14px; }
}
@media (max-width: 480px) {
  .nav { padding: 0 10px; }
  .nav-in { padding: 6px 10px; gap: 8px; }
  .nav-logo img { height: 30px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.9rem; }
  .nav-slogan { font-size: 11px; }
  .nav-cta { padding: 7px 12px; }
}

/* Page head */
.crumbs { font-size: 14px; color: var(--dim); margin: 34px 0 16px; }
.crumbs a { color: var(--dim); }
.crumbs span[aria-current] { color: var(--text); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(29, 79, 163, 0.07); border: 1px solid rgba(29, 79, 163, 0.25);
  color: var(--blue); padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(29, 79, 163, 0.5); }
h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.2; font-weight: 900; margin-bottom: 14px; text-wrap: balance;
  background: linear-gradient(135deg, #111a2e 0%, #1d4fa3 55%, #0a8fb5 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { scroll-margin-top: 96px; font-size: clamp(23px, 3.4vw, 30px); line-height: 1.3; font-weight: 800; margin: 52px 0 16px; text-wrap: balance; display: flex; align-items: center; gap: 12px; }
h2::before { content: ''; flex: none; width: 5px; height: 1.05em; border-radius: 4px; background: linear-gradient(180deg, #0a8fb5, #1d4fa3); }
h3 { font-size: 19px; line-height: 1.4; font-weight: 800; margin-bottom: 6px; text-wrap: balance; }
p { margin-bottom: 14px; text-wrap: balance; color: #26304a; }
.lead { font-size: 19px; color: var(--dim); max-width: 760px; text-wrap: balance; }
.meta { font-size: 14px; color: var(--dim); margin-bottom: 22px; }
ul.list, ol.steps { margin: 0 0 18px; padding-inline-start: 22px; }
ul.list li, ol.steps li { margin-bottom: 9px; color: #26304a; text-wrap: balance; }
ul.list li::marker { color: var(--blue); }

/* Answer-first box */
.answer {
  background: linear-gradient(135deg, rgba(10, 143, 181, 0.08), rgba(29, 79, 163, 0.07));
  border: 1px solid rgba(29, 79, 163, 0.25); border-radius: 18px; padding: 22px 24px; font-size: 19px; color: var(--text); margin-bottom: 26px;
}
.answer strong { color: var(--blue); }

/* Article hero image (browser frame) */
.frame { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; margin: 6px 0 10px; }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #f8fafd; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dce8; }
.frame img { width: 100%; aspect-ratio: 1230 / 1025; object-fit: cover; background: linear-gradient(90deg, #eef2f9 25%, #f8fafd 50%, #eef2f9 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.frame img.loaded { animation: none; background: none; }
.frame figcaption { font-size: 13.5px; color: var(--dim); padding: 10px 14px; border-top: 1px solid var(--border); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Table of contents */
.toc { background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px 22px; margin: 18px 0 8px; }
.toc p { font-weight: 800; margin-bottom: 8px; color: var(--text); }
.toc ol { margin: 0; padding-inline-start: 22px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 10px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 20px;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--lift); border-color: rgba(29, 79, 163, 0.35); }
.card p { margin: 0; font-size: 16px; color: var(--dim); }
.card .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(29, 79, 163, 0.08); color: var(--blue); margin-bottom: 10px; font-weight: 900; font-size: 15px; }
.card:hover .ico { background: linear-gradient(135deg, #0a8fb5, #1d4fa3); color: #fff; }

/* Scenario / steps */
ol.steps { list-style: none; padding: 0; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 14px 58px 14px 18px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
ol.steps li::before {
  content: counter(s); position: absolute; right: 14px; top: 13px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0a8fb5, #1d4fa3);
}
.note { font-size: 14.5px; color: var(--dim); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(29, 79, 163, 0.35); color: var(--blue); font-weight: 800; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; }
summary:focus-visible, a:focus-visible, .btn:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 8px; }

/* CTA */
.cta { margin: 56px 0 10px; background: var(--card); border: 2px solid rgba(29, 79, 163, 0.30); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 24px; text-align: center; }
.cta h2 { justify-content: center; margin-top: 0; }
.cta h2::before { display: none; }
.cta p { font-size: 18px; max-width: 640px; margin-inline: auto; text-wrap: balance; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 16.5px; transition: transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-p { color: #fff; background: linear-gradient(135deg, #1d4fa3, #0a8fb5); box-shadow: 0 10px 26px -10px rgba(29, 79, 163, 0.6); }
.btn-wa { color: #fff; background: #1faa59; box-shadow: 0 10px 26px -12px rgba(31, 170, 89, 0.7); }
.btn-s { color: var(--blue); background: #fff; border: 2px solid rgba(29, 79, 163, 0.55); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(-4px); }

/* Article index cards */
.posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin: 28px 0 10px; }
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--lift); border-color: rgba(29, 79, 163, 0.35); }
.post-img { overflow: hidden; aspect-ratio: 1230 / 1025; background: linear-gradient(90deg, #eef2f9 25%, #f8fafd 50%, #eef2f9 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.post-img.loaded { animation: none; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.post:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-kind { font-size: 13px; font-weight: 700; color: var(--cyan); }
.post h2, .post h3 { margin: 0; font-size: 21px; }
.post h2::before { display: none; }
.post p { margin: 0; font-size: 15.5px; color: var(--dim); flex: 1; }
.post-more { margin-top: 8px; font-weight: 800; color: var(--blue); }
.post-more .arr { display: inline-block; transition: transform .25s; }
.post:hover .post-more .arr { transform: translateX(-4px); }
.related { margin-top: 8px; }

/* Guides: checklists, tables, text cards */
.meta a { color: inherit; }
article h3 { margin-top: 22px; }
ul.check { list-style: none; padding: 0; margin: 4px 0 20px; }
ul.check li { position: relative; padding-inline-start: 34px; margin-bottom: 10px; color: #26304a; text-wrap: balance; }
ul.check li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #0a8fb5, #1d4fa3); }
ul.check li::after { content: ''; position: absolute; inset-inline-start: 8px; top: calc(0.3em + 4px); width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.table-wrap:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
caption { text-align: start; padding: 14px 16px 8px; font-weight: 800; color: var(--text); text-wrap: balance; }
th, td { text-align: start; vertical-align: top; padding: 11px 16px; border-top: 1px solid var(--border); text-wrap: balance; }
thead th { background: rgba(29, 79, 163, 0.06); color: var(--blue); font-weight: 800; }
tbody th { font-weight: 700; color: var(--text); }
td { color: #26304a; }
.post-guide { border-top: 4px solid var(--cyan); }
.post-guide .post-body { padding: 22px; }
.post-pillar { grid-column: 1 / -1; border-top-color: var(--blue); background: linear-gradient(135deg, rgba(10, 143, 181, 0.08), rgba(29, 79, 163, 0.08)), var(--card); }
.post-pillar h2, .post-pillar h3 { font-size: 25px; }
.post-pillar p { max-width: 760px; }

/* About box */
.about { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 20px; margin-top: 40px; }
.about img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: #eef2f9; }
.about p { margin: 0; font-size: 15.5px; color: var(--dim); }
.about b { color: var(--text); }

/* Footer: dark, as on the home page */
footer { background: #0f1729; color: #a9b3c9; margin-top: 70px; padding: 34px 0 96px; position: relative; z-index: 1; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.foot-logo { font-family: 'Orbitron', 'Heebo', sans-serif; font-weight: 700; letter-spacing: 2px; color: #fff; font-size: 18px; }
footer a { color: #e2e8f4; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; }
.foot-copy { font-size: 14px; }

/* WhatsApp floating button (left, the a11y button sits on the right) */
.fab-wa { position: fixed; left: 22px; bottom: 22px; z-index: 120; width: 54px; height: 54px; border-radius: 50%; background: #1faa59; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(17, 26, 46, 0.45); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 28px; height: 28px; fill: #fff; }

/* Scroll reveal */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .answer { font-size: 17.5px; padding: 18px; }
  ol.steps li { padding: 12px 52px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { background-attachment: scroll; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
