/* vkottaslaw.gr — Brand colours from the business card (navy / periwinkle / lavender) */

@font-face { font-family: "Noto Sans"; src: url("/assets/fonts/noto-sans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/assets/fonts/noto-sans-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #202356;
  --navy-deep: #171a45;
  --navy-soft: #2d3175;
  --peri: #7776b5;
  --lav: #eae7f6;
  --lav-light: #f6f5fb;
  --ink: #1d1f33;
  --muted: #55587a;
  --line: #dddaee;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(32, 35, 86, 0.08);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: "Noto Sans", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--peri); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #d9d8f0; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--lav); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--peri); }
.lang { font-weight: 700; border: 1px solid rgba(255,255,255,.35); padding: 1px 9px; border-radius: 4px; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-logo { width: 46px; height: 46px; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.brand-sub { font-size: 13px; color: var(--muted); }

.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button.nav-drop { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 6px; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button.nav-drop:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--lav-light); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 330px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0; }
.nav .sub a { display: block; font-weight: 400; padding: 9px 12px; font-size: 15px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: block; }
.nav-drop .icon { width: 12px; height: 12px; }
.btn-cta { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn .icon { width: 20px; height: 20px; }

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .btn-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 10px 24px 18px; gap: 0; }
  .nav a, .nav button.nav-drop { width: 100%; padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; margin: 0; min-width: 0; }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: none; }
  .nav .has-sub.open .sub { display: block; }
  .nav .sub a { border-bottom: 0; padding: 9px 4px; }
}
@media (max-width: 520px) {
  .header .wrap { gap: 12px; min-height: 66px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 15px; }
  .brand-logo { width: 40px; height: 40px; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 8px 10px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; text-align: center; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--lav); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #34397f 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 84px 0 140px; }
.hero-mark { position: absolute; right: -60px; bottom: -110px; width: 560px; height: auto; opacity: .05; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lav); margin-bottom: 18px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--peri); }
.hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; margin-bottom: 22px; }
.hero-lead { font-size: 19px; color: #dcdbf1; max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 380px; }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--peri); border-radius: 14px; }
.hero-photo img { position: relative; border-radius: 14px; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
@media (max-width: 900px) {
  .hero { padding: 48px 0 120px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: start; max-width: 300px; }
  .hero-lead { font-size: 17.5px; }
}

/* ---------- Credentials (overlapping hero) ---------- */
.creds { position: relative; margin-top: -78px; z-index: 2; }
.creds-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cred { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--lav); color: var(--navy); display: grid; place-items: center; }
.cred-icon .icon { width: 22px; height: 22px; }
.cred > div > strong { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.35; }
.cred > div > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 3px; }
@media (max-width: 980px) { .creds-grid { grid-template-columns: 1fr 1fr; } .cred:nth-child(3) { border-left: 0; } .cred:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .creds-grid { grid-template-columns: 1fr; } .cred + .cred { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--lav-light); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peri); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 14px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--peri); margin: 18px auto 0; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
@media (max-width: 760px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Practice cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px 26px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--peri); color: var(--ink); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--lav); color: var(--navy); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.card-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-more .icon { transform: translateX(4px); }
.card-tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--lav); padding: 3px 10px; border-radius: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transform: none; transition: none; } }

/* ---------- Approach band ---------- */
.band { background: var(--navy); color: #fff; padding: 80px 0; }
.band h2 { color: #fff; }
.band .section-head p { color: #cfcde9; }
.band .eyebrow { color: var(--lav); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.04); }
.pillar .card-icon { background: rgba(255,255,255,.1); color: var(--lav); }
.pillar h3 { color: #fff; font-size: 20px; }
.pillar p { color: #d4d3ec; margin: 0; font-size: 16px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.profile-photo { position: sticky; top: 110px; }
.profile-photo img { border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.profile-card { margin-top: -40px; margin-left: 24px; margin-right: 24px; position: relative; background: var(--navy); color: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow); }
.profile-card strong { display: block; font-size: 16px; }
.profile-card span { font-size: 14px; color: #cfcde9; }
.profile-text h2 { font-size: clamp(28px, 3vw, 36px); }
.profile-text > p { color: #34365a; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.checklist .icon { width: 22px; height: 22px; color: var(--peri); margin-top: 1px; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.cv-item { background: var(--lav-light); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.cv-item strong { display: block; color: var(--navy); font-size: 15.5px; }
.cv-item span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; gap: 40px; } .profile-photo { position: static; max-width: 380px; } .cv { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.post-top { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; padding: 22px 24px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.post-top .icon { position: absolute; right: 16px; bottom: 12px; width: 64px; height: 64px; color: rgba(255,255,255,.12); }
.post-cat { display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.14); padding: 4px 11px; border-radius: 20px; }
.post-date { font-size: 14px; color: #d6d5ee; margin-top: 12px; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.post-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.post-body .card-more { margin-top: auto; }
.posts-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 14px; }
.center-cta { text-align: center; margin-top: 40px; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -16px 0 36px; }
.chip { font: inherit; font-size: 15px; font-weight: 700; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Publications ---------- */
.pubs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.pub-year { flex: none; width: 64px; height: 64px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 17px; }
.pub h3 { font-size: 17px; line-height: 1.4; margin-bottom: 6px; }
.pub p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .pubs { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--lav); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 26px; margin: 0 0 6px; }
.cta-strip p { margin: 0; color: #3d4070; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--lav-light); border: 1px solid #c9c6e0; border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(119,118,181,.3); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3d4070; margin: 4px 0 22px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; border-radius: 10px; padding: 16px 18px; margin-top: 18px; font-size: 15.5px; }
.form-status.ok { display: block; background: #e8f5ee; border: 1px solid #a8d5bb; color: #145233; }
.form-status.err { display: block; background: #fdf0ef; border: 1px solid #efc1bd; color: #7a231b; }
.form-status a { color: inherit; font-weight: 700; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

.info-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 36px; }
.info-card h3 { color: #fff; font-size: 22px; }
.info-card > p { color: #cfcde9; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .cred-icon { background: rgba(255,255,255,.1); color: var(--lav); }
.info-list small { display: block; color: #b9b8dc; font-size: 13.5px; }
.info-list a, .info-list b { color: #fff; font-weight: 700; text-decoration: none; font-size: 16.5px; overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; color: #fff; }
.info-card .btn { margin-top: 28px; width: 100%; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero .hero-mark { width: 380px; height: 380px; right: -40px; bottom: -90px; }
.crumbs { font-size: 14px; color: #c9c8e6; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 860px; margin-bottom: 14px; }
.page-hero p { color: #d8d7ef; font-size: 18.5px; max-width: 760px; margin: 0; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 14px; color: #d8d7ef; font-size: 15px; }
.page-hero .post-cat { background: rgba(255,255,255,.16); color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding: 64px 0 90px; align-items: start; }
.content h2 { font-size: 26px; margin-top: 1.6em; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 20px; margin-top: 1.4em; }
.content p, .content li { color: #2c2e4c; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.content li { margin-bottom: .45em; }
.content blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--lav-light); border-left: 4px solid var(--peri); border-radius: 0 10px 10px 0; color: #2c2e4c; }
.content blockquote p:last-child { margin: 0; }
.content strong { color: var(--navy); }
.services { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.services li { display: flex; gap: 12px; align-items: flex-start; background: var(--lav-light); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; line-height: 1.5; font-size: 16px; }
.services .icon { width: 20px; height: 20px; color: var(--peri); margin-top: 2px; }
.note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; }
.note p:last-child { margin: 0; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.aside { position: sticky; top: 104px; display: grid; gap: 22px; }
.aside-box { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.aside-box h3 { font-size: 18px; }
.aside-box.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-box.dark h3 { color: #fff; }
.aside-box.dark p { color: #d1d0ea; font-size: 15.5px; }
.aside-box.dark .btn { width: 100%; margin-top: 8px; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15.5px; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a[aria-current="page"] { font-weight: 700; color: var(--peri); }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; gap: 40px; } .aside { position: static; } }

/* Article */
.article { max-width: 760px; }
.article .lead { font-size: 19px; color: #3a3d63; }
.footnotes { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.footnotes h2 { font-size: 17px !important; margin: 0 0 10px !important; }
.footnotes ol { padding-left: 1.4em; }
.footnotes li { color: var(--muted) !important; }
sup a { text-decoration: none; font-weight: 700; padding: 0 2px; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px; background: var(--lav-light); border: 1px solid var(--line); border-radius: 14px; }
.author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--navy); }
.author span { color: var(--muted); font-size: 15px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.disclaimer { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #c9c8e6; padding: 70px 0 0; font-size: 15.5px; }
.footer a { color: #e7e6f6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .brand-logo { color: #fff; width: 58px; height: 58px; margin-bottom: 16px; }
.footer-brand p { color: #b7b6d8; max-width: 330px; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #a9a8cf; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy); box-shadow: 0 -6px 20px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; padding: 14px 8px; font-size: 15.5px; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .mobile-bar .icon { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
}

/* ---------- Simple pages ---------- */
.simple { padding: 80px 0 100px; }
.simple .content { max-width: 800px; }

@media print { .topbar, .header, .mobile-bar, .footer, .aside, .share { display: none !important; } .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; } }

.profile-actions { margin-top: 30px; }
.posts[data-cols="2"] { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .posts[data-cols="2"] { grid-template-columns: 1fr; } }
.footer-bottom[data-compact] { margin-top: 0; border-top: 0; }
.page-hero .hero-mark { width: 380px; right: -30px; bottom: -80px; }
.info-card .btn-light { color: var(--navy); }

.profile-panel { position: sticky; top: 110px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: 16px; padding: 40px 34px; text-align: center; box-shadow: var(--shadow); }
.profile-panel img { width: 150px; height: auto; margin: 0 auto 26px; }
.profile-panel ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: grid; gap: 14px; }
.profile-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; color: #e2e1f4; }
.profile-panel li .icon { width: 20px; height: 20px; color: var(--lav); margin-top: 1px; }
.profile-panel li b { color: #fff; display: block; }
.profile-panel .btn { width: 100%; margin-top: 10px; }
@media (max-width: 900px) { .profile-panel { position: static; } }
.btn-cta { white-space: nowrap; }
.contact > *, .layout > *, .profile > * { min-width: 0; }
@media (max-width: 1060px) { .header .btn-cta { display: none; } }
.brand-name { white-space: nowrap; }
.panel-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lav); text-align: left; margin: 0 0 14px; }
.profile-panel li a { color: #fff; text-decoration: none; font-weight: 700; }
.profile-panel li a:hover { text-decoration: underline; color: #fff; }
