/* ============================================================
   Dental Emergency Services — Static Site Stylesheet
   Faithful reproduction of the original Weebly theme
   with E-E-A-T semantic enhancements
   ============================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
body,
html,
p,
blockquote,
fieldset,
input {
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

/* Semantic element resets */
header,
nav,
main,
article,
section,
footer,
aside {
  display: block;
}

body {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  color: #868686;
  background: #fafafa;
}

a {
  color: #6ca9d5;
  text-decoration: none;
}

a:hover {
  color: #90cbf5;
}

/* --- Heading hierarchy --- */
h1 {
  font-size: 2em;
  padding: .3em 0;
  line-height: 1.2;
  font-family: "Actor", "Myriad Pro", Arial, Helvetica, sans-serif;
}

h2 {
  font-size: 1.7em;
  padding: .3em 0;
  line-height: 1.2;
  font-family: "Actor", "Myriad Pro", Arial, Helvetica, sans-serif;
}

h3 {
  font-size: 1.3em;
  padding: .2em 0;
  line-height: 1.3;
  font-family: "Actor", "Myriad Pro", Arial, Helvetica, sans-serif;
}

p,
.paragraph {
  font-size: 1em;
  line-height: 1.5;
  padding: .5em 0;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #90cbf5;
  margin: 10px 0;
  padding-left: 20px;
  line-height: 1.5;
  color: #aaa;
}

/* --- Layout Container --- */
.page {
  margin: 0 auto;
  width: 900px;
  max-width: 100%;
  padding: 0 15px;
}

/* --- Header --- */
.site-header {
  background: #fff;
  min-width: 320px;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  width: 100%;
}

.site-header .logo a {
  font-size: 36px;
  color: #90cbf5;
  font-weight: normal;
  font-family: "Actor", Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.site-header .logo a:hover {
  color: #90cbf5;
}

/* --- Site Title Override (red) --- */
.site-title {
  color: #CC0000 !important;
  font-size: 50px;
}

/* --- Navigation --- */
.site-nav {
  clear: both;
  overflow: hidden;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.site-nav ul li {
  list-style: none;
  padding: 0 2px 0 0;
}

.site-nav a {
  display: block;
  color: #545454;
  text-decoration: none;
  font-family: "Actor", "Myriad Pro", Arial, Helvetica, sans-serif;
  padding: 10px 15px 11px;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1;
  border: 0;
  outline: 0;
}

.site-nav li.active a,
.site-nav a:hover {
  color: #545454;
  background: #e3f3ff;
}

/* --- Banner (Home landing page) --- */
#banner-wrap {
  border-bottom: 1px solid #d4d4d4;
  border-top: 1px solid #d4d4d4;
  background: #f6f6f6;
  min-width: 320px;
}

.banner-container {
  width: 920px;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 10px;
}

.banner-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left side: header image */
.banner-left {
  flex: 0 0 504px;
  max-width: 100%;
}

.banner-image {
  width: 100%;
  min-height: 360px;
  border: 6px solid #fff;
  background: #fff url('landing.jpg') center / contain no-repeat;
}

/* Right side: headline + call to action */
.banner-right {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 25px;
}

.banner-right h2 {
  color: #2a2a2a;
  font-size: 32px;
  padding: 0;
  line-height: 32px;
}

.banner-right .banner-text {
  color: #868686;
  font-size: 1.1em;
  padding: 20px 0;
  line-height: 140%;
  margin: 0;
}

/* Button styles */
.btn {
  display: inline-block;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  padding: 10px 25px;
  background: #6ca9d5;
  border: none;
  border-radius: 3px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #90cbf5;
  color: #fff !important;
}

/* --- No-header pages (self-help, map) --- */
.no-header #banner-wrap {
  padding: 8px 0;
  border-bottom: 1px solid #d4d4d4;
  border-top: 1px solid #d4d4d4;
}

/* --- Main Content --- */
#main-wrap {
  background: #fff;
  min-width: 320px;
}

#content {
  min-height: 400px;
  padding: 30px 0;
}

#content h1 {
  color: #CC0000;
  font-size: 30px;
}

#content h2 {
  color: #CC0000;
  font-size: 26px;
}

#content h3 {
  color: #545454;
  font-size: 16px;
}

#content .paragraph,
#content p {
  color: #868686;
}

/* --- Emergency CTA Callout --- */
.emergency-cta {
  background: #fef2f2;
  border: 2px solid #CC0000;
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 25px;
  text-align: center;
}

.emergency-cta p {
  color: #545454;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.emergency-cta a {
  color: #CC0000;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.emergency-cta a:hover {
  text-decoration: underline;
}

/* --- Author byline & review date --- */
.article-meta {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.article-meta .byline {
  color: #545454;
  font-size: 14px;
  padding: 2px 0;
}

.article-meta .review-date {
  color: #999;
  font-size: 12px;
  font-style: italic;
  padding: 2px 0;
}

/* --- Self-help article styling --- */
.self-help-content {
  text-align: left;
}

#content .self-help-content h1 {
  color: #a82e2e;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 5px;
}

#content .self-help-content h2 {
  color: #8d2424;
  font-size: 20px;
  font-weight: bold;
  margin-top: 25px;
}

#content .self-help-content h3 {
  color: #545454;
  font-size: 15px;
  font-weight: bold;
  font-style: italic;
  margin-top: 8px;
}

/* --- ER Warning Callout --- */
.warning-callout {
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  border-radius: 0 4px 4px 0;
  padding: 15px 20px;
  margin: 25px 0;
}

.warning-callout p {
  color: #545454;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/* --- Contact Section (home page) --- */
.contact-section {
  text-align: left;
}

.contact-section h1 {
  margin-bottom: 10px;
}

.contact-section .phone-number {
  font-size: 28px;
  font-family: "Actor", Arial, Helvetica, sans-serif;
  color: #CC0000;
  margin: 10px 0;
}

.contact-section .phone-number a {
  color: #CC0000;
  text-decoration: none;
}

.contact-section .phone-number a:hover {
  text-decoration: underline;
}

.contact-section address {
  font-style: normal;
  font-size: 18px;
  color: #545454;
  font-family: "Actor", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 5px 0 20px;
}

.contact-section .expertise-note {
  color: #868686;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

/* --- Map page --- */
.map-embed {
  width: 100%;
  height: 600px;
  margin: 10px 0;
  border: none;
}

#content .address-heading {
  text-align: center;
  color: #ba0b0b;
  font-size: 28px;
}

.location-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.location-details .detail-col {
  flex: 1 1 200px;
}

.location-details h2 {
  font-size: 16px;
  color: #414141;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.location-details p,
.location-details address {
  font-style: normal;
  color: #868686;
  line-height: 1.7;
}

.location-details a {
  color: #CC0000;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #dedede;
  background: #fafafa;
  min-width: 320px;
}

.site-footer .footer-inner {
  padding: 30px 0 35px;
  font-size: 12px;
  color: #888;
  font-family: Arial, sans-serif;
  text-align: center;
}

.site-footer .footer-inner p {
  color: #888;
  line-height: 1.6;
}

.site-footer .footer-credentials {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
}

.site-footer .footer-address {
  font-style: normal;
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
}

.site-footer .footer-address a {
  color: #6ca9d5;
}

.site-footer .medical-disclaimer {
  font-size: 11px;
  color: #aaa;
  max-width: 700px;
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
  line-height: 1.5;
}

.site-footer .copyright {
  margin-top: 8px;
  font-size: 11px;
  color: #aaa;
}

/* --- Responsive --- */
@media screen and (max-width: 920px) {
  .page {
    width: 100%;
  }

  .banner-container {
    width: 100%;
  }

  .site-header .header-inner {
    padding: 0 10px;
  }

  .banner-left {
    flex: 1 1 100%;
  }

  .banner-right {
    flex: 1 1 100%;
    padding: 15px 0;
  }

  .banner-right h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .banner-image {
    min-height: 150px;
  }
}

@media screen and (max-width: 600px) {
  .site-title {
    font-size: 28px !important;
  }

  .site-header .header-inner {
    height: auto;
    flex-direction: column;
    padding: 15px 10px;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 8px 15px;
  }

  .map-embed {
    height: 400px;
  }

  .location-details {
    flex-direction: column;
    gap: 20px;
  }
}