/* =========================================================
   Chicago Dental Center - small overrides (safe to edit)
   Keep edits here instead of modifying the large theme CSS.
   ========================================================= */

/* Social icons (SVG) */
.widget-social-icons .social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.widget-social-icons .social-icons__img {
  width: 18px;
  height: 18px;
  display: block;
}

/* Office hours table on home page */
.office-hours-table {
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
  border-collapse: collapse;
}
.office-hours-table td {
  padding: 2px 4px;
  line-height: 1.2;
}

/* Center the Humana card image and make it responsive */
img.humana-card {
  display: block;
  margin: 12px auto 0;
  max-width: 100%;
  height: auto;
}

/* A little mobile polish for the sidebar widgets */
@media (max-width: 767px) {
  .office-hours-table td {
    font-size: 14px;
  }
}

/* --- Header/logo robustness (prevents odd peeking/overlap) --- */
.logo img {
  display: block;
}
.logo {
  background: #fff;
}

/* --- Contact page map embed --- */
.map-embed {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-actions {
  margin-top: 12px;
}
@media (max-width: 768px) {
  .map-embed { height: 280px; }
}



/* =========================
   Header address: make clickable without changing appearance
   ========================= */
.icon-box__maps-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.icon-box__maps-link:hover,
.icon-box__maps-link:focus{
  text-decoration:underline;
}

/* =========================
   Footer logo: center on all pages
   ========================= */
.footer-bottom__left{
  display:block !important;
  text-align:center;
  width:100%;
  margin:0 auto;
}
.footer-bottom__left img{
  display:inline-block;
  margin:0 auto;
}

/* ================================
   SMS Privacy Notice – centered & compliant
   ================================ */
.sms-privacy{
  max-width: 1100px;
  margin: 20px auto 0 auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
  padding: 0 16px;
}

/* ================================
   Micro-polish – small wins, low risk
   ================================ */
*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Tweak footer spacing consistency on small screens */
@media (max-width: 768px){
  .footer-bottom__container{ padding-left: 16px; padding-right: 16px; }
}
/* =====================================================
   WARM PROFESSIONAL POLISH
   (Delete this entire block to revert instantly)
   ===================================================== */

/* Global warmth without losing clinical clarity */
body {
  background-color: #fafafa;
}

/* Softer section rhythm */
section,
.section,
.content-container {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(32px, 5vw, 64px);
}

/* Typography: easier reading, calmer feel */
p,
li,
td {
  line-height: 1.65;
}

/* Headings: confident but not harsh */
h1, h2, h3, h4 {
  letter-spacing: 0.2px;
  margin-bottom: 0.6em;
}

/* Buttons: friendly but professional */
button,
.btn,
a.button {
  border-radius: 6px;
  transition: background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

/* Subtle hover feedback */
button:hover,
.btn:hover,
a.button:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Cards & content blocks */
.card,
.box,
.service-box {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Footer warmth without losing contrast */
footer {
  background-color: #f4f4f4;
}

/* Footer text clarity */
footer p,
footer li {
  line-height: 1.6;
}

/* SMS Privacy – centered, compliant, subtle */
.sms-privacy {
  max-width: 1100px;
  margin: 24px auto 0 auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

/* Images: ensure calm scaling */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility: visible but tasteful focus */
:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.5);
  outline-offset: 2px;
}

/* Mobile comfort */
@media (max-width: 768px) {
  section,
  .section,
  .content-container {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}
@media (max-width: 768px) {
  .hours-alert {
    margin: 10px 12px 14px 12px;
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* Footer logo – perfectly centered on all screens */
.footer-logo,
.footer-logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* If the logo sits inside a footer column */
footer .footer-logo,
footer .logo,
footer .logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
/* Mobile footer logo centering (override float/column layout) */
@media (max-width: 768px) {

  /* Center the whole footer bottom area */
  .footer-bottom,
  .footer-bottom .container {
    text-align: center !important;
  }

  /* If the footer is split into left/right blocks, un-float and center them */
  .footer-bottom__left,
  .footer-bottom__right {
    float: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Center the logo image itself */
  .footer-bottom__left img,
  .footer-bottom img {
    display: block !important;
    margin: 0 auto !important;
  }
}
