:root {
  --ink: #0f1b2d;
  --ink-2: #1b2a40;
  --paper: #f7f5f0;
  --white: #ffffff;
  --gold: #b08d57;
  --gold-soft: #e9dcc6;
  --muted: #5d6676;
  --line: #e3dfd6;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 16px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }


/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(15,27,45,.92); backdrop-filter: blur(10px); color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.logo span { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); margin-top: 5px; }
.menu { display: flex; gap: 32px; font-size: 14px; }
.menu a { opacity: .82; transition: opacity .2s; }
.menu a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 500; font-size: 14px; transition: transform .2s, background .2s; cursor: pointer; border: 0; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c39f68; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.burger { display: none; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% 10%, #2b3d5a 0%, transparent 60%), var(--ink); color: var(--white); padding: 110px 0 120px; position: relative; overflow: hidden; }
.hero::after { content: "§"; position: absolute; right: -40px; bottom: -160px; font-family: var(--serif); font-size: 620px; color: rgba(176,141,87,.07); line-height: 1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 18px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.75); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; }
.hero-card h3 { font-size: 22px; margin-bottom: 14px; }
.hero-card li { list-style: none; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(255,255,255,.8); }
.hero-card li:first-child { border-top: 0; }
.hero-card li::before { content: "—"; color: var(--gold); }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 48px; font-weight: 600; color: var(--ink); line-height: 1; }
.stat span { font-size: 14px; color: var(--muted); }

section { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4vw, 50px); margin-top: 12px; max-width: 620px; }
.sec-head p { max-width: 420px; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-grid { align-items: stretch; }
.about-visual { min-height: 560px; border-radius: var(--radius); background:
    radial-gradient(420px 320px at 50% 30%, rgba(176,141,87,.22), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 56px),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  position: relative; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 48px 44px 44px; }
.about-visual::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(176,141,87,.4); border-radius: 8px; pointer-events: none; }
.about-visual svg.scales { width: 62%; max-width: 280px; margin: 8px auto 0; display: block; position: relative; }
.about-visual .rule { display: flex; align-items: center; gap: 14px; color: var(--gold); font-family: var(--serif); font-size: 22px; margin: 28px 0 22px; position: relative; }
.about-visual .rule::before, .about-visual .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(176,141,87,.6), transparent); }
.about-visual blockquote { font-family: var(--serif); font-size: 28px; font-style: italic; line-height: 1.3; position: relative; text-align: center; }
.about-visual cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--gold-soft); letter-spacing: .08em; }
.about-text h2 { font-size: clamp(34px, 4vw, 50px); margin: 12px 0 24px; }
.about-text p { color: var(--muted); margin-bottom: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.values div { padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 15px; }
.values div small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* Services */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.svc:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15,27,45,.35); }
.svc .num { font-family: var(--serif); color: var(--gold); font-size: 20px; }
.svc h3 { font-size: 26px; margin: 14px 0 10px; }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }
.svc a { margin-top: 20px; font-size: 14px; font-weight: 500; color: var(--ink); }
.svc a::after { content: " →"; color: var(--gold); }
.areas { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--paper); }

/* Team */
.team-group { margin-bottom: 48px; }
.team-group h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 21px; flex-shrink: 0; }
.person b { display: block; font-weight: 600; font-size: 15px; }
.person span { display: block; font-size: 13px; color: var(--gold); }
.person a { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; word-break: break-all; }
.person a:hover { color: var(--ink); }

/* Blog */
.blog { background: var(--ink); color: var(--white); }
.blog .sec-head p { color: rgba(255,255,255,.65); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; transition: background .2s; display: flex; flex-direction: column; }
.post:hover { background: rgba(255,255,255,.04); }
.post .tag { font-size: 12px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.post h3 { font-size: 25px; margin: 14px 0 12px; }
.post p { color: rgba(255,255,255,.65); font-size: 15px; flex: 1; }
.post .more { margin-top: 22px; font-size: 14px; color: var(--gold-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info h2 { font-size: clamp(34px, 4vw, 50px); margin: 12px 0 20px; }
.contact-info p { color: var(--muted); }
.info-list { margin-top: 32px; display: grid; gap: 18px; }
.info-list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.info-list a:hover { color: var(--gold); }
form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .full { grid-column: 1 / -1; }
label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: auto; margin-top: 3px; }
.check a { text-decoration: underline; }
.form-msg { grid-column: 1 / -1; display: none; padding: 14px; border-radius: 8px; background: #eef5ec; color: #2f5a2a; font-size: 14px; }

/* Footer */
footer { background: #0a1320; color: rgba(255,255,255,.65); padding: 64px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
footer li { list-style: none; margin-bottom: 8px; }
footer a:hover { color: var(--gold-soft); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .menu, header .btn-gold { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); padding: 20px 24px 28px; gap: 18px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { min-height: 0; padding: 40px 28px 36px; }
  .about-visual svg.scales { width: 160px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 80px; }
  .svc-grid, .post-grid, .values, .foot-grid { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; padding: 24px; }
  .stat b { font-size: 38px; }
  .info-list div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Subpages ===== */
.menu a.active { opacity: 1; color: var(--gold-soft); }
.page-hero { background: radial-gradient(900px 420px at 85% 0%, #2b3d5a 0%, transparent 60%), var(--ink); color: var(--white); padding: 84px 0 76px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); margin: 14px 0 16px; max-width: 860px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 640px; font-size: 17px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.crumbs a:hover { color: var(--gold-soft); }
.section-link { margin-top: 40px; text-align: center; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
a.post { color: inherit; }

/* Blog list */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 40px -24px rgba(15,27,45,.35); }
.card .img { aspect-ratio: 16/10; background: var(--ink-2) center/cover no-repeat; }
.card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card time { font-size: 12px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.card h3 { font-size: 23px; margin: 10px 0 10px; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card .more { margin-top: 18px; font-size: 14px; font-weight: 500; }
.card .more::after { content: " →"; color: var(--gold); }
.card.featured { grid-column: 1 / -1; flex-direction: row; }
.card.featured .img { aspect-ratio: auto; flex: 1.2; min-height: 340px; }
.card.featured .body { flex: 1; padding: 44px; justify-content: center; }
.card.featured h3 { font-size: 34px; }

/* Article */
.article-hero { padding-bottom: 0; }
.article-hero .meta { color: rgba(255,255,255,.6); font-size: 14px; }
.article-cover { max-width: 980px; margin: 48px auto -120px; aspect-ratio: 21/9; border-radius: var(--radius); background: var(--ink-2) center/cover no-repeat; position: relative; z-index: 2; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.article-wrap { padding-top: 170px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 64px; justify-content: center; }
.prose { font-size: 17.5px; line-height: 1.8; color: #263244; }
.prose p { margin-bottom: 1.15em; }
.prose h2, .prose h3 { font-size: 30px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; font-family: var(--serif); font-size: 22px; font-style: italic; margin: 1.4em 0; }
.aside-box { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-box h4 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 10px; line-height: 1.2; }
.aside-box p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.aside-box .btn { width: 100%; justify-content: center; }
.aside-box .tel { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.disclaimer { margin-top: 40px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.post-nav a { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s; }
.post-nav a:hover { border-color: var(--gold); }
.post-nav small { display: block; font-size: 12px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.post-nav b { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.25; display: block; }
.post-nav .next { text-align: right; }

/* Team page */
.team-page .person { flex-direction: column; align-items: flex-start; padding: 30px; gap: 18px; }
.team-page .avatar { width: 84px; height: 84px; font-size: 30px; }
.team-page .person b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.team-page .person span { font-size: 14px; margin-top: 2px; }
.team-page .contacts { border-top: 1px solid var(--line); padding-top: 14px; width: 100%; display: grid; gap: 4px; }
.team-page .contacts a { margin: 0; font-size: 14px; }
.team-page .team-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cta-band { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 72px; }
.cta-band h3 { font-size: 34px; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 6px; }

@media (max-width: 960px) {
  .blog-list { grid-template-columns: 1fr 1fr; }
  .card.featured { flex-direction: column; }
  .card.featured .img { min-height: 0; aspect-ratio: 16/9; flex: none; }
  .card.featured .body { padding: 28px; }
  .card.featured h3 { font-size: 28px; }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside-box { position: static; }
  .article-cover { margin: 36px 24px -80px; }
  .article-wrap { padding-top: 120px; }
}
@media (max-width: 620px) {
  .blog-list, .post-nav { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 56px; }
  .article-cover { margin: 28px 16px -60px; aspect-ratio: 16/10; }
  .article-wrap { padding-top: 96px; }
  .prose { font-size: 16.5px; }
  .cta-band { padding: 32px 24px; }
}

/* Team cards as links + profile pages */
a.person { color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.person:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15,27,45,.35); }
.team-page .contacts em { font-style: normal; font-size: 14px; color: var(--muted); }
.team-page .profile-link { color: var(--ink); font-size: 14px; font-weight: 500; }
.team-page .profile-link::after { content: " →"; color: var(--gold); }
.person b a { color: inherit; font-size: inherit; margin: 0; display: inline; word-break: normal; }
.person b a:hover { color: var(--gold); }

.profile-hero { padding-bottom: 96px; }
.profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, #2b3d5a, var(--ink-2)); border: 1px solid rgba(176,141,87,.35); position: relative; display: grid; place-items: center; overflow: hidden; }
.portrait::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(176,141,87,.25); border-radius: 8px; }
.portrait b { font-family: var(--serif); font-size: 110px; font-weight: 500; color: var(--gold-soft); opacity: .85; }
.portrait small { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.profile-head .role { color: var(--gold-soft); font-size: 15px; letter-spacing: .04em; }
.profile-head h1 { margin: 14px 0 22px; }
.profile-head .lead { color: rgba(255,255,255,.75); font-size: 18px; max-width: 620px; }
.profile-contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
.profile-body h2 { font-size: 32px; margin: 0 0 16px; }
.profile-body .block { margin-bottom: 56px; }
.placeholder { border: 1px dashed #cbbd9f; background: #fbf8f1; border-radius: 10px; padding: 18px 20px; color: var(--muted); font-size: 15px; }
.placeholder::before { content: "Ukážka – text doplní kancelária"; display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.timeline { list-style: none; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); }
.timeline b { display: block; font-size: 15px; }
.timeline span { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }
.mini-posts { display: grid; gap: 14px; }
.mini-posts a { display: block; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s; }
.mini-posts a:hover { border-color: var(--gold); }
.mini-posts time { font-size: 12px; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.mini-posts b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.colleagues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.colleagues a { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 12px; align-items: center; transition: border-color .2s; }
.colleagues a:hover { border-color: var(--gold); }
.colleagues .avatar { width: 44px; height: 44px; font-size: 17px; }
.colleagues b { display: block; font-size: 14px; line-height: 1.3; }
.colleagues span { font-size: 12px; color: var(--gold); }
@media (max-width: 960px) {
  .profile-grid, .profile-body { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 300px; }
  .colleagues { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) { .colleagues { grid-template-columns: 1fr; } .portrait b { font-size: 84px; } }

/* ===== WordPress ===== */
.admin-bar header { top: 32px; }
@media (max-width: 782px) { .admin-bar header { top: 46px; } }
/* Staršie články majú v texte biele písmo z pôvodnej tmavej témy */
.prose [style*="color"], .prose font { color: inherit !important; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose .sh-heading-content, .prose .sh-heading-content * { color: var(--ink) !important; }
.page-prose { max-width: 820px; }
.page-prose .vc_row, .page-prose .vc_column-inner { padding-top: 0 !important; margin: 0 !important; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { min-width: 42px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-align: center; font-size: 14px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--gold); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form { position: relative; }
.form-notice { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; font-size: 14px; }
.form-notice.ok { background: #eef5ec; color: #2f5a2a; }
.form-notice.err { background: #fbeeee; color: #8a2a2a; }
.form-notice a { text-decoration: underline; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
/* Poistka: biele písmo vložené priamo v texte nesmie byť neviditeľné */
main [style*="color: #ffffff"], main [style*="color:#ffffff"], main [style*="color: #fff"], main [style*="color:#fff"] { color: inherit !important; }
.page-hero [style*="color"], .blog [style*="color"] { color: inherit !important; }
/* Text článkov vždy tmavý – prebije biele písmo z obsahu aj zo štýlov pluginov starej témy */
.prose, .prose p, .prose li, .prose span, .prose div, .prose em, .prose i, .prose td, .prose th, .prose font { color: #263244 !important; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6, .prose strong, .prose b, .prose h2 *, .prose h3 *, .prose h4 * { color: var(--ink) !important; }
.prose a, .prose a * { color: var(--gold) !important; }
.prose blockquote, .prose blockquote * { color: var(--ink) !important; }
/* Pri skoku na sekciu nech ju nezakryje pripnuté menu */
section[id] { scroll-margin-top: 80px; }
.admin-bar section[id] { scroll-margin-top: 112px; }
