/* OAO Core components. Colours fall back to brand values when the theme tokens are absent. */

.oao-notice { padding: 12px 16px; border-radius: 8px; margin: 0 0 20px; border-left: 4px solid; background: #F3F8F3; border-color: #5BA05B; }
.oao-notice--error { background: #FBF0F0; border-color: #C0392B; }
.oao-notice--warning { background: #FFF8E6; border-color: #D9A400; }
.oao-notice--info { background: #EEF8F8; border-color: var(--oao-mint, #8DDEDE); }

.oao-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--oao-sky, #DDF1F9); color: #285A6A; font-size: 13px; letter-spacing: .02em; }
.oao-tag--lock { background: #F1F3F3; color: #5F6060; }
.oao-tag--lock::before { content: ""; display: inline-block; width: 9px; height: 10px; margin-right: 5px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.oao-empty { color: var(--oao-grey, #7E7F7C); font-style: italic; }
.oao-more { margin-top: 20px; }
.oao-subhead { font-size: 22px; margin: 32px 0 14px; }

/* ---------- Find an Orthodontist ---------- */
.oao-find { margin: 24px 0; }
.oao-find__form {
	display: grid; grid-template-columns: minmax(0, 2fr) 130px auto minmax(0, 1.4fr) auto; gap: 14px; align-items: end;
	background: var(--oao-mist, #F3F5F5); border-radius: 12px; padding: 20px;
}
.oao-find__field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--oao-text, #4F504D); }
.oao-find__field input, .oao-find__field select, .oao-form input, .oao-form select, .oao-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid #C9D0D0; border-radius: 8px; font: inherit; font-size: 16px; background: #fff; color: inherit;
}
.oao-find__field input:focus, .oao-find__field select:focus, .oao-form input:focus, .oao-form select:focus, .oao-form textarea:focus { outline: none; border-color: var(--oao-sage, #849E9E); box-shadow: 0 0 0 3px rgba(141,222,222,.45); }
.oao-find__or { align-self: center; padding-top: 22px; color: var(--oao-grey, #7E7F7C); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.oao-find__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.oao-find__actions .oao-btn--link { font-size: 14px; }
.oao-icon-search { display: inline-block; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.96 12.06l4.24 4.24-1.4 1.4-4.24-4.24A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.96 12.06l4.24 4.24-1.4 1.4-4.24-4.24A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.oao-find__status { margin: 16px 2px; min-height: 1.5em; color: var(--oao-grey, #7E7F7C); }
.oao-find.is-busy .oao-find__status::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid var(--oao-mint, #8DDEDE); border-top-color: transparent; border-radius: 50%; animation: oao-spin .8s linear infinite; vertical-align: -2px; }
@keyframes oao-spin { to { transform: rotate(360deg); } }
.oao-find__body { scroll-margin-top: 20px; }
.oao-find__body.has-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.oao-find__body[hidden] { display: none; }
.oao-find__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.oao-find__map { position: sticky; top: 20px; height: min(640px, 75vh); border-radius: 12px; overflow: hidden; background: #E8EEEE; }
.oao-result { border: 1px solid var(--oao-line, #E1E5E5); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s; background: #fff; }
.oao-result:hover, .oao-result.is-active { border-color: var(--oao-mint, #8DDEDE); box-shadow: 0 4px 16px rgba(40,60,60,.08); }
.oao-result__head { display: flex; align-items: flex-start; gap: 12px; }
.oao-result__num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #EA4335; color: #fff; font-size: 13px; font-weight: 700; }
.oao-find__body:not(.has-map) .oao-result__num { background: var(--oao-sage-deep, #5F7B7B); }
.oao-result__name { margin: 0; font-size: 19px; color: var(--oao-heading, #696A67); }
.oao-result__practice { color: var(--oao-text, #4F504D); font-weight: 600; font-size: 15px; }
.oao-result__dist { margin-left: auto; flex: none; font-size: 14px; color: var(--oao-sage-deep, #5F7B7B); background: var(--oao-mist, #F3F5F5); padding: 3px 9px; border-radius: 999px; }
.oao-result__addr { font-style: normal; margin: 8px 0 8px 40px; line-height: 1.45; }
.oao-result__links { margin-left: 40px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.oao-find__pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.oao-find__pager button { min-width: 38px; padding: 7px 10px; border: 1px solid var(--oao-line, #E1E5E5); background: #fff; border-radius: 6px; cursor: pointer; font: inherit; }
.oao-find__pager button[aria-current] { background: var(--oao-sage-deep, #5F7B7B); color: #fff; border-color: transparent; }
@media (max-width: 960px) {
	.oao-find__form { grid-template-columns: 1fr 120px; }
	.oao-find__field--address, .oao-find__field--name, .oao-find__actions { grid-column: 1 / -1; }
	.oao-find__field--name { order: 4; }
	.oao-find__or { display: none; }
	.oao-find__actions { order: 5; }
	.oao-find__body.has-map { grid-template-columns: 1fr; }
	.oao-find__map { position: relative; top: 0; height: 320px; order: -1; }
}

/* ---------- Sponsors band ---------- */
.oao-sponsors { border-top: 1px solid var(--oao-line, #E1E5E5); background: linear-gradient(100deg, #fff 55%, #EEF0F0); padding: 48px 0 40px; text-align: center; }
.oao-sponsors__title { margin: 0 0 8px; font-size: clamp(26px, 2.6vw, 32px); color: var(--oao-grey, #7E7F7C); }
.oao-sponsors__intro { color: var(--oao-grey, #7E7F7C); font-size: 16px; }
.oao-sponsors__intro p { margin: 0 0 6px; }
.oao-sponsors__tier { margin-top: 28px; }
.oao-sponsors__tier-name { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--oao-sage-deep, #5F7B7B); margin: 0 0 12px; }
.oao-sponsors__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.oao-sponsors__item { flex: 0 1 180px; }
.oao-sponsors__item a, .oao-sponsors__item > img, .oao-sponsors__item > .oao-sponsors__name {
	display: grid; place-items: center; height: 100px; padding: 14px; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.07); text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.oao-sponsors__item img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.oao-sponsors__item a:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.oao-sponsors__item a:hover img, .oao-sponsors__item a:focus img { filter: none; opacity: 1; }
.oao-sponsors__tier--platinum .oao-sponsors__item { flex-basis: 260px; }
.oao-sponsors__tier--platinum .oao-sponsors__item a { height: 130px; }
.oao-sponsors__tier--platinum .oao-sponsors__item img { max-height: 96px; }
.oao-sponsors__tier--gold .oao-sponsors__item { flex-basis: 220px; }
.oao-sponsors__tier--gold .oao-sponsors__item img { max-height: 80px; }

/* ---------- Board ---------- */
.oao-board { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.oao-board__card { background: #fff; border: 1px solid var(--oao-line, #E1E5E5); border-radius: 12px; overflow: hidden; text-align: center; box-shadow: 0 4px 16px rgba(40,60,60,.06); }
.oao-board__photo { aspect-ratio: 1; background: var(--oao-mist, #F3F5F5); display: grid; place-items: center; }
.oao-board__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; display: block; }
.oao-board__initials { font-size: 54px; color: var(--oao-sage, #849E9E); }
.oao-board__body { padding: 16px 18px 20px; }
.oao-board__position { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--oao-sage-deep, #5F7B7B); }
.oao-board__name { margin: 0; font-size: 21px; color: var(--oao-heading, #696A67); }
.oao-board__term { margin: 4px 0 0; font-size: 14px; color: var(--oao-grey, #7E7F7C); }
.oao-board__bio { margin-top: 12px; text-align: left; font-size: 15px; }
.oao-board__bio summary { cursor: pointer; text-align: center; color: var(--oao-teal, #2E7272); }
.oao-board__bio p { margin: 10px 0 0; }

/* ---------- Marketplace ---------- */
.oao-listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.oao-listing-card { border: 1px solid var(--oao-line, #E1E5E5); border-radius: 12px; padding: 20px; background: #fff; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.oao-listing-card:hover { border-color: var(--oao-mint, #8DDEDE); box-shadow: 0 6px 20px rgba(40,60,60,.08); }
.oao-listing-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.oao-listing-card__title { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.oao-listing-card__title a { color: var(--oao-heading, #696A67); text-decoration: none; }
.oao-listing-card__title a::after { content: ""; position: absolute; inset: 0; }
.oao-listing-card { position: relative; }
.oao-listing-card__title a:hover { color: var(--oao-teal, #2E7272); }
.oao-listing-card__loc { margin: 0 0 8px; color: var(--oao-sage-deep, #5F7B7B); font-size: 15px; }
.oao-listing-card__teaser { margin: 0 0 12px; font-size: 15px; }
.oao-listing-card__date { margin: auto 0 0; font-size: 13px; color: var(--oao-grey, #7E7F7C); }
.oao-listing-list { list-style: none; margin: 0; padding: 0; }
.oao-listing-list li { padding: 14px 0; border-bottom: 1px solid var(--oao-line, #E1E5E5); }
.oao-listing-list a { color: var(--oao-text, #4F504D); text-decoration: none; }
.oao-listing-list a:hover { color: var(--oao-teal, #2E7272); text-decoration: underline; }
.oao-listing__teaser { font-size: 19px; color: var(--oao-text, #4F504D); }
.oao-listing__contact { background: var(--oao-mist, #F3F5F5); border-radius: 10px; padding: 18px 22px; margin-top: 28px; }
.oao-listing__contact h2 { margin: 0 0 8px; font-size: 20px; }
.oao-locked { display: flex; gap: 16px; align-items: center; background: var(--oao-mist, #F3F5F5); border: 1px dashed #C9D0D0; border-radius: 12px; padding: 22px 24px; margin-top: 24px; }
.oao-locked__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--oao-mint, #8DDEDE); position: relative; }
.oao-locked__icon::after { content: ""; position: absolute; inset: 11px; background: #1E3A3A; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.oao-locked .oao-btn { margin-top: 10px; }

/* ---------- Forms & members area ---------- */
.oao-form { max-width: 820px; }
.oao-form__row { margin-bottom: 16px; }
.oao-form__row label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.oao-form .req { color: #B03A2E; }
.oao-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.oao-form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oao-form__grid--wide-narrow { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.oao-form fieldset { border: 1px solid var(--oao-line, #E1E5E5); border-radius: 10px; padding: 16px 18px 4px; margin: 8px 0 20px; }
.oao-form legend { font-weight: 600; padding: 0 6px; }
.oao-form__help { font-size: 14px; color: var(--oao-grey, #7E7F7C); margin: 6px 0 0; }
@media (max-width: 700px) { .oao-form__grid, .oao-form__grid--3, .oao-form__grid--wide-narrow { grid-template-columns: 1fr; } }

.oao-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.oao-table th { background: var(--oao-mist, #F3F5F5); }

.oao-dash__hello { font-size: 20px; }
.oao-dash__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.oao-dash__list { list-style: none; margin: 0 0 12px; padding: 0; }
.oao-dash__list li { padding: 8px 0; border-bottom: 1px solid var(--oao-line, #E1E5E5); }
.oao-dash__list span { display: block; font-size: 13px; color: var(--oao-grey, #7E7F7C); }

.oao-loc-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.oao-loc { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.oao-loc h3 { margin: 0 0 6px; font-size: 19px; }
.oao-loc address { font-style: normal; margin-bottom: 6px; }
.oao-loc__status { font-size: 14px; margin: 0; }
.oao-loc__status.is-ok { color: #3B7D3B; }
.oao-loc__status.is-warn { color: #9A6B00; }
.oao-loc__actions { display: flex; align-items: center; gap: 6px; }
.oao-loc__actions form { margin: 0; }

.oao-embed--placeholder { max-width: 720px; }
.pac-container { z-index: 10000; font-family: inherit; }
.oao-sponsors__item a, .oao-sponsors__item > img, .oao-sponsors__item > .oao-sponsors__name { width: 100%; }

/* ---------- Homepage hero / banner slideshow ---------- */
.oao-hero-slider { position: relative; background: #3a3d3d; overflow: hidden; }
.oao-hero-slider__track { position: relative; display: grid; }
.oao-hero-slide { grid-area: 1 / 1; position: relative; min-height: clamp(420px, 46vw, 600px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.oao-hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.oao-hero-slider:not(.is-slider) .oao-hero-slide { opacity: 1; visibility: visible; }
.oao-hero-slide picture, .oao-hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oao-hero-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.oao-hero-slide--overlay-light::after { background: linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,0) 65%); }
.oao-hero-slide--overlay-medium::after { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 70%); }
.oao-hero-slide--overlay-strong::after { background: rgba(0,0,0,.5); }
.oao-hero-slide--right.oao-hero-slide--overlay-light::after { background: linear-gradient(270deg, rgba(0,0,0,.38), rgba(0,0,0,0) 65%); }
.oao-hero-slide--center.oao-hero-slide--overlay-light::after { background: rgba(0,0,0,.28); }
.oao-hero-slide__inner { position: relative; z-index: 2; width: 100%; max-width: calc(1200px + 2 * clamp(16px, 4vw, 32px)); margin: 0 auto; padding: 48px clamp(16px, 4vw, 32px) 72px; display: flex; }
.oao-hero-slide--center .oao-hero-slide__inner { justify-content: center; text-align: center; }
.oao-hero-slide--right .oao-hero-slide__inner { justify-content: flex-end; text-align: right; }
.oao-hero-slide__content { max-width: 640px; }
.oao-hero-slide__title { margin: 0 0 18px; color: #fff !important; font-size: clamp(42px, 5.6vw, 69px); line-height: 1.02; font-weight: 400; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.oao-hero-slide__sub { margin: 0 0 24px; color: #fff; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; text-shadow: 1px 1px 2px rgba(0,0,0,.6); }
.oao-btn--white { background: #fff; color: var(--oao-sage-deep, #5F7B7B) !important; }
.oao-btn--white:hover { background: var(--oao-mist, #F3F5F5); }

.oao-hero-slider__controls { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(4px); }
.oao-hero-slider__controls button { border: 0; background: transparent; color: #fff; cursor: pointer; padding: 0; line-height: 1; border-radius: 999px; }
.oao-hero-slider__controls button:hover, .oao-hero-slider__controls button:focus { background: rgba(255,255,255,.18); color: #fff; }
.oao-hero-slider__arrow { width: 32px; height: 32px; font-size: 24px; }
.oao-hero-slider__pause { width: 32px; height: 32px; font-size: 11px; letter-spacing: -1px; }
.oao-hero-slider__dots { display: flex; gap: 4px; }
.oao-hero-slider__dot { width: 24px; height: 24px; position: relative; }
.oao-hero-slider__dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .2s, transform .2s; }
.oao-hero-slider__dot[aria-current]::before { background: var(--oao-lime, #B3E31C); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .oao-hero-slide { transition: none; } }
.oao-hero-slider .oao-hero-slide__img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
/* Banner image fit modes */
.oao-hero-slider .oao-hero-slide--fit-contain .oao-hero-slide__img { object-fit: contain; }
.oao-hero-slider .oao-hero-slide--fit-fill .oao-hero-slide__img { object-fit: fill; }
.oao-hero-slide__backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.1) brightness(.8); transform: scale(1.1); }
.oao-hero-slide--fit-contain picture { z-index: 0; }
