/* Page-scoped layout based on the Emergency Dentistry service page. */
#content:has(.children-layout) { max-width: none; width: 100%; }
.children-layout { color: #373733; font-family: "Plus Jakarta Sans", sans-serif; font-size: 16px; line-height: 1.8; }
.children-layout .children-hero-wrap { padding: 0 30px; }
.children-layout .children-hero { min-height: 400px; padding: 80px 30px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(#22221fad, #22221fad), url('/wp-content/uploads/2017/09/AD-HygieneHall.jpg') center / cover; }
.children-layout .children-hero h1 { color: #fff; font-family: "Bickley Script", sans-serif; font-size: 60px; font-weight: 400; line-height: 1.2; text-align: center; margin: 0; }
.children-layout .children-hero-rule { width: 55%; height: 1px; background: #e7e7e2; margin-top: 10px; }
.children-layout .children-section { padding: 50px 30px; }
.children-layout .children-inner { max-width: 1300px; margin: 0 auto; }
.children-layout .children-muted { background: #e7e7e2; }
.children-layout h2, .children-layout h3, .children-layout h4 { font-family: "Plus Jakarta Sans", sans-serif; color: #22221f; font-weight: 500; line-height: 1.4; margin: 0 0 20px; }
.children-layout h2, .children-layout h3 { font-size: 30px; }
.children-layout h4 { font-size: 22px; }
.children-layout p { margin: 0 0 20px; }
.children-layout p:last-child { margin-bottom: 0; }
.children-layout .children-first-visit > *, .children-layout .children-cavity .children-inner > * { min-width: 0; }
.children-layout a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.children-layout a:hover { color: #74746b; }
.children-layout .children-overview .children-inner > p:first-child { display: flex; align-items: center; gap: 20px; font-family: "Bickley Script", sans-serif; font-size: 40px; line-height: 1.3; margin-bottom: 20px; }
.children-layout .children-overview .children-inner > p:first-child::after { content: ''; flex: 1; height: 1px; background: #373733; }
.children-layout .children-columns { columns: 2; column-gap: 40px; }
.children-layout .children-first-visit { padding: 25px; border-radius: 20px; background: #fff; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.children-layout .children-first-visit > p { grid-column: 1 / -1; display: flex; gap: 20px; }
.children-layout button[role="tab"] { background: #e7e7e2; color: #373733; border: 0; border-radius: 100px; padding: 14px 24px; font: 500 12px/1.6 "Plus Jakarta Sans", sans-serif; letter-spacing: 1px; text-transform: uppercase; width: 100%; cursor: default; }
.children-layout button[role="tab"] br { display: none; }
.children-layout ul { padding-left: 24px; margin: 0 0 20px; }
.children-layout li { padding-left: 4px; margin-bottom: 8px; }
.children-layout .children-cavity { padding-top: 0; }
.children-layout .children-cavity .children-inner { display: grid; grid-template-columns: 7fr 3fr; gap: 50px; align-items: start; }
.children-layout .children-card { background: #373733; color: #fff; border-radius: 20px; padding: 25px; }
.children-layout .children-card h2, .children-layout .children-card h4 { color: #fff; }
.children-layout .children-tips picture { display: block; margin-top: 20px; }
@media (max-width: 1024px) {
  .children-layout .children-section { padding: 30px; }
  .children-layout .children-hero { min-height: 300px; }
  .children-layout .children-hero h1 { font-size: 40px; }
  .children-layout .children-cavity .children-inner { grid-template-columns: 1fr; gap: 30px; }
  .children-layout .children-cavity { padding-top: 0; }
}
@media (max-width: 767px) {
  .children-layout { font-size: 15px; }
  .children-layout .children-hero-wrap { padding: 0 20px; }
  .children-layout .children-hero { padding: 20px; }
  .children-layout .children-hero h1 { font-size: 36px; }
  .children-layout .children-hero-rule { width: 100%; }
  .children-layout .children-section { padding: 20px; }
  .children-layout h2, .children-layout h3 { font-size: 25px; }
  .children-layout .children-columns { columns: 1; }
  .children-layout .children-first-visit { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .children-layout button[role="tab"] { white-space: normal; overflow-wrap: anywhere; }
  .children-layout .children-first-visit > p { flex-direction: column; }
  .children-layout .children-first-visit > p > br { display: none; }
  .children-layout .children-cavity { padding-top: 0; }
}
