/* The David Burke Clinic – single stylesheet (mobile-first). Colours/sizes match the original 2010s design. */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: #353a3c;
  background: #a4a4a4 linear-gradient(#f0f0f0, #a7a7a7 998px, #a4a4a4 998px) no-repeat;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, "URW Gothic", "TeX Gyre Adventor", Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

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

a { color: #00e; }
a:visited { color: #551a8b; }

/* Page panel: white column with soft side shadow (was middlebg.png) */
.page {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 14px rgba(0, 0, 0, .45);
}

.site-header img { width: 100%; }

/* Main navigation (was menubg.jpg + hover.gif) */
.site-nav {
  background: linear-gradient(#5b6567, #0b0c0e 50px);
  font-size: 14px;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { flex: 1 1 auto; border-right: 1px solid #a4a4a4; border-bottom: 1px solid #a4a4a4; }
.site-nav a {
  position: relative;
  display: block;
  padding: 0 10px;
  line-height: 43px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus-visible { background: #000; color: #fff; }
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top: 0;
  border-bottom-color: #a4a4a4;
}

.content { padding: 20px 16px; }
.content::after { content: ""; display: block; clear: both; }

h1 { margin: 0 0 10px; font-size: 1.6em; font-weight: normal; }
h2 { margin: 0 0 10px; font-size: 1em; font-weight: bold; }
p  { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-left: 2em; }

.float-right { display: block; margin: 0 auto 16px; max-width: 250px; }

.map { position: relative; width: 100%; aspect-ratio: 2 / 1; min-height: 260px; margin-bottom: 4px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer { height: 0; }

@media (min-width: 600px) {
  .site-nav { font-size: 15px; }
  .site-nav li { flex: 0 0 auto; border-bottom: 0; }
  .site-nav a { padding: 0 15px; }
  .content { padding: 30px; }
  h1 { font-size: 2em; }
  .float-right { float: right; margin: 0 0 10px 20px; }
}
