/*
Theme Name: Crownpoint
Description: The Crown Point Orthodontics practice theme.
Version: 1.5.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: crownpoint
*/
@font-face {
    font-family: Poppins;
    src: url(assets/Poppins-Light.ttf) format('truetype');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: Poppins;
    src: url(assets/Poppins-Regular.ttf) format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Poppins;
    src: url(assets/Poppins-Medium.ttf) format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Poppins;
    src: url(assets/Poppins-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Poppins;
    src: url(assets/Poppins-Bold.ttf) format('truetype');
    font-weight: 700 900;
    font-display: swap;
}
:root {
    --gold: #967c59;
    --ink: #222429;
    --frame: 1246px;
}
* {
    box-sizing: border-box;
}
body,
.editor-styles-wrapper {
    margin: 0;
    color: #444;
    font:
        400 14px/1.8 Poppins,
        Arial,
        sans-serif;
}
a {
    color: #806743;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #156aa3;
    outline-offset: 3px;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
button,
input,
select,
textarea {
    font: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    line-height: 1.18;
    margin: 0 0 0.55em;
    font-weight: 600;
}
h1 {
    font-size: clamp(32px, 4.3vw, 50px);
}
h2 {
    font-size: clamp(27px, 3vw, 38px);
}
h3 {
    font-size: clamp(22px, 2.4vw, 28px);
}
h4 {
    font-size: 22px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 15px;
}
p {
    margin: 0 0 1em;
}
figure {
    margin: 0;
}
ul,
ol {
    padding-left: 1.55em;
}
.cp-frame,
.cp-inner {
    width: min(100%, var(--frame));
    margin-inline: auto;
    padding-inline: 15px;
}
.cp-skip {
    position: absolute;
    left: 1em;
    top: -10em;
    background: white;
    padding: 8px;
    z-index: 12;
}
.cp-skip:focus {
    top: 1em;
}
body,
.cp-header {
    background: #fff;
}
.cp-notice {
    overflow-x: clip;
}
#topBanner {
    padding: 1em;
    border-bottom: 1px solid #dcdcdc;
    background: #0067ac;
    color: white;
    text-align: center;
    font: 700 14pt/25px Poppins, Helvetica, Arial, sans-serif;
    animation: bouncy 3s 3;
}
@keyframes bouncy {
    from { transform: scale(0.3); }
    35% { transform: scale(1.2); }
    50% { transform: scale(0.7); }
    65% { transform: scale(1.1); }
    80% { transform: scale(0.9); }
    to { transform: scale(1); }
}
.cp-utility {
    background: #dcdcdc;
}
.cp-contact-row {
    display: grid;
    grid-template-columns: 48% 24% 1fr;
    align-items: center;
    min-height: 84px;
    padding-inline: 26px;
}
.cp-office-contact a,
.cp-networks a,
.cp-menu a {
    display: flex;
    align-items: center;
    color: inherit;
}
.cp-office-contact {
    font: 700 12px/1.4 Poppins, Arial, sans-serif;
    letter-spacing: 1px;
}
.cp-office-contact a {
    gap: 4px;
    min-height: 32px;
}
.cp-office-contact a[href^="tel"] {
    padding-left: 6px;
    font-size: 18px;
    letter-spacing: 0.6px;
}
.cp-office-contact a::before,
.cp-networks a::before {
    content: '';
    flex: none;
    width: 17px;
    height: 17px;
    background: url(assets/header-icons.svg) 0 center / 400% 100% no-repeat;
}
.cp-office-contact a[href^="tel"]::before {
    background-position-x: 33.3333%;
}
.cp-provider {
    justify-self: center;
}
.cp-provider img {
    width: clamp(105px, 30vw, 190px);
}
.cp-networks {
    display: flex;
    justify-self: end;
}
.cp-networks a,
.cp-promos,
.cp-center .wp-block-buttons,
.wp-block-buttons.cp-center {
    justify-content: center;
}
.cp-networks a::before {
    background-position-x: 66.6667%;
}
.cp-networks a:last-child::before {
    background-position-x: 100%;
}
.cp-promos {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid #ffffff45;
    font: 700 clamp(14px, 2vw, 16px)/25px Poppins, Arial, sans-serif;
    text-align: center;
}
.cp-promos a {
    padding: 10px clamp(8px, 3.5vw, 50px);
    color: white;
}
.cp-utility,
.cp-promos span,
.cp-header {
    color: var(--gold);
}
.cp-header {
    position: relative;
    z-index: 5;
}
.cp-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: clamp(72px, 8.34vw, 100px);
    padding-inline: clamp(16px, 2.5vw, 30px);
}
.cp-logo img,
.custom-logo-link img {
    width: clamp(150px, 17vw, 200px);
}
.cp-menu,
.cp-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cp-menu li {
    position: relative;
}
.cp-menu a {
    min-height: 44px;
    padding: 0 10px;
    font-weight: 600;
    text-transform: uppercase;
}
.cp-networks a,
.cp-menu button,
.cp-menu-button,
#cp-drawer > button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.cp-menu button,
.cp-menu-button {
    display: none;
}
@media (min-width: 1200px) {
    .cp-below-hero .cp-header {
        position: sticky;
        top: var(--wp-admin--admin-bar--height, 0px);
    }
    .cp-menu {
        display: flex;
        font-size: 13px;
        letter-spacing: -0.7px;
    }
    .cp-menu > li > a {
        min-height: 100px;
    }
    .cp-menu ul {
        position: absolute;
        min-width: 200px;
        background: #f5f5f5;
        color: #626262;
    }
    .cp-menu > li:last-child ul {
        right: 0;
    }
    .cp-menu ul ul {
        left: 100%;
        top: 0;
    }
    .cp-menu li:not(:hover, :focus-within) > ul,
    .cp-menu .cp-dismissed > ul {
        display: none;
    }
}
.cp-section,
.cp-band {
    clear: both;
    position: relative;
}
.cp-section .wp-block-columns {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin: 0;
}
.cp-section .wp-block-column {
    min-width: 0;
    flex: 1 1 0;
}
.cp-section .wp-block-group,
.cp-section .wp-block-column > * {
    margin-block-start: 0;
}
.cp-full > .cp-inner {
    max-width: none;
    width: 100%;
    padding: 0;
}
.cp-full > .cp-inner > .wp-block-columns,
.home .cp-inner > .wp-block-columns {
    gap: 0;
}
.cp-dark,
.cp-gold,
.cp-backdrop {
    color: #fff;
}
.cp-dark {
    background: var(--ink);
}
.cp-gold,
.cp-hours-panel {
    background: var(--gold);
}
.cp-dark :is(h1, h2, h3, h4, h5, h6),
.cp-gold :is(h1, h2, h3, h4, h5, h6),
.cp-hours-panel :is(h1, h2, h3, h4, h5, h6),
.cp-backdrop :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
}
.cp-backdrop {
    background: #615a52 center / cover;
    text-align: center;
}
.cp-backdrop > .cp-inner {
    position: relative;
}
.cp-backdrop > .cp-background,
.cp-hero .cp-slide > figure {
    position: absolute;
    inset: 0;
    margin: 0;
}
.cp-masthead {
    padding-block: 220px 180px;
    min-height: calc(400px + 1.14em);
    background-color: #384852;
    color: white;
    font-size: 70px;
}
.cp-masthead h2 {
    margin: 0;
    color: inherit;
    font: 700 1em/1.14 Poppins, sans-serif;
    text-shadow: .1em .1em .2em black;
}
.page:not(.home) .cp-inner, .cp-articles { max-width: 1216px; }
.page:not(.home) .cp-section-title {
    font: 500 25px/1 Poppins, sans-serif;
    letter-spacing: -1px;
    text-align: left;
    text-transform: uppercase;
}
.page:not(.home) .cp-section-title:after { margin: 14px 0 32px; }
.page:not(.home) .cp-section h1:not(.cp-section-title) { font-size: clamp(34px, 7vw, 50px); }
.page:not(.home) .cp-section:not(.cp-masthead) h2:not(.cp-section-title) {
    font-size: clamp(29px, 5vw, 36px);
    font-weight: 300;
}
.page:not(.home) .cp-center .wp-block-buttons { justify-content: center; }
.cp-center,
.has-text-align-center {
    text-align: center;
}
.has-text-align-right {
    text-align: right;
}
.cp-uppercase {
    text-transform: uppercase;
}
.cp-eyebrow {
    font: 400 16px/1.3 Poppins, sans-serif;
    margin-bottom: 4px;
}
.home .cp-inner:has(.cp-eyebrow) {
    padding-bottom: 35px;
}
.cp-eyebrow + h1 {
    font-size: clamp(35px, 6vw, 50px);
    margin-bottom: 35px;
}
.home .cp-inner:has(.cp-eyebrow) p, .home .cp-card p { margin-bottom: 20px; }
.home .cp-inner h4 { font-size: 24px; }
.cp-title {
    color: var(--ink);
    font-weight: 300;
}
.cp-title.cp-center { font-family: fantasy; text-shadow: 2px 2px 2px #777; }
.cp-section-title {
    text-align: center;
    font-weight: 400;
    margin: 0 0 0.6em;
}
.cp-section-title:after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto;
}
.home .cp-section-title {
    font: 300 32px/1 Poppins, sans-serif;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin: 10px 0 35px;
}
.home .cp-inner :is(h1,h2,h3,h4) strong { font-weight: 700; }
:is(.home, .page-id-9826) .cp-section-title::after {
    width: 140px;
    height: 18px;
    margin: 16px auto 0;
    background: url(assets/heading-accent.svg) center / contain no-repeat;
}
.home .cp-section-title + p {
    max-width: 762px;
    margin-inline: auto;
}
.home .cp-inner:has(.cp-section-title),
.home .cp-center > .cp-inner {
    padding-inline: clamp(25px, 3vw, 30px);
}
@media (min-width: 768px) and (max-width: 781px) {
    .home .cp-section .wp-block-columns { flex-wrap: nowrap !important; }
}
.wp-block-image img {
    vertical-align: middle;
}
.wp-block-image.aligncenter,
.wp-block-image .aligncenter,
.cp-image-center {
    text-align: center;
    margin-inline: auto;
}
.cp-circle img {
    border-radius: 50%;
    width: min(100%, 274px);
    aspect-ratio: 1;
    object-fit: cover;
}
.cp-card {
    text-align: center;
    padding: 12px 18px 28px;
}
.cp-card figure img {
    max-width: 90px;
    margin-bottom: 18px;
}
.cp-card h3 {
    font-size: 20px;
    color: var(--gold);
}
.page:not(.home) .cp-card { border: 1px solid #ddd; border-top: 3px solid var(--gold); }
.home .cp-card {
    color: #333;
    padding: 20px 18px;
}
.home .cp-card figure img {
    width: 88px;
    height: 88px;
    margin: 0;
}
.home .cp-card:not(:has(figure)) { padding-top: 45px; }
.home .cp-card h3 {
    font: 300 21px/1.48 Poppins, sans-serif;
    margin-bottom: 10px;
}
.home .cp-card:not(:has(figure)) h3 { color: #67a4d5; }
.cp-card h3 a { color: inherit; }
.home .cp-gold h3 {
    font: 300 28px/1.2 Poppins, sans-serif;
    margin-bottom: 8px;
}
.home .cp-gold h3 strong { display: block; }
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0;
}
.wp-block-button__link,
.cp-submit {
    display: inline-block;
    border-radius: 3px;
    background: var(--gold);
    color: white;
    border: 2px solid transparent;
    padding: 12px 24px;
    text-align: center;
    font:
        600 13px/1.5 Poppins,
        sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}
.cp-outline .wp-block-button__link {
    color: inherit;
    border-color: currentColor;
    background: transparent;
}
.home .cp-outline .wp-block-button__link {
    font: 600 12px/1 Poppins, sans-serif;
    letter-spacing: 2px;
    padding: 16px 19px 14px;
}
.cp-appointment-request .wp-block-button__link {
    background: transparent;
    border: 0;
    color: inherit;
    text-decoration: underline;
    text-transform: none;
    letter-spacing: normal;
}
.cp-light .wp-block-button__link {
    background: #fff;
    color: #312e2b;
}
.cp-hours-panel {
    color: #fff;
    padding: 32px;
}
.cp-sidebar .wp-block-button, .cp-sidebar .wp-block-button__link { width: 100%; }
.cp-sidebar .wp-block-button__link {
    padding: 18px;
    border-radius: 0;
    background: var(--gold);
    color: white;
    font: 500 18px/1.3 Poppins, sans-serif;
    text-transform: none;
}
.cp-office-card {
    margin-block: 24px;
    padding: 16px;
    border: 8px solid var(--gold);
    border-radius: 22px;
    background: #f7f7f2;
    color: #222;
}
.cp-office-card h3 { color: var(--gold); text-align: center; font-size: clamp(24px, 2.6vw, 37px); }
.cp-hours {
    margin: 0;
}
.cp-hours div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px dotted #777;
    padding: 13px 0;
}
.cp-hours dd {
    margin: 0;
}
.cp-office-card .cp-hours div { flex-wrap: wrap; padding: 5px 0; border-color: #ccc; }
.cp-office-card dt { font-weight: 600; }
.cp-stars {
    color: #bd8617;
    letter-spacing: 0.12em;
}
.cp-carousel {
    position: relative;
    isolation: isolate;
}
.cp-carousel .cp-slide {
    position: relative;
    margin: 0;
}
.cp-carousel .cp-slide[hidden] {
    display: none !important;
}
.cp-hero:has(.cp-controls) {
    display: grid;
    overflow: clip;
}
.cp-carousel .cp-slide[inert] {
    visibility: hidden;
}
.cp-hero .cp-slide {
    display: grid;
    grid-area: 1 / 1;
    grid-template-rows: minmax(0, 1fr) [headline] auto [ribbon] minmax(min-content, 1fr);
    min-height: 100vh;
    padding: clamp(6px, 2vh, 20px) max(46px, 6%);
    color: #121212;
}
.cp-background img,
.cp-office-gallery .cp-slide > figure,
.cp-hero .cp-slide img,
.cp-office-gallery .cp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cp-hero .cp-caption,
.cp-hero .cp-tagline {
    position: relative;
    font-family: Arial, sans-serif;
}
.cp-hero .cp-caption {
    grid-row: headline;
    align-self: center;
    max-width: max(50%, 160px);
}
.cp-hero .cp-caption span[aria-hidden="true"] {
    display: inline-flex;
}
.cp-hero .cp-slide:nth-child(2) .cp-caption {
    justify-self: end;
}
.cp-hero .cp-caption p {
    font-size: clamp(19px, 3.8vw, 55px);
    line-height: 1.1;
    margin: 0 0 0.15em;
}
.cp-caption strong {
    color: var(--gold);
}
.cp-hero .cp-caption p + p {
    font-size: clamp(13px, 2vw, 32px);
}
.cp-hero .cp-tagline {
    grid-row: ribbon;
    align-self: end;
    margin: 0 auto;
    padding: clamp(4px, .7vw, 10px) clamp(5px, 1vw, 15px);
    border-radius: 25px;
    text-wrap: balance;
    background: linear-gradient(to right, transparent, #ab9571 50% 51%, transparent);
    text-align: center;
    color: white;
    text-shadow: 0 1px 5px #222;
    font: 700 clamp(13px, 1.8vw, 26px)/1.4 Arial, sans-serif;
}
.cp-practice-map {
    display: block;
    border: 0;
    width: 100%;
    height: 450px;
}
.cp-office-gallery .cp-slide {
    aspect-ratio: 1.9;
    background: #eee;
}
.cp-review {
    color: #444;
    background: #f6f5f2;
    padding: 35px 30px 58px;
    text-align: center;
}
.cp-review .cp-slide > p:last-child {
    font-weight: 600;
}
.cp-sidebar .cp-review { padding: 20px 14px 48px; border: 8px solid var(--gold); background: white; color: #222; }
.cp-sidebar .cp-slide { display: flex; flex-direction: column; align-items: center; }
.cp-sidebar .cp-slide p:last-child { order: -1; }
.cp-sidebar .cp-slide::after { content: url(assets/stars.png); filter: grayscale(1); opacity: .55; }
.cp-sidebar .cp-controls button { background: #f4f2ee; color: #5e503e; }
.home .cp-review {
    --quotes: 3;
    display: grid;
    grid-template-columns: repeat(var(--quotes), minmax(0, 1fr));
    padding: 10px 40px 0;
    background: white;
}
.home .cp-review .cp-slide { padding-inline: clamp(10px, 2vw, 25px); }
.home .cp-review .cp-slide p:last-child {
    font: 600 15px/1.2 Poppins, sans-serif;
    margin-bottom: 3px;
}
.home .cp-review .cp-slide p:first-child {
    font-size: clamp(12px, calc(11px + .27vw), 14px);
    margin: 30px 0 18px;
    padding: 30px;
    border: 1px solid #eaeaea;
    color: #808080;
    background: white url(assets/stars.png) center bottom / auto 29px no-repeat;
}
@media (max-width: 1200px) {
    .home .cp-review { --quotes: 2; }
}
@media (max-width: 768px) {
    .home .cp-review { --quotes: 1; }
}
.cp-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.cp-controls button {
    border: 0;
    border-radius: 3px;
    background: #222d;
    color: white;
    min-width: var(--control-size, 36px);
    min-height: var(--control-size, 34px);
    cursor: pointer;
    font:
        600 17px Arial,
        sans-serif;
}
.cp-hero .cp-controls,
.home .cp-review .cp-controls {
    --control-size: 44px;
    inset: 0;
    transform: none;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.cp-hero .cp-controls button,
.home .cp-review .cp-controls button {
    pointer-events: auto;
    outline-offset: -4px;
    background: transparent;
    text-shadow: 0 1px 3px #222, 0 0 2px #222;
    font: 400 38px/1 Arial, sans-serif;
}
.home .cp-review .cp-controls[hidden] { display: none; }
.home .cp-review .cp-controls button {
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #777;
    font-size: 24px;
    text-shadow: none;
}
.cp-hero .cp-controls button:nth-child(2) {
    position: absolute;
    inset: auto 0 0 auto;
    font-size: 18px;
}
.cp-footer {
    background: var(--ink);
    color: #fff;
    padding-top: 58px;
}
.cp-footer a {
    color: #aaa;
}
.cp-footer h2 {
    color: var(--gold);
    font: 700 15px/1.5 Poppins, sans-serif;
    text-transform: uppercase;
    border-bottom: 2px solid #44464b;
    padding-bottom: 10px;
    margin: 0 0 25px;
}
.cp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 0 30px 45px;
}
.cp-footer .cp-networks {
    justify-self: start;
    filter: grayscale(1);
}
.cp-footer .cp-hours div + div { text-transform: uppercase; }
.cp-recent {
    padding-block: 10px;
    border-bottom: 1px solid #44464b;
}
.cp-recent time {
    display: block;
    font-size: 12px;
    color: #aaa;
}
.cp-copyright {
    background: #25272d;
    font-size: 12px;
    padding: 34px max(30px, calc((100% - var(--frame)) / 2 + 30px));
}
.cp-page-tools a {
    position: fixed;
    z-index: 4;
}
body:not(.cp-below-hero) .cp-page-tools, .cp-call { display: none; }
.cp-return {
    inset: auto 32px 48px auto;
    padding: 4px 9px 0;
    border-radius: 4px;
    background: #818c90;
    color: white;
    font-size: 22px;
}
@media (max-width: 650px) {
    .cp-call {
        display: block;
        inset: auto auto 15px 20px;
        width: 65px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: var(--gold) url(assets/call.svg) center / 50px no-repeat;
    }
}
.cp-headline {
    margin: 0;
    padding: 30px 18px;
    background: #fafafa;
    border-block: 1px solid #eee;
    font: 600 clamp(25px, 5vw, 33px)/1.2 Poppins, sans-serif;
    text-align: center;
    text-transform: uppercase;
}
.cp-articles { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 30px; padding-block: 40px; }
.cp-post-summary {
    display: flex;
    gap: 26px;
    margin: 32px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 25px;
}
.cp-post-summary > a {
    flex: 0 0 40%;
}
.cp-post-summary h2 {
    font: 500 22px/1.4 Poppins, sans-serif;
}
.cp-post-summary img, .cp-related img { width: 100%; }
.cp-post-summary img { aspect-ratio: 1.68; object-fit: cover; }
.cp-post-summary h2 a, .page:not(.home) .cp-card h3 { color: var(--ink); }
.cp-read {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #dfdbd4;
    font: 600 11px/1.4 Poppins, sans-serif;
    text-transform: uppercase;
}
.cp-article h1 { font-size: clamp(20px, 2.2vw, 34px); }
.cp-article .cp-post-meta { padding: 12px 18px; background: #f3f3f3; }
.cp-article > img { margin-block: 12px 20px; }
.cp-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cp-related time, .cp-post-meta { display: block; font-size: 13px; color: #626262; }
.cp-post-sidebar h3 { margin-block: 26px 12px; font-size: 18px; }
.cp-post-sidebar li { display: flow-root; padding-block: 10px; border-bottom: 1px solid #eee; }
.cp-post-sidebar .wp-block-latest-posts__featured-image img { width: 65px; aspect-ratio: 1; object-fit: cover; }
.cp-post-sidebar .wp-block-search__input { min-width: 0; }
.cp-post-sidebar .wp-block-search__label.screen-reader-text { width: 1px; }
.cp-mobile-only {
    display: none;
}
@media (max-width: 1199px) {
    .cp-bar {
        flex-wrap: wrap;
    }
    .cp-menu-button:not([hidden]) {
        display: block;
        background: repeating-linear-gradient(currentColor 0 3px, transparent 3px 6px) center / 24px 15px no-repeat;
    }
    .cp-bar > nav {
        width: 100%;
    }
    .cp-menu button[aria-expanded="false"] + ul,
    .cp-menu-button:not([hidden]) + nav {
        display: none;
    }
    #cp-drawer {
        inset: 0 auto 0 0;
        margin: 0;
        width: min(265px, calc(100% - 44px));
        height: 100%;
        max-height: none;
        padding: 12px 0;
        border: 0;
        background: #242424;
        color: #bbb;
        overscroll-behavior: contain;
    }
    #cp-drawer::backdrop {
        background: #0006;
    }
    html:has(#cp-drawer[open]) {
        overflow: hidden;
    }
    #cp-drawer > button {
        display: block;
        margin: 0 12px 12px auto;
        font-size: 30px;
    }
    .cp-menu a {
        padding: 7px 20px;
        border-bottom: 1px solid #7774;
    }
    .cp-menu li:has(> button) > a {
        padding-right: 48px;
    }
    .cp-menu button {
        display: block;
        position: absolute;
        inset: 0 0 auto auto;
        font-size: 20px;
    }
    .cp-menu button[aria-expanded="true"] {
        transform: rotate(90deg);
    }
    .cp-menu ul {
        padding-left: 14px;
        font-size: 12px;
    }
    .cp-hero .cp-slide {
        grid-template-rows: [headline] 1fr [ribbon] auto;
        min-height: min(clamp(215px, calc(25vw + 156px), 440px), 76vh);
    }
    .cp-hero .cp-slide img {
        object-position: 84% center;
    }
    .cp-hero .cp-slide:nth-child(2) img {
        object-position: 30% 38%;
        mask-image: linear-gradient(238deg, transparent, #0005 25%, #000 59%);
    }
    .cp-hero .cp-slide:nth-child(2) .cp-caption {
        text-align: right;
    }
    .cp-section .cp-space-1 {
        height: 12px !important;
    }
    .cp-section .cp-space-2 {
        height: 18px !important;
    }
    .cp-section .cp-space-3 {
        height: 36px !important;
    }
    .cp-section .cp-space-4 {
        height: 50px !important;
    }
    .cp-section .cp-space-5 {
        height: 80px !important;
    }
}
@media (min-width: 768px) and (max-width: 959px) {
    .cp-masthead { padding-block: 172px 130px; min-height: calc(302px + 1.14em); font-size: 36px; }
    .cp-backdrop .cp-background img {
        object-fit: none;
        object-position: center;
    }
}
@media (min-width: 960px) and (max-width: 1200px) {
    .cp-masthead { font-size: 55px; }
}
@media (max-width: 960px) {
    .cp-footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .cp-contact-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 10px;
        padding: 6px 12px 0;
    }
    .cp-office-contact {
        grid-row: span 2;
        letter-spacing: 0;
    }
    .cp-office-contact a {
        min-height: 44px;
    }
    .cp-office-contact a[href^="tel"] {
        padding: 0;
        font-size: 16px;
    }
    .cp-networks {
        justify-self: center;
    }
    .cp-section .wp-block-columns,
    .cp-post-summary {
        display: block;
    }
    .cp-section .wp-block-column {
        width: 100%;
    }
    .cp-section .cp-space-1 {
        height: 8px !important;
    }
    .cp-section .cp-space-2 {
        height: 14px !important;
    }
    .cp-section .cp-space-3 {
        height: 28px !important;
    }
    .cp-section .cp-space-4 {
        height: 40px !important;
    }
    .cp-section .cp-space-5 {
        height: 60px !important;
    }
    .cp-masthead { padding-block: 128px 70px; min-height: 300px; font-size: 27px; }
    .page-id-9826 .cp-masthead img { object-position: 15% center; }
    .page .cp-masthead img[src*="/invisalign.jpg"] { object-position: 70% center; }
    .page:not(.home) .cp-inner, .cp-articles { padding-inline: clamp(16px, 7vw, 30px); }
    .cp-articles { grid-template-columns: minmax(0, 1fr); }
    .cp-accreditation img { width: min(100%, 250px); }
    .cp-footer {
        padding-top: 35px;
    }
    .cp-mobile-only {
        display: block;
    }
    .cp-desktop-only {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    #topBanner {
        animation: none !important;
    }
    * {
        scroll-behavior: auto !important;
    }
}
