/* DV Expertise — Shared blog styles */
:root {
  --navy: #0f2c4f;
  --navy-deep: #081d38;
  --gold: #b8893f;
  --gold-light: #d4a861;
  --cream: #faf6ee;
  --paper: #ffffff;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --text-light: #6b6b6b;
  --rule: #d9d3c4;
  --red: #b73428;
  --green: #2d6a3e;
  --warning: #e89c2c;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, Segoe UI, Arial, sans-serif;
  font-size: 18px; line-height: 1.7; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; font-weight: 600; color: var(--navy); line-height: 1.3; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.container { max-width: 800px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* TOPBAR */
.topbar { background: var(--navy-deep); color: #fff; font-size: 15px; padding: 10px 0; }
.topbar .container-wide { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 16px; height: 16px; }
.topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* HEADER */
header { background: #fff; border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark {
  width: 54px; height: 54px; background: var(--navy); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font: 700 22px Lora, serif; border: 2px solid var(--gold); flex-shrink: 0;
}
.logo-text .name { display: block; font: 700 22px Lora, serif; color: var(--navy); letter-spacing: 0.5px; }
.logo-text .tag { display: block; font-size: 13px; color: var(--text-light); margin-top: 2px; }
nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
nav a { font-size: 16px; color: var(--navy); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--gold); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 12px 22px !important; border-radius: 4px; }
.nav-cta:hover { background: var(--gold); border-bottom-color: transparent !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ARTICLE */
.article-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.breadcrumb { font-size: 14px; color: var(--text-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.article-category {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; border-radius: 3px; margin-bottom: 20px;
}
.article-hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin-bottom: 18px; }
.article-meta { font-size: 15px; color: var(--text-light); margin-top: 16px; }
.article-meta span + span::before { content: '·'; margin: 0 10px; color: var(--rule); }

.article { padding: 50px 0 70px; }
.article h2 { font-size: clamp(24px, 3.5vw, 30px); margin: 40px 0 18px; padding-top: 10px; }
.article h3 { font-size: clamp(20px, 3vw, 24px); margin: 30px 0 14px; color: var(--navy); }
.article p { margin-bottom: 18px; font-size: 17px; color: var(--text); }
.article ul, .article ol { margin: 18px 0 22px 22px; }
.article li { margin-bottom: 10px; font-size: 17px; }
.article strong { color: var(--navy-deep); }
.article a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.article a:hover { color: var(--gold); }

/* CALLOUT BOXES */
.callout {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 24px 28px; margin: 28px 0; border-radius: 0 6px 6px 0;
}
.callout.warning { background: #fdf4e3; border-left-color: var(--warning); }
.callout.danger { background: #fdebe9; border-left-color: var(--red); }
.callout.success { background: #e8f3ea; border-left-color: var(--green); }
.callout h4 {
  font-size: 18px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.callout p { font-size: 16px; margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

/* TABLE */
.tbl { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; background: #fff; border: 1px solid var(--rule); }
.tbl th, .tbl td { padding: 14px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { background: var(--cream); font-weight: 700; color: var(--navy); }
.tbl tr:last-child td { border-bottom: none; }

/* CTA BOX (inside article, end-of-article conversion) */
.cta-box {
  background: var(--navy-deep);
  color: #fff;
  padding: 40px;
  margin: 45px 0;
  border-radius: 8px;
  border-left: 6px solid var(--gold);
}
.cta-box h3 { color: #fff; margin-bottom: 14px; font-size: 26px; }
.cta-box p { color: #e8e2d4; margin-bottom: 20px; }
.cta-box strong { color: var(--gold-light); }
.cta-box .btn {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  padding: 14px 28px; font-weight: 700; border-radius: 4px;
  text-decoration: none; border: none; font-family: inherit; font-size: 16px;
  margin-right: 8px;
}
.cta-box .btn:hover { background: var(--gold-light); }
.cta-box .btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.cta-box .btn-outline:hover { background: #fff; color: var(--navy-deep); }

/* RELATED POSTS */
.related { background: var(--cream); padding: 60px 0; border-top: 1px solid var(--rule); }
.related h2 { text-align: center; margin-bottom: 35px; font-size: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card {
  background: #fff; padding: 26px; border: 1px solid var(--rule);
  border-radius: 6px; text-decoration: none; color: inherit;
  transition: all 0.25s ease;
}
.related-card:hover { border-color: var(--gold); box-shadow: 0 12px 30px -10px rgba(15,44,79,0.18); }
.related-card .cat {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.related-card h3 { font-size: 19px; margin: 10px 0; color: var(--navy); }
.related-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.5; }

/* FOOTER */
footer { background: var(--navy-deep); color: #c8c2b3; padding: 50px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
footer h4 { color: #fff; font-size: 17px; font-family: Inter, sans-serif; margin-bottom: 18px; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer a { color: #c8c2b3; text-decoration: none; }
footer a:hover { color: var(--gold-light); }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo .name { font: 700 22px Lora, serif; color: #fff; }
.footer-bottom {
  border-top: 1px solid #1f3a5e; padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: #8d8579;
}

/* LANG SWITCH */
.lang-switch { display: inline-flex; gap: 0; border: 1px solid var(--gold); }
.lang-switch a {
  background: transparent; color: #fff; padding: 4px 12px;
  font: 600 13px Inter, sans-serif; letter-spacing: 1px; text-decoration: none;
}
.lang-switch a.active { background: var(--gold); color: var(--navy-deep); }

/* BLOG INDEX */
.blog-hero { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; padding: 70px 0 60px; text-align: center; }
.blog-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 46px); margin-bottom: 14px; }
.blog-hero p { font-size: 19px; color: #e8e2d4; max-width: 600px; margin: 0 auto; }
.blog-list { padding: 70px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 6px;
  text-decoration: none; color: inherit; transition: all 0.25s ease;
  display: flex; flex-direction: column; overflow: hidden;
}
.blog-card:hover { border-color: var(--gold); box-shadow: 0 12px 30px -10px rgba(15,44,79,0.18); transform: translateY(-3px); }
.blog-card-img { height: 210px; overflow: hidden; background: var(--cream); position: relative; }
.blog-card-img svg { width: 100%; height: 100%; display: block; }
.blog-card-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy-deep);
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 3px;
}
.blog-card-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card h2 { font-size: 21px; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; flex-grow: 1; }
.blog-card-meta {
  font-size: 13px; color: var(--text-light); margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--rule);
}

/* ILLUSTRATIONS */
.illus {
  margin: 30px 0;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}
.illus svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.illus-caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}
.article-hero-svg {
  margin: 30px 0 38px;
  text-align: center;
}
.article-hero-svg svg { max-width: 100%; height: auto; }

/* RESPONSIVE */
@media (max-width: 980px) {
  nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-top: 1px solid var(--rule); box-shadow: 0 8px 20px rgba(0,0,0,.08); padding: 14px 0;
  }
  nav ul.active { display: flex; }
  nav ul li { width: 100%; }
  nav a { display: block; padding: 14px 28px; }
  .nav-cta { margin: 8px 28px; text-align: center; }
  .nav-toggle { display: block; }
  header { position: relative; }
  .related-grid, .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .container-wide { padding: 0 20px; }
  .article-hero { padding: 40px 0 30px; }
  .article { padding: 30px 0 50px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 22px; }
  .cta-box .btn { display: block; margin: 8px 0; text-align: center; }
  .logo-text .tag { display: none; }
  .topbar { font-size: 13px; }
}
