/* —— Avukatlık sitesi — üretim odaklı görünüm —— */
:root {
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ink: #121820;
  --ink-soft: #2c3340;
  --muted: #5e6678;
  --line: #d8dce6;
  --line-soft: #e8ebf2;

  --surface: #ffffff;
  --bg: #ffffff;
  --bg-warm: #f5f5f5;
  --hero-gradient-mid: #fafafa;
  --list-row-hover: #faf9f7;

  --navy: #152028;
  --navy-mid: #243040;
  --brand-text: #152028;
  --nav-link: #2c3340;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-border: #e8ebf2;

  --gold: #a67c52;
  --gold-light: #c9a876;
  --gold-glow: rgba(166, 124, 82, 0.22);

  --shadow-sm: 0 1px 2px rgba(18, 24, 32, 0.05);
  --shadow-md: 0 8px 30px rgba(18, 24, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 24, 32, 0.1);

  --radius: 10px;
  --radius-sm: 6px;
  --container: 1120px;
  --header-h: 4.25rem;

  --btn-bg: #152028;
  --btn-bg-hover: #243040;
  --btn-fg: #ffffff;

  --footer-bg: #152028;
  --footer-text: rgba(255, 255, 255, 0.78);
  --footer-heading: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-admin-muted: rgba(255, 255, 255, 0.45);

  --ok: #1b5e20;
  --ok-bg: #e8f5e9;
  --ok-border: #c8e6c9;
}

[data-theme="dark"] {
  --ink: #e9ecef;
  --ink-soft: #cfd6df;
  --muted: #9aa3af;
  --line: #3d4654;
  --line-soft: #2d3542;

  --surface: #1a222c;
  --bg: #12161c;
  --bg-warm: #181e26;
  --hero-gradient-mid: #1e2630;
  --list-row-hover: #222b36;

  --navy: #e8eaed;
  --navy-mid: #d1d5db;
  --brand-text: #f2f5f9;
  --nav-link: #d8dee8;
  --header-bg: rgba(26, 34, 44, 0.92);
  --header-border: #2d3542;

  --gold: #c9a876;
  --gold-light: #ddb882;
  --gold-glow: rgba(201, 168, 118, 0.2);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.5);

  --btn-bg: #b8926a;
  --btn-bg-hover: #c9a876;
  --btn-fg: #121820;

  --footer-bg: #0a0d12;
  --footer-text: rgba(255, 255, 255, 0.76);
  --footer-heading: #f7f8fa;
  --footer-border: rgba(255, 255, 255, 0.1);
  --footer-admin-muted: rgba(255, 255, 255, 0.4);

  --ok: #81c784;
  --ok-bg: #1b3320;
  --ok-border: #2e5c35;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

body.site-public {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.site-public h1,
.site-public h2,
.site-public h3,
.site-public .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.site-public h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 0.5rem; }
.site-public h2,
.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  margin: 0 0 1.25rem;
}
.site-public h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 min(1.35rem, 5vw);
}

/* —— Porto-inspired top bar —— */
.site-topbar {
  background: #f4eee6;
  color: var(--ink-soft);
  border-bottom: 1px solid #e6ddcf;
}

.site-topbar__inner {
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-topbar__contact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.site-topbar__contact a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-topbar__contact a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-topbar__cta {
  color: #fff;
  background: #8f6a45;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
  line-height: 1.15;
}

.site-brand__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: 0.02em;
}

.site-brand__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--nav-link);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.lang-switch a:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

.lang-switch a.is-active {
  color: var(--ink);
  background: var(--gold-glow);
  pointer-events: none;
}

.lang-switch-sep {
  color: var(--line);
  user-select: none;
  font-weight: 400;
}

/* —— Main —— */
.site-public .main {
  max-width: none;
  margin: 0;
  padding: 0 0 4rem;
  width: 100%;
}

.container.main--tight {
  max-width: 640px;
}

/* —— Page intro —— */
.page-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-head h1 {
  margin: 0 0 0.35rem;
}

.page-head .lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 450;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 450;
  line-height: 1.5;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Hero (ana sayfa) —— */
.hero--home {
  position: relative;
  margin: 0 0 3rem;
  padding: 2.75rem 0 3.25rem;
}

.hero--home::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    165deg,
    var(--surface) 0%,
    var(--hero-gradient-mid) 45%,
    var(--bg) 100%
  );
  border-bottom: 1px solid var(--line-soft);
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 3rem;
  }

  .hero__grid--solo {
    grid-template-columns: 1fr;
    max-width: 52rem;
  }
}

.hero__media {
  justify-self: center;
}

@media (min-width: 860px) {
  .hero__media {
    justify-self: start;
  }
}

.hero__content .decoration {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  max-height: none;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line-soft);
}

.hero__content .prose {
  margin-top: 1.25rem;
  max-width: 52ch;
}

/* —— Sections —— */
.site-public .main > .container {
  padding-top: 0.5rem;
}

/* —— Porto-inspired homepage blocks —— */
.law-hero {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 3rem;
  margin-bottom: 2rem;
  background: #fff;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
}

.law-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.law-hero__content {
  color: var(--ink-soft);
  max-width: 60ch;
}

.law-hero__kicker {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8794;
  font-weight: 700;
}

.law-hero__title {
  color: var(--ink);
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.law-hero__subtitle {
  margin: 0.45rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #2f3a49;
  font-weight: 600;
}

.law-hero .prose {
  color: #2f3a49;
  margin-top: 1.1rem;
  line-height: 1.75;
}

.law-hero__actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.law-btn {
  background: var(--navy);
  color: #fff !important;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.law-btn:hover {
  background: #243446;
}

.law-btn--ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid #b8c2cf;
}

.law-btn--ghost:hover {
  background: #eff3f8;
}

.law-hero__media img {
  width: min(100%, 360px);
  border-radius: 8px;
  border: 1px solid #e7edf3;
  box-shadow: 0 8px 24px rgba(14, 23, 36, 0.08);
}

.law-cards > li {
  border-radius: 0;
}

.law-cards--services > li {
  border-left: 4px solid var(--gold);
}

.law-testimonials {
  background: var(--surface);
  padding: 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.law-cta {
  margin: 2rem 0 0.75rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #e3eaf2;
  border-left: 4px solid #1f2f42;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 8px;
}

.law-cta__kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #64748b;
  font-weight: 700;
}

.law-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.content-section {
  margin-bottom: 3.25rem;
}

.content-section:last-of-type {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.section-heading .section-title {
  margin: 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-heading .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* —— Cards —— */
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}

.cards > li {
  background: var(--surface);
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cards > li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  transform: translateY(-2px);
}

.cards .card-thumb {
  margin: 0 0 1rem;
}

.card-thumb img {
  width: 100%;
  height: 160px;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cards .prose {
  font-size: 0.98rem;
  line-height: 1.58;
  max-width: none;
}

.cards .prose p:last-child {
  margin-bottom: 0;
}

/* —— Testimonials —— */
.refs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.refs > li {
  background: var(--surface);
  padding: 1.5rem 1.65rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.refs blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
}

.refs blockquote.prose {
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.refs blockquote.prose p {
  margin: 0 0 0.5em;
}

.refs cite {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* —— Article list —— */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.article-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.15s ease;
}

.article-list > li:last-child {
  border-bottom: 0;
}

.article-list > li:hover {
  background: var(--list-row-hover);
}

.article-list a {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
}

.article-list a:hover {
  color: var(--gold);
}

.cat-filter {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

.cat-filter a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.15rem;
}

.cat-filter a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.cat-filter .is-active {
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

/* —— Article detail —— */
.article header h1 {
  margin-top: 0;
}

.article-meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.page-head .article-cover {
  margin-bottom: 1.5rem;
}

/* Kapak: küçük görselleri büyütmez (piksel kaybı olmaz); büyük olanlar kutuya sığar. */
.article-cover {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-warm);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: min(1rem, 3vw);
  text-align: center;
}

.article-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(38vh, 360px);
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  image-rendering: auto;
}

/* —— Links & buttons —— */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-mid);
  text-decoration: none;
  margin-top: 0.5rem;
}

.text-link:hover {
  color: var(--gold);
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--muted);
  margin-left: 0.5rem;
}

.btn-secondary:hover {
  background: var(--ink-soft);
}

/* —— Forms (iletisim) —— */
.form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  max-width: 38rem;
  padding: 0.65rem 0.85rem;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form button {
  margin-top: 1.35rem;
  padding: 0.65rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: background 0.15s ease;
}

.form button:hover {
  background: var(--btn-bg-hover);
}

.form.narrow {
  max-width: 440px;
}

.stacked input,
.stacked textarea,
.stacked select {
  max-width: 100%;
}

/* —— İletişim sayfası (bilgi + harita + form) —— */
.contact-page .page-head {
  max-width: 40rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr minmax(320px, 420px);
    gap: 2.5rem;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.contact-card {
  padding: 1.5rem 1.65rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.contact-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.contact-row {
  margin: 0 0 0.85rem;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
  font-size: 0.98rem;
}

.contact-row--block {
  grid-template-columns: 1fr;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row__label {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-row--block .contact-row__label {
  margin-bottom: 0.15rem;
}

.contact-row__value {
  color: var(--ink-soft);
  word-break: break-word;
}

.contact-row__value[href^="mailto:"],
.contact-row__value[href^="tel:"] {
  color: var(--navy-mid);
  font-weight: 600;
  text-decoration: none;
}

.contact-row__value[href^="mailto:"]:hover,
.contact-row__value[href^="tel:"]:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-address {
  white-space: pre-line;
  line-height: 1.55;
}

.map-embed-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  background: var(--line-soft);
  aspect-ratio: 16 / 10;
  max-height: 380px;
}

.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed-note {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
}

.map-embed-note a {
  color: var(--navy-mid);
  font-weight: 600;
}

.map-embed-note a:hover {
  color: var(--gold);
}

.contact-form {
  max-width: none;
  width: 100%;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
}

.contact-form__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

@media (max-width: 560px) {
  .contact-form {
    padding: 1.35rem min(1.25rem, 5vw);
    margin-left: 0;
    margin-right: 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.validation-summary {
  color: #9b2335;
}
.field-validation-error {
  color: #9b2335;
  font-size: 0.88rem;
}

.ok {
  color: var(--ok);
  font-weight: 600;
  padding: 0.85rem 1rem;
  background: var(--ok-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ok-border);
}

/* —— Prose —— */
.prose {
  max-width: 65ch;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  overflow-x: auto;
}

.prose p:last-child {
  margin-bottom: 0;
}
.prose p {
  margin: 0 0 0.85em;
}
.prose ul,
.prose ol {
  margin: 0 0 0.85em;
  padding-left: 1.35em;
}
.prose a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose a:hover {
  color: var(--gold);
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  font-size: 0.88em;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1em;
  font-size: 0.95rem;
}

.site-public .main .prose,
.hero__content .prose {
  max-width: min(65ch, 100%);
}
.prose th,
.prose td {
  border: 1px solid var(--line-soft);
  padding: 0.45rem 0.6rem;
  text-align: left;
}
.prose blockquote {
  margin: 0 0 0.85em;
  padding-left: 1rem;
  border-left: 3px solid var(--gold-light);
  color: var(--muted);
}

/* —— Error page —— */
.error-page {
  text-align: center;
  padding: 3rem 1rem 4rem;
  max-width: 28rem;
  margin: 0 auto;
}

.error-page h1 {
  font-size: 1.75rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.9rem;
}

.site-footer .container {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.site-footer__links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
}

.site-footer__links a:hover {
  color: var(--gold-light);
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--footer-heading);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.site-footer__line {
  margin: 0.25rem 0 0;
  opacity: 0.9;
}

.site-footer__meta {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--footer-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.site-footer__copy {
  margin: 0;
}

.site-footer__admin {
  color: var(--footer-admin-muted);
  text-decoration: none;
}

.site-footer__admin:hover {
  color: var(--gold-light);
}

/* —— Metin kısaltma (biyografi vb.) —— */
.text-clamp {
  position: relative;
}

.hero__content .text-clamp {
  margin-top: 1.25rem;
}

.text-clamp__inner {
  transition: max-height 0.4s ease;
}

.text-clamp.is-collapsed .text-clamp__inner {
  max-height: 18rem;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

[data-theme="dark"] .text-clamp.is-collapsed .text-clamp__inner {
  mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}

.text-clamp.is-expanded .text-clamp__inner {
  max-height: none;
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}

.text-clamp__toggle {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-clamp__toggle:hover {
  color: var(--gold-light);
}

/* —— Tema düğmesi —— */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.theme-toggle:hover {
  background: var(--bg-warm);
  border-color: var(--gold);
  color: var(--ink);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Açık temadayken ay (koyuya geç); koyu temadayken güneş (açığa geç) */
.theme-toggle .icon-sun {
  display: none;
  font-size: 1.05rem;
  line-height: 1;
}

.theme-toggle .icon-moon {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

/* Flex column page for sticky footer */
.site-public {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-public .main {
  flex: 1;
}

/* —— Admin (panel) — kenar çubuk + çalışma alanı —— */
body.admin {
  margin: 0;
  font-family: "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  color: #1c2430;
  line-height: 1.5;
  --admin-page-bg: #f0f2f5;
  --admin-topbar-bg: #ffffff;
  --admin-topbar-border: #e4e8ee;
  --admin-accent: #1d4ed8;
  --admin-accent-soft: #dbeafe;
  --admin-sidebar: #151b24;
  --admin-sidebar-border: #252f3d;
  --admin-sidebar-text: #9fb0c4;
  --admin-sidebar-text-hover: #f1f5f9;
  --admin-btn-bg: #1d4ed8;
  --admin-btn-bg-hover: #1e40af;
  --admin-btn-fg: #fff;
  --admin-nav-active-bg: rgba(29, 78, 216, 0.22);
  background: var(--admin-page-bg);
}

.admin .btn {
  background: var(--admin-btn-bg);
  color: var(--admin-btn-fg) !important;
}

.admin .btn:hover {
  background: var(--admin-btn-bg-hover);
}

.admin .btn-secondary {
  background: #5c6b7a;
}

.admin .btn-secondary:hover {
  background: #4a5662;
}

.admin-app {
  display: flex;
  min-height: 100vh;
}

/* —— Sidebar —— */
.admin-sidebar {
  width: 264px;
  flex-shrink: 0;
  background: var(--admin-sidebar);
  color: var(--admin-sidebar-text);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--admin-sidebar-border);
}

.admin-sidebar__head {
  padding: 1.25rem 1.1rem 1rem;
  border-bottom: 1px solid var(--admin-sidebar-border);
}

.admin-sidebar__brand {
  display: block;
  text-decoration: none;
  color: inherit;
}

.admin-sidebar__brand:hover .admin-sidebar__brand-title {
  color: #fff;
}

.admin-sidebar__brand-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.admin-sidebar__brand-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.2rem;
  color: var(--admin-sidebar-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0 1.25rem;
}

.admin-nav__group {
  padding: 0.35rem 0 0.85rem;
}

.admin-nav__heading {
  padding: 0.5rem 1.1rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7d91;
}

.admin-nav__link {
  display: block;
  padding: 0.5rem 1rem 0.5rem 1.1rem;
  margin: 1px 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--admin-sidebar-text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.admin-nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--admin-sidebar-text-hover);
}

.admin-nav__link.is-active {
  background: var(--admin-nav-active-bg);
  color: #fff;
  border-left-color: var(--admin-accent);
}

/* —— Workspace —— */
.admin-workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  background: var(--admin-topbar-bg);
  border-bottom: 1px solid var(--admin-topbar-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-topbar__context {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: -0.01em;
}

.admin-topbar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.admin-menu-toggle {
  display: none;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 1rem;
  cursor: pointer;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.admin-topbar__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--admin-accent);
  text-decoration: none;
}

.admin-topbar__link:hover {
  text-decoration: underline;
}

.admin-topbar__logout {
  margin: 0;
  display: inline;
}

.admin-topbar__btn {
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.admin-topbar__btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.admin-main {
  flex: 1;
  padding: 1.5rem 1.5rem 2.5rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .admin-app {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--admin-sidebar-border);
  }

  .admin-sidebar__head {
    flex: 1;
    min-width: 140px;
    border-bottom: 0;
    border-right: 1px solid var(--admin-sidebar-border);
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    padding: 0.5rem 0.75rem 0.75rem;
    width: 100%;
  }

  .admin-nav__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--admin-sidebar-border);
    width: 100%;
  }

  .admin-nav__heading {
    width: 100%;
    padding: 0.35rem 0.5rem 0.2rem;
  }

  .admin-nav__link {
    margin: 0;
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 320px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    transform: translateX(-102%);
    transition: transform 0.2s ease;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-workspace {
    width: 100%;
  }

  .admin-sidebar__head {
    border-right: 0;
    border-bottom: 1px solid var(--admin-sidebar-border);
  }

  .admin-nav {
    display: block;
    width: auto;
    padding: 0.75rem 0 1.25rem;
  }

  .admin-nav__group {
    display: block;
    width: auto;
    border-bottom: 0;
    padding: 0.35rem 0 0.85rem;
  }

  .admin-nav__heading {
    width: auto;
    padding: 0.5rem 1.1rem 0.35rem;
  }

  .admin-nav__link {
    margin: 1px 0.5rem;
    padding: 0.5rem 1rem 0.5rem 1.1rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .admin-topbar {
    padding: 0.65rem 0.9rem;
  }

  .admin-topbar__context {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
  }

  .admin-main {
    padding: 1rem 0.85rem 2rem;
  }

  .toolbar .btn,
  .toolbar .btn-secondary {
    margin-left: 0;
  }

  .admin-main .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .admin-topbar__actions {
    gap: 0.45rem;
  }

  .admin-topbar__link {
    display: none;
  }

  .admin-topbar__btn {
    padding: 0.35rem 0.65rem;
  }

  .toolbar-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 980px) {
  .law-hero__inner {
    grid-template-columns: 1.3fr minmax(260px, 360px);
  }
}

@media (max-width: 720px) {
  .site-topbar__contact {
    gap: 0.5rem 0.75rem;
  }

  .site-topbar__cta {
    font-size: 0.7rem;
    padding: 0.45rem 0.6rem;
  }

  .law-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Dashboard kartları —— */
.admin-page-intro {
  margin-bottom: 1.5rem;
}

.admin-page-title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.admin-dash-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.admin-dash-card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-dash-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.admin-dash-card--accent {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.admin-dash-card--accent:hover {
  border-color: #93c5fd;
}

.admin-dash-card__icon {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  opacity: 0.75;
  color: var(--admin-accent);
}

.admin-dash-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.admin-dash-card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

/* —— Admin görünüm özelleştirici —— */
.admin-theme-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--admin-sidebar);
  color: #e2e8f0;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-theme-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.28);
}

.admin-theme-fab:focus-visible {
  outline: 2px solid var(--admin-accent);
  outline-offset: 3px;
}

.admin-theme-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
  visibility: hidden;
}

.admin-theme-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.admin-theme-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.admin-theme-drawer.is-open .admin-theme-drawer__backdrop {
  opacity: 1;
}

.admin-theme-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100%;
  max-height: 100vh;
  background: var(--admin-topbar-bg);
  border-left: 1px solid var(--admin-topbar-border);
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-theme-drawer.is-open .admin-theme-drawer__panel {
  transform: translateX(0);
}

.admin-theme-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--admin-topbar-border);
  flex-shrink: 0;
}

.admin-theme-drawer__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.admin-theme-drawer__close {
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
}

.admin-theme-drawer__close:hover {
  background: #e2e8f0;
}

.admin-theme-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.15rem 1.25rem;
}

.admin-theme-field {
  margin-bottom: 1.1rem;
}

.admin-theme-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
}

.admin-theme-field input[type="color"] {
  width: 100%;
  height: 2.5rem;
  padding: 2px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}

.admin-ziyaretci-tema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1rem;
  margin: 0.75rem 0 1rem;
  max-width: 720px;
}

.form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
  font-weight: 500;
}

.form .checkbox-row input {
  width: auto;
  margin: 0;
}

.admin-theme-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.admin-theme-presets button {
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
}

.admin-theme-presets button:hover {
  background: #e2e8f0;
}

.admin-theme-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.admin-theme-actions button {
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.admin-theme-reset {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.admin-theme-reset:hover {
  background: #f8fafc;
}

.admin-theme-save-note {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
}

/* —— Giriş (login) —— */
body.admin--login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #eef2f7 0%, #e2e8f0 100%);
}

.admin-login-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  padding: 2rem 2rem 1.75rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.admin-login-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.admin-login-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.admin-login-form .admin-login-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--admin-btn-bg);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.admin-login-form .admin-login-submit:hover {
  background: var(--admin-btn-bg-hover);
}

.admin-login-footer {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.admin-login-footer a {
  color: #475569;
  font-weight: 500;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e5eb;
  font-size: 0.95rem;
}
.admin-table th,
.admin-table td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid #e8eaef;
}
.admin-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: #334155;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-main .admin-table tbody tr:hover {
  background: #f8fafc;
}

.row-unread {
  background: #fff8e6;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.toolbar-title {
  margin: 0;
  font-size: 1.35rem;
}

.link-btn {
  background: none;
  border: none;
  color: #2c4a6b;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.link-btn:hover {
  text-decoration: underline;
}
.admin .link-btn {
  color: #475569;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-weight: 600;
}
.inline-check input {
  width: auto;
  max-width: none;
}

.msg-meta p {
  margin: 0.35rem 0;
}
.msg-body {
  margin-top: 1.25rem;
}

.msg-body-text {
  white-space: pre-line;
  word-break: break-word;
}

.hint {
  color: #5c6578;
  font-size: 0.88rem;
  margin: 0.25rem 0 0.75rem;
}
.preview-img,
.thumb-cell {
  max-width: 200px;
  max-height: 120px;
  width: auto;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.thumb-cell {
  max-width: 56px;
  max-height: 56px;
  display: block;
}

/* -------- One-page layout refresh -------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-public {
  background: #f8f5ef;
  color: #292524;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 5rem;
}

.site-brand__name {
  font-size: 1.2rem;
}

.site-nav a {
  font-size: 0.88rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #1c1917;
  color: #fff;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.62rem 0.95rem;
}

.mobile-menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d3d1;
  background: #fff;
  border-radius: 12px;
  color: #292524;
}

.mobile-menu-btn__close {
  display: none;
}

.mobile-menu-btn[aria-expanded="true"] .mobile-menu-btn__open {
  display: none;
}

.mobile-menu-btn[aria-expanded="true"] .mobile-menu-btn__close {
  display: inline;
}

.mobile-menu {
  border-top: 1px solid #e7e5e4;
  background: #fff;
}

.mobile-menu__inner a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: #44403c;
  font-weight: 600;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 74vh, 780px);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, #f9f7f3 0%, #f4efe7 50%, #f6f3ee 100%),
    radial-gradient(circle at 84% 12%, rgba(212, 175, 106, 0.2), transparent 36%),
    radial-gradient(circle at 10% 100%, rgba(148, 163, 184, 0.18), transparent 42%);
  z-index: -2;
}

.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent 35%),
    repeating-linear-gradient(115deg, rgba(17, 24, 39, 0.03) 0 1px, transparent 1px 120px);
  z-index: -1;
}

.lp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2rem;
  padding-top: 4.25rem;
  padding-bottom: 3.6rem;
}

.lp-hero__content {
  max-width: 760px;
  margin: 0;
  padding: 1.2rem 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.lp-hero__content .lp-chip {
  margin: 0;
}

.lp-chip {
  display: inline-flex;
  border: 1px solid #ddd6c8;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  font-size: 0.82rem;
  color: #44403c;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.lp-hero__content h1 {
  margin: 1.2rem 0 0.85rem;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111827;
  text-align: left;
  text-shadow: none;
}

.lp-subtitle {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  color: #57534e;
}

.lp-hero .prose {
  max-width: 46rem;
  margin: 0;
  color: #374151;
  line-height: 1.85;
  text-align: left;
  font-size: 1.06rem;
}

.lp-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.lp-btn {
  border-radius: 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.82rem 1.3rem;
  background: #1f2937;
  color: #fff !important;
}

.lp-btn:hover {
  background: #111827;
}

.lp-btn--outline {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d1d5db;
  color: #111827 !important;
}

.lp-hero__meta {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.lp-hero__meta-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.85rem 0.9rem;
  text-align: center;
}

.lp-hero__meta-item strong {
  display: block;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 700;
}

.lp-hero__meta-item span {
  display: block;
  margin-top: 0.24rem;
  color: #4b5563;
  font-size: 0.86rem;
}

.lp-hero__type-panel {
  align-self: center;
  justify-self: end;
  width: min(100%, 460px);
  min-height: 420px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.6rem 0.2rem 0.6rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: none;
}

.lp-hero__type-mark {
  font-family: var(--font-serif);
  font-size: clamp(4.1rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.lp-hero__type-lines {
  display: grid;
  gap: 0.5rem;
}

.lp-hero__type-lines span {
  display: block;
  color: #334155;
  font-size: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.38rem;
}

.lp-hero__type-sign {
  align-self: flex-end;
  font-size: 1.5rem;
  color: #64748b;
  line-height: 1;
  opacity: 0.75;
}

.lp-hero__type-areas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.lp-hero__type-areas li {
  font-family: var(--font-serif);
  color: #1f2937;
  line-height: 1.08;
  letter-spacing: -0.015em;
  border-bottom: 0;
  padding-bottom: 0;
  position: relative;
  padding-left: 1.05rem;
}

.lp-hero__type-areas li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: #64748b;
}

.lp-hero__type-areas li:nth-child(1) {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
}

.lp-hero__type-areas li:nth-child(2) {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
}

.lp-hero__type-areas li:nth-child(n+3) {
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  font-weight: 500;
  color: #334155;
  opacity: 0.95;
}

.lp-stats {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 40rem;
}

.lp-stat {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e7e5e4;
  border-radius: 18px;
  padding: 0.95rem;
}

.lp-stat strong {
  display: block;
  font-size: 1.45rem;
  color: #0c0a09;
}

.lp-stat span {
  font-size: 0.84rem;
  color: #57534e;
}

.lp-hero__panel {
  align-self: start;
  margin-top: 4.2rem;
  width: 100%;
  max-width: 560px;
  border-radius: 30px;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 0.8rem;
  box-shadow: 0 14px 35px rgba(120, 113, 108, 0.2);
}

.lp-hero__panel-inner {
  border-radius: 22px;
  background: linear-gradient(180deg, #1c1917 0%, #292524 100%);
  color: #fff;
  padding: 1.45rem;
}

.lp-hero__panel--logo-only {
  padding: 0.55rem;
}

.lp-hero__panel--logo-only .lp-hero__panel-logo {
  margin-bottom: 0;
  min-height: 240px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  align-items: center;
  padding: 0.5rem 1rem;
}

.lp-hero__panel-logo {
  width: 100%;
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.lp-hero__panel-logo img {
  width: min(100%, 250px);
  max-height: 170px;
  object-fit: contain;
  filter: none;
}

/* Logo files can include large transparent/white margins.
   Scale up the actual visible mark so it doesn't look tiny. */
.hero-logo-img {
  width: min(96%, 520px) !important;
  max-height: 180px !important;
  object-fit: contain;
  transform: scale(1.2);
  transform-origin: center;
}

.lp-hero__panel-logo span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f5f5f4;
}

.lp-pill {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.74rem;
  color: #d6d3d1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-hero__panel-inner h3 {
  margin: 0.9rem 0 0.45rem;
  color: #fff;
  font-size: 1.4rem;
}

.lp-hero__panel-inner p {
  color: #d6d3d1;
  margin: 0;
}

.lp-mini-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.lp-mini-grid div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.lp-mini-grid small {
  display: block;
  color: #a8a29e;
  font-size: 0.72rem;
}

.lp-mini-grid span {
  display: block;
  margin-top: 0.3rem;
  color: #fafaf9;
  font-size: 0.85rem;
}

.lp-hero__card {
  display: none;
}

.lp-section {
  padding-top: 4.6rem;
  padding-bottom: 4.6rem;
}

.lp-section--soft {
  border-top: 1px solid #ebe4d8;
  border-bottom: 1px solid #ebe4d8;
  background: #f4efe7;
}

.lp-section--ivory {
  background: #ffffff;
  border-top: 1px solid #efebe4;
  border-bottom: 1px solid #efebe4;
}

.lp-section--paper {
  background: #ffffff;
  border-top: 1px solid #efebe4;
  border-bottom: 1px solid #efebe4;
}

.lp-title-wrap {
  margin-bottom: 1.4rem;
}

.lp-title-wrap h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lp-title-wrap--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.lp-kicker {
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #78716c;
}

.lp-about-card,
.lp-card {
  border: 1px solid #e7e5e4;
  border-radius: 26px;
  background: #fff;
}

.lp-about-card {
  position: relative;
  padding: 1.6rem 1.7rem 1.55rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  box-shadow: 0 8px 22px rgba(120, 113, 108, 0.08);
}

.lp-about-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #111827 0%, #4b5563 100%);
}

.lp-about-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  padding-left: 0.65rem;
}

.lp-about-card__badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe1ea;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #4b5563;
  background: #f8fafc;
}

.lp-about-card__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.lp-about-card__content {
  padding-left: 0.65rem;
  max-width: 74ch;
}

.lp-about-card__content p {
  margin: 0 0 0.85rem;
  line-height: 1.9;
  color: #374151;
  font-size: 1.06rem;
}

.lp-about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.lp-about-media-card {
  border: 1px solid #e7e5e4;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  box-shadow: 0 8px 22px rgba(120, 113, 108, 0.08);
  padding: 1rem;
}

.lp-about-media-card__img,
.lp-about-media-card__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
}

.lp-about-media-card__img {
  display: block;
  object-fit: cover;
  background: #f8fafc;
}

.lp-about-media-card__placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: #f8fafc;
  color: #6b7280;
  text-align: center;
  font-size: 0.92rem;
}

.lp-about-media-card__name {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: #1f2937;
}

.lp-about-empty {
  margin: 0;
  padding-left: 0.65rem;
  color: #6b7280;
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 2rem;
}

.practice-item {
  padding: 0.2rem 0 0.35rem;
}

.practice-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid #e7e5e4;
  padding-bottom: 0.55rem;
  margin-bottom: 0.7rem;
}

.practice-item__head h3 {
  margin: 0;
  font-size: 1.7rem;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1f2937;
}

.practice-item__link {
  color: #1f2937;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid #d1d5db;
}

.practice-item__link:hover {
  color: #111827;
  border-bottom-color: #9ca3af;
}

.practice-item__content {
  max-width: none;
}

.practice-item__content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.42rem;
}

.practice-item__content li {
  position: relative;
  padding-left: 1rem;
  color: #374151;
  font-size: 0.99rem;
}

.practice-item__content li::before {
  content: "◇";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: #9ca3af;
  font-size: 0.75rem;
}

.practice-item__content p {
  margin: 0 0 0.35rem;
  color: #4b5563;
}

.practice-detail-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.practice-detail-list h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  font-family: var(--font-sans);
}

.practice-detail-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.practice-detail-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0.35rem 0;
}

.practice-detail-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-size: 0.74rem;
}

.lp-card {
  padding: 1.3rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(120, 113, 108, 0.14);
}

.lp-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
}

.lp-card .prose,
.lp-card p {
  color: #57534e;
  font-size: 0.95rem;
}

.lp-grid--blog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card--blog {
  padding: 0;
  overflow: hidden;
}

.lp-blog-cover {
  height: 11rem;
  background: linear-gradient(135deg, #f3efe8 0%, #e7dcc7 100%);
  overflow: hidden;
  border-bottom: 1px solid #ede7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
}

.lp-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.08);
}

.lp-card--blog h3,
.lp-card--blog p,
.lp-card--blog .text-link {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.lp-card--blog h3 {
  margin-top: 1rem;
}

.lp-card--blog .text-link {
  margin-bottom: 1rem;
}

.lp-contact {
  border-top: 1px solid #ebe4d8;
  background: #f4efe7;
  color: #1f2937;
  padding: 4rem 0;
}

.lp-contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.lp-kicker--light {
  color: #6b7280;
}

.lp-contact h2 {
  margin: 0.5rem 0 1rem;
  color: #111827;
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.lp-contact-list p {
  color: #374151;
  margin: 0.45rem 0;
}

.lp-contact-list a {
  color: #111827;
}

.lp-contact-form-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 30px;
  padding: 1.2rem;
  color: #1c1917;
}

.lp-contact-form-card h3 {
  margin: 0;
  font-family: var(--font-sans);
}

.lp-contact-form-card p {
  color: #57534e;
}

.lp-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.lp-contact-form-grid input,
.lp-contact-form-grid textarea {
  width: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.lp-contact-form-grid textarea {
  grid-column: span 2;
  min-height: 8rem;
}

.lp-contact-form-grid button {
  grid-column: span 2;
}

@media (max-width: 1180px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lp-hero__content {
    padding: 1.15rem 0;
    border-radius: 24px;
  }

  .lp-hero {
    min-height: clamp(470px, 66vh, 640px);
  }

  .lp-hero__type-panel {
    justify-self: stretch;
    width: 100%;
    min-height: auto;
    padding: 0.4rem 0;
  }

  /* Mobile/tablet: show only one visual block to avoid duplicate logo */
  .lp-hero__panel {
    display: none;
  }

  .lp-hero__card {
    display: block;
    border: 1px solid #e7e5e4;
    border-radius: 24px;
    padding: 0.7rem;
    background: #fff;
  }

  .lp-hero__card img {
    width: 100%;
    border-radius: 16px;
    height: 280px;
    object-fit: cover;
  }

  .lp-hero__panel--logo-only .lp-hero__panel-logo {
    min-height: 190px;
    padding-bottom: 0;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .lp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .lp-grid--blog {
    grid-template-columns: 1fr 1fr;
  }

  .lp-contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lp-grid,
  .lp-grid--blog,
  .lp-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .lp-contact-form-grid textarea,
  .lp-contact-form-grid button {
    grid-column: auto;
  }

  .lp-stats {
    grid-template-columns: 1fr;
  }

  .lp-title-wrap--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-hero__meta {
    grid-template-columns: 1fr;
  }

  .practice-item__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .practice-item__head h3 {
    font-size: 1.4rem;
  }

  .lp-about-card {
    padding: 1.1rem 1rem 1.15rem;
  }

  .lp-about-layout {
    grid-template-columns: 1fr;
  }

  .lp-about-media-card {
    max-width: 420px;
  }

  .lp-about-card::before {
    top: 0.85rem;
    bottom: 0.85rem;
  }

  .lp-about-card__head,
  .lp-about-card__content {
    padding-left: 0.45rem;
  }

  .lp-about-card__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.65rem;
  }
}

/* -------- Dark mode overrides for refreshed one-page layout -------- */
[data-theme="dark"] .site-public {
  background: #111827;
  color: #e5e7eb;
}

[data-theme="dark"] .site-header {
  background: #111827;
  border-bottom-color: #1f2937;
}

[data-theme="dark"] .mobile-menu,
[data-theme="dark"] .mobile-menu-btn {
  background: #111827;
  border-color: #374151;
  color: #e5e7eb;
}

[data-theme="dark"] .mobile-menu__inner a {
  color: #e5e7eb;
}

[data-theme="dark"] .lp-hero::before {
  background: #111827;
}

[data-theme="dark"] .lp-hero::after {
  background: none;
}

[data-theme="dark"] .lp-chip,
[data-theme="dark"] .lp-hero__content,
[data-theme="dark"] .lp-stat,
[data-theme="dark"] .lp-about-media-card,
[data-theme="dark"] .lp-about-card,
[data-theme="dark"] .lp-card,
[data-theme="dark"] .practice-detail-list,
[data-theme="dark"] .lp-hero__panel {
  background: #111827;
  border-color: #374151;
  color: #e5e7eb;
}

[data-theme="dark"] .lp-hero__content h1,
[data-theme="dark"] .lp-stat strong,
[data-theme="dark"] .lp-title-wrap h2,
[data-theme="dark"] .practice-item__head h3,
[data-theme="dark"] .lp-card h3,
[data-theme="dark"] .lp-contact-form-card h3 {
  color: #f9fafb;
}

[data-theme="dark"] .lp-subtitle,
[data-theme="dark"] .lp-hero .prose,
[data-theme="dark"] .lp-kicker,
[data-theme="dark"] .lp-stat span,
[data-theme="dark"] .lp-about-media-card__name,
[data-theme="dark"] .lp-about-media-card__placeholder,
[data-theme="dark"] .lp-about-empty,
[data-theme="dark"] .practice-item__content li,
[data-theme="dark"] .practice-item__content p,
[data-theme="dark"] .lp-card p,
[data-theme="dark"] .lp-about-card__name,
[data-theme="dark"] .lp-about-card__content p,
[data-theme="dark"] .lp-contact-form-card p {
  color: #cbd5e1;
}

[data-theme="dark"] .lp-btn--outline {
  background: #0f172a;
  border-color: #334155;
  color: #e5e7eb !important;
}

[data-theme="dark"] .lp-hero__type-panel {
  background: transparent;
  box-shadow: none;
}

[data-theme="dark"] .lp-hero__type-mark {
  color: #f8fafc;
}

[data-theme="dark"] .lp-hero__type-lines span {
  color: #cbd5e1;
  border-bottom-color: #334155;
}

[data-theme="dark"] .lp-hero__type-sign {
  color: #94a3b8;
}

[data-theme="dark"] .lp-hero__type-areas li {
  color: #e5e7eb;
}

[data-theme="dark"] .lp-hero__type-areas li:nth-child(n+3) {
  color: #cbd5e1;
}

[data-theme="dark"] .lp-hero__type-areas li::before,
[data-theme="dark"] .lp-hero__type-sign {
  color: #94a3b8;
}

[data-theme="dark"] .practice-item__head,
[data-theme="dark"] .lp-section--soft {
  border-color: #374151;
}

[data-theme="dark"] .lp-section--soft {
  background: #111827;
}

[data-theme="dark"] .lp-section--ivory,
[data-theme="dark"] .lp-section--paper {
  background: #111827;
  border-top-color: #334155;
  border-bottom-color: #334155;
}

[data-theme="dark"] .lp-about-card__badge {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .lp-about-card::before {
  background: linear-gradient(180deg, #60a5fa 0%, #93c5fd 100%);
}

[data-theme="dark"] .lp-about-media-card__img,
[data-theme="dark"] .lp-about-media-card__placeholder {
  border-color: #334155;
  background: #0f172a;
}

[data-theme="dark"] .practice-item__link,
[data-theme="dark"] .text-link {
  color: #e5e7eb;
  border-bottom-color: #64748b;
}

[data-theme="dark"] .practice-item__link:hover,
[data-theme="dark"] .text-link:hover {
  color: #ffffff;
  border-bottom-color: #94a3b8;
}

[data-theme="dark"] .lp-blog-cover {
  background: #111827;
  border-bottom-color: #334155;
}

[data-theme="dark"] .lp-blog-cover img {
  background: #0b1220;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.55);
}

[data-theme="dark"] .lp-contact {
  background: #111827;
  border-top-color: #1f2937;
}

[data-theme="dark"] .lp-contact-form-card {
  background: #111827;
  border-color: #374151;
  color: #e5e7eb;
}

[data-theme="dark"] .lp-contact-form-grid input,
[data-theme="dark"] .lp-contact-form-grid textarea {
  background: #0f172a;
  color: #e5e7eb;
  border-color: #334155;
}

[data-theme="dark"] .lp-hero__panel--logo-only .lp-hero__panel-logo {
  background: #0f172a;
  border-color: #334155;
}
