/* Southbright Digital custom styles. */

/* ---------------------------------------------------------------
   O'Brien Dental: header navigation (header site part 138,
   Nav Menu widget 679a1273). The widget's toggle position and
   label are not exposed to Elementor MCP, so they live here.
   --------------------------------------------------------------- */

/* Below 1200px (owner, 2026-11-26: mobile header from 1200px down), the toggle sits at the
   right edge, directly after the phone link (owner, 2026-11-26: no "Menu"
   label; phone icon next to the menu button with space between). The toggle's
   look (icon, colours, size, radius) is set in the Nav Menu widget settings. */
@media (max-width: 1200px) {
	.elementor-element-679a1273 {
		order: 3;
		flex: 0 0 auto;
		width: auto;
	}
	/* Header Actions (phone + button) pushed right, next to the toggle. */
	.elementor-element-767e05b4 {
		margin-left: auto;
	}
	.elementor-element-679a1273 .elementor-menu-toggle {
		padding: 10px;
	}
}

/* Desktop dropdown starts at the header's bottom edge (widget setting
   "Distance" 27px). This invisible bridge keeps the menu open while the
   pointer crosses that gap. */
.elementor-element-679a1273 .elementor-nav-menu--main .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -28px;
	height: 28px;
}

/* ---------------------------------------------------------------
   O'Brien Dental: Final CTA component (320), "CTA Box" grid.
   White-to-surface gradient with a soft sage tint (owner, 2026-11-26:
   diagonal line texture removed). The selector is the box's component style
   class; if that box's style is ever replaced in Elementor, update it.
   --------------------------------------------------------------- */
.elementor .e-5b26cec-77d7.e-grid-base {
	background-image:
		radial-gradient(ellipse at 100% 0%, rgba(123, 148, 156, 0.12), transparent 60%),
		linear-gradient(100deg, #ffffff 40%, #f2f5f6 100%);
}
/* Knot motif from the logo (owner, 2026-11-26): braided ring in the box corner. */
.elementor .e-5b26cec-77d7.e-grid-base {
	background-image:
		url("../img/obd-knot-ring-soft.svg"),
		radial-gradient(ellipse at 100% 0%, rgba(123, 148, 156, 0.12), transparent 60%),
		linear-gradient(100deg, #ffffff 40%, #f2f5f6 100%);
	background-repeat: no-repeat;
	background-position: right -90px top -90px, 0 0, 0 0;
	background-size: 260px 260px, auto, auto;
}

/* ---------------------------------------------------------------
   O'Brien Dental: shared decorative layers from the approved design.
   Applied through Elementor global classes (MCP-created), which render
   on the page by their labels (obd-sec-alt, obd-sec-deco, obd-pframe, obd-pframe-l).
   --------------------------------------------------------------- */
/* Light sections: subtle colour tint over a fine grain (owner, 2026-11-26: no diagonal lines; add noise, keep text readable). */
.elementor .obd-sec-alt{background-color:var(--surface);background-image:radial-gradient(ellipse at 100% 0%,rgba(123,148,156,.14),transparent 55%),radial-gradient(ellipse at 0% 100%,rgba(83,108,124,.08),transparent 50%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .13 0 0 0 0 .25 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:auto,auto,180px 180px}
/* Page heroes (first section of each page/template): same grain under a soft tint. */
.elementor:not(.elementor-location-header):not(.elementor-location-footer) > .e-con:first-child{background-image:radial-gradient(ellipse at 0% 0%,rgba(255,255,255,.55),transparent 60%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .13 0 0 0 0 .25 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:auto,180px 180px}
/* Footer: light grain on navy. */
.elementor .elementor-element-1a705122{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");background-size:180px 180px}
.elementor .obd-sec-alt::before,.elementor .obd-sec-alt::after,.elementor .obd-sec-deco::before{content:"";position:absolute;pointer-events:none;z-index:0}
.elementor .obd-sec-alt::before{width:300px;height:300px;right:-150px;top:-110px;background:url("../img/obd-knot-ring.svg") no-repeat center/contain;opacity:.1}
.elementor .obd-sec-alt::after{width:190px;height:190px;left:-105px;bottom:-70px;background:url("../img/obd-knot-ring.svg") no-repeat center/contain;opacity:.14}
.elementor .obd-sec-deco::before{width:180px;height:180px;left:-100px;top:40px;background:url("../img/obd-knot-ring.svg") no-repeat center/contain;opacity:.16}
.elementor .obd-sec-alt > *,.elementor .obd-sec-deco > *{position:relative;z-index:1}
.elementor .obd-pframe::before,.elementor .obd-pframe-l::before{content:"";position:absolute;inset:22px -22px -22px 22px;border:2px solid var(--sage);border-radius:var(--radius);opacity:.6;z-index:-1}
.elementor .obd-pframe::after,.elementor .obd-pframe-l::after{content:"";position:absolute;width:150px;height:150px;left:-48px;top:-48px;background:url("../img/obd-knot-ring.svg") no-repeat center/contain;opacity:.3;z-index:-1}
.elementor .obd-pframe-l::before{inset:22px 22px -22px -22px}
.elementor .obd-pframe-l::after{left:auto;right:-30px}
@media (max-width:767px){.elementor .obd-pframe::before,.elementor .obd-pframe-l::before{inset:14px -10px -14px 10px}.elementor .obd-pframe-l::before{inset:14px 10px -14px -10px}.elementor .obd-pframe::after,.elementor .obd-pframe-l::after{width:90px;height:90px;left:-14px;top:-14px}.elementor .obd-pframe-l::after{left:auto;right:-14px}}

/* ---------------------------------------------------------------
   O'Brien Dental: empty-content helpers and the "What to expect" flow.
   Elementor global classes, rendered by label:
   obd-hide-empty      (text element hidden when its dynamic value is empty)
   obd-hide-blank-box  (container hidden when none of its text has content)
   obd-hide-empty-loop (section hidden when its Loop returns no items)
   obd-flow, obd-step  (stage cards, arrows, no numbers)
   --------------------------------------------------------------- */
.elementor .obd-hide-empty:empty,
.elementor .obd-hide-empty:not(:has(*)):not(:has(img)):is(:empty) { display: none; }
.elementor .obd-hide-blank-box:not(:has(:is(h1, h2, h3, h4, p):not(:empty))) { display: none; }
.elementor .obd-hide-empty-loop:not(:has([data-element_type="e-collection-loop-item"])) { display: none; }

/* Flow: one column per visible stage on desktop, stacked on mobile. */
.elementor .obd-flow { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; }
.elementor .obd-step:first-child { border-top: 3px solid var(--sage); }
.elementor .obd-step:nth-child(2) { border-top: 3px solid var(--slate); }
.elementor .obd-step:nth-child(3) { border-top: 3px solid var(--navy); }
.elementor .obd-step:nth-child(4) { border-top: 3px solid var(--accent); }
/* Arrow connector before every stage that follows another stage with content (no nested :has). */
.elementor .obd-step:has(:is(h3, p):not(:empty)) ~ .obd-step:has(:is(h3, p):not(:empty))::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -48px;
	width: 32px;
	height: 32px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 767px) {
	.elementor .obd-flow { grid-auto-flow: row; grid-auto-columns: auto; }
	.elementor .obd-step:has(:is(h3, p):not(:empty)) ~ .obd-step:has(:is(h3, p):not(:empty))::before {
		top: -40px;
		left: 50%;
		transform: translateX(-50%) rotate(90deg);
	}
}
/* obd-hide-if-no-box: section hidden when none of its obd-hide-blank-box cards has content. */
.elementor .obd-hide-if-no-box:not(:has(.obd-hide-blank-box :is(h1, h2, h3, h4, p):not(:empty))) { display: none; }

/* ---------------------------------------------------------------
   O'Brien Dental: blog article body (Single Post template, global
   class obd-article). The post body is WordPress block content, so
   its typography lives here: larger intro paragraph, H2 subheadings,
   and the highlighted callout group (block class obd-callout).
   --------------------------------------------------------------- */
.elementor .obd-article .elementor-widget-theme-post-content p { font-family: "Source Sans 3", sans-serif; font-size: 18px; line-height: 1.7; color: #2E3A55; margin: 0 0 var(--s3, 24px); }
.elementor .obd-article .elementor-widget-theme-post-content > .elementor-widget-container > p:first-child,
.elementor .obd-article .elementor-widget-theme-post-content > p:first-child { font-size: 22px; color: var(--navy); }
.elementor .obd-article .elementor-widget-theme-post-content h2 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 33px; line-height: 1.25; color: var(--navy); margin: var(--s5, 48px) 0 var(--s2, 16px); }
.elementor .obd-article .obd-callout { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius, 10px) var(--radius, 10px) 0; padding: var(--s4, 32px) var(--s5, 48px); margin-top: var(--s5, 48px); }
.elementor .obd-article .obd-callout h2 { margin-top: 0; font-size: 26px; }
.elementor .obd-article .obd-callout p { margin: 0; }
@media (max-width: 767px) {
	.elementor .obd-article .elementor-widget-theme-post-content p { font-size: 18px; }
	.elementor .obd-article .elementor-widget-theme-post-content h2 { font-size: 26px; }
	.elementor .obd-article .obd-callout { padding: var(--s3, 24px); }
}

/* O'Brien Dental: shared blog sidebar (global class obd-sidebar). The
   Appointment Request Form component (397) is laid out for wide sections;
   in the 360px sidebar its card padding is reduced and the phone/email row
   stacks. Selectors use the component's stable element ids (data-interaction-id):
   2712e334 = Form Card, 3f6bc3f8 = Contact Row. Category pills wrap in a row. */
.elementor .obd-sidebar [data-interaction-id="2712e334"] { padding: var(--s4, 32px) var(--s3, 24px); }
.elementor .obd-sidebar [data-interaction-id="3f6bc3f8"] { grid-template-columns: 1fr; }
.elementor .obd-sidebar [data-element_type="e-collection-loop"],
.elementor .obd-sidebar [data-element_type="e-collection-loop"] > *,
.elementor .obd-sidebar [data-element_type="e-collection-loop-item"] { padding: 0; }
.elementor .obd-sidebar [data-element_type="e-collection-loop-item"] { width: auto; }

/* ---------------------------------------------------------------
   O'Brien Dental: Single Dental Video template.
   obd-player        portrait (3:4) YouTube player, up to 560px wide
   obd-video-overlay thumbnail and shade over the player; the child-theme
                     script (lib/js/southbright.js) starts the video on click
   obd-video-play    the site's centred white play button
   obd-video-about   "About this video" text (post content)
   obd-contact-card  Contact Card sidebar, sticky on desktop when it fits
   --------------------------------------------------------------- */
.elementor .obd-player { position: relative; width: 100%; max-width: 560px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--navy); padding: 0; }
.elementor .obd-player > [data-e-type="e-youtube"] { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.elementor .obd-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.elementor .obd-video-overlay { position: absolute; inset: 0; z-index: 1; padding: 0; cursor: pointer; }
.elementor .obd-video-overlay img { display: block; width: 100%; height: 100%; object-fit: cover; }
.elementor .obd-video-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 34, 65, 0.05) 45%, rgba(24, 34, 65, 0.55)); pointer-events: none; }
.elementor .obd-video-overlay:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.elementor .obd-video-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; padding: 0; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.28); }
.elementor .obd-video-play svg { width: 34px; height: 34px; margin-left: 5px; }
.elementor .obd-player.is-empty .obd-video-play { display: none; }
.elementor .obd-player.is-empty .obd-video-overlay { cursor: default; }
.elementor .obd-player.is-playing .obd-video-overlay { display: none; }
.elementor .obd-video-about .elementor-widget-theme-post-content p { font-family: "Source Sans 3", sans-serif; font-size: 18px; line-height: 1.7; color: #2E3A55; margin: 0 0 var(--s2, 16px); }
@media (min-width: 1025px) and (min-height: 860px) {
	.elementor .obd-contact-card { position: sticky; top: 120px; }
}
@media (max-width: 767px) {
	.elementor .obd-video-play { width: 72px; height: 72px; box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.28); }
}
/* Contact Card accent top edge (Elementor stores one border colour per element). */
.elementor .obd-contact-card { border-top: 4px solid var(--accent); }
/* Contact Card: keep the "Opening hours" label beside its icon (Hours Text, element d87b889 in template 452); the hours table wraps below. */
.elementor .obd-contact-card [data-id="d87b889"] { flex: 1 1 0; width: auto; min-width: 0; }

/* ---------------------------------------------------------------
   O'Brien Dental: Blog listing (archive template 459, global class
   obd-blog-grid on the loop layout). The newest post on page one is the
   large featured card spanning both columns; the Blog Post Card
   component (99) parts are targeted by their stable element ids:
   22b7371e image, 1cba8ba6 body, 2740a700 title, 7e7bdfae excerpt,
   304f7b76 Read article.
   --------------------------------------------------------------- */
body:not(.paged) .elementor .obd-blog-grid > [data-element_type="e-collection-loop-item"]:first-child { grid-column: 1 / -1; }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="22b7371e"] { aspect-ratio: 16 / 8; height: auto; }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="1cba8ba6"] { padding: var(--s5, 48px) var(--s6, 72px) var(--s6, 72px); }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="2740a700"] { font-size: 36px; line-height: 1.2; }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="7e7bdfae"] { font-size: 18px; }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="304f7b76"] { align-self: flex-start; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: var(--radius-btn, 6px); text-decoration: none; }
body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="304f7b76"]:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 767px) {
	body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="1cba8ba6"] { padding: var(--s4, 32px); }
	body:not(.paged) .elementor .obd-blog-grid > :first-child [data-interaction-id="2740a700"] { font-size: 28px; }
}
/* Blog Post Card (component 99): keep the meta dot (57c92113) a 4px circle so category and date stay on one line. */
.elementor [data-interaction-id="57c92113"] { flex: 0 0 4px; width: 4px; min-width: 4px; height: 4px; padding: 0; }

/* O'Brien Dental: Home. Review stars (global class obd-stars) are the outline star icon, filled gold. */
.elementor .obd-stars svg, .elementor .obd-stars svg * { fill: currentColor; }

/* Loop grids (Home services, Services, Dental Conditions, Blog, related lists): remove Elementor's default 10px padding
   on the loop, its layout and each item, so card grids line up with the 1410px content edge (owner width rule). */
.elementor .e-collection-loop-base,
.elementor .e-collection-loop-layout-base,
.elementor [data-element_type="e-collection-loop-item"],
.elementor [data-element_type="e-collection-loop-empty-state"] { padding: 0; }

/* Smile Gallery mosaic (Loop Grid with class obd-gallery, Loop Item 583): three columns, tiles 1 and 5 tall, tile 8 wide (approved design). */
.elementor .obd-gallery .elementor-loop-container { grid-auto-rows: 340px; grid-auto-flow: row dense; }
.elementor .obd-gallery .e-loop-item:nth-of-type(9n+1),
.elementor .obd-gallery .e-loop-item:nth-of-type(9n+5) { grid-row: span 2; }
.elementor .obd-gallery .e-loop-item:nth-of-type(9n+8) { grid-column: span 2; }
.elementor .obd-gallery .e-loop-item,
.elementor .obd-gallery .e-loop-item > .e-con,
.elementor .obd-gallery .e-loop-item img { height: 100%; }
@media (max-width: 1024px) { .elementor .obd-gallery .elementor-loop-container { grid-auto-rows: 240px; } }
@media (max-width: 767px) { .elementor .obd-gallery .elementor-loop-container { grid-auto-rows: 160px; } }

/* Blog sidebar appointment form (component 397 in .obd-sidebar; stable data-interaction-id hooks): fields line up with the card heading,
   the two radio options sit side by side, and Send Request is full width (approved blog mockup). Scoped to the sidebar only. */
.elementor .obd-sidebar [data-interaction-id="24817bfc"] { padding-inline: 0; }
.elementor .obd-sidebar [data-interaction-id="22b7561b"] { column-gap: 18px; row-gap: 8px; }
.elementor .obd-sidebar [data-interaction-id="607aa455"] { align-self: stretch; width: 100%; justify-content: center; text-align: center; }

/* Request an Appointment (page 134): form fields align with the "Your details" heading, as in the approved mockup */
body.page-id-134 .elementor [data-interaction-id="24817bfc"] { padding-inline: 0; }

/* Thank-you pages (136, 645): terracotta arrow after the quick links (links containers by element id; atomic text strips span classes) */
.elementor [data-id="ce2fe5d"] a span,
.elementor [data-id="593b688"] a span { color: var(--accent); }

/* Home Google reviews (page 103): show the first four lines of each review; "Read more" opens the full reviews on Google. */
body.home .elementor [data-id="0f5489e"],
body.home .elementor [data-id="55569d2"],
body.home .elementor [data-id="0c54b20"] {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

/* Video play buttons pulse (owner, 2026-11-26): Video Card component (101) play circle
   (stable id 4957f383) and the single video player button (obd-video-play). A soft
   white ring grows and fades; turned off for visitors who prefer reduced motion. */
@keyframes obd-play-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
	70%  { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.elementor [data-interaction-id="4957f383"],
.elementor .obd-video-play { animation: obd-play-pulse 2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
	.elementor [data-interaction-id="4957f383"],
	.elementor .obd-video-play { animation: none; }
}

/* Inner page heroes (text-only): subtle photo on the right, faded into the section tint. */
.elementor .elementor-element-ff2b222::after,.elementor .elementor-element-10ec196::after,.elementor .elementor-element-7828dd7::after,.elementor .elementor-element-e106b4c::after,.elementor .elementor-element-7786ec8::after,.elementor .elementor-element-2ab5736::after,.elementor .elementor-element-2ff1d38::after,.elementor .elementor-element-f9f8e97::after,.elementor .elementor-element-c81dd93::after,.elementor .elementor-element-a0cc731::after,.elementor .elementor-element-af40d8f::after,.elementor .elementor-element-e40ac81::after,.elementor .elementor-element-a599b1a::after,.elementor .elementor-element-b8646d6::after,.elementor .elementor-element-3265b35d::after{content:"";position:absolute;top:0;right:0;bottom:0;width:46%;z-index:0;pointer-events:none;background:var(--obd-hero-img) center/cover no-repeat;opacity:.32;filter:saturate(.75);-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 45%,#000 100%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.6) 45%,#000 100%)}
.elementor .elementor-element-ff2b222{--obd-hero-img:url(../../../../uploads/2026/11/dental-clinic-treatment-room-1024x684.webp)}
.elementor .elementor-element-10ec196{--obd-hero-img:url(../../../../uploads/2026/11/general-dentistry-1024x576.webp)}
.elementor .elementor-element-7828dd7{--obd-hero-img:url(../../../../uploads/2026/11/bamboo-toothbrushes-in-jar-1024x683.webp)}
.elementor .elementor-element-e106b4c{--obd-hero-img:url(../../../../uploads/2026/11/smile-gallery-3-768x768.webp)}
.elementor .elementor-element-7786ec8{--obd-hero-img:url(../../../../uploads/2026/11/what-to-expect-at-your-first-visit-1024x576.webp)}
.elementor .elementor-element-2ab5736{--obd-hero-img:url(../../../../uploads/2026/11/cosmetic-dentistry-1024x576.webp)}
.elementor .elementor-element-2ff1d38{--obd-hero-img:url(../../../../uploads/2026/11/caring-for-your-teeth-between-check-ups-1024x576.webp)}
.elementor .elementor-element-f9f8e97{--obd-hero-img:url(../../../../uploads/2026/11/waiting-area-1024x768.webp)}
.elementor .elementor-element-c81dd93{--obd-hero-img:url(../../../../uploads/2026/11/sleep-dentistry-1024x576.webp)}
.elementor .elementor-element-a0cc731{--obd-hero-img:url(../../../../uploads/2026/11/promotions-hero-1024x768.webp)}
.elementor .elementor-element-af40d8f{--obd-hero-img:url(../../../../uploads/2026/11/dental-cleaning-1024x768.webp)}
.elementor .elementor-element-e40ac81{--obd-hero-img:url(../../../../uploads/2026/11/dental-patient-2-768x1024.webp)}
.elementor .elementor-element-a599b1a{--obd-hero-img:url(../../../../uploads/2026/11/smile-gallery-7-768x768.webp)}
.elementor .elementor-element-3265b35d{--obd-hero-img:url(../../../../uploads/2026/11/dental-patient-3-768x1024.webp)}
.elementor .elementor-element-b8646d6{--obd-hero-img:url(../../../../uploads/2026/11/smile-gallery-1-768x768.webp)}
@media (max-width:1024px){.elementor .elementor-element-ff2b222::after,.elementor .elementor-element-10ec196::after,.elementor .elementor-element-7828dd7::after,.elementor .elementor-element-e106b4c::after,.elementor .elementor-element-7786ec8::after,.elementor .elementor-element-2ab5736::after,.elementor .elementor-element-2ff1d38::after,.elementor .elementor-element-f9f8e97::after,.elementor .elementor-element-c81dd93::after,.elementor .elementor-element-a0cc731::after,.elementor .elementor-element-af40d8f::after,.elementor .elementor-element-e40ac81::after,.elementor .elementor-element-a599b1a::after,.elementor .elementor-element-b8646d6::after,.elementor .elementor-element-3265b35d::after{width:55%;opacity:.18}}
@media (max-width:767px){.elementor .elementor-element-ff2b222::after,.elementor .elementor-element-10ec196::after,.elementor .elementor-element-7828dd7::after,.elementor .elementor-element-e106b4c::after,.elementor .elementor-element-7786ec8::after,.elementor .elementor-element-2ab5736::after,.elementor .elementor-element-2ff1d38::after,.elementor .elementor-element-f9f8e97::after,.elementor .elementor-element-c81dd93::after,.elementor .elementor-element-a0cc731::after,.elementor .elementor-element-af40d8f::after,.elementor .elementor-element-e40ac81::after,.elementor .elementor-element-a599b1a::after,.elementor .elementor-element-b8646d6::after,.elementor .elementor-element-3265b35d::after{width:70%;opacity:.12}}

/* ---------------------------------------------------------------
   O'Brien Dental: knot motif from the logo (owner, 2026-11-26).
   Original braided-ribbon SVGs in ../img/ (obd-knot-*.svg) echo the
   interlaced ring in the logo. Section rings, photo-frame rings and the
   CTA ring are set above; the footer gets a braided band and a ring.
   --------------------------------------------------------------- */
.elementor .elementor-element-1a705122{position:relative;overflow:hidden;isolation:isolate}
@media (max-width:767px){.elementor .obd-sec-alt::before{width:200px;height:200px;right:-120px;top:-80px}.elementor .obd-sec-alt::after,.elementor .obd-sec-deco::before{width:130px;height:130px;left:-80px}.elementor .obd-pframe::after,.elementor .obd-pframe-l::after{width:100px;height:100px;left:-24px;top:-24px}.elementor .obd-pframe-l::after{left:auto;right:-24px}}
.elementor .elementor-element.elementor-element-9336f8e{border-color:transparent;background:url("../img/obd-knot-ring-white.svg") no-repeat center/contain;opacity:.09}

/* ---------------------------------------------------------------
   O'Brien Dental: owner changes, 2026-11-26 (second round).
   --------------------------------------------------------------- */
/* Knot rings scattered: positions and sizes vary from section to section. */
.elementor > .obd-sec-alt:nth-child(3n+1)::before{width:240px;height:240px;right:auto;left:-110px;top:38%}
.elementor > .obd-sec-alt:nth-child(3n+1)::after{width:150px;height:150px;left:auto;right:6%;bottom:-75px}
.elementor > .obd-sec-alt:nth-child(3n+2)::before{width:260px;height:260px;right:12%;top:-150px;opacity:.08}
.elementor > .obd-sec-alt:nth-child(3n+2)::after{width:120px;height:120px;left:-50px;bottom:auto;top:24%}
.elementor > .obd-sec-deco:nth-child(even)::before{left:auto;right:-80px;top:auto;bottom:30px;width:200px;height:200px}
.elementor > .obd-sec-deco:nth-child(3n)::before{left:30%;top:-120px;width:150px;height:150px;opacity:.12}
@media (max-width:767px){.elementor > .obd-sec-alt:nth-of-type(n)::before{width:170px;height:170px}.elementor > .obd-sec-alt:nth-of-type(n)::after,.elementor > .obd-sec-deco:nth-of-type(n)::before{width:110px;height:110px}}

/* Top bar and header icons sit centred on their text (inline SVG baseline gap removed). */
.elementor-location-header .e-svg-base > svg{display:block}

/* Sticky header: the top bar scrolls away, the main bar stays. A soft shadow
   appears once the page has scrolled (class set in southbright.js). */
.elementor-location-header{position:sticky;top:-42px;z-index:999;transition:box-shadow .25s ease}
body.admin-bar .elementor-location-header{top:-10px}
@media (max-width:782px){body.admin-bar .elementor-location-header{top:4px}}
@media (max-width:600px){body.admin-bar .elementor-location-header{top:-42px}}
.obd-scrolled .elementor-location-header{box-shadow:0 8px 20px -14px rgba(24,34,65,.35)}

/* Mobile header from 1200px down (Elementor's own switch is 1024px). */
@media (min-width:1025px) and (max-width:1200px){
	.elementor-element-679a1273 .elementor-nav-menu--main{display:none}
	.elementor-element-679a1273.elementor-nav-menu--dropdown-tablet .elementor-menu-toggle{display:flex}
	.elementor-element-679a1273.elementor-nav-menu--dropdown-tablet nav.elementor-nav-menu--dropdown{display:block;margin-top:0}
	.elementor-location-header .elementor-element-49dfeed1.e-con{justify-content:flex-start;gap:16px}
}

/* Text links: a thin underline draws in from left to right on hover. */
body .elementor a.e-paragraph-link-base,body .elementor a.e-heading-link-base,body .elementor .e-paragraph-base a:not([class]),body .elementor a[data-interaction-id="474086dc"],body .elementor a[data-interaction-id="304f7b76"]{text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:0 100%;background-size:0% 1px;transition:background-size .35s ease,color .2s ease}
body .elementor a.e-paragraph-link-base:is(:hover,:focus-visible),body .elementor a.e-heading-link-base:is(:hover,:focus-visible),body .elementor .e-paragraph-base a:not([class]):is(:hover,:focus-visible),body .elementor a[data-interaction-id="474086dc"]:is(:hover,:focus-visible),body .elementor a[data-interaction-id="304f7b76"]:is(:hover,:focus-visible){background-size:100% 1px}
@media (prefers-reduced-motion:reduce){body .elementor a.e-paragraph-link-base,body .elementor a.e-heading-link-base,body .elementor .e-paragraph-base a:not([class]){transition:none}}

/* Mobile menu dropdown starts exactly at the header's bottom edge (owner, 2026-11-26).
   Offsets (top with !important: the nav script writes top inline when it opens, and the widget forces margin-top) = gap between the toggle's bottom and the main bar's bottom border. */
@media (max-width:767px){.elementor-location-header .elementor-element-679a1273 nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{top:calc(100% + 16px) !important}}
@media (min-width:768px) and (max-width:1024px){.elementor-location-header .elementor-element-679a1273 nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{top:calc(100% + 24px) !important}}
@media (min-width:1025px) and (max-width:1200px){.elementor-location-header .elementor-element-679a1273 nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{top:calc(100% - 3px) !important}}

/* FAQ accordions: the plus becomes a minus while an item is open (vertical stroke clipped away). */
.elementor details > summary .e-accordion-item-icon-base svg{transition:clip-path .25s ease}
.elementor details[open] > summary .e-accordion-item-icon-base svg{clip-path:inset(46% 0 46% 0)}

/* Mobile menu dropdown (owner, 2026-11-26): square top, rounded bottom corners only.
   Submenus have no box of their own; they sit on the same soft band as their
   open parent, indented and in regular weight, so each group reads as one block. */
@media (max-width:1200px){
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown.elementor-nav-menu__container{border-radius:0 0 10px 10px;overflow:hidden}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown a,
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown li:first-child a,
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown li:last-child a{border-radius:0}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu{border:0;border-radius:0;box-shadow:none;background-color:#F2F5F6;padding-bottom:6px}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown > ul > li > a.elementor-item-active:not(:hover){background-color:transparent}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown li.menu-item-has-children:has(> ul.sub-menu[aria-hidden="false"]) > a{background-color:#F2F5F6}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu a.elementor-sub-item{padding-left:40px;font-weight:400;border-left:0}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu ul.sub-menu{padding-bottom:0}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu ul.sub-menu a.elementor-sub-item{padding-left:60px;font-size:15px}
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu a.elementor-sub-item:hover,
	.elementor-location-header .elementor-element.elementor-element-679a1273 nav.elementor-nav-menu--dropdown ul.sub-menu a.elementor-sub-item:focus-visible{background-color:#E6ECEE}
}

/* Text links (owner, 2026-11-26): no resting underline anywhere; the underline
   only draws in on hover/focus (rule above). Standalone links lose their bottom
   border; links inside sentences lose text-decoration and stay semibold so they
   are still visibly links without relying on colour alone. */
body .elementor .e-paragraph-base.obd-text-link,
body .elementor .e-paragraph-base:has(> a.e-paragraph-link-base){border-bottom-width:0;text-decoration:none}
body .elementor .e-paragraph-base > a.e-paragraph-link-base,
body .elementor .e-paragraph-base a:not([class]){text-decoration:none}
