/*
Theme Name: All Smiles Dental Care Restore
Theme URI: https://crystalhagan.com/
Author: Archive restoration
Description: Faithful restoration of the All Smiles Dental Care (Crystal Hagan DMD) website as published at crystalhagan.com, rebuilt as a WordPress block theme from Internet Archive captures of the ProSites litesite 2283 template (master era December 2021 to January 2022). Version 1.1 adds a redesigned header, homepage and footer (assets/css/redesign.css).
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allsmiles-restore
Tags: block-theme, one-column, custom-colors, custom-menu, full-site-editing
*/

/* ===========================================================
   Design tokens recovered from the original ProSites CSS
   (styles.prosites.com/litesite/2283/css/default.css,
    navigation.css, pagecontrols.css)
   =========================================================== */
:root {
  --as-plum: #735660;
  --as-plum-dark: #553843;
  --as-deep: #5A3944;
  --as-soft: #8B717A;
  --as-mauve: #BB7B9C;
  --as-heading: #4A313A;
  --as-muted: #8A6E78;
  --as-rule: #7f5e71;
  --as-body: #5D5050;
  --as-menu-bg: rgba(55,55,55,1);
  --as-bar: #86606C;
  --as-nav-h: 150px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--as-body);
  background: #fff;
  margin: 0;
  overflow-x: hidden;
}

body * { box-sizing: border-box; }

p { margin-bottom: 20px; line-height: 1.5; }

a { color: var(--as-deep); transition: all .35s; }
a:hover, a:focus { color: var(--as-soft); }

hr {
  max-width: 100%;
  border-color: rgba(115,86,96,.25);
  border-width: 1px 0 0;
  border-style: solid;
  margin: 24px 0;
}

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

.as-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===========================================================
   Header and navigation
   =========================================================== */
.as-header {
  position: relative;
  text-align: center;
  color: #fff;
}

.as-navbar {
  background-color: #fff;
  padding: 5px 0 0;
  width: 100%;
  z-index: 1030;
  transition: all .4s ease;
  border-bottom: 1px solid rgba(115,86,96,.08);
}

.as-navbar-inner {
  width: 100%;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Practice name block, replacing the original compTitle controls */
.as-brand { text-align: left; padding: 6px 0 10px; flex: 1 1 auto; }
.as-brand a { text-decoration: none; display: block; }
.as-brand .as-title1 {
  font-size: 230%;
  font-weight: 700;
  line-height: 35px;
  color: var(--as-deep);
  text-transform: uppercase;
}
.as-brand .as-title2 {
  font-size: 105%;
  font-weight: 700;
  line-height: 25px;
  color: var(--as-deep);
  text-transform: uppercase;
}
.as-brand .as-title3 {
  font-size: 180%;
  line-height: 35px;
  color: var(--as-muted);
}

/* Quick-action icons from the original menu-icons list */
.as-menu-icons {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  align-items: center;
  order: 2;
}
.as-menu-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--as-plum);
  text-decoration: none;
  transition: all .35s;
}
.as-menu-icons a:hover { background: var(--as-plum); color: #fff; }
.as-menu-icons svg { width: 20px; height: 20px; fill: currentColor; }

.as-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: 8px;
  order: 3;
}
.as-nav-toggle span {
  display: block;
  background-color: var(--as-bar);
  height: 4px;
  width: 24px;
  border-radius: 0;
  transition: all .35s;
}

/* Menu */
.as-menu-wrap { width: 100%; order: 4; }
.as-menu, .as-menu ul { list-style: none; margin: 0; padding: 0; }

.as-menu a {
  font-family: Montserrat,'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 13px 18px;
  transition: all .35s;
}

.as-menu .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  right: 4px;
  width: 34px;
  height: 34px;
  font: bold 16px/34px monospace;
  text-align: center;
  background: rgba(0,0,0,.3);
  border-radius: 4px;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

/* Mobile first: dark stacked panel, matching the original */
@media (max-width: 1280px) {
  .as-menu-wrap {
    display: none;
    background-color: #222;
  }
  .as-menu-wrap.is-open { display: block; }
  .as-menu li { position: relative; }
  .as-menu a { padding: 10px 20px; }
  .as-menu ul { display: none; background: var(--as-menu-bg); }
  .as-menu ul ul { background: var(--as-menu-bg); }
  .as-menu li.is-open > ul { display: block; }
  .as-menu ul > li > a { font-weight: 600; }
  .as-menu ul ul li > a { font-weight: 400; text-transform: none; }
  .as-menu > li > a:hover, .as-menu > li > a:active { background: var(--as-plum); }
}

/* Desktop: white bar, dark-plum links, hover dropdowns */
@media (min-width: 1281px) {
  .as-navbar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,.9);
    padding: 15px 10px 0;
  }
  body.as-has-fixed-nav { padding-top: var(--as-nav-h); }
  .as-nav-toggle { display: none; }
  .as-menu-wrap { display: block !important; background: transparent; }
  .as-menu { text-align: right; line-height: 18px; }
  .as-menu > li {
    display: inline-block;
    position: relative;
    text-align: left;
    margin-right: -4px;
  }
  .as-menu > li > a { color: var(--as-heading); padding: 13px 18px; }
  .as-menu > li > a:hover,
  .as-menu > li:hover > a { color: var(--as-plum); }
  .as-menu .sub-arrow { display: none; }

  .as-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--as-menu-bg);
    z-index: 100;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
  }
  .as-menu ul ul { top: 0; left: 100%; }
  .as-menu li:hover > ul,
  .as-menu li:focus-within > ul { display: block; }
  .as-menu ul li { position: relative; }
  .as-menu ul > li > a {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1.4px;
    padding: 12px 18px;
  }
  .as-menu ul ul > li > a { font-weight: 400; text-transform: none; letter-spacing: .6px; }
  .as-menu ul > li > a:hover { background: var(--as-plum); color: #fff; }
}

/* ===========================================================
   Home carousel
   =========================================================== */
.as-carousel { position: relative; overflow: hidden; }
.as-carousel .as-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.as-carousel .as-slide.is-active { position: relative; opacity: 1; }
.as-carousel .as-slide-bg {
  width: 100%;
  height: 78vh;
  min-height: 520px;
  max-height: 1002px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.as-carousel .as-slide-1 .as-slide-bg { background-image: url(assets/images/cover1.jpg); }
/* Slides 2 and 3 are attached by site.js after load, so the homepage does
   not fetch 1.2 MB of hero imagery before first paint. The no-JS fallback
   below still shows them. */
.as-carousel .as-slide-2 .as-slide-bg[data-bg] { background-image: none; }
.as-carousel .as-slide-3 .as-slide-bg[data-bg] { background-image: none; }

.as-carousel .as-slide-inner {
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 9;
  width: 100%;
  max-width: 1140px;
  padding: 0 15px;
}

.as-intro-tag {
  width: 65%;
  max-width: 550px;
  color: rgba(50,50,50,.9);
  padding-bottom: 50px;
  text-align: center;
}
.as-intro-lead-in {
  font: 400 20px 'Droid Serif',Georgia,serif;
  font-style: italic;
  line-height: 20px;
}
.as-intro-heading {
  text-transform: uppercase;
  font-family: 'Crimson Text',Georgia,serif;
  font-size: 50px;
  line-height: 50px;
}
.as-intro-heading:after {
  content: "";
  display: block;
  border-bottom: 3px solid var(--as-rule);
  padding-bottom: 30px;
  clear: both;
  width: 200px;
  margin: 0 auto;
}
.as-hero-phone {
  font-size: 22px;
  color: #fff;
  padding-top: 65px;
  text-align: center;
}
.as-hero-phone a { color: rgba(50,50,50,.9); text-decoration: none; font-weight: 600; }
.as-hero-phone a:hover { color: var(--as-plum); }

.as-carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  text-decoration: none;
  opacity: .6;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 12;
}
.as-carousel-control:hover { opacity: 1; color: #fff; }
.as-carousel-control.as-prev { left: 0; }
.as-carousel-control.as-next { right: 0; }

.as-scroll-down {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 34px;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
  z-index: 12;
  opacity: .85;
}
.as-scroll-down:hover { color: #fff; opacity: 1; }

.as-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 10%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 10;
}

@media (min-width: 992px) {
  .as-intro-lead-in { font-size: 30px; line-height: 40px; }
  .as-intro-heading { font-size: 80px; line-height: 80px; }
  .as-intro-tag { width: 600px; max-width: 100%; }
}

@media (max-width: 767px) {
  .as-carousel .as-slide-bg { height: 62vh; min-height: 420px; }
  .as-carousel .as-slide-inner { top: 26%; }
  .as-intro-tag { width: 100%; }
  .as-intro-heading { font-size: 36px; line-height: 38px; }
  .as-intro-lead-in { font-size: 18px; }
  .as-hero-phone { padding-top: 30px; font-size: 19px; }
  .as-carousel-control { width: 44px; font-size: 32px; }
}

/* ===========================================================
   Interior page banner
   =========================================================== */
.as-banner { position: relative; width: 100%; overflow: hidden; }
.as-banner img { display: block; width: 100%; height: auto; }
.as-interior-phone {
  font-size: 22px;
  color: #fff;
  text-align: center;
  background-color: var(--as-plum);
  padding: 10px 15px;
}
.as-interior-phone a { color: #fff; text-decoration: none; }
.as-interior-phone a:hover { color: #fff; text-decoration: underline; }
.as-interior-phone .as-ph-label { padding: 0 5px; }

@media (min-width: 768px) {
  .as-banner { max-height: 290px; }
  .as-banner img { min-width: 150%; left: 50%; position: relative; transform: translateX(-50%); }
}

/* ===========================================================
   Content sections
   =========================================================== */
.as-content {
  background: url(assets/images/cover-content.jpg) center top repeat;
  color: var(--as-body);
  padding: 100px 0;
  position: relative;
  width: 100%;
}

.as-section-heading {
  font-family: 'Montserrat',sans-serif;
  margin: 0 0 10px;
  text-align: center;
  font-size: 35px;
  line-height: 1.2;
  color: var(--as-plum);
  font-weight: 400;
}

.as-content-inner {
  max-width: 950px;
  margin: 0 auto;
}

.as-page-intro {
  display: block;
  text-align: center;
  font-family: 'Montserrat',sans-serif;
  font-size: 18px;
  color: var(--as-muted);
  margin-bottom: 26px;
}

.as-content h2,
.as-content h3,
.as-content h4 { font-family: 'Montserrat',sans-serif; color: var(--as-plum); font-weight: 400; }
.as-content h2 { font-size: 26px; margin: 28px 0 12px; }
.as-content h3 { font-size: 20px; margin: 22px 0 10px; }
.as-content ul, .as-content ol { margin: 0 0 20px; padding-left: 22px; }
.as-content li { margin-bottom: 8px; line-height: 1.5; }
.as-content img { max-width: 100%; height: auto; }

/* Related / child page lists, from the original .page-list and .child-list */
.as-child-list { margin-top: 30px; }
.as-child-list .as-related-label {
  font-family: 'Montserrat',sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  color: var(--as-muted);
  margin-bottom: 12px;
  display: block;
}
.as-child-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.as-child-list li { margin: 0; }
.as-child-list a {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(115,86,96,.3);
  border-radius: 50px;
  font-family: 'Montserrat',sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--as-plum);
  text-decoration: none;
}
.as-child-list a:hover { background: var(--as-plum); color: #fff; border-color: var(--as-plum); }

.as-page-list ul { list-style: none; padding-left: 0; }
.as-page-list ul ul { padding-left: 22px; }
.as-page-list > ul > li > a {
  font-family: 'Montserrat',sans-serif;
  font-size: 18px;
  color: var(--as-plum);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}
.as-page-list ul ul a { font-size: 15px; color: var(--as-deep); text-decoration: none; }
.as-page-list a:hover { text-decoration: underline; }

.as-back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 28px;
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  background-color: var(--as-plum);
  color: #fff;
  transition: all .35s;
}
.as-back-link:hover { background-color: var(--as-plum-dark); color: #fff; }

/* Link directory page */
.as-link-group { margin-bottom: 40px; }
.as-link-group h2 { margin-top: 0; }
.as-link-item { margin-bottom: 18px; }
.as-link-item h3 { margin: 0 0 4px; font-size: 18px; }

/* ===========================================================
   Buttons
   =========================================================== */
.as-btn, a.as-btn, button.as-btn, input.as-btn {
  display: inline-block;
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat',sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 16px 40px;
  background-color: var(--as-plum);
  color: #fff;
  cursor: pointer;
  transition: all .35s;
}
.as-btn:hover, a.as-btn:hover, button.as-btn:hover, input.as-btn:hover {
  background-color: var(--as-plum-dark);
  color: #fff;
}

/* ===========================================================
   Forms (contact and appointment request)
   =========================================================== */
.as-form-section {
  background: rgba(115,86,96,.05);
  padding: 0;
}
.as-form {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,.85);
  padding: 34px;
  border-radius: 6px;
}
.as-form .as-form-intro { text-align: center; margin-bottom: 24px; }
.as-field { margin-bottom: 16px; }
.as-field label {
  display: block;
  font-family: 'Montserrat',sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--as-plum);
  margin-bottom: 6px;
}
.as-field input[type=text],
.as-field input[type=email],
.as-field input[type=tel],
.as-field input[type=date],
.as-field select,
.as-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(115,86,96,.35);
  border-radius: 4px;
  font-family: 'Open Sans',Arial,sans-serif;
  font-size: 15px;
  color: var(--as-body);
  background: #fff;
}
.as-field input:focus,
.as-field select:focus,
.as-field textarea:focus {
  outline: none;
  border-color: var(--as-plum);
  box-shadow: 0 0 5px rgba(115,86,96,.4);
}
.as-field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.as-field-row .as-field { flex: 1 1 240px; }
.as-form-note { font-size: 13px; color: #777; margin-top: 14px; }

/* ===========================================================
   Address strip and footer
   =========================================================== */
.as-address {
  padding: 0;
  background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)), rgba(115,86,96,.12);
  text-align: center;
  width: 100%;
}
.as-address-inner { padding: 60px 15px; }
.as-address h2 { color: var(--as-plum); font-family: 'Montserrat',sans-serif; font-weight: 400; margin: 0 0 10px; font-size: 35px; }
.as-address ul { list-style: none; margin: 0; padding: 0; }
.as-address li { display: inline-block; padding: 0 6px; }
.as-address a { color: #7A5864; text-decoration: none; transition: all .35s; }
.as-address a:hover { color: var(--as-plum); text-decoration: underline; }
.as-address .as-admap { text-transform: uppercase; font-size: 95%; font-weight: bold; }
.as-address .as-adgrp1 { padding: 0 20px; border-left: 1px solid rgba(50,50,50,.4); border-right: 1px solid rgba(50,50,50,.4); }
@media (max-width: 991px) {
  .as-address li { display: block; padding: 3px 0; }
  .as-address .as-adgrp1 { border: 0; padding: 6px 0; display: block; }
}

.as-footer {
  background: #fff;
  padding: 30px 0;
  color: var(--as-plum);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.as-footer a { color: var(--as-soft); }
.as-footer .as-footer-inner { max-width: 900px; margin: 0 auto; padding: 0 15px; }

/* ===========================================================
   Scroll-to-top control
   =========================================================== */
.as-scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  line-height: 56px;
  font-size: 34px;
  text-align: center;
  background-color: rgba(0,0,0,.5);
  color: rgba(250,250,250,1);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: all .5s ease-in-out;
}
.as-scroll-top.is-visible { opacity: 1; visibility: visible; }
.as-scroll-top:hover { background-color: rgba(0,0,0,1); }

@media (max-width: 767px) {
  .as-content { padding: 60px 0; }
  .as-section-heading { font-size: 28px; }
  .as-address h2 { font-size: 28px; }
  .as-scroll-top { right: 15px; bottom: 15px; width: 46px; height: 46px; line-height: 42px; font-size: 26px; }
}

/* Keep recovered legacy markup from breaking the responsive layout */
.as-content table { max-width: 100%; }
.as-content [align=justify] { text-align: justify; }
.as-content img[align=left] { float: left; margin: 5px 18px 12px 0; }
.as-content img[align=right] { float: right; margin: 5px 0 12px 18px; }
@media (max-width: 600px) {
  .as-content img[align=left],
  .as-content img[align=right] { float: none; display: block; margin: 12px auto; }
  .as-content [align=justify] { text-align: left; }
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ===========================================================
   Homepage welcome copy
   The original set these two runs at font size 3 and 12px
   inside the content control; the sizes are preserved here.
   =========================================================== */
.as-home-lead { font-size: 16px; }
.as-home-small { font-size: 12px; line-height: 1.7; }
.as-home-signature { line-height: 1.7; }

/* ===========================================================
   Contact page office card
   =========================================================== */
.as-office-card {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(115,86,96,.2);
  border-radius: 6px;
  padding: 26px 28px;
  margin-bottom: 36px;
}
.as-office-card h2 { margin-top: 0; }
.as-office-card .address,
.as-office-card .numbers { line-height: 1.8; }
.as-office-card .numbers { margin-top: 12px; }
.as-office-card .as-btn { margin-top: 18px; }
.as-contact-form-wrap { margin-top: 10px; }
.as-form-intro { text-align: center; max-width: 620px; margin: 0 auto 24px; }

/* Checkbox groups on the appointment request form */
.as-checks { border: 1px solid rgba(115,86,96,.25); border-radius: 4px; padding: 14px 16px; }
.as-checks legend {
  font-family: 'Montserrat',sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--as-plum);
  padding: 0 6px;
}
.as-check {
  display: inline-block;
  margin: 4px 16px 4px 0;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--as-body);
}
.as-check input { margin-right: 6px; }

/* ===========================================================
   Links directory
   =========================================================== */
.as-links-intro { display: block; margin-bottom: 30px; }
.as-page-intro + .as-link-group { margin-top: 20px; }

/* ===========================================================
   CareCredit financing page
   The original stylesheet for this page did not survive in the
   archive or on the ProSites CDN, so the layout below is a
   reconstruction driven by the recovered markup and the site
   palette. Documented in RESTORATION-PROGRESS.md.
   =========================================================== */
.carecredit-financing-page { display: block; }
.carecredit-financing-page:after { content: ""; display: table; clear: both; }
.carecredit-banner {
  background: rgba(115,86,96,.08);
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}
.carecredit-banner .big-title {
  font-family: 'Montserrat',sans-serif;
  font-size: 26px;
  color: var(--as-plum);
  margin-bottom: 14px;
}
.carecredit-banner img { max-width: 300px; height: auto; }
.carecredit-banner hr { max-width: 220px; margin: 18px auto; }
.carecredit-banner .fa-play { display: none; }

.carecredit-sidebar { float: right; width: 40%; padding-left: 24px; }
.carecredit-sidebar a { display: block; margin-bottom: 18px; }
.carecredit-sidebar img { display: block; width: 100%; height: auto; border-radius: 4px; }
.carecredit-copy { float: left; width: 60%; }
.carecredit-copy h2 { margin-top: 0; }
.carecredit-copy small { font-size: 12px; color: #777; line-height: 1.6; display: block; }
.carecredit-video-container { clear: both; padding-top: 30px; }
.carecredit-video-container video { width: 100%; height: auto; border-radius: 4px; }

@media (max-width: 767px) {
  .carecredit-sidebar,
  .carecredit-copy { float: none; width: 100%; padding-left: 0; }
  .carecredit-sidebar { margin-top: 24px; }
  .carecredit-banner { padding: 22px 16px; }
}

/* Bootstrap grid remnants in recovered markup: keep them fluid */
.as-content .row { display: block; }
.as-content .row:after { content: ""; display: table; clear: both; }
.as-content [class*="col-md-"],
.as-content [class*="col-sm-"] { width: 100%; }

/* The address strip was present but empty in every capture; it is kept in the
   markup so the section order matches, and takes no vertical space. */
.as-address-empty { padding: 0; min-height: 0; background: none; }

/* The original separated these runs with double <br>, which read as a wider
   gap than a standard paragraph margin. */
.as-home-small { margin-bottom: 34px; }
.as-home-lead { margin-bottom: 30px; }

/* ===========================================================
   Two-column layouts from the original pages.
   These come after the generic Bootstrap-remnant reset above so
   they win on specificity, and collapse to one column on small
   screens.
   =========================================================== */
@media (min-width: 900px) {
  .as-content .carecredit-sidebar { float: right; width: 40%; padding-left: 24px; }
  .as-content .carecredit-copy    { float: left;  width: 60%; }

  /* Contact page: address card beside the quick contact form, as archived. */
  .as-contact-columns { display: flex; gap: 40px; align-items: flex-start; }
  .as-contact-columns .as-office-card { flex: 0 0 40%; margin-bottom: 0; }
  .as-contact-columns .as-contact-form-wrap { flex: 1 1 auto; }
  .as-contact-columns .as-form { margin: 0; }
  .as-contact-columns .as-form-intro { text-align: left; margin-left: 0; }
  .as-contact-columns .as-section-heading { text-align: left; }
}

/* ===========================================================
   Responsive header, ported from the original rules at
   max-width 1281px and max-width 480px.
   =========================================================== */
@media (max-width: 1281px) {
  .as-brand { padding-top: 5px; }
}
@media (max-width: 767px) {
  .as-brand .as-title1 { font-size: 175%; line-height: 30px; }
  .as-brand .as-title2 { font-size: 95%;  line-height: 22px; }
  .as-brand .as-title3 { font-size: 125%; line-height: 28px; }
}
@media (max-width: 480px) {
  .as-brand {
    padding-bottom: 10px;
    text-align: center;
    float: none;
    clear: both;
    flex: 1 1 100%;
    order: 1;
  }
  .as-brand .as-title1,
  .as-brand .as-title2 { font-size: 160%; line-height: 30px; }
  .as-brand .as-title3 { font-size: 110%; line-height: 27px; }
  .as-menu-icons { margin: 0 auto; order: 2; }
  .as-nav-toggle { order: 3; }
}

/* Nothing in the restored markup may push the page sideways. */
html, body { max-width: 100%; }
.as-content-inner,
.as-content img,
.as-content table,
.as-content pre { max-width: 100%; }
.as-content { overflow-wrap: break-word; }
.as-navbar-inner { max-width: 100%; }
.as-brand a { overflow-wrap: break-word; }
