/*
Theme Name: Homeopathy Glasgow
Theme URI: https://www.homeopathy-glasgow.co.uk/
Author: OpenAI migration build
Description: Lightweight block-compatible theme preserving the established Homeopathy Glasgow appearance.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: homeopathy-glasgow
*/

:root {
  --hg-blue: #477aa7;
  --hg-blue-light: #7ca3c9;
  --hg-blue-pale: #edf4fa;
  --hg-ink: #263744;
  --hg-muted: #64727d;
  --hg-line: #c9d9e7;
  --hg-white: #fff;
  --hg-shadow: 0 12px 35px rgb(38 55 68 / 10%);
  --hg-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hg-ink);
  background: linear-gradient(180deg, #f8fbfd 0, #fff 260px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.72;
}
a { color: #315f89; text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover, a:focus { color: #183f63; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; display: block; width: auto; height: auto; padding: .8rem 1rem;
  margin: .5rem; clip: auto; background: #fff; color: #111;
}
.site-header { background: #fff; border-bottom: 1px solid var(--hg-line); }
.site-header__inner {
  width: min(var(--hg-content), calc(100% - 2rem)); margin: auto; padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-brand img { display: block; width: min(358px, 72vw); }
.menu-toggle {
  display: none; border: 1px solid var(--hg-blue); border-radius: .35rem; background: #fff;
  color: var(--hg-blue); padding: .55rem .75rem; font: 600 .95rem Arial, sans-serif;
}
.primary-navigation { background: var(--hg-blue); }
.primary-navigation ul {
  width: min(var(--hg-content), calc(100% - 2rem)); margin: auto; padding: 0;
  display: flex; flex-wrap: wrap; list-style: none;
}
.primary-navigation a {
  display: block; padding: .78rem 1rem; color: #fff; font: 600 .95rem Arial, sans-serif;
  text-decoration: none;
}
.primary-navigation a:hover, .primary-navigation a:focus,
.primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a {
  background: #315f89; color: #fff;
}
.site-shell {
  width: min(var(--hg-content), calc(100% - 2rem)); margin: 2rem auto 3rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2.5rem;
}
.site-main, .site-sidebar {
  background: #fff; border: 1px solid #dce7ef; border-radius: .35rem; box-shadow: var(--hg-shadow);
}
.site-main { min-width: 0; padding: clamp(1.35rem, 4vw, 3rem); }
.site-sidebar { align-self: start; padding: 1.5rem; font-size: .96rem; }
.site-main h1, .site-main h2, .site-main h3, .site-main h4, .site-main h5, .site-main h6, .site-sidebar h2 {
  color: var(--hg-blue); font-weight: 400; line-height: 1.25;
}
.site-main h1 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 4vw, 2.55rem); }
.site-main h2 { margin-top: 2rem; font-size: 1.55rem; }
.site-main h3 { font-size: 1.22rem; }
.site-main h4 { margin-top: 1.65rem; font-size: 1.2rem; }
.site-main h5 { margin-top: 1.5rem; font-size: 1.1rem; }
.site-main h6 { margin-top: 1.4rem; font-size: 1rem; }
.site-main hr { border: 0; border-top: 1px solid var(--hg-line); margin: 2rem 0; }
.site-main .alignleft, .site-main .floatLeft { float: left; margin: .35rem 1.2rem .8rem 0; }
.site-main .alignright, .site-main .floatRight { float: right; margin: .35rem 0 .8rem 1.2rem; }
.site-main::after { content: ""; display: table; clear: both; }
.intro-quote { color: #425666; font-style: italic; font-size: 1.08rem; }
.sidebar-section + .sidebar-section { border-top: 1px solid var(--hg-line); margin-top: 1.35rem; padding-top: 1.35rem; }
.sidebar-section h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.sidebar-section ul { margin: .4rem 0 0; padding-left: 1.15rem; }
.clinic-card, .case-card {
  padding: 1.25rem; margin: 1.25rem 0; background: var(--hg-blue-pale);
  border-left: 4px solid var(--hg-blue-light); border-radius: .25rem;
}
.clinic-card h2, .case-card h2 { margin-top: 0; }
.phone-reveal { margin: 1.25rem 0; min-height: 3rem; }
.phone-reveal__button, .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .68rem 1rem;
  border: 0; border-radius: .3rem; background: var(--hg-blue); color: #fff;
  font: 700 1rem Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.phone-reveal__button:hover, .phone-reveal__button:focus { background: #315f89; color: #fff; }
.phone-reveal__result a { font: 700 1.08rem Arial, sans-serif; }
.hg-video-consent {
  margin: 1.5rem 0; padding: 1.25rem; text-align: center; background: var(--hg-blue-pale);
  border: 1px solid var(--hg-line); border-radius: .35rem;
}
.hg-video-consent p { margin: .75rem auto 0; max-width: 44rem; font: .9rem/1.5 Arial, sans-serif; }
.hg-video-consent__button {
  min-height: 44px; padding: .68rem 1rem; border: 0; border-radius: .3rem;
  background: var(--hg-blue); color: #fff; font: 700 1rem Arial, sans-serif; cursor: pointer;
}
.hg-video-consent__frame { position: relative; width: 100%; padding-top: 56.25%; }
.hg-video-consent__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-footer { border-top: 1px solid var(--hg-line); background: #f4f8fb; }
.site-footer__inner {
  width: min(var(--hg-content), calc(100% - 2rem)); margin: auto; padding: 1.5rem 0;
  color: var(--hg-muted); font: .9rem/1.6 Arial, sans-serif;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
}
.site-footer p { margin: 0; }
.entry-list { display: grid; gap: 1rem; }
.entry-list article { border-bottom: 1px solid var(--hg-line); padding-bottom: 1rem; }

@media (max-width: 800px) {
  .site-header__inner { align-items: flex-start; }
  .menu-toggle { display: inline-block; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; padding: .35rem 0; }
  .primary-navigation a { padding: .72rem 1rem; }
  .site-shell { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.25rem; }
  .site-sidebar { order: 2; }
  .site-main .alignleft, .site-main .alignright,
  .site-main .floatLeft, .site-main .floatRight { float: none; display: block; margin: 1rem auto; }
}

@media print {
  .menu-toggle, .primary-navigation, .site-sidebar, .phone-reveal__button { display: none !important; }
  .site-shell { display: block; width: 100%; margin: 0; }
  .site-main { border: 0; box-shadow: none; padding: 0; }
}
