:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --muted: #f1f2f1;
  --ink: #001a33;
  --ink-soft: #5a6472;
  --gold: #d4af37;
  --border: #e3e6e8;
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 26, 51, 0.04), 0 18px 42px -28px rgba(0, 26, 51, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: color-mix(in srgb, var(--gold) 68%, var(--ink)); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 99; transform: translateY(-140%); background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 251, 250, 0.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 112px; height: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.main-nav a { display: inline-flex; padding: 9px 13px; border-radius: 999px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.main-nav a:hover { background: var(--muted); color: var(--ink); }
.header-cta, .button-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 10px; padding: 10px 16px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; }
.header-cta:hover, .button-primary:hover { color: var(--ink); filter: brightness(0.96); }

.blog-hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.blog-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: end; padding-block: 48px 30px; }
.kicker { margin: 0; color: color-mix(in srgb, var(--gold) 65%, var(--ink)); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; font-weight: 800; }
.blog-hero h1, .page-header h1 { margin: 16px 0 0; max-width: 820px; font-family: Fraunces, Georgia, serif; font-size: clamp(42px, 7vw, 76px); line-height: 1.03; font-weight: 500; letter-spacing: 0; }
.hero-copy, .page-header p { max-width: 690px; margin: 20px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.blog-search-bar { padding-top: 24px !important; padding-bottom: 4px; }
.blog-search { border: 0; border-radius: 0; padding: 0; background: transparent; margin: 0; }
.blog-search label { color: var(--ink-soft); display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.blog-search div { margin-top: 0; display: flex; align-items: center; gap: 8px; height: 44px; border: 1px solid var(--border); border-radius: 9999px; padding-inline: 16px; background: var(--surface); color: var(--ink-soft); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.blog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }

.final-cta { background: var(--ink, #0f172a); color: #fff; padding: 72px 0; margin-top: 64px; }
.final-cta .inner { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 20px; }
.final-cta .kicker { color: #cbb26a; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.final-cta h2 { font-family: Fraunces, Georgia, serif; color: #fff; margin: 16px 0 0; line-height: 1.15; }
.final-cta h2 .line-1 { display: block; font-size: calc(1.875rem + 2px); font-weight: 500; }
.final-cta h2 .line-2 { display: block; font-size: calc(1.875rem - 3px); font-weight: 500; }
.final-cta p { color: rgba(255,255,255,0.75); font-size: 18px; line-height: 1.6; margin-top: 16px; }
.final-cta a.wa { display: inline-flex; align-items: center; gap: .5rem; margin-top: 28px; background: #25D366; color: #fff; padding: 14px 28px; border-radius: 9999px; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 10px 20px rgba(0,0,0,.2); }

.footer-credit { display: flex; align-items: center; gap: 12px; }
.footer-credit span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; opacity: .7; }
.footer-credit img { height: 32px; width: auto; }
.footer-dark { background: var(--ink, #0f172a); color: rgba(255,255,255,.8); }
.footer-dark .footer-bottom { border-top: 0; color: rgba(255,255,255,.75); padding-block: 22px; }
.category-row { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.chip { border: 1px solid var(--border); border-radius: 999px; padding: 8px 13px; background: var(--bg); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 800; }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.featured-section { padding-block: 44px 34px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 500; }
.section-heading span { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); align-items: center; gap: 34px; }
.featured-image { overflow: hidden; border-radius: var(--radius); background: var(--muted); aspect-ratio: 16 / 10; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.featured-post:hover .featured-image img { transform: scale(1.03); }
.post-category { display: inline-flex; margin: 0; border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent); border-radius: 999px; padding: 6px 10px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: color-mix(in srgb, var(--gold) 58%, var(--ink)); font-size: 12px; font-weight: 700; }
.featured-content h2 { margin: 16px 0 0; font-family: Fraunces, Georgia, serif; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; font-weight: 500; }
.featured-content > p:not(.post-category) { color: var(--ink-soft); font-size: 18px; line-height: 1.72; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 14px; }
.read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: color-mix(in srgb, var(--gold) 65%, var(--ink)); font-weight: 800; }

.posts-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; padding-block: 26px 82px; }
.latest-heading { margin-bottom: 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--border); }
.post-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding-block: 30px; }
.post-thumb { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--muted); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.post-row:hover .post-thumb img { transform: scale(1.04); }
.post-taxline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 700; }
.post-taxline span { color: color-mix(in srgb, var(--gold) 65%, var(--ink)); }
.post-row h3 { margin: 12px 0 0; font-family: Fraunces, Georgia, serif; font-size: 28px; line-height: 1.2; font-weight: 500; }
.post-row p { color: var(--ink-soft); line-height: 1.7; }
.sidebar { border-left: 1px solid var(--border); padding-left: 30px; }
.sidebar h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 24px; font-weight: 500; }
.sidebar ul { list-style: none; margin: 18px 0 0; padding: 0; }
.sidebar a { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--border); color: var(--ink-soft); font-size: 14px; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--ink-soft); }
.nav-links .current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.single-article { padding-block: 42px 80px; }
.breadcrumb { display: flex; gap: 8px; color: var(--ink-soft); font-size: 13px; }
.single-header { max-width: 760px; margin: 28px auto; }
.single-header h1 { margin: 18px 0; font-family: Fraunces, Georgia, serif; font-size: clamp(38px, 6vw, 64px); line-height: 1.08; font-weight: 500; }
.single-cover { overflow: hidden; border-radius: 22px; border: 1px solid var(--border); }
.single-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { max-width: 760px; margin: 46px auto 0; color: var(--ink); font-size: 18px; line-height: 1.85; }
.article-body h2, .article-body h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; line-height: 1.18; margin-top: 2.2em; }
.article-body a { color: color-mix(in srgb, var(--gold) 65%, var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.article-note { max-width: 760px; margin: 34px auto 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--muted); padding: 18px; color: var(--ink-soft); }
.page-generic, .page-editorial { padding-block: 60px 90px; }
.page-header { margin-bottom: 36px; }
.team-grid, .specialty-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid article, .specialty-grid article, .contact-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 24px; box-shadow: var(--shadow); }
.team-grid img { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; object-fit: cover; margin-bottom: 18px; }
.team-grid h2, .specialty-grid h2, .contact-panel h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
.contact-panel { display: grid; gap: 20px; max-width: 760px; }
.empty-state { padding-block: 80px; }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-block: 48px; color: var(--ink-soft); }
.footer-logo { width: 112px; height: auto; }
.site-footer h2 { color: var(--ink); font-family: Fraunces, Georgia, serif; font-size: 18px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 18px; display: flex; justify-content: space-between; gap: 16px; color: var(--ink-soft); font-size: 12px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--whatsapp); color: white; font-size: 28px; font-weight: 800; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42); }
.whatsapp-float:hover { color: white; filter: brightness(0.96); }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .main-nav { overflow-x: auto; }
  .blog-hero-grid, .featured-post, .posts-layout, .footer-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .post-row { grid-template-columns: 180px minmax(0, 1fr); }
  .team-grid, .specialty-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 92px; }
  .main-nav a { font-size: 13px; padding: 8px 10px; }
  .blog-hero-grid { padding-block: 36px 24px; }
  .blog-hero h1, .page-header h1 { font-size: 40px; }
  .post-row { grid-template-columns: 1fr; }
  .featured-section { padding-top: 34px; }
  .posts-layout { padding-bottom: 62px; }
}

.author-card { max-width: 760px; margin: 40px auto 0; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.author-card img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.author-card .author-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); margin: 0; }
.author-card h2 { font-family: Fraunces, Georgia, serif; font-size: 22px; margin: 4px 0 2px; color: var(--ink); }
.author-card .author-role { color: #c9a44a; font-weight: 600; font-size: 14px; margin: 0; }
.author-card .author-bio { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.author-card .author-credentials { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.author-card .author-credentials li { background: #f5ecd7; color: #7a5a10; border-radius: 9999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }

.post-cta { max-width: 760px; margin: 40px auto 0; background: var(--ink, #0f172a); color: #fff; border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.post-cta h2 { font-family: Fraunces, Georgia, serif; font-size: 24px; color: #fff; margin: 0; }
.post-cta p { color: rgba(255,255,255,.7); margin: 8px 0 0; max-width: 480px; }
.post-cta-btn { display: inline-flex; align-items: center; gap: .5rem; background: #f5ecd7; color: var(--ink, #0f172a); padding: 12px 24px; border-radius: 9999px; text-decoration: none; font-weight: 700; font-size: 14px; }

@media (max-width: 640px) {
  .author-card { grid-template-columns: 1fr; }
  .author-card img { width: 96px; height: 96px; }
}

.channel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.channel-list a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.channel-list a:hover { color: var(--gold, #c9a44a); }
.channel-list svg { flex-shrink: 0; }
