/*
Theme Name: Mind Law Group
Theme URI: https://l2r.879.myftpupload.com/
Author: Hermes
Description: Custom classic theme for the Mind Law Group / Carter Green Law Practice staging site, based on the approved public preview.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Text Domain: mind-law-group
*/

:root {
  --bg: #f5f7f2;
  --bg-soft: #fbfcf9;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-soft: #f5fbfa;
  --surface-warm: #fdf9f1;
  --ink: #24323a;
  --ink-soft: #4f5f67;
  --muted: #69767b;
  --brand: #2c7fb8;
  --brand-strong: #25556f;
  --brand-teal: #63c3b4;
  --brand-green: #7cb342;
  --accent: #c79a3a;
  --accent-deep: #986f23;
  --accent-soft: #f8f0de;
  --line: rgba(37, 85, 111, 0.11);
  --line-strong: rgba(199, 154, 58, 0.28);
  --shadow-soft: 0 18px 40px rgba(36, 50, 58, 0.05);
  --shadow-card: 0 26px 60px rgba(36, 50, 58, 0.08);
  --radius: 24px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(44, 127, 184, 0.16), transparent 24%),
    radial-gradient(circle at top left, rgba(99, 195, 180, 0.10), transparent 24%),
    radial-gradient(circle at 18% 14%, rgba(124, 179, 66, 0.08), transparent 22%),
    radial-gradient(circle at 50% 0%, rgba(199, 154, 58, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf7 220px, var(--bg) 100%);
  line-height: 1.68;
}

/* === Accessibility === */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 100;
  padding: 12px 24px; background: var(--ink); color: #fff;
  border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* === Links === */
a { color: var(--brand-strong); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-deep); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; border-radius: 4px; }

.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

/* === Top Bar === */
.topbar {
  background: linear-gradient(90deg, rgba(199, 154, 58, 0.16), rgba(255, 255, 255, 0.94) 42%, rgba(99, 195, 180, 0.10) 72%, rgba(44, 127, 184, 0.12));
  color: #2f4048;
  font-size: 16px;
  border-bottom: 1px solid rgba(37, 85, 111, 0.10);
}
.topbar .container {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: space-between; padding: 12px 0;
}
.topbar a { color: #6c531d; font-weight: 700; }
.topbar a:hover { color: var(--accent-deep); }

/* === Header === */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(53, 95, 121, 0.08);
  box-shadow: 0 10px 28px rgba(36, 50, 58, 0.04);
}
.nav {
  display: flex; flex-direction: column;
  align-items: stretch; gap: 12px; padding: 16px 0;
}
.brand {
  display: flex; flex-direction: column; gap: 6px;
  justify-content: center; min-height: 148px;
  padding-left: 178px;
  background: url('mind-law-group-logo.png') left center / 150px auto no-repeat;
}
.brand strong {
  font-family: var(--serif); font-size: 22px;
  color: #233139; letter-spacing: -0.01em; max-width: 24ch;
}
.brand span {
  color: var(--muted); font-size: 14px;
  letter-spacing: 0.10em; text-transform: uppercase;
}

/* === Navigation === */
.nav-links {
  display: flex; flex-wrap: wrap;
  gap: 8px 6px; align-items: center; justify-content: flex-start;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(53, 95, 121, 0.10);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 6px 12px; border-radius: 8px;
  transition: all var(--transition); text-decoration: none;
}
.nav-links a:not(.nav-cta):hover {
  color: var(--accent-deep); background: rgba(201, 162, 58, 0.06);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--brand-strong);
  background: linear-gradient(135deg, rgba(44, 127, 184, 0.10), rgba(99, 195, 180, 0.08));
  box-shadow: inset 0 0 0 1px rgba(44, 127, 184, 0.10);
}
.nav-cta {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 11px 18px !important;
  background: linear-gradient(135deg, #315261, #bb9343) !important;
  color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px !important;
  box-shadow: 0 16px 32px rgba(91, 71, 32, 0.17);
  transition: all var(--transition) !important;
}
.nav-cta:hover { text-decoration: none !important; filter: brightness(1.06); transform: translateY(-1px); }

/* === Hamburger Menu === */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--ink);
  transition: background var(--transition);
}
.menu-toggle:hover { background: rgba(54, 93, 116, 0.06); }
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }

/* === Hero === */
.hero-wrap { padding: 56px 0 28px; }
.hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(121, 181, 206, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(201, 162, 74, 0.11), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 252, 0.96) 52%, rgba(253, 249, 240, 0.96) 100%);
  color: var(--ink); border-radius: 36px;
  border: 1px solid rgba(53, 95, 121, 0.10);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--accent), #e2cd97 38%, var(--brand) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -70px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(121, 181, 206, 0.18), transparent 72%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.45fr 0.95fr;
  gap: 30px; padding: 68px 58px 58px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: #7a5b19;
  font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 16px; font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px); line-height: 1.02;
  color: #213039; max-width: 12ch; letter-spacing: -0.03em;
}
.hero p.lead {
  margin: 0; font-size: 18px;
  color: var(--ink-soft); max-width: 58ch;
}

/* === Hero Card === */
.hero-card {
  align-self: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(53, 95, 121, 0.12);
  border-radius: 28px; padding: 28px;
  box-shadow: var(--shadow-soft); backdrop-filter: blur(10px);
}
.hero-card h3 { margin: 0 0 12px; font-size: 20px; color: #25323a; }
.hero-card, .hero-card li { font-size: 16px; line-height: 1.7; }
.hero-card p.small-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
.hero-card ul { margin: 0; padding-left: 18px; }
.hero-card li { margin: 8px 0; }

/* === Media placeholders === */
.hero-visual, .card-media, .team-photo {
  display: block; width: 100%;
  background: linear-gradient(135deg, rgba(249, 246, 238, 0.95), rgba(238, 247, 251, 0.95));
  border: 1px solid rgba(53, 95, 121, 0.12);
  box-shadow: 0 14px 28px rgba(41, 61, 74, 0.10);
}
.hero-visual { margin: 0 0 18px; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; }
.card-media { margin: 0 0 16px; border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; }
.team-photo { margin: 0 0 16px; border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; }

/* === Buttons === */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, #36596a, #b79144);
  color: #fff; box-shadow: 0 14px 30px rgba(91, 71, 32, 0.17);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 18px 36px rgba(91, 71, 32, 0.22); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.86); color: #5d481d;
  border: 1px solid rgba(201, 162, 74, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-secondary:hover { background: #fff; border-color: rgba(201, 162, 74, 0.55); }

/* === Mini Stats === */
.mini-stat-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin-top: 28px; max-width: 760px;
}
.mini-stat {
  padding: 18px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(53, 95, 121, 0.10);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.mini-stat:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.mini-stat strong { display: block; margin-bottom: 6px; font-size: 20px; color: var(--brand-strong); }
.mini-stat span { display: block; font-size: 15px; color: var(--muted); }

/* === Main Content === */
main { padding: 16px 0 80px; }
.grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px; align-items: start;
}

/* === Cards === */
.content-card, .sidebar-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.content-card { padding: 40px; }
.sidebar-card {
  padding: 28px; position: sticky; top: 106px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 251, 250, 0.94));
  border-top: 5px solid rgba(99, 195, 180, 0.42);
}

/* === Sections === */
.section + .section { margin-top: 34px; }
.section h2, .section h3, .section h4 { color: #2f4350; margin-top: 0; }
.section h2 { font-family: var(--serif); font-size: 34px; margin-bottom: 12px; letter-spacing: -0.03em; }
.section h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.section h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.section p { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; line-height: 1.76; }
.section ul, .section ol { margin: 0 0 16px 18px; }
.section li { margin: 8px 0; font-size: 16px; line-height: 1.72; }
.kicker {
  color: #8b6a20; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; font-size: 12px; margin-bottom: 10px;
}
.small { font-size: 16px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.tag {
  display: inline-block; padding: 8px 12px;
  background: #fbf8ef; border: 1px solid rgba(201, 162, 74, 0.26);
  border-radius: 999px; font-size: 14px; color: #7a5d20;
}

/* === Panels === */
.panel {
  padding: 28px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(53, 95, 121, 0.10); box-shadow: var(--shadow-soft);
}
.panel.warm {
  background: linear-gradient(180deg, rgba(253, 250, 242, 0.98), rgba(255, 255, 255, 0.96));
  border-color: rgba(201, 162, 74, 0.22);
}

/* === Grids === */
.service-grid, .check-grid, .team-grid, .split-grid, .contact-band { display: grid; gap: 18px; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid { grid-template-columns: 1.15fr 0.85fr; }
.contact-band { grid-template-columns: 1.2fr 0.8fr; }

/* === Service / Check / Team Cards === */
.service-card, .check-item, .team-card {
  height: 100%; padding: 22px; border-radius: 22px;
  background: #ffffff; border: 1px solid rgba(37, 85, 111, 0.10);
  border-top: 4px solid rgba(44, 127, 184, 0.22);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}
.service-card:nth-child(3n+2), .team-card:nth-child(3n+2) { border-top-color: rgba(99, 195, 180, 0.40); }
.service-card:nth-child(3n), .team-card:nth-child(3n) { border-top-color: rgba(199, 154, 58, 0.42); }
.check-item:nth-child(2n) { border-top-color: rgba(124, 179, 66, 0.40); }
.service-card:hover, .check-item:hover, .team-card:hover {
  box-shadow: var(--shadow-card); transform: translateY(-2px);
}
.service-card h3, .team-card h3 { margin-bottom: 10px; }
.service-card ul, .team-card ul, .check-item ul { margin: 0 0 14px 18px; }
.service-card p:last-child, .check-item p:last-child, .team-card p:last-child { margin-bottom: 0; }
.check-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 252, 0.95));
}
.check-item strong { display: block; margin-bottom: 8px; color: var(--brand-strong); font-size: 16px; }
.team-card .role {
  display: inline-block; margin-bottom: 12px; padding: 6px 10px;
  border-radius: 999px; background: var(--accent-soft); color: #7a5b19;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}

/* === Sidebar === */
.meta-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.meta-list li {
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line); font-size: 15px;
  transition: background var(--transition);
}
.meta-list li:hover { background: #fff; }
.page-links { display: grid; gap: 10px; }
.page-links a {
  display: block; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.84); border-radius: 14px;
  border: 1px solid var(--line); font-weight: 600; font-size: 15px;
  transition: all var(--transition); text-decoration: none;
}
.page-links a:hover {
  background: #ffffff; border-color: rgba(201, 162, 74, 0.46);
  text-decoration: none;
}
.page-links a.active {
  background: rgba(54, 93, 116, 0.06);
  border-color: var(--brand-strong); color: var(--brand-strong);
}

/* === Footer CTA === */
.footer-cta {
  margin-top: 34px; padding: 28px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.10), rgba(255, 255, 255, 0.98) 50%, rgba(121, 181, 206, 0.09));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft);
}
.notice {
  padding: 15px 17px; background: #fff8ea;
  border: 1px solid #ead39d; border-radius: 16px;
  color: #6b4e14; font-size: 15px;
}

/* === Footer === */
footer {
  background: linear-gradient(145deg, #23343c, #1d2c31 62%, #225764);
  color: #dfe7e8; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .container { padding: 40px 0 48px; }
footer a { color: #f7fbff; transition: color var(--transition); }
footer a:hover { color: var(--accent); text-decoration: underline; }
footer p, footer li { font-size: 15px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-bottom {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: 1fr; }
  .split-grid, .contact-band, .hero-inner, .grid, .footer-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}
@media (max-width: 820px) {
  .service-grid, .check-grid, .mini-stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Mobile hamburger */
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    padding: 16px 20px; gap: 4px;
    box-shadow: var(--shadow-card);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; border-radius: 12px; }
  .nav-cta { margin-top: 8px; justify-content: center; }
  .nav { position: relative; }
  .nav-row { display: flex; align-items: center; justify-content: space-between; }
}
@media (max-width: 720px) {
  .hero-inner, .content-card, .sidebar-card, .panel,
  .service-card, .check-item, .team-card, .footer-cta { padding: 24px; }
  .nav { align-items: flex-start; }
  .brand { min-height: 128px; padding-left: 142px; background-size: 124px auto; }
  .brand strong { font-size: 19px; }
  .hero h1 { max-width: 100%; }
  .hero-wrap { padding: 32px 0 20px; }
}
@media (max-width: 480px) {
  .brand { min-height: 100px; padding-left: 110px; background-size: 96px auto; }
  .brand strong { font-size: 17px; }
  .hero-inner { padding: 40px 22px 32px; }
  .hero h1 { font-size: 32px; }
  .button-row { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* === Contact Form === */
.contact-form .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-form .field-span-2 { grid-column: span 2; }
.contact-form .field-group {
  display: flex; flex-direction: column; gap: 8px;
}
.contact-form .field-group label {
  font-weight: 700; color: var(--ink);
}
.contact-form .field-required {
  color: #b74; font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(37, 85, 111, 0.15);
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
  color: var(--ink); font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(44,127,184,0.55);
  box-shadow: 0 0 0 4px rgba(44,127,184,0.12);
}
.contact-form .form-help {
  margin: 12px 0 0; color: var(--muted); font-size: 14px;
}
@media (max-width: 640px) {
  .contact-form .field-grid { grid-template-columns: 1fr; }
  .contact-form .field-span-2 { grid-column: auto; }
}

/* === Social links in topbar === */
.topbar a[aria-label] {
  font-weight: 600; font-size: 14px;
}


/* === WordPress handoff refinements (v4) === */
.service-card .card-title,
.team-card .card-title,
.review-source-card h3 a {
  color: inherit;
  text-decoration: none;
}
.service-card .card-title:hover,
.team-card .card-title:hover,
.review-source-card h3 a:hover {
  color: var(--brand-strong);
  text-decoration: none;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--brand-strong);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}
.review-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.review-source-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,252,0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.review-source-card p:last-child { margin-bottom: 0; }
.inline-list {
  margin: 0;
  padding-left: 18px;
}
@media (max-width: 820px) {
  .review-source-grid { grid-template-columns: 1fr; }
}


/* === WordPress integration === */
html { margin-top: 0 !important; }
body {
  background:
    radial-gradient(circle at top right, rgba(199,154,58,0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(44,127,184,0.08), transparent 32%),
    var(--bg);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; }
.site-main { display: block; }
.site-main > *:first-child { margin-top: 0; }
.container,
.hero-wrap,
main.container,
#main-content.container {
  margin-left: auto !important;
  margin-right: auto !important;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(24, 54, 70, 0.10);
}
.site-header .nav {
  min-height: 88px;
}
.brand strong {
  letter-spacing: 0.02em;
}
.brand span {
  color: #52707b;
}
.nav-links a {
  position: relative;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  border-radius: 99px;
}
.hero {
  box-shadow: 0 24px 48px rgba(20, 48, 62, 0.11);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), transparent 52%);
  pointer-events: none;
}
.hero-inner,
.content-card,
.sidebar-card,
.service-card,
.team-card,
.panel,
.notice {
  position: relative;
  z-index: 1;
}
.content-card,
.sidebar-card {
  box-shadow: 0 24px 50px rgba(22, 52, 67, 0.10);
}
.service-card,
.team-card,
.panel {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.service-card:hover,
.team-card:hover,
.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(28, 59, 74, 0.12);
  border-color: rgba(64, 134, 173, 0.20);
}
.hero-card ul li::marker,
.meta-list li::marker {
  color: var(--accent-deep);
}
.page-links a {
  border-radius: 12px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.page-links a:hover,
.page-links a.active {
  background: rgba(44, 127, 184, 0.10);
  color: var(--brand-strong);
  transform: translateX(2px);
}
footer {
  margin-top: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 28px;
  padding-top: 18px;
}
@media (max-width: 900px) {
  .site-header { position: relative; top: 0 !important; }
  .nav-links a.active::after,
  .nav-links a:hover::after { display: none; }
}
