/* Taipei VGH International Medical Service Center — site styles */
:root {
  --navy: #03296d;
  --navy-deep: #021c4c;
  --navy-soft: #eaf0f9;
  --accent: #e36c1c;
  --text: #1f2430;
  --muted: #5a6475;
  --line: #d9dfe8;
  --bg-soft: #f4f6fa;
  --radius: 6px;
  --wrap: 1160px;
  --font: "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; }
a { color: #0b4fb3; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #f0a35e; outline-offset: 2px; }
h1, h2, h3, h4, h5 { line-height: 1.3; color: var(--navy); margin: 1.4em 0 .5em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-top: .2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 2000; }
.skip-link:focus { left: 10px; top: 10px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- buttons */
.btn, .prose .btn { display: inline-block; padding: .6em 1.2em; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--navy); line-height: 1.3; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover, .prose .btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--navy); }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: .35em .8em; font-size: .9rem; }

/* ---------- header */
.site-header { position: relative; z-index: 50; background: #fff; border-top: 5px solid var(--navy); box-shadow: 0 2px 6px rgba(3, 41, 109, .12); }
.topbar { background: var(--bg-soft); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 18px; padding-top: 4px; padding-bottom: 4px; flex-wrap: wrap; }
.topbar a { color: var(--navy); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; line-height: 0; }
.brand img { width: 520px; max-width: 100%; height: auto; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 14px; font: 700 .95rem var(--font); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { background: var(--navy); }
.nav-list { display: flex; flex-wrap: nowrap; justify-content: space-between; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 13px 12px; color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.nav-item > a:hover, .nav-item:focus-within > a, .nav-item.is-active > a { background: var(--navy-deep); box-shadow: inset 0 -3px 0 var(--accent); }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 8px 20px rgba(3, 41, 109, .18); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item:last-child .sub, .nav-item:nth-last-child(2) .sub, .nav-item:nth-last-child(3) .sub { left: auto; right: 0; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.sub a { display: block; padding: 8px 18px; color: var(--navy); text-decoration: none; font-size: .95rem; line-height: 1.4; }
.sub a:hover, .sub a:focus { background: var(--navy-soft); }

@media (max-width: 979px) {
  .nav-toggle { display: inline-flex; }
  .brand img { width: 460px; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; padding: 6px 0 12px; }
  .nav-item { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-item > a { flex: 1; padding: 12px 4px; box-shadow: none !important; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; background: transparent; border: 0; cursor: pointer; color: #fff; }
  .sub-toggle span { width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
  .nav-item.is-open .sub-toggle span { transform: rotate(-135deg); margin-top: 4px; }
  .sub { position: static; flex-basis: 100%; min-width: 0; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border-top: 0; background: var(--navy-deep); padding: 4px 0 8px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .nav-item.is-open > .sub { display: block; }
  .sub a { color: #fff; padding: 9px 16px; }
  .sub a:hover, .sub a:focus { background: rgba(255, 255, 255, .08); }
}
@media (max-width: 699px) {
  .brand img { width: 190px; }
  .topbar-inner { justify-content: center; gap: 14px; }
  body { font-size: 16px; }
}

/* ---------- breadcrumb, page head, subnav */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 16px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #a3abb8; }
.breadcrumb a { color: var(--muted); }
.page-wrap { padding-bottom: 48px; }
.page-head { margin: 10px 0 18px; }
.page-head h1 { padding-bottom: 12px; position: relative; }
.page-head h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--accent); }
.kicker { margin: 18px 0 0; font-size: .85rem; font-weight: 700; color: var(--accent); }
.lead { color: var(--muted); max-width: 760px; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.subnav a { display: block; padding: 7px 14px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 600; }
.subnav a:hover, .subnav a.is-current { background: var(--navy); color: #fff; }

/* ---------- article content (old CMS blocks) */
.prose { max-width: 960px; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.22rem; }
.prose h4 { font-size: 1.08rem; }
.prose img { margin: .4em 0; }
.prose .img-center { display: block; margin-left: auto; margin-right: auto; }
.prose img[style*="float: left"] { margin: .3em 1.2em 1em 0; }
.prose img[style*="float: right"] { margin: .3em 0 1em 1.2em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; }
.prose td, .prose th { border: 1px solid var(--line); padding: .55em .8em; vertical-align: top; text-align: left; }
.prose th { background: var(--navy-soft); color: var(--navy); }
.embed, .videobox { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 860px; margin: 1.2em auto 1.6em; background: #000; border-radius: var(--radius); overflow: hidden; height: auto; padding: 0; }
.embed-map { aspect-ratio: 4 / 3; max-width: 100%; background: var(--bg-soft); }
.embed iframe, .videobox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .prose img[style*="float"] { float: none !important; display: block; margin: .6em auto; }
  .prose [style*="font-size: 24pt"], .prose [style*="font-size: 26pt"], .prose [style*="font-size: 28pt"], .prose [style*="font-size: 36pt"] { font-size: 1.5rem !important; }
}

/* div-based tables used by the old editor */
.divTable { display: table; width: 100%; border-collapse: collapse; margin: 0 0 1.4em; }
.divTableHeading { display: table-header-group; background: var(--navy-soft); font-weight: 700; }
.divTableBody { display: table-row-group; }
.divTableRow { display: table-row; }
.divTableRow > div { display: table-cell; padding: .5em .7em; border: 1px solid var(--line); vertical-align: middle; }
.divTableHead { color: var(--navy); text-align: center; }
.steelBlueCols .divTableCell-l { width: 3.2em; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.2rem; text-align: center; }
.Table-01 .divTableCell-content { text-align: center; }
@media (max-width: 560px) { .divTableRow > div { padding: .4em .45em; font-size: .92rem; } }

/* tabs, collapse and modals (replaces Bootstrap JS) */
.nav-tabs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 2px solid var(--navy); }
.tabbable > .nav-tabs + .nav-tabs { margin-top: -18px !important; border-bottom: 0; }
.tabbable { display: flow-root; }
.tabbable > .nav-tabs:has(+ .nav-tabs) { border-bottom: 0; margin-bottom: 0 !important; }
.nav-tabs li { margin: 0; }
.nav-tabs a { display: block; padding: 8px 16px; background: var(--navy-soft); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: var(--radius) var(--radius) 0 0; }
.nav-tabs li.active a, .nav-tabs a:hover { background: var(--navy); color: #fff; }
.js .tab-pane { display: none; }
.js .tab-pane.active { display: block; }
.card { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; overflow: hidden; }
.card-header { background: var(--bg-soft); padding: 0; }
.card-header a, .card-link { display: block; padding: 12px 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.card-link::after { content: "+"; float: right; font-weight: 400; }
.card-link[aria-expanded="true"]::after { content: "−"; }
.card-body { padding: 14px 18px 4px; }
.js .collapse { display: none; }
.js .collapse.in, .js .collapse.show { display: block; }
.js .modal { display: none; }
.modal.is-open { display: flex; position: fixed; inset: 0; z-index: 1000; align-items: flex-start; justify-content: center; padding: 6vh 14px; overflow-y: auto; background: rgba(2, 20, 55, .6); }
.modal-dialog, .modal-dialog1, .modal-dialog2 { width: 100%; max-width: 760px; margin: 0; }
.modal-content { background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); display: flow-root; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-header h3, .modal-header h4, .modal-title, .modal-title001 { margin: 0; }
.modal-body, .modal-body001 { padding: 16px 18px; }
.modal-footer { padding: 10px 18px 14px; border-top: 1px solid var(--line); text-align: right; clear: both; }
.close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.btn-danger, .button1_update { background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: var(--radius); padding: .4em 1em; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-info { display: block; max-width: 420px; margin: 0 auto 1em; text-align: center; font-size: 1.1rem; line-height: 1.5; }
body.modal-open { overflow: hidden; }
.no-js .modal { display: block; position: static; }

/* page-specific blocks from the old content */
.region-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.5em; }
.region-buttons > div > a { display: inline-block; padding: 12px 22px; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.region-buttons > div > a:hover { background: var(--navy-deep); }
.grid-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 1.2em 0; }
.grid-box > div { background: var(--bg-soft); border-radius: var(--radius); padding: 14px; text-align: center; }
.desc a { font-weight: 700; }
.main { text-align: center; }
.photo_show_blk .title { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 1.4em 0 .6em; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0 0 1.5em; }
.photo { background: var(--bg-soft); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 10px 14px; }
.photo_img { aspect-ratio: 3 / 2; background: var(--line) center / cover no-repeat; border-radius: var(--radius); margin-bottom: 8px; }
.photo .name, .photo .name1 { margin: 0; font-size: .95rem; }
.about-box { display: grid; gap: 10px 30px; }
@media (min-width: 900px) { .about-box { grid-template-columns: 1fr 1fr; } }
.outertight { margin: 0 0 1.4em; }
@media (min-width: 768px) { .column-three-fourth { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.caption { font-size: .9rem; color: var(--muted); }
.sidebar .line { font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.other-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.other-list li { margin: 0; }
.other-list a { display: flex; align-items: center; min-height: 92px; height: 100%; padding: 16px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; box-shadow: 0 2px 6px rgba(3, 41, 109, .06); }
.other-list a:hover { border-top-color: var(--accent); background: var(--navy-soft); }
.title-1 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0 0 .4em; }
.az-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 24px; }
.az-group h3 { margin: .6em 0 .3em; padding-top: 8px; border-top: 2px solid var(--navy); font-size: 1.3rem; }
.navlist { list-style: none; padding: 0 !important; }
.navlist li { margin-bottom: .4em; }
.inquiry_bg_block > img:first-child { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1em; }
.slogan ul { padding-left: 1.2em; }
.text-center { text-align: center; }

/* ---------- listings */
.item-list { list-style: none; margin: 0; padding: 0; max-width: 960px; }
.list-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.list-item h2 { font-size: 1.12rem; margin: 0 0 .3em; }
.list-item h2 a { text-decoration: none; }
.list-item h2 a:hover { text-decoration: underline; }
.list-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 28px 0 0; }
.pagination a, .pagination span { display: block; min-width: 42px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.post-nav { display: grid; gap: 12px; margin: 36px 0 12px; max-width: 960px; }
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-next { grid-column: 2; text-align: right; } }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 600; line-height: 1.4; }
.post-nav a span { display: block; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.post-nav a:hover { background: var(--navy-soft); }
.back-link a { font-weight: 700; }

/* service index */
.svc-grid { columns: 3 300px; column-gap: 22px; }
.svc-cat { break-inside: avoid; margin: 0 0 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-cat h2 { margin: 0; padding: 10px 14px; font-size: 1.08rem; background: var(--cat, var(--navy)); color: #fff; }
.svc-cat h2 a { color: #fff; text-decoration: none; }
.svc-cat h2 a:hover { text-decoration: underline; }
.svc-cat ul { list-style: none; margin: 0; padding: 6px 0; }
.svc-cat li { padding: 6px 14px; border-left: 3px solid transparent; font-size: .95rem; line-height: 1.45; }
.svc-cat li a { text-decoration: none; font-weight: 600; }
.svc-cat li a:hover { text-decoration: underline; }
.svc-cat li:has(a) { border-left-color: var(--cat, var(--navy)); }
.svc-cat li span { color: var(--muted); }

/* downloads */
.doc-table td:first-child span { display: block; }
.doc-zh { font-weight: 700; }
.doc-en { color: var(--muted); font-size: .95rem; }
.doc-dl { width: 150px; text-align: center; vertical-align: middle !important; }
.prose .doc-table { min-width: 0; }
.doc-dl a { white-space: nowrap; }
@media (max-width: 600px) {
  .doc-table thead { display: none; }
  .doc-table tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 10px 12px; }
  .prose .doc-table td { display: block; border: 0; padding: 0; }
  .prose .doc-table .doc-dl { width: auto; text-align: left; padding-top: 8px; }
}

/* sitemap & 404 */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 28px; }
.sitemap-grid h2, .sitemap-long h2 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
.sitemap-grid ul, .sitemap-long ul { padding-left: 1.1em; margin: 0; }
.sitemap-long .cols { columns: 2 340px; column-gap: 28px; }
.sitemap-long li { break-inside: avoid; margin-bottom: .3em; font-size: .95rem; }
.sitemap-long .inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.notfound-links a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- home */
.hero { background: var(--navy) var(--hero) center 62% / cover no-repeat; color: #fff; }
.hero-inner { min-height: clamp(360px, 44vw, 520px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 40px; padding-bottom: 44px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); margin: 0 0 .3em; max-width: 16em; text-shadow: 0 2px 3px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .8), 0 0 30px rgba(0, 0, 0, .6); }
.hero-kicker { margin: 0; font-weight: 700; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 8px rgba(0, 0, 0, .9), 0 0 20px rgba(0, 0, 0, .7); }
.hero-text { max-width: 34em; margin: 0 0 1.2em; font-size: 1.08rem; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 8px rgba(0, 0, 0, .9), 0 0 22px rgba(0, 0, 0, .75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.hero .btn-ghost { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.quick-links { background: var(--navy); }
.quick-links ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.quick-links a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 8px; color: #fff; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3; font-size: .98rem; }
.quick-links a:hover { background: var(--navy-deep); }
.quick-links img { width: 64px; height: 64px; }
@media (max-width: 760px) {
  .quick-links ul { grid-template-columns: repeat(2, 1fr); }
  .quick-links li:last-child { grid-column: 1 / -1; }
  .quick-links img { width: 48px; height: 48px; }
}
.home-cols { display: grid; gap: 10px 48px; padding-top: 18px; }
@media (min-width: 900px) { .home-cols { grid-template-columns: 3fr 2fr; } }
.home-cols h2, .home-features h2, .home-about h2 { font-size: 1.5rem; margin: 1em 0 .5em; }
.news-list, .link-list { list-style: none; padding: 0; margin: 0; }
.news-list li, .link-list li { padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.news-list a, .link-list a { text-decoration: none; }
.news-list a:hover, .link-list a:hover { text-decoration: underline; }
.more { font-weight: 700; }
.home-features { padding-bottom: 36px; }
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; background: #fff; }
.feature img { width: 100%; aspect-ratio: 300 / 153; object-fit: cover; margin: 0; background: var(--bg-soft); }
.feature-title { padding: 12px 14px 16px; color: var(--navy); font-weight: 700; line-height: 1.4; }
.feature a:hover { border-color: var(--navy); box-shadow: 0 4px 14px rgba(3, 41, 109, .12); }
.home-about { background: var(--bg-soft); padding: 18px 0 32px; }
.home-about p { max-width: 760px; }

/* ---------- footer */
.site-footer { background: var(--navy); color: #dfe6f3; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px 40px; padding-top: 36px; padding-bottom: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #fff; }
.footer-name { font-weight: 700; color: #fff; font-size: 1.05rem; margin: 0 0 .6em; line-height: 1.4; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-hours { margin: .8em 0 0; }
.footer-head { font-weight: 700; color: #fff; margin: 0 0 .5em; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45em; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { background: var(--navy-deep); padding: 12px 0; font-size: .85rem; color: #b9c5dc; }

.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); box-shadow: 0 3px 10px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 40; }
.back-to-top::before { content: ""; position: absolute; left: 15px; top: 17px; width: 12px; height: 12px; border-left: 3px solid #fff; border-top: 3px solid #fff; transform: rotate(45deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

@media print {
  .site-header, .site-footer, .back-to-top, .subnav, .post-nav, .breadcrumb { display: none; }
  .js .collapse, .js .tab-pane { display: block; }
}
