/*
 * Tailwind-style atomic CSS for mobile site (EmpireCMS templates)
 * Based on PC color reference: deep blue primary, amber accent, clean cards.
 * Units are rem-based; the templates set html font-size via JS (55.2px max).
 */

@charset "UTF-8";

:root {
  /* Primary palette from PC site */
  --color-primary: #0d5a9e;
  --color-primary-dark: #0a4579;
  --color-primary-light: #e6f4ff;
  --color-primary-50: #f0f9ff;

  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;

  --color-surface: #ffffff;
  --color-background: #f5f7fa;
  --color-muted: #f3f4f6;

  --color-text: #1f2937;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-text-inverse: #ffffff;

  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;

  /* Spacing scale (1 unit ≈ 8px on 750px design) */
  --space-1: 0.08rem;
  --space-2: 0.16rem;
  --space-3: 0.24rem;
  --space-4: 0.32rem;
  --space-5: 0.4rem;
  --space-6: 0.48rem;
  --space-8: 0.64rem;
  --space-10: 0.8rem;
  --space-12: 0.96rem;
  --space-16: 1.28rem;

  /* Border radius */
  --radius-sm: 0.08rem;
  --radius: 0.16rem;
  --radius-lg: 0.24rem;
  --radius-xl: 0.32rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.04);
  --shadow: 0 0.04rem 0.12rem rgba(13, 90, 158, 0.08);
  --shadow-lg: 0 0.08rem 0.24rem rgba(13, 90, 158, 0.12);

  /* Typography */
  --text-xs: 0.2rem;
  --text-sm: 0.22rem;
  --text-base: 0.26rem;
  --text-lg: 0.3rem;
  --text-xl: 0.34rem;
  --text-2xl: 0.4rem;
  --text-3xl: 0.48rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* Layout */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { inset: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Flexbox */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Spacing */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-4 { margin-left: var(--space-4); margin-right: var(--space-4); }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.ml-2 { margin-left: var(--space-2); }
.ml-3 { margin-left: var(--space-3); }
.ml-4 { margin-left: var(--space-4); }
.mr-2 { margin-right: var(--space-2); }
.mr-3 { margin-right: var(--space-3); }
.mr-4 { margin-right: var(--space-4); }

.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.pt-0 { padding-top: 0; }
.pt-4 { padding-top: var(--space-4); }
.pt-6 { padding-top: var(--space-6); }
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: var(--space-4); }
.pb-6 { padding-bottom: var(--space-6); }
.pb-24 { padding-bottom: 1.92rem; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-16 { width: 1.28rem; }
.w-20 { width: 1.6rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-16 { height: 1.28rem; }
.h-20 { height: 1.6rem; }
.min-h-screen { min-height: 100vh; }
.max-w-full { max-width: 100%; }

/* Typography */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.text-white { color: var(--color-text-inverse); }
.text-primary { color: var(--color-primary); }
.text-primary-dark { color: var(--color-primary-dark); }
.text-accent { color: var(--color-accent); }
.text-body { color: var(--color-text); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }

/* Backgrounds */
.bg-white { background-color: var(--color-surface); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-primary-light { background-color: var(--color-primary-light); }
.bg-primary-50 { background-color: var(--color-primary-50); }
.bg-accent { background-color: var(--color-accent); }
.bg-muted { background-color: var(--color-muted); }
.bg-background { background-color: var(--color-background); }
.bg-transparent { background-color: transparent; }

/* Borders */
.border { border: 0.02rem solid var(--color-border); }
.border-0 { border: 0; }
.border-t { border-top: 0.02rem solid var(--color-border); }
.border-b { border-bottom: 0.02rem solid var(--color-border); }
.border-primary { border-color: var(--color-primary); }
.border-white { border-color: rgba(255, 255, 255, 0.3); }
.border-opacity-30 { border-color: rgba(255, 255, 255, 0.3); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.rounded-t-lg { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.rounded-b-lg { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }

/* Effects */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.25;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: translateY(0.02rem);
  opacity: 0.92;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text-inverse);
  border: 0.02rem solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-primary);
  border: 0.02rem solid var(--color-border);
}

.btn-ghost:hover {
  background-color: var(--color-primary-50);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  border-radius: var(--radius);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  background-color: rgba(13, 90, 158, 0.08);
  color: var(--color-primary);
  border: 0.02rem solid rgba(13, 90, 158, 0.15);
}

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 0.02rem solid var(--color-border-light);
  font-size: var(--text-base);
  color: var(--color-text);
}

.list-link:hover {
  background-color: var(--color-primary-50);
}

.list-link:last-child {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 0.02rem solid var(--color-border-light);
}

.section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 0.06rem;
  height: 0.28rem;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.more-link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.more-link::after {
  content: "\203A";
  font-size: 0.24rem;
}

/* Fixed bottom nav */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 -0.04rem 0.12rem rgba(0, 0, 0, 0.1);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  position: relative;
}

.bottom-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 0.02rem;
  background-color: rgba(255, 255, 255, 0.15);
}

.bottom-nav strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-1);
}

.bottom-nav a:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Safe area for fixed bottom nav */
.safe-bottom {
  padding-bottom: 1.6rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -0.4rem;
  top: -0.4rem;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

/* Star rating */
.star-rating {
  display: inline-flex;
  gap: 0.04rem;
  color: var(--color-accent);
  font-size: var(--text-sm);
}

.star-rating em {
  font-style: normal;
}

.star-rating em::before {
  content: "\2605";
}

/* Article content */
.article-content {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
}

.article-content p {
  margin-bottom: var(--space-4);
}

.article-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-4) 0;
}

.article-content h2,
.article-content h3 {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.article-content h2 {
  font-size: var(--text-lg);
}

.article-content h3 {
  font-size: var(--text-base);
}

/* Tab switcher */
.tab-label {
  position: relative;
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.tab-label.active {
  color: var(--color-primary);
  font-weight: 700;
}

.tab-label.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0.4rem;
  height: 0.04rem;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

/* FAQ item */
.faq-item {
  padding: var(--space-4) var(--space-6);
  border-bottom: 0.02rem solid var(--color-border-light);
}

.faq-ask {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.faq-answer {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq-icon {
  flex-shrink: 0;
  width: 0.36rem;
  height: 0.36rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
}

.faq-icon.ask {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.faq-icon.answer {
  background-color: var(--color-muted);
  color: var(--color-text-secondary);
}

/* Review card */
.review-card {
  padding: var(--space-4) var(--space-6);
  border-bottom: 0.02rem solid var(--color-border-light);
}

.review-card:last-child {
  border-bottom: none;
}

/* Tags / chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text-inverse);
  border: 0.02rem solid rgba(255, 255, 255, 0.2);
}

/* Header / footer placeholders from [!--temp.header--] / [!--temp.footer--] */
.top-bar {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Utility list */
.list-disc {
  list-style: disc;
  padding-left: var(--space-6);
}

.list-disc li {
  list-style: disc;
  margin-bottom: var(--space-2);
}

/* Visually hidden for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive safe guard for PC preview */
.pcclient body {
  max-width: 7.5rem;
  margin: 0 auto;
  box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.1);
}

/* =====================================================================
   Shared Site Header / Footer (PC + Mobile call the same template)
   Component classes use px so they render correctly whether or not the
   page sets the rem base (mobile script) — responsive via media query.
   ===================================================================== */
.wrap {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Top bar — colors aligned to PC css.css */
.topbar {
  background: #0c4a80;
  color: #cfe0f2;
  font-size: 12px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar b {
  color: #ffffff;
  font-weight: 700;
}
.topbar span:last-child {
  white-space: nowrap;
}

/* Header — aligned to PC css.css (white bg, sticky, border) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe4e7;
  box-shadow: 0 1px 4px rgba(18, 97, 166, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}
.logo .cn {
  font-size: 16px;
  font-weight: 700;
  color: #0c4a80;
  white-space: nowrap;
}

.navtoggle {
  background: transparent;
  border: 1px solid #dbe4e7;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #1261a6;
  padding: 8px 10px;
}

.main-nav {
  display: none;
}
.main-nav.open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #dbe4e7;
}
.main-nav ul {
  display: flex;
  flex-direction: column;
}
.main-nav li a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: #4a6472;
  border-bottom: 1px solid #dbe4e7;
}
.main-nav li:last-child a {
  border-bottom: none;
}
.main-nav li a:hover,
.main-nav li a:focus {
  background: #e8f1fa;
  color: #1261a6;
}

/* Footer visit block — aligned to PC .visit (light tint bg + dark text) */
.visit {
  background: #e8f1fa;
  border-top: 1px solid #dbe4e7;
  color: #152b3f;
  padding: 44px 0;
}
.visit .vhead {
  text-align: center;
  margin-bottom: 26px;
}
.visit .vhead .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c8863f;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.visit .vhead h2 {
  font-size: 25px;
  font-weight: 800;
  color: #0c4a80;
  margin-top: 6px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.vcard {
  background: #ffffff;
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vcard .ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #e8f1fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #1261a6;
  margin-bottom: 8px;
}
.vcard b {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: #c8863f;
}
.vcard .big {
  font-size: 18px;
  font-weight: 700;
  color: #0c4a80;
}
.vcard p {
  font-size: 13.5px;
  color: #4a6472;
  line-height: 1.7;
}
.vcard .btn {
  margin-top: 12px;
  display: inline-block;
  background: #ffa23f;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.vcard .btn:hover {
  background: #f08a1e;
}

/* Site footer — aligned to PC footer (#0a3a63) */
.site-footer {
  background: #0a3a63;
  color: #9fbdd8;
  font-size: 13px;
}
.site-footer .compliance {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  line-height: 1.7;
  font-size: 12.5px;
  color: #7593b0;
  text-align: center;
}
.site-footer .foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 16px;
}
.site-footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.site-footer .nap p {
  margin-bottom: 8px;
  line-height: 1.7;
}
.site-footer .nap .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.site-footer .nap img {
  border-radius: 4px;
}
.not-italic {
  font-style: normal;
}
.site-footer .text-footer-muted {
  color: #6f8caa;
}
.site-footer a {
  color: #9fbdd8;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer .footbar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  text-align: center;
  color: #6f8caa;
  font-size: 12.5px;
}

/* ---- PC breakpoint ---- */
@media (min-width: 768px) {
  .wrap {
    max-width: 1100px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .topbar {
    font-size: 13px;
  }
  .navtoggle {
    display: none;
  }
  .main-nav {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    border-top: none;
  }
  .main-nav.open {
    position: static;
    box-shadow: none;
    border-top: none;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .main-nav li a {
    padding: 8px 12px;
    border-bottom: none;
    border-radius: 8px;
    font-size: 15px;
  }
  .main-nav li a:hover,
  .main-nav li a:focus {
    background: var(--color-primary-50);
  }
/* =====================================================================
   Standalone page content blocks (e.g. doctor.html, about.html, faq.html)
   Used by mobile static pages that share the same header/footer template.
   ===================================================================== */

/* Breadcrumb */
.crumb {
  background: #f5f7fa;
  border-bottom: 1px solid #dbe4e7;
  padding: 10px 0;
  font-size: 13px;
  color: #4a6472;
}
.crumb .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crumb a {
  color: #1261a6;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb span {
  color: #0c4a80;
  font-weight: 600;
}

/* Page hero banner */
.pagehero {
  background: linear-gradient(135deg, #1261a6 0%, #0c4a80 100%);
  color: #ffffff;
  padding: 36px 0 44px;
  text-align: center;
}
.pagehero h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}
.pagehero p {
  font-size: 14px;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section header */
.sec-head {
  margin-bottom: 24px;
}
.sec-head .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #c8863f;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sec-head .h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0c4a80;
  margin-bottom: 8px;
}
.sec-head .lead {
  font-size: 14px;
  color: #4a6472;
  line-height: 1.7;
}

/* Doctor grid & card */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.doc {
  background: #ffffff;
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(18, 97, 166, 0.06);
}
.doc .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8f1fa;
}
.doc .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc .di {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc .name {
  font-size: 18px;
  font-weight: 800;
  color: #0c4a80;
}
.doc .title {
  display: inline-flex;
  width: fit-content;
  font-size: 13px;
  font-weight: 600;
  color: #c8863f;
  background: #fdf4e7;
  padding: 4px 10px;
  border-radius: 20px;
}
.doc .meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #4a6472;
  line-height: 1.6;
}
.doc .meta b {
  color: #0c4a80;
  font-weight: 600;
  margin-right: 6px;
}
.doc .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.doc .tags span {
  font-size: 12px;
  color: #1261a6;
  background: #e8f1fa;
  padding: 4px 10px;
  border-radius: 6px;
}
.doc .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #1261a6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.doc .more:hover {
  background: #0c4a80;
}

/* Simple PC breakpoint for standalone pages */
@media (min-width: 768px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doc {
    flex-direction: row;
    align-items: stretch;
  }
  .doc .photo {
    width: 220px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
}

