/*
Theme Name: TG Orthodontics
Theme URI: https://tgortho.com/
Author: Vitana Marketing
Description: Lightweight block theme for TG Orthodontics. Replaces Astra + Elementor + Dynific. Header, hero, FAQ and footer are rendered from WordPress menus, ACF fields and HIP Options.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tgo
*/

/* ---------- Tokens ---------- */
:root {
	--tgo-black: #141414;
	--tgo-plum: #44264E;
	--tgo-plum-deep: #33153D;
	--tgo-purple: #7F3F98;
	--tgo-purple-hover: #643276;
	--tgo-lilac: #D6A0F2;
	--tgo-lilac-light: #F4EDFA;
	--tgo-lilac-pale: #FAF7FC;
	--tgo-mint: #94E7BC;
	--tgo-sun: #FFDB1B;
	--tgo-gray: #4F4F4F;
	--tgo-line: #E6D6EE;
	--tgo-head: "Figtree", sans-serif;
	--tgo-body: "Merriweather", serif;
	--tgo-wrap: 1240px;
	--tgo-gutter: 64px;
	--tgo-section: 120px;
}
@media (max-width: 1024px) { :root { --tgo-gutter: 40px; --tgo-section: 80px; } }
@media (max-width: 767px) { :root { --tgo-gutter: 20px; --tgo-section: 60px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: clip; margin: 0; font-family: var(--tgo-body); font-size: 16px; line-height: 1.5; color: var(--tgo-gray); background: #fff; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; }
a { color: var(--tgo-purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tgo-purple-hover); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px 28px; padding: 0; }
ul[style*="display:grid"], ol[style*="display:grid"], ul[style*="display: grid"], ol[style*="display: grid"], ul[style*="display:flex"], ul[style*="display: flex"], ul[style^="padding:0"], ol[style^="padding:0"], ul[style*=";padding:0"], ol[style*=";padding:0"], ul[style*="list-style:none"] { list-style: none; }
blockquote { margin: 30px 0 24px; padding: 0 0 0 1.2em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tgo-head); font-weight: 700; margin: 0 0 8px; text-transform: capitalize; }
h1 { color: var(--tgo-black); font-size: 94px; line-height: 1.2; letter-spacing: 1px; }
h2 { color: var(--tgo-plum); font-size: 56px; line-height: 1.2; }
h3 { color: var(--tgo-purple); font-size: 42px; line-height: 1.3; }
h4 { color: var(--tgo-plum); font-size: 32px; line-height: 1.4; }
h5 { color: var(--tgo-mint); font-size: 24px; line-height: 1.4; }
h6 { color: #808285; font-family: var(--tgo-body); font-weight: 400; font-size: 17.6px; text-transform: none; }
@media (max-width: 1024px) {
	h1 { font-size: 56px; line-height: 61.6px; }
	h2 { font-size: 42px; line-height: 50.4px; }
	h3 { font-size: 36px; line-height: 46.8px; }
	h4 { font-size: 28px; line-height: 39.2px; }
	h5 { font-size: 22px; line-height: 30.8px; }
}
@media (max-width: 767px) {
	h1 { font-size: 34px; line-height: 37.4px; }
	h2 { font-size: 33px; line-height: 39.6px; }
	h3 { font-size: 28px; line-height: 36.4px; }
	h4 { font-size: 24px; line-height: 33.6px; }
	h5 { font-size: 20px; line-height: 28px; }
}
table { border-collapse: collapse; }
input, select, textarea, button { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.tgo-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 10px 16px; }
.tgo-skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--tgo-purple); outline-offset: 2px; }
[id] { scroll-margin-top: 150px; }

.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.tgo-site-header { display: contents; }

.tgo-wrap { width: 100%; max-width: calc(var(--tgo-wrap) + 2 * var(--tgo-gutter)); margin: 0 auto; padding: 0 var(--tgo-gutter); }
.tgo-center { text-align: center; }
.tgo-block { display: block; }
.tgo-accent { color: var(--tgo-purple); }

/* ---------- Buttons ---------- */
.tgo-btn { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 17px; background: var(--tgo-purple); border: 2px solid var(--tgo-purple); color: #fff; font-family: var(--tgo-head); font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.tgo-btn:hover, .tgo-btn:focus { background: var(--tgo-plum); border-color: var(--tgo-plum); color: #fff; }
.tgo-btn__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #fff; color: var(--tgo-purple); font-size: 15px; transition: color .2s; }
.tgo-btn:hover .tgo-btn__icon { color: var(--tgo-plum); }
.tgo-btn--dark { background: var(--tgo-plum); border-color: var(--tgo-plum); padding: 4px 4px 4px 10px; }
.tgo-btn--dark .tgo-btn__icon { color: var(--tgo-plum); }
.tgo-btn--dark:hover { background: var(--tgo-purple); border-color: var(--tgo-purple); }
.tgo-btn--lilac { background: var(--tgo-lilac); border-color: var(--tgo-lilac); color: var(--tgo-black); }
.tgo-btn--lilac .tgo-btn__icon { background: var(--tgo-plum); color: var(--tgo-lilac); }
.tgo-btn--lilac:hover { background: #fff; border-color: #fff; color: var(--tgo-plum); }
@media (max-width: 767px) { .tgo-btn { font-size: 16px; } }

/* ---------- Top bar ---------- */
.tgo-topbar { background: var(--tgo-plum); color: #fff; }
.tgo-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 var(--tgo-gutter); }
.tgo-social { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.tgo-social a { display: inline-flex; align-items: center; justify-content: center; color: var(--tgo-lilac); font-size: 22px; }
.tgo-social a:hover { color: #fff; }
.tgo-social--top li { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.2); line-height: 1; }
.tgo-social--top li:first-child { border-left: 0; padding-left: 0; }
.tgo-topbar__right { display: flex; align-items: center; gap: 40px; }
.tgo-topbar__link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--tgo-body); font-size: 14px; line-height: 21px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.tgo-topbar__link i { color: var(--tgo-lilac); font-size: 22px; }
.tgo-topbar__link:hover { color: var(--tgo-lilac); }

/* ---------- Main header ---------- */
.tgo-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 1px 0 rgba(20,20,20,.06); }
.admin-bar .tgo-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tgo-header { top: 0; } }
.tgo-header__inner { display: flex; align-items: center; gap: 32px; min-height: 100px; padding: 0 var(--tgo-gutter); }
.tgo-logo { flex: 0 0 auto; display: block; line-height: 0; }
.tgo-logo img { width: 300px; height: auto; }
.tgo-nav { margin-left: auto; }
.tgo-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.tgo-nav__item { position: relative; display: flex; align-items: center; gap: 6px; }
.tgo-nav__link { display: block; padding: 8px 0; color: var(--tgo-plum-deep); font-family: var(--tgo-head); font-size: 20px; line-height: 30px; font-weight: 700; letter-spacing: .5px; text-transform: capitalize; }
.tgo-nav__item:hover > .tgo-nav__link, .tgo-nav__item.is-current > .tgo-nav__link, .tgo-nav__item.is-open > .tgo-nav__link { color: var(--tgo-purple); }
.tgo-nav__caret { border: 0; background: none; padding: 4px; color: var(--tgo-plum-deep); font-size: 11px; cursor: pointer; line-height: 1; }
.tgo-nav__item:hover > .tgo-nav__caret { color: var(--tgo-purple); }
.tgo-nav__item:hover > .tgo-nav__caret i, .tgo-nav__item.is-open > .tgo-nav__caret i { transform: rotate(180deg); }
.tgo-nav__caret i { transition: transform .2s; }
.tgo-header__cta { flex: 0 0 auto; }

.tgo-dropdown { list-style: none; margin: 0; padding: 14px 0; position: absolute; top: 100%; left: -28px; min-width: 240px; background: #fff; box-shadow: 0 12px 30px rgba(20,20,20,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.tgo-dropdown__link { display: block; padding: 10px 28px; color: var(--tgo-black); font-family: var(--tgo-head); font-size: 16px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.tgo-dropdown__link:hover, .tgo-dropdown__link[aria-current] { color: var(--tgo-purple); }

.tgo-mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: 730px; padding: 24px; background: var(--tgo-plum-deep); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.tgo-mega__inner { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--tgo-purple); }
.tgo-mega__tabs { list-style: none; margin: 0; padding: 30px 22px; }
.tgo-mega__tablink { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; color: #fff; font-family: var(--tgo-head); font-size: 30px; line-height: 1.4; font-weight: 600; text-transform: capitalize; }
.tgo-mega__tablink span { font-family: var(--tgo-body); font-size: 14px; color: #fff; opacity: .9; }
.tgo-mega__tab.is-active .tgo-mega__tablink, .tgo-mega__tablink:hover { color: var(--tgo-lilac); }
.tgo-mega__panels { background: #fff; padding: 18px 26px; }
.tgo-mega__panel { list-style: none; margin: 0; padding: 0; display: none; }
.tgo-mega__panel.is-active { display: block; }
.tgo-mega__link { display: block; padding: 10px 0; color: var(--tgo-black); font-family: var(--tgo-head); font-size: 17px; line-height: 1.4; font-weight: 600; }
.tgo-mega__link:hover { color: var(--tgo-purple); }

.tgo-nav__item:hover > .tgo-dropdown, .tgo-nav__item:focus-within > .tgo-dropdown, .tgo-nav__item.is-open > .tgo-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.tgo-nav__item:hover > .tgo-mega, .tgo-nav__item:focus-within > .tgo-mega, .tgo-nav__item.is-open > .tgo-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.tgo-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--tgo-plum); padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.tgo-burger span { display: block; height: 3px; background: #fff; transition: transform .2s, opacity .2s; }
.tgo-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.tgo-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tgo-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.tgo-mnav { background: #fff; border-top: 1px solid var(--tgo-line); padding: 10px var(--tgo-gutter) 24px; max-height: calc(100vh - 80px); overflow-y: auto; }
.tgo-mnav ul { list-style: none; margin: 0; padding: 0; }
.tgo-mnav ul ul { display: none; padding-left: 16px; }
.tgo-mnav li.is-open > ul { display: block; }
.tgo-mnav__row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--tgo-lilac-light); }
.tgo-mnav__link { display: block; padding: 12px 0; color: var(--tgo-plum-deep); font-family: var(--tgo-head); font-size: 18px; font-weight: 700; }
.tgo-mnav ul ul .tgo-mnav__link { font-size: 16px; font-weight: 600; }
.tgo-mnav__toggle { border: 0; background: none; padding: 10px; color: var(--tgo-purple); cursor: pointer; }
.tgo-mnav li.is-open > .tgo-mnav__row .tgo-mnav__toggle i { transform: rotate(180deg); }
.tgo-mnav__cta { margin-top: 20px; }
.tgo-mnav__phone { display: inline-block; margin-top: 14px; font-weight: 700; }
.tgo-mnav__extra { display: block; padding: 12px 0; font-family: var(--tgo-head); font-size: 18px; font-weight: 700; color: var(--tgo-plum-deep); border-bottom: 1px solid var(--tgo-lilac-light); }
.tgo-mnav__extra i { color: var(--tgo-purple); margin-right: 6px; }

@media (max-width: 1280px) {
	.tgo-nav__list { gap: 18px; }
	.tgo-nav__link { font-size: 17px; }
	.tgo-logo img { width: 240px; }
}
@media (max-width: 1100px) {
	.tgo-nav, .tgo-header__cta { display: none; }
	.tgo-burger { display: flex; }
	.tgo-header__inner { min-height: 80px; }
	.tgo-topbar__right { gap: 20px; }
}
@media (max-width: 767px) {
	.tgo-topbar__inner { justify-content: center; }
	.tgo-social--top { display: none; }
	.tgo-topbar__link { font-size: 12px; letter-spacing: .5px; gap: 8px; }
	.tgo-topbar__link i { font-size: 18px; }
	.tgo-logo img { width: 200px; }
}

/* ---------- Hero ---------- */
.tgo-hero { background-color: var(--tgo-plum); }
.tgo-hero__panel { position: relative; background: var(--tgo-plum) url("/wp-content/uploads/2024/09/315c4bfe3e9ea6d0c07c31c39a91a7a7.png") 0 0 / cover no-repeat; display: flex; align-items: center; }
.tgo-hero__panel::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.35); pointer-events: none; }
.tgo-hero__text { position: relative; }
.tgo-hero__title { color: #fff; font-size: 72px; line-height: 86.4px; letter-spacing: 0; margin: 0 0 8px; }
.tgo-hero__tagline { margin: 0; color: var(--tgo-lilac); font-family: var(--tgo-head); font-size: 24px; line-height: 36px; font-weight: 700; letter-spacing: .75px; text-transform: uppercase; }
.tgo-hero--split { display: grid; grid-template-columns: 1fr 1fr; min-height: 634px; }
.tgo-hero--split .tgo-hero__panel { padding: 60px var(--tgo-gutter); }
.tgo-hero__media { position: relative; background: center / cover no-repeat; min-height: 300px; }
.tgo-hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.48) 100%); }
.tgo-hero--center .tgo-hero__panel { min-height: 634px; justify-content: center; text-align: center; padding: 80px var(--tgo-gutter); }
.tgo-hero--center .tgo-hero__text { max-width: 1240px; }
@media (max-width: 1024px) {
	.tgo-hero__title { font-size: 48px; line-height: 1.15; }
	.tgo-hero__tagline { font-size: 20px; }
	.tgo-hero--split { min-height: 480px; }
	.tgo-hero--center .tgo-hero__panel { min-height: 420px; }
}
@media (max-width: 767px) {
	.tgo-hero--split { grid-template-columns: 1fr; min-height: 0; }
	.tgo-hero--split .tgo-hero__panel { padding: 60px var(--tgo-gutter); }
	.tgo-hero__media { min-height: 280px; }
	.tgo-hero__title { font-size: 36px; line-height: 1.15; }
	.tgo-hero__tagline { font-size: 16px; line-height: 1.5; }
	.tgo-hero--center .tgo-hero__panel { min-height: 320px; }
}

/* ---------- Page content ---------- */
.tgo-main { padding: var(--tgo-section) 0; }
.tgo-main--flush { padding: 0; }
.tgo-main > .tgo-entry, .tgo-main--post .tgo-entry { width: 100%; max-width: calc(var(--tgo-wrap) + 2 * var(--tgo-gutter)); margin: 0 auto; padding: 0 var(--tgo-gutter); }
.tgo-main--flush > .tgo-entry { max-width: none; padding: 0; }
.tgo-entry > *:last-child { margin-bottom: 0; }
.tgo-entry img { height: auto; }
.tgo-entry .alignleft { float: left; margin: 0 24px 16px 0; }
.tgo-entry .alignright { float: right; margin: 0 0 16px 24px; }
.tgo-entry .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.tgo-entry iframe { max-width: 100%; }
.tgo-entry::after { content: ""; display: table; clear: both; }

/* Single post */
.tgo-post__head { max-width: calc(var(--tgo-wrap) + 2 * var(--tgo-gutter)); margin: 0 auto 60px; padding: 0 var(--tgo-gutter); }
.tgo-post__img { display: block; width: 50%; max-width: 620px; height: auto; margin-bottom: 30px; }
.tgo-post__meta { display: flex; flex-direction: column; margin: 0; color: var(--tgo-plum); font-size: 16px; line-height: 1.6; font-weight: 700; }
.tgo-post__author { color: var(--tgo-purple); }
@media (max-width: 767px) { .tgo-post__img { width: 100%; } }

/* ---------- FAQ ---------- */
.tgo-faq { padding: 0 0 var(--tgo-section); }
.tgo-faq__heading { margin-bottom: 24px; }
.tgo-faq__item { background: var(--tgo-lilac-light); margin: 0 0 16px; }
.tgo-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; cursor: pointer; list-style: none; color: var(--tgo-black); font-family: var(--tgo-body); font-size: 20px; line-height: 1.4; font-weight: 700; }
.tgo-faq__q::-webkit-details-marker { display: none; }
.tgo-faq__icon { flex: 0 0 auto; color: var(--tgo-purple); font-size: 30px; transition: transform .2s; }
.tgo-faq__item[open] .tgo-faq__icon { transform: rotate(45deg); }
.tgo-faq__a { padding: 0 30px 30px; color: var(--tgo-gray); }
.tgo-faq__a > *:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .tgo-faq__q { font-size: 17px; padding: 20px; } .tgo-faq__a { padding: 0 20px 20px; } }

/* ---------- Shared section bits ---------- */
.tgo-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--tgo-purple); font-family: var(--tgo-body); font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.tgo-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--tgo-purple); }
.tgo-eyebrow--center { justify-content: center; }
.tgo-eyebrow--center::after { content: ""; width: 40px; height: 1px; background: var(--tgo-purple); }
.tgo-display { color: var(--tgo-black); font-size: 68px; line-height: 1.2; text-transform: none; margin: 0 0 24px; }
@media (max-width: 1024px) { .tgo-display { font-size: 42px; } }
@media (max-width: 767px) { .tgo-display { font-size: 33px; } }
.tgo-label-heading { margin: 0 0 12px; color: var(--tgo-purple); font-size: 24px; line-height: 36px; letter-spacing: .75px; text-transform: uppercase; }
.tgo-iconline { display: flex; gap: 12px; align-items: flex-start; color: var(--tgo-black); font-size: 18px; line-height: 28.8px; margin-bottom: 24px; }
.tgo-iconline i { color: var(--tgo-purple); margin-top: 6px; width: 16px; text-align: center; }
.tgo-iconline:hover { color: var(--tgo-purple); }

/* ---------- Footer: CTA ---------- */
.tgo-fcta { background: var(--tgo-lilac); padding: var(--tgo-section) 0 0; }
.tgo-fcta__box { position: relative; background: #fff; }
.tgo-fcta__box::before { content: ""; position: absolute; inset: 0; background: url("/wp-content/uploads/2024/09/cta-bg.svg") center / cover no-repeat; pointer-events: none; }
.tgo-fcta__text { position: relative; text-align: center; padding: 70px 40px; max-width: 900px; margin: 0 auto; }
.tgo-fcta__text .tgo-display { margin-bottom: 30px; }
.tgo-fcta__text .tgo-accent { display: block; }
.tgo-fcta__lead { color: var(--tgo-black); font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.tgo-fcta__img { position: relative; display: block; width: 100%; height: 630px; object-fit: cover; }
@media (max-width: 767px) { .tgo-fcta__text { padding: 40px 20px; } .tgo-fcta__img { height: 280px; } }

/* ---------- Footer: reviews ---------- */
.tgo-freviews { padding: var(--tgo-section) 0 60px; }
.tgo-freviews__top { display: grid; grid-template-columns: 1fr 540px; gap: 60px; align-items: start; }
.tgo-freviews__intro p { font-size: 18px; line-height: 1.6; max-width: 520px; }
.tgo-video { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; margin-bottom: -60px; z-index: 1; }
.tgo-video img { width: 100%; height: 540px; object-fit: cover; }
.tgo-video__play { position: absolute; top: 0; right: 0; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: var(--tgo-lilac); color: #fff; font-size: 60px; }
@media (max-width: 767px) { .tgo-video__play { width: 40px; height: 40px; font-size: 30px; } }
.tgo-video:hover .tgo-video__play { background: var(--tgo-purple); }
.tgo-freviews__list { max-width: 1140px; }
.tgo-freviews__more { display: flex; justify-content: flex-end; max-width: 1140px; margin-top: 30px; }
@media (max-width: 1024px) {
	.tgo-freviews__top { grid-template-columns: 1fr; }
	.tgo-video { margin-bottom: 40px; max-width: 540px; }
	.tgo-video img { height: 400px; }
}
.tgo-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 20px; }
.tgo-lightbox video { max-width: min(1000px, 100%); max-height: 85vh; }
.tgo-lightbox__close { position: absolute; top: 16px; right: 20px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }

/* Reviews slider (Business Reviews Bundle) */
.tgo-freviews .rpi .rpi-slides-bite { --offset: 0 !important; margin: 0 !important; }
.tgo-freviews .rpi-slider .rpi-cards { --slider-card-gap: 60px; }
.tgo-freviews .rpi-slider .rpi-card-inner { margin: 0; border-radius: 0; background: var(--tgo-lilac-pale) !important; padding: 60px !important; box-shadow: none !important; }
.tgo-freviews .rpi-logo.rpi-logo-google::before { content: ""; background: url("/wp-content/uploads/2022/05/google-2.svg") 0 0 / contain no-repeat; width: 64px; height: 64px; margin: 0 8px 0 0; display: inline-block; }
.tgo-freviews .rpi-stars { gap: 10px; align-self: center !important; }
.tgo-freviews .rpi-text { padding-right: 12px; min-height: 200px; color: var(--tgo-black) !important; font-family: var(--tgo-body) !important; font-size: 18px !important; line-height: 1.6 !important; }
.tgo-freviews .rpi-readmore { padding-top: 14px; width: fit-content; text-decoration: none !important; color: var(--tgo-purple) !important; font-family: var(--tgo-body) !important; font-size: 18px !important; text-transform: capitalize !important; }
.tgo-freviews .rpi-name { border-top: 2px solid #EFC003; width: fit-content; padding-top: 16px; color: var(--tgo-purple) !important; font-family: var(--tgo-head) !important; font-size: 24px !important; line-height: 36px !important; font-weight: 700 !important; letter-spacing: .75px !important; text-transform: uppercase !important; }
.tgo-freviews .rpi-content .rpi-slider-prev, .tgo-freviews .rpi-content .rpi-slider-next { display: none; }
@media (max-width: 1024px) { .tgo-freviews .rpi-slider .rpi-card-inner { padding: 40px !important; } .tgo-freviews .rpi-logo-google::before { width: 58px; height: 58px; margin: 0 16px 0 0; } }
@media (max-width: 767px) { .tgo-freviews .rpi-slider .rpi-card-inner { padding: 20px !important; } .tgo-freviews .rpi-text { min-height: 180px; } .tgo-freviews .rpi-logo-google::before { width: 46px; height: 46px; } .tgo-freviews .rpi-stars { gap: 6px; } }
.tgo-rnav { display: flex; gap: 20px; }
.tgo-rnav button { width: 60px; height: 60px; border: 2px solid var(--tgo-purple); background: #fff; color: var(--tgo-purple); cursor: pointer; font-size: 16px; }
.tgo-rnav button:hover { background: var(--tgo-purple); color: #fff; }
.tgo-freviews__more { justify-content: space-between; align-items: center; }

/* ---------- Footer: location ---------- */
.tgo-floc-intro { padding: 60px 0 60px; }
.tgo-floc-intro__lead { max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.tgo-floc { position: relative; background: var(--tgo-lilac-pale); padding: 100px 0; overflow: hidden; }
.tgo-floc::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34.7%; background: #DBBEE9 url("/wp-content/uploads/2022/05/line.png") center / cover no-repeat; }
.tgo-floc__inner { position: relative; display: grid; grid-template-columns: 450px minmax(0, 760px); align-items: stretch; }
.tgo-floc__card { background: var(--tgo-lilac-pale); border: 1px solid #DADADA; border-right: 0; padding: 59px; }
.tgo-floc__city { margin: 0 0 8px; color: var(--tgo-plum); font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: .5px; }
.tgo-floc__card .tgo-label-heading { margin-top: 0; }
.tgo-floc__img { width: 100%; height: 100%; min-height: 645px; object-fit: cover; display: block; align-self: center; max-height: 645px; }
.tgo-hours table { width: 100%; }
.tgo-hours td { padding: 6px 0; vertical-align: top; color: var(--tgo-black); font-size: 18px; line-height: 28.8px; }
.tgo-hours td:first-child { padding-right: 24px; width: 45%; }
@media (max-width: 1024px) {
	.tgo-floc { padding: 60px 0; }
	.tgo-floc::before { display: none; }
	.tgo-floc__inner { grid-template-columns: 1fr; }
	.tgo-floc__card { border-right: 1px solid #DADADA; padding: 40px; }
	.tgo-floc__img { min-height: 0; height: 360px; }
}

/* ---------- Footer: main ---------- */
.tgo-fmain { background: var(--tgo-plum); color: #fff; padding: 60px 0 30px; }
.tgo-fmain__brand { display: flex; flex-direction: column; align-items: center; gap: 30px; margin-bottom: 60px; }
.tgo-fmain__brand img { width: 500px; max-width: 100%; height: auto; }
.tgo-fmain__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border: 1px solid rgba(255,255,255,.1); padding: 60px; }
.tgo-fmain__h { margin: 0 0 24px; color: var(--tgo-sun); font-size: 24px; line-height: 36px; text-transform: uppercase; letter-spacing: .75px; }
.tgo-fmain__links { list-style: none; margin: 0; padding: 0; }
.tgo-fmain__links li { margin: 0 0 10px; }
.tgo-fmain__links a { color: #fff; font-size: 18px; line-height: 28.8px; display: inline-flex; gap: 10px; align-items: center; }
.tgo-fmain__links a:hover { color: var(--tgo-lilac); }
.tgo-fmain__links--icons i { color: var(--tgo-lilac); }
.tgo-social--footer { gap: 14px; }
.tgo-social--footer a { width: 40px; height: 40px; color: #fff; font-size: 22px; }
.tgo-social--footer a:hover { color: var(--tgo-lilac); }
.tgo-fmain__legal { margin: 30px 0 0; text-align: center; font-size: 12px; line-height: 18px; color: #fff; }
.tgo-fmain__legal a { color: var(--tgo-lilac); text-decoration: underline; }
@media (max-width: 1024px) { .tgo-fmain__cols { grid-template-columns: 1fr; padding: 40px; text-align: left; } }

/* Announcement bar (was an Elementor popup) */
.tgo-announce { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--tgo-lilac); display: flex; align-items: center; justify-content: center; padding: 12px 60px; }
.tgo-announce[hidden] { display: none; }
.tgo-announce p { margin: 0; color: var(--tgo-black); font-size: 16px; line-height: 24px; text-align: center; }
.tgo-announce__close { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--tgo-black); font-size: 20px; cursor: pointer; padding: 6px; }

/* ---------- Blog cards ---------- */
.tgo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tgo-card { background: var(--tgo-black); display: flex; flex-direction: column; }
.tgo-card__media { display: block; line-height: 0; }
.tgo-card__img { width: 100%; height: 299px; object-fit: cover; }
.tgo-card__body { padding: 40px; display: flex; flex-direction: column; flex: 1; }
.tgo-card__title { margin: 0 0 20px; font-size: 32px; line-height: 44.8px; }
.tgo-card__title a { color: var(--tgo-lilac); }
.tgo-card__title a:hover { color: #fff; }
.tgo-card__excerpt { color: #fff; font-size: 16px; line-height: 1.6; margin-bottom: 40px; }
.tgo-card__excerpt p { margin: 0; }
.tgo-card__more { margin-top: auto; color: var(--tgo-lilac); font-family: var(--tgo-head); font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.tgo-card__more i { color: var(--tgo-sun); margin-left: 6px; }
.tgo-card__more:hover { color: #fff; }
.tgo-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 60px; }
.tgo-pager .page-numbers { display: inline-block; padding: 15px 32px; background: var(--tgo-lilac-light); color: var(--tgo-black); font-family: var(--tgo-head); font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.tgo-pager .page-numbers.current, .tgo-pager a.page-numbers:hover { background: var(--tgo-purple); color: #fff; }
@media (max-width: 1024px) { .tgo-cards { grid-template-columns: repeat(2, 1fr); } .tgo-card__title { font-size: 26px; line-height: 1.35; } }
@media (max-width: 767px) { .tgo-cards { grid-template-columns: 1fr; } .tgo-card__body { padding: 28px; } }

.tgo-404 { max-width: 760px; }
.tgo-404 .search-form, .tgo-empty .search-form { margin: 24px 0; display: flex; gap: 10px; justify-content: center; }
.search-form input[type="search"] { padding: 12px 14px; border: 1px solid #ccc; min-width: 260px; }
.search-form .search-submit { padding: 12px 20px; border: 0; background: var(--tgo-purple); color: #fff; font-family: var(--tgo-head); font-weight: 700; text-transform: uppercase; cursor: pointer; }

/* ---------- Location page ---------- */
.tgo-loc-h2 { color: var(--tgo-black); font-size: 56px; line-height: 1.2; margin-bottom: 24px; }
@media (max-width: 1024px) { .tgo-loc-h2 { font-size: 42px; } }
@media (max-width: 767px) { .tgo-loc-h2 { font-size: 33px; } }
.tgo-rich > *:last-child { margin-bottom: 0; }
.tgo-rich ul { margin-left: 20px; }
.tgo-loc-intro { padding: var(--tgo-section) 0; }
.tgo-loc-intro .tgo-loc-h2 { text-transform: none; }
.tgo-loc-intro__text { max-width: 760px; margin: 0 auto; }
.tgo-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 40px 0 60px; }
.tgo-loc-map { display: grid; grid-template-columns: 409px 1fr; min-height: 631px; }
.tgo-loc-map__card { background: var(--tgo-plum-deep); padding: 40px; color: #fff; }
.tgo-loc-map__card .tgo-label-heading { color: var(--tgo-lilac); margin-top: 24px; }
.tgo-loc-map__card .tgo-label-heading:first-child { margin-top: 0; }
.tgo-loc-map__card .tgo-iconline, .tgo-loc-map__card .tgo-hours td { color: #fff; margin-bottom: 8px; }
.tgo-loc-map__card .tgo-iconline i { color: var(--tgo-lilac); }
.tgo-loc-map__card a.tgo-iconline:hover { color: var(--tgo-lilac); }
.tgo-loc-map__map { position: relative; min-height: 400px; background: #eee; }
.tgo-loc-map__map iframe { filter: grayscale(1); }
.tgo-loc-map__map iframe, .tgo-loc-map__map > div { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
@media (max-width: 1024px) { .tgo-loc-map { grid-template-columns: 1fr; } .tgo-loc-map__map { min-height: 380px; } }

.tgo-split { padding: 0 0 var(--tgo-section); }
.tgo-split__inner { display: grid; grid-template-columns: 515px 1fr; gap: 50px; align-items: center; }
.tgo-split__inner--reverse { grid-template-columns: 1fr 1fr; }
.tgo-split__inner--reverse .tgo-split__media { order: -1; }
.tgo-split__img { width: 100%; height: auto; display: block; object-fit: cover; }
.tgo-pale { background: #FBF6FD; padding: var(--tgo-section) 0; }
.tgo-dark { background: var(--tgo-black); color: #fff; padding: var(--tgo-section) 0; }
.tgo-dark .tgo-loc-h2, .tgo-dark p, .tgo-dark li { color: #fff; }
.tgo-dark a { color: #fff; text-decoration: underline; }
.tgo-dark a:hover { color: var(--tgo-lilac); }
@media (max-width: 1024px) { .tgo-split__inner, .tgo-split__inner--reverse { grid-template-columns: 1fr; } .tgo-split__inner--reverse .tgo-split__media { order: 0; } }

.tgo-feature-stack > .tgo-wrap { max-width: none; padding: 0; }
.tgo-feature { display: flex; align-items: center; padding: 100px max(var(--tgo-gutter), calc((100% - var(--tgo-wrap)) / 2)); background: var(--tgo-lilac-light); }
.tgo-feature:nth-child(2) { background: #FBF6FD; flex-direction: row-reverse; }
.tgo-feature:nth-child(3) { background: #fff; }
.tgo-feature__box { position: relative; z-index: 1; flex: 0 0 741px; max-width: 60%; background: var(--tgo-lilac); padding: 40px; margin-right: -200px; color: #454545; }
.tgo-feature:nth-child(2) .tgo-feature__box { flex-basis: 610px; background: var(--tgo-purple); margin: 0 0 0 -70px; color: #fff; }
.tgo-feature:nth-child(3) .tgo-feature__box { flex-basis: 611px; background: #552D62; margin-right: -70px; color: #fff; }
.tgo-feature__title { color: var(--tgo-black); font-size: 38px; line-height: 1.2; margin-bottom: 24px; }
.tgo-feature:nth-child(2) .tgo-feature__title, .tgo-feature:nth-child(3) .tgo-feature__title, .tgo-feature:nth-child(2) p, .tgo-feature:nth-child(3) p { color: #fff; }
.tgo-feature:nth-child(n+2) a { color: #fff; text-decoration: underline; }
.tgo-feature__box p, .tgo-feature__box li { color: inherit; }
.tgo-feature__box a { color: inherit; text-decoration: underline; }
.tgo-feature__media { flex: 1; }
.tgo-feature__img { width: 100%; height: 600px; object-fit: cover; display: block; }
@media (max-width: 1024px) {
	.tgo-feature, .tgo-feature:nth-child(2) { flex-direction: column-reverse; padding: 60px var(--tgo-gutter); }
	.tgo-feature__box, .tgo-feature:nth-child(2) .tgo-feature__box, .tgo-feature:nth-child(3) .tgo-feature__box { flex-basis: auto; max-width: none; width: 100%; margin: -60px 0 0; }
	.tgo-feature__img { height: 380px; }
	.tgo-feature__title { font-size: 30px; }
}

.tgo-loc-welcome { padding: var(--tgo-section) 0 0; }
.tgo-loc-welcome__row { display: grid; grid-template-columns: 620px 1fr; margin-top: 40px; }
.tgo-loc-welcome__box { background: var(--tgo-black); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: #fff; }
.tgo-loc-welcome__box .tgo-label-heading { color: var(--tgo-lilac); }
.tgo-loc-welcome__box .tgo-iconline, .tgo-loc-welcome__city { color: #fff; }
.tgo-loc-welcome__city { font-weight: 700; margin-bottom: 8px; }
.tgo-loc-welcome__box .tgo-iconline i { color: var(--tgo-lilac); }
.tgo-loc-welcome__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgo-dotlist { list-style: none; margin: 0; padding: 0; }
.tgo-dotlist li { position: relative; padding-left: 18px; margin-bottom: 10px; }
.tgo-dotlist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--tgo-lilac); }
.tgo-dotlist a { color: #fff; }
.tgo-dotlist a:hover { color: var(--tgo-lilac); }
@media (max-width: 1024px) { .tgo-loc-welcome__row { grid-template-columns: 1fr; } .tgo-loc-welcome__img { height: 320px; } }
@media (max-width: 600px) { .tgo-loc-welcome__box { grid-template-columns: 1fr; } }
.single-location .tgo-main:empty, .single-location .tgo-main .tgo-entry:empty { display: none; }

/* ---------- Team member ---------- */
.tgo-team { padding: var(--tgo-section) 0 60px; }
.tgo-team__inner { display: grid; grid-template-columns: 415px 1fr; gap: 45px; align-items: start; }
.tgo-video--team { margin: 0; width: 100%; }
.tgo-team__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.tgo-video--team .tgo-video__play { width: 56px; height: 56px; font-size: 40px; top: 0; right: 0; }
.tgo-team__gallery { display: flex; align-items: center; justify-content: space-around; gap: 10px; margin-top: 14px; padding: 14px; background: var(--tgo-lilac-light); border-bottom: 2px solid var(--tgo-lilac); }
.tgo-team__logo { max-height: 64px; width: auto; flex: 0 1 auto; }
.tgo-team__name { color: var(--tgo-black); font-size: 56px; line-height: 1.2; margin-bottom: 8px; }
.tgo-team__desig { color: var(--tgo-purple); font-family: var(--tgo-head); font-size: 24px; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: .75px; }
@media (min-width: 1025px) { .tgo-team__media { position: sticky; top: 150px; } }
@media (max-width: 1024px) { .tgo-team__inner { grid-template-columns: 1fr; } .tgo-team__media { max-width: 520px; } .tgo-team__name { font-size: 42px; } }
@media (max-width: 767px) { .tgo-team__name { font-size: 33px; } .tgo-team__desig { font-size: 18px; } }
.single-team-members .tgo-main { padding-top: 0; }

/* ---------- Landing-page building blocks ---------- */
.tgo-sec { padding: var(--tgo-section) 0; }
.tgo-sec + .tgo-sec { padding-top: 0; }
.tgo-sec--plum { background: var(--tgo-plum); color: #fff; text-align: center; }
.tgo-sec--plum + .tgo-sec { padding-top: var(--tgo-section); }
.tgo-sec--plum h1, .tgo-sec--plum h2, .tgo-sec--plum p { color: #fff; }
.tgo-sec--plum a:not(.tgo-btn) { color: var(--tgo-lilac); }
.tgo-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.tgo-lead { font-size: 18px; line-height: 1.6; }
.tgo-cbox { display: grid; grid-template-columns: 403px 1fr; margin-top: 60px; text-align: left; }
.tgo-cbox__card { background: var(--tgo-plum-deep); padding: 40px; color: #fff; }
.tgo-cbox__card .tgo-label-heading { color: var(--tgo-lilac); margin-top: 24px; }
.tgo-cbox__card .tgo-label-heading:first-child { margin-top: 0; }
.tgo-cbox__city { color: #fff; font-size: 18px; line-height: 27px; font-weight: 700; margin: 0 0 8px; }
.tgo-cbox__card .tgo-iconline, .tgo-cbox__card .tgo-hours td { color: #fff; }
.tgo-cbox__card .tgo-iconline { margin-bottom: 8px; }
.tgo-cbox__card .tgo-iconline i { color: var(--tgo-lilac); }
.tgo-cbox__card a.tgo-iconline:hover { color: var(--tgo-lilac); }
.tgo-cbox__panel { border: 1px solid #DADADA; border-left: 0; padding: 59px; background: #fff; }
@media (max-width: 1024px) { .tgo-cbox { grid-template-columns: 1fr; } .tgo-cbox__panel { border-left: 1px solid #DADADA; padding: 30px; } }
.tgo-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.tgo-calc__img { width: 100%; height: auto; display: block; }
.tgo-calc__note { font-size: 12px; line-height: 1.5; margin-top: 30px; }
@media (max-width: 1024px) { .tgo-calc { grid-template-columns: 1fr; } }
#palc_payment_amount { width: fit-content; background: var(--tgo-purple); color: #fff; padding: 24px 35px; margin: 40px 0 0; border-radius: 4px; font-family: var(--tgo-body); font-size: 16px; line-height: 24px; }
#palc_payment_amount span { display: block; margin-top: 4px; color: #fff; font-family: var(--tgo-head); font-size: 24px; line-height: 36px; font-weight: 700; text-transform: uppercase; }
.tgo-lp-h1 { color: var(--tgo-plum); font-size: 80px; line-height: 1.2; margin-bottom: 40px; }
@media (max-width: 1024px) { .tgo-lp-h1 { font-size: 48px; } }
@media (max-width: 767px) { .tgo-lp-h1 { font-size: 34px; } }
.tgo-sec--plum .tgo-btn-row { margin-bottom: 0; }
.tgo-video-embed { position: relative; margin: 24px 0; }
.tgo-video-embed video { width: 100%; height: auto; display: block; background: #000; }
.tgo-video-embed--yt { aspect-ratio: 16 / 9; }
.tgo-video-embed--yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
