:root {
  --navy: #f3f8fc;
  --navy2: #eef5fa;
  --slate: #ffffff;
  --orange: #d9480a;
  --orange2: #ff8c42;
  --blue: #0089ba;
  --magenta: #d42b6a;
  --text: #1a2b3d;
  --muted: #5e7588;
  --white: #0e2a40;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--text); font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.7; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,137,186,.15); padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-logo span { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--orange); color: #fff; padding: 8px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--orange2); }

/* BREADCRUMB */
.breadcrumb { background: var(--navy2); padding: 12px 24px; font-size: 0.82rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); margin: 0 6px; }

/* ARTICLE */
.article-wrap { max-width: 740px; margin: 0 auto; padding: 48px 24px 80px; }
.article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.82rem; color: var(--muted); }
.article-cat { background: rgba(0,137,186,.12); border: 1px solid rgba(0,137,186,.25); color: var(--blue); padding: 4px 12px; border-radius: 50px; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 800; line-height: 1.2; color: var(--white); margin-bottom: 16px; }
h1 .accent { color: var(--orange); }
.article-lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; }
.article-body h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.55rem; font-weight: 800; color: var(--white); margin: 36px 0 14px; }
.article-body h2 .accent { color: var(--orange); }
.article-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.article-body li { padding-left: 4px; }
.article-body strong { color: var(--white); }
.article-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.88rem; }
.article-table th, .article-table td { padding: 12px 14px; border: 1px solid rgba(0,137,186,.14); text-align: left; }
.article-table th { background: var(--navy2); font-weight: 700; color: var(--white); }
.article-table tr:nth-child(even) td { background: rgba(0,137,186,.03); }
.note-box { background: rgba(0,137,186,.06); border: 1px solid rgba(0,137,186,.18); border-left: 4px solid var(--blue); border-radius: 8px; padding: 16px 18px; margin: 8px 0 24px; font-size: 0.9rem; color: var(--text); }
.note-box strong { color: var(--white); }

/* CTA */
.article-cta { background: linear-gradient(135deg, var(--slate) 0%, #eef5fa 100%); border: 1px solid rgba(217,72,10,.2); border-radius: 16px; padding: 36px 32px; text-align: center; margin: 48px 0; }
.article-cta h2 { margin-bottom: 8px; }
.article-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 22px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: all .2s; box-shadow: 0 4px 20px rgba(217,72,10,0.3); }
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); }

/* RELATED */
.article-related h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.related-card { background: var(--slate); border: 1px solid rgba(0,137,186,.14); border-radius: 10px; padding: 16px; text-decoration: none; transition: all .2s; display: flex; flex-direction: column; gap: 6px; }
.related-card:hover { border-color: rgba(217,72,10,.35); transform: translateY(-3px); }
.related-cat { font-size: 0.65rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; }
.related-title { font-size: 0.88rem; font-weight: 700; color: var(--white); line-height: 1.4; }

/* BLOG INDEX GRID */
.blog-hero { padding: 48px 24px 8px; max-width: 1100px; margin: 0 auto; }
.blog-hero h1 { margin-bottom: 10px; }
.blog-hero p { color: var(--muted); max-width: 600px; }
.blog-grid-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.blog-card { background: var(--slate); border: 1px solid rgba(0,137,186,.14); border-radius: 12px; overflow: hidden; text-decoration: none; transition: all .25s; display: flex; flex-direction: column; }
.blog-card:hover { border-color: rgba(217,72,10,.35); transform: translateY(-4px); }
.blog-thumb { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; position: relative; background: linear-gradient(135deg, var(--navy2), var(--slate)); border-bottom: 1px solid rgba(0,137,186,.12); }
.blog-cat { position: absolute; top: 10px; left: 10px; background: rgba(0,137,186,.12); border: 1px solid rgba(0,137,186,.25); color: var(--blue); font-size: 0.62rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase; }
.blog-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-date { font-size: 0.7rem; color: var(--muted); }
.blog-title { font-size: 0.95rem; font-weight: 700; color: var(--white); line-height: 1.4; }
.blog-exc { font-size: 0.82rem; color: var(--muted); line-height: 1.55; flex: 1; }
.blog-read { font-size: 0.75rem; font-weight: 700; color: var(--orange); margin-top: 6px; }
.blog-soon { opacity: .55; }

/* FOOTER */
footer { background: #eef5fa; border-top: 1px solid rgba(0,137,186,.12); padding: 40px 24px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.footer-logo img { height: 40px; margin-bottom: 10px; }
.footer-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { max-width: 1100px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid rgba(0,137,186,.12); font-size: 0.8rem; color: var(--muted); text-align: center; }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  h1 { font-size: 2rem; }
  .article-cta { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}
