/*
 * TWC Dental: site styles.
 *
 * 1. Astra compatibility base. The 41 Elementor pages were designed on Astra and
 *    inherit its base: root font size (Elementor content uses rem), the
 *    --ast-global-color-* variables (used inline in Elementor text), element
 *    margins, form fields and buttons. Keep this block in sync with that.
 * 2. Header (top bar, main bar, menu, drawer, search, sticky)
 * 3. Breadcrumbs
 * 4. Blog layout (single, listing, archive, search, 404, comments)
 * 5. Sidebar widgets
 * 6. Footer
 * 7. Scroll to top
 * 8. Client CSS carried over from Astra's Additional CSS
 */

/* ---------- 1. Astra compatibility base ---------- */
:root {
	--ast-global-color-0: #0170b9;
	--ast-global-color-1: #3a3a3a;
	--ast-global-color-2: #3a3a3a;
	--ast-global-color-3: #4b4f58;
	--ast-global-color-4: #f5f5f5;
	--ast-global-color-5: #ffffff;
	--ast-global-color-6: #e5e5e5;
	--ast-global-color-7: #424242;
	--ast-global-color-8: #000000;
	--ast-border-color: #dddddd;
	--twc-teal: #00aeb1;
	--twc-container: 1240px;
	--twc-gutter: 20px;
	--twc-topbar-h: 76px;
}

html { font-size: 93.75%; box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; line-height: 1.65em; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body, button, input, select, textarea { font-family: var(--wp--preset--font-family--system); font-size: 1rem; font-weight: 400; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; clear: both; }
p { margin: 0 0 1.75em; }
figure { margin: 0; }
b, strong { font-weight: 700; }
.entry-content { overflow-wrap: break-word; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
.wp-block-image.size-full, .entry-content .wp-block-image.size-full { margin: 2rem 0; }
.entry-content p { margin-bottom: 1.6em; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-bottom: 20px; }
th { font-weight: 600; }

/* Astra's Elementor compatibility rules (Astra inline CSS, measured on the live site). */
.elementor-widget-heading .elementor-heading-title { margin: 0; }
/* Astra kept the post paragraph margin on <p> heading widgets inside blog posts. */
.twc-article .entry-content p { margin-bottom: 1.6em; }
.elementor-widget-heading h1.elementor-heading-title { line-height: 1.4em; }
.elementor-widget-heading h2.elementor-heading-title { line-height: 1.3em; }
.elementor-widget-heading h3.elementor-heading-title { line-height: 1.3em; }
.elementor-widget-heading h4.elementor-heading-title { line-height: 1.2em; }
.elementor-widget-heading h5.elementor-heading-title { line-height: 1.2em; }
.elementor-widget-heading h6.elementor-heading-title { line-height: 1.25em; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
.entry-content .wp-block-table { margin: 0; }
/* Block gap inside post content: Astra used WordPress's default 24px; the theme's own layout uses 0. */
.entry-content :where(.is-layout-flow, .is-layout-constrained) > * + * { margin-block-start: 24px; }
.entry-content :where(.is-layout-flex, .is-layout-grid) { gap: 24px; }
.entry-content .wp-block-table table { margin-bottom: 0; }
@media (min-width: 922px) {
	.twc-article .entry-content .alignwide { margin-left: -20px; margin-right: -20px; max-width: none; }
}
.elementor-button-wrapper .elementor-button { border-style: solid; border-width: 0; text-decoration: none; line-height: 1em; border-color: var(--ast-global-color-0); background-color: var(--ast-global-color-0); }
.elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited { color: #fff; }
body .elementor-button.elementor-size-sm, body .elementor-button.elementor-size-xs, body .elementor-button.elementor-size-md, body .elementor-button.elementor-size-lg, body .elementor-button.elementor-size-xl, body .elementor-button { padding: 10px 40px; }
.elementor-post.elementor-grid-item.hentry { margin-bottom: 0; }
ul, ol { margin: 0 0 1.5em 3em; padding: 0; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { transition: all 0.2s linear; }
blockquote { border-left: 5px solid rgba(0, 0, 0, 0.05); padding: 1.2em; font-size: 1.1em; line-height: 2; margin: 1.5em 1em 0 3em; }
table, td, th { border: 1px solid var(--ast-border-color); }
table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.5em; width: 100%; }
td, th { padding: 0.7em 1em; border-width: 0 1px 1px 0; }
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; background: #fff; color: #000; padding: 10px; }

button, .button, input[type="button"], input[type="reset"], input[type="submit"] {
	border: 0; border-radius: 2px; color: #fff; background: var(--ast-global-color-0);
	padding: 10px 40px; line-height: 1; cursor: pointer; font-size: 1rem;
}
button:hover, .button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: var(--ast-global-color-1); color: #fff; }
input[type="email"], input[type="number"], input[type="password"], input[type="reset"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
	color: #666; padding: 0.75em; height: auto; border: 1px solid #ddd; border-radius: 2px;
	background: #fafafa; box-shadow: none; transition: all 0.2s linear; max-width: 100%;
}
input:focus, select:focus, textarea:focus { background-color: #fff; border-color: #ddd; box-shadow: none; }
textarea { width: 100%; }

@media (max-width: 921px) {
	html { font-size: 85.5%; }
	h1 { font-size: 30px; }
	h2 { font-size: 25px; }
	h3 { font-size: 20px; }
}

.twc-container { max-width: var(--twc-container); margin-left: auto; margin-right: auto; padding-left: var(--twc-gutter); padding-right: var(--twc-gutter); }
.twc-show-mobile { display: none; }
@media (max-width: 921px) {
	.twc-show-desktop { display: none !important; }
	.twc-show-mobile { display: block; }
}

/* ---------- 2. Header ---------- */
/* Whole header is sticky with a negative offset: the top bar scrolls away, the
   main bar stays (Astra Pro: main header sticky, above header not). */
.twc-site-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--twc-topbar-h));
	z-index: 99;
}
@media (max-width: 600px) {
	.admin-bar .twc-site-header { top: calc(0px - var(--twc-topbar-h)); }
}

.twc-topbar {
	background-image: linear-gradient(135deg, rgb(7, 167, 179) 0%, rgb(0, 126, 145) 100%);
	border-bottom: 1px solid var(--ast-global-color-6);
	padding-top: 10px;
	color: #fff;
}
.twc-topbar__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 65px; }
.twc-topbar__text { text-align: left; justify-self: center; }
.twc-topbar__text p { margin: 0; }
.twc-topbar__text a { color: #fff; }
.twc-topbar__right { display: flex; justify-content: flex-end; align-items: center; }
.twc-social { display: flex; align-items: center; }
.wp-site-blocks .twc-social__item { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; margin: 6px 6px 6px 0; color: #f2f2f2; line-height: 1; }
.wp-site-blocks .twc-social__item:hover { color: #fff; opacity: 0.85; }
.twc-social__item svg { fill: currentColor; width: 18px; height: 18px; }
.twc-social__label { font-size: 15px; }

.twc-search { position: relative; display: flex; align-items: center; margin-left: 14px; }
.twc-search__toggle, .twc-search__submit { background: none; border: 0; padding: 4px; color: #fff; line-height: 0; }
.twc-search__toggle:hover, .twc-search__submit:hover { background: none; color: #fff; }
.twc-search__toggle svg, .twc-search__submit svg { fill: currentColor; }
.twc-search__form { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: none; align-items: center; background: #fff; border: 1px solid #ddd; border-radius: 2px; z-index: 5; }
.twc-search.is-open .twc-search__form { display: flex; }
.twc-search.is-open .twc-search__toggle { visibility: hidden; }
.twc-search__form .search-field { width: 235px; border: 0; background: #fff; padding: 0.6em 0.9em; }
.twc-search__form .twc-search__submit { color: var(--ast-global-color-3); padding: 0 10px; }

.twc-mainbar { background: #fff; border-bottom: 1px solid var(--ast-global-color-6); }
.twc-mainbar__row { display: flex; align-items: center; min-height: 89px; }
.twc-logo { margin: 0; padding-right: 1em; line-height: 0; }
.twc-logo img { width: 69px; height: auto; }
.twc-site-title { margin: 0; font-size: 1.53333rem; line-height: 1.2; }
.wp-site-blocks .twc-site-title a { color: #01afa9; }
.wp-site-blocks .twc-site-title a:hover { color: #01afa9; }
.twc-primary-menu { margin-left: auto; display: flex; align-items: center; }

.twc-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.twc-menu li { position: relative; list-style: none; }
.twc-menu > li > a { display: flex; align-items: center; line-height: 70px; padding: 0 15px; color: var(--twc-teal); font-size: 1rem; }
.twc-menu > li:hover > a, .twc-menu > li:focus-within > a { color: #fff; background: var(--twc-teal); }
.twc-dropdown-icon { display: inline-flex; margin-left: 10px; }
.twc-chevron { width: 9px; height: 9px; }
.twc-menu .sub-menu {
	position: absolute; top: 100%; left: 0; width: 240px; margin: 0; padding: 0; list-style: none;
	background: #fff; border-top: 2px solid var(--ast-global-color-0); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
	visibility: hidden; opacity: 0; transition: opacity 0.15s ease; z-index: 100;
}
.twc-menu .sub-menu .sub-menu { top: -2px; left: 100%; }
.twc-menu li:hover > .sub-menu, .twc-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.twc-menu .sub-menu a { display: flex; justify-content: space-between; align-items: center; padding: 0.9em 1em; line-height: 1.45; color: var(--twc-teal); }
.twc-menu .sub-menu .twc-chevron { transform: rotate(-90deg); }
.twc-menu .sub-menu li:hover > a, .twc-menu .sub-menu li:focus-within > a { color: #fff; background: var(--twc-teal); }

.twc-menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--twc-teal); line-height: 0; }
.twc-menu-toggle:hover { background: none; color: var(--twc-teal); }
.twc-menu-toggle svg { width: 20px; height: 20px; }

/* Mobile header (Astra breakpoint 921px): logo centred, menu button right. */
@media (max-width: 921px) {
	.twc-mainbar__row { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 86.9px; }
	.twc-logo { grid-column: 2; padding: 0; }
	.twc-site-title { display: none; }
	.twc-primary-menu { grid-column: 3; justify-self: end; margin: 0; }
	.twc-nav { display: none; }
	.twc-menu-toggle { display: inline-flex; }
	.twc-topbar__row { grid-template-columns: 1fr; min-height: 0; padding-bottom: 15px; }
	.twc-topbar__side { display: none; }
}

/* Off-canvas drawer */
.twc-drawer { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, 0.4); }
.twc-drawer[hidden] { display: none; }
.twc-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 90%; max-width: 351px; background: #fff; overflow-y: auto; }
.twc-drawer__close { display: block; margin-left: auto; height: 55px; width: 48px; background: none; border: 0; padding: 14px; color: var(--ast-global-color-2); line-height: 0; }
.twc-drawer__close:hover { background: none; color: var(--ast-global-color-2); }
.twc-mobile-menu, .twc-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.twc-mobile-menu li { position: relative; }
.wp-site-blocks .twc-mobile-menu a { display: block; padding: 0 48px 0 20px; line-height: 3; background: var(--twc-teal); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.twc-mobile-menu .sub-menu a { padding-left: 35px; }
.twc-mobile-menu .sub-menu .sub-menu a { padding-left: 50px; }
.wp-site-blocks .twc-mobile-menu a:hover { color: #fff; }
.twc-mobile-menu .sub-menu { display: none; }
.twc-mobile-menu li.is-open > .sub-menu { display: block; }
.twc-sub-toggle { position: absolute; top: 0; right: 0; width: 48px; height: 41px; background: none; border: 0; padding: 0; color: #fff; display: flex; align-items: center; justify-content: center; }
.twc-sub-toggle:hover { background: none; color: #fff; }
.twc-mobile-menu li.is-open > .twc-sub-toggle .twc-chevron { transform: rotate(180deg); }
body.twc-drawer-open { overflow: hidden; }

/* ---------- 3. Breadcrumbs ---------- */
.twc-breadcrumbs-bar { background: #fff; border-bottom: 1px solid #eaeaea; padding: 10px 0; line-height: 1.4; }
.twc-breadcrumbs-bar .trail-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.twc-breadcrumbs-bar .trail-item { color: var(--ast-global-color-3); }
.twc-breadcrumbs-bar .trail-item a { color: #7a7a7a; }
.twc-breadcrumbs-bar .trail-item + .trail-item::before { content: "\003E"; padding: 0 0.3em; color: var(--ast-global-color-3); }

/* ---------- 4. Blog layout ---------- */
.twc-has-sidebar { display: flex; align-items: flex-start; }
.twc-primary { flex: 0 0 70%; width: 70%; margin: 60px 0; min-width: 0; }
.twc-sidebar { flex: 0 0 30%; width: 30%; margin: 60px 0 37.5px; padding-left: 60px; line-height: 2; }
.twc-article { background: #fff; padding: 5.34em 6.67em; }
.twc-article + .twc-article, .twc-post-list > li + li .twc-article { border-top: 1px solid var(--ast-global-color-6); }
.twc-post-list { list-style: none; margin: 0; padding: 0; }
.twc-post-list > li { margin: 0; }

.twc-featured-wide { margin: 0 -10px; }
.twc-featured-wide img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.twc-featured-wide + .twc-article--single { margin-top: -80px; position: relative; z-index: 9; border-radius: 4px; }

.twc-article .entry-title { font-size: 1.73333rem; line-height: 1.2; margin: 0 0 10px; color: var(--ast-global-color-2); }
.wp-site-blocks .twc-article .entry-title a { color: var(--ast-global-color-2); }
.twc-article--card .entry-title { line-height: 1.3; margin-bottom: 0.2em; }
.twc-article.twc-article--card .entry-meta { margin-bottom: 18px; }
.wp-site-blocks .twc-article--card .entry-title a { color: #555; }
.wp-site-blocks .twc-article--card .entry-title a:hover { color: var(--ast-global-color-0); }
.twc-article .entry-meta, .twc-article .entry-meta * { line-height: 1.45; color: var(--ast-global-color-0); }
.twc-article .entry-meta a { color: #7a7a7a; }
.twc-article .entry-meta a:hover, .twc-article .entry-meta a:hover * { color: var(--ast-global-color-1); }
.twc-article .entry-meta { margin-bottom: 30px; }
.twc-article .entry-meta .posted-by a, .twc-article .entry-meta .posted-by a * { color: var(--ast-global-color-0); }
.twc-article--single .entry-content { margin-top: 0; }
.twc-article .entry-content a { color: #7a7a7a; }
.twc-card-image { margin: 0 0 1.5em; }
.twc-card-image img { display: block; width: 100%; }
.twc-article--card .entry-content .wp-block-post-excerpt__excerpt { margin-bottom: 1.5em; }
.twc-article--card .wp-block-post-excerpt__more-text { margin: 0; padding-bottom: 12px; }
.twc-article--card .wp-block-post-excerpt__more-link { color: #7a7a7a; }

.twc-archive-description { margin-bottom: 0; padding: 45px; }
.twc-archive-description .page-title { font-size: 2.66667rem; line-height: 1.4; margin: 0 0 4px; color: var(--ast-global-color-0); }
.twc-archive-description + .twc-loop .twc-article--card { border-top: 1px solid var(--ast-global-color-6); }

.post-navigation { display: flex; justify-content: space-between; padding-top: 30px; }
.post-navigation a { display: inline-block; line-height: 35px; margin: 2px; }
.entry-content .wp-block-image { margin-bottom: 0; }
.entry-content .wp-element-caption { font-size: 1rem; }
.twc-article .entry-content > :last-child { margin-bottom: 0; }
.wp-site-blocks .post-navigation a { color: var(--ast-global-color-0); }
.twc-pagination { position: relative; justify-content: center; padding-top: 30px; margin: 0; gap: 4px; font-size: 1.06667rem; }
.wp-site-blocks .twc-pagination .page-numbers { display: inline-block; min-width: 2.333em; height: 2.333em; line-height: 2.1277em; padding: 0; text-align: center; color: #7a7a7a; }
.wp-site-blocks .twc-pagination .page-numbers.current { background: var(--ast-global-color-0); color: #fff; }
.wp-site-blocks .twc-pagination .wp-block-query-pagination-next, .wp-site-blocks .twc-pagination .wp-block-query-pagination-previous { position: absolute; top: 30px; line-height: 37.3px; padding: 0 24px; color: #7a7a7a; }
.twc-pagination .wp-block-query-pagination-next { right: 0; }
.twc-pagination .wp-block-query-pagination-previous { left: 0; }

.comments-area { margin-top: 30px; padding-bottom: 3em; }
.comments-area .comment-respond { background: #fff; padding: 60px 6.67em; }
.comments-area .comment-reply-title { font-size: 1.6rem; line-height: 1.65; }
.comments-area .comment-notes { margin-bottom: 1.5em; }
.comments-area .comment-form-comment { margin: 0 0 1.5em; }
.comments-area textarea { width: 100%; height: 223px; margin-bottom: 10px; display: block; }
.comments-area .comment-form { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.comments-area .comment-form > * { flex: 0 0 100%; padding: 0 20px; }
.comments-area .comment-form > .twc-comment-col { flex: 0 0 33.333%; margin-bottom: 1.75em; }
.comments-area .twc-comment-col input { width: 100%; margin-bottom: 10px; line-height: 1.65em; }
.comments-area .comment-form-cookies-consent { margin-bottom: 1.75em; }
.comments-area .form-submit { margin-bottom: 0; }
@media (max-width: 767px) {
	/* Astra: no width on phones, the fields shrink to the input's natural size (size=30). */
	.comments-area .comment-form > .twc-comment-col { flex: 0 0 auto; width: max-content; max-width: 100%; }
	.wp-site-blocks .comments-area .comment-form .twc-comment-col input[type] { width: auto; }
	.comments-area .comment-form > .comment-form-url { margin-bottom: 13px; }
}
.wp-site-blocks .comments-area #submit { padding: 10px 15px; line-height: 1.85714; border-radius: 2px; background: var(--ast-global-color-0); color: #fff; font-size: 1rem; }
.wp-site-blocks .comments-area #submit:hover { background: var(--ast-global-color-1); }

.twc-404 { margin: 60px 0; text-align: center; }
.twc-404 .wp-block-search { max-width: 500px; margin: 0 auto; }

@media (max-width: 921px) {
	.twc-has-sidebar { display: block; }
	.twc-primary, .twc-sidebar { width: 100%; }
	.twc-primary { margin: 0; padding: 1.5em 0; }
	.twc-sidebar { margin: 0; padding: 0 0 1.5em; }
	.twc-article { padding: 1.5em 2.14em; }
	.twc-featured-wide + .twc-article--single { margin: -80px 0 0; }
	.comments-area .comment-respond { padding: 1.5em 2.14em; }
}
@media (max-width: 544px) {
	.twc-site-content .twc-container { padding-left: 0.54em; padding-right: 0.54em; }
	.twc-featured-wide { margin: 0; }
	.twc-article { padding: 1.5em 1em; }
	.twc-sidebar { padding: 0 1em 1.5em; }
	.post-navigation { display: block; padding-top: 1.5em; }
	.post-navigation > div { line-height: 32px; }
	.post-navigation > div + div { margin-top: 1em; }
	.post-navigation a { line-height: 32px; }
	.twc-article .entry-meta { margin-bottom: 1em; }
	.comments-area textarea { height: 203px; }
	.comments-area .comment-respond { padding: 2em 2.14em; }

	.comments-area .comment-form-author, .comments-area .comment-form-email, .comments-area .comment-form-url { width: 100%; margin-right: 0; }
}

/* ---------- 5. Sidebar widgets ---------- */
.twc-sidebar .widget { margin: 0 0 2.8em; }
.twc-sidebar .widget:last-child { margin-bottom: 0; }
.twc-sidebar .widget .wp-block-group { padding: 60px 0; }
.twc-sidebar h2, .twc-sidebar .wp-block-heading { font-size: 1.4rem; line-height: 1.3; margin: 0; color: var(--ast-global-color-3); }
.twc-sidebar a { color: #7a7a7a; }
.twc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.twc-sidebar li { margin-bottom: 0.25em; }
.twc-sidebar .wp-block-latest-posts li:last-child { margin-bottom: 0; }
.twc-sidebar h2 { margin-bottom: 0; }
.twc-sidebar .wp-block-search__label { font-weight: 400; display: block; }
.twc-sidebar .wp-block-search__inside-wrapper { display: flex; }
.twc-sidebar .wp-block-search__input { flex: 1 1 auto; background: #fafafa; border: 1px solid #ddd; border-radius: 2px; padding: 0.75em; line-height: 1; }
.twc-sidebar .wp-block-search__button { font-size: 1rem; margin-left: 10px; background: #32373c; color: #fff; border: 0; padding: 0.7em 1em; line-height: 2; border-radius: 2px; }
.twc-sidebar .wp-block-search__button:hover { background: var(--ast-global-color-1); }
@media (max-width: 544px) {
	.twc-sidebar .widget .wp-block-group { padding: 2em; }
	.twc-archive-description { padding: 3em; }
	.twc-article.twc-article--card .entry-meta { margin-bottom: 1em; }
	.twc-pagination { flex-wrap: wrap; padding-top: 2em; }
	.wp-site-blocks .twc-pagination .wp-block-query-pagination-next, .wp-site-blocks .twc-pagination .wp-block-query-pagination-previous { position: static; flex: 0 0 100%; text-align: center; line-height: 2.1277em; height: 2.333em; }
}
.twc-sidebar .wp-block-latest-posts li + li { margin-top: 24px; }
@media (max-width: 544px) {
	.comments-area { margin-top: 1.5em; }
}

/* ---------- 6. Footer ---------- */
.twc-footer-above { background: #fff; min-height: 30px; }
.twc-footer-above p { margin: 0; }
.twc-footer-primary { background: #f8ffff; padding: 45px 20px; }
.twc-footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 50px; max-width: 1200px; padding: 0; }
.twc-footer-col { text-align: center; }
.twc-footer-col .twc-footer-html--left { text-align: left; }
.twc-footer-html p { margin: 0 0 1.75em; }
.twc-footer-html p:last-child { margin-bottom: 0; }
.twc-footer-html + .twc-footer-html { margin-top: 11px; }
.twc-footer-html--3 { margin-top: 2px; }
.twc-menu-location--footer_menu { margin-top: 10px; }
.twc-footer-html a { color: #7a7a7a; }
.twc-footer-html img { display: inline-block; }
.twc-footer-social { display: flex; justify-content: center; margin: 1em 0 0; }
.wp-site-blocks .twc-footer-social .twc-social__item { color: #00686a; margin: 0; padding: 0; }
.twc-footer-menu { list-style: none; margin: 0; padding: 0; }
.wp-site-blocks .twc-footer-menu a { color: #7a7a7a; }
.twc-footer-below { background-image: linear-gradient(135deg, rgb(0, 164, 166) 0%, rgb(0, 104, 106) 100%); border-top: 1px solid var(--ast-global-color-6); padding: 20px 0; min-height: 121px; }
.twc-footer-copyright { text-align: center; color: #fff; }
.twc-footer-copyright p { margin: 0; }
.wp-site-blocks .twc-footer-copyright a { color: #fff; }

@media (max-width: 921px) {
	.twc-footer-col .twc-footer-html--left { text-align: center; }
}
@media (max-width: 544px) {
	.twc-footer-grid { grid-template-columns: 1fr; gap: 13px; }
}

/* ---------- 7. Scroll to top (Astra Pro module) ---------- */
.twc-scroll-top {
	position: fixed; left: 30px; bottom: 30px; z-index: 99; width: 2.1em; height: 2.1em; padding: 0;
	display: flex; align-items: center; justify-content: center; border-radius: 2px;
	background: var(--ast-global-color-0); color: #fff; font-size: 15px;
}
.twc-scroll-top[hidden] { display: none; }

/* ---------- 8. Client CSS (was Astra Additional CSS) ---------- */
.professional-dental-care .elementor-widget-container { min-height: 520px; }
#menu-item-4769 > .menu-link { color: #cf1137; font-weight: 600; }
.footer-phone { white-space: nowrap; }

/* Standard (non-Elementor) pages: Astra showed the title above the content. */
.twc-article--page .entry-title { margin-bottom: 30px; }
