/*
Theme Name: Divi Child - St Thomas a Becket Nursery
Description: Child theme for St Thomas a Becket Nursery (brand fonts and colours from the previous site).
Author: Juice Web Solutions
Author URI: https://juicewebsolutions.co.uk
Template: Divi
Version: 1.1.7
Text Domain: divi-child-stt
*/

/* Brand, measured from the previous site (Elementor kit + OceanWP settings):
   primary #497691, text #525252, light blue #cee3ec, pale #f4f9fb,
   orange button #ee9c44, light button #74aec8. Fonts: Mulish (body), Ubuntu (headings). */
:root {
	--stt-primary: #497691;
	--stt-text: #525252;
	--stt-light: #cee3ec;
	--stt-pale: #f4f9fb;
	--stt-orange: #ee9c44;
}


body.stt-site,
body.stt-site p,
.stt-site .et_pb_text,
.stt-site .et_pb_contact_form,
.stt-site .et_pb_menu .et-menu a,
.stt-site input,
.stt-site textarea,
.stt-site select {
	font-family: 'Mulish', Helvetica, Arial, sans-serif;
}


body.stt-site {
	color: var(--stt-text);
	font-size: 16px;
	line-height: 1.7;
}


.stt-site h1,
.stt-site h2,
.stt-site h3,
.stt-site h4,
.stt-site h5,
.stt-site h6,
.stt-site .et_pb_text h1,
.stt-site .et_pb_text h2,
.stt-site .et_pb_text h3,
.stt-site .et_pb_text h4,
.stt-site .et_pb_text h5,
.stt-site .et_pb_text h6 {
	font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
	color: var(--stt-primary);
	font-weight: 400;
	line-height: 1.25;
}


/* Default heading sizes as the old theme; headings that had their own size carry it inline */
.stt-site .et_pb_text h2 { font-size: 25px; }

.stt-site .et_pb_text h3 { font-size: 18px; font-weight: 600; color: #333; line-height: 1.4; }

.stt-site .et_pb_text h4 { font-size: 17px; font-weight: 600; color: #333; line-height: 1.4; }


.stt-site a { color: var(--stt-primary); }

.stt-site .et_pb_text a { text-decoration: underline; }

.stt-site .et_pb_text a:hover { color: #2f5268; }


.stt-site .et_pb_text ul { padding-left: 1.2em; }

.stt-site .et_pb_text ul li { margin-bottom: 0.4em; }

/* Buttons: allow long link text (several old buttons show a full URL) to wrap on phones */

.stt-site .et_pb_button {
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: center;
	line-height: 1.4 !important;
}

.stt-site .et_pb_button:hover { opacity: 0.88; }

/* Blue bands on the home page (Family Corner guide, privacy notice) */

.stt-site .stt-band .et_pb_button { text-decoration: none; }

.stt-site .stt-band .et_pb_button:hover { text-decoration: underline; opacity: 1; }

/* Home hero (old "WELCOME TO / ST. THOMAS A BECKET NURSERY" slider) */

.stt-site .stt-hero-text h2.stt-hero-kicker {
	color: #fff;
	font-size: 32px;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
	padding-bottom: 6px;
}

.stt-site .stt-hero-text p.stt-hero-title {
	color: #fff;
	font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
	font-size: 50px;
	line-height: 1.15;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 767px) {
.stt-site .stt-hero-text p.stt-hero-title { font-size: 32px; }
	
.stt-site .stt-hero-text h2.stt-hero-kicker { font-size: 24px; }
	
.stt-site .et_pb_section.stt-hero { padding-top: 90px !important; padding-bottom: 90px !important; }

}

/* PDF / document link lists (old Elementor icon lists) */
.stt-site ul.stt-list { list-style: none; padding-left: 0 !important; }

.stt-site ul.stt-list li { position: relative; padding-left: 40px; margin-bottom: 10px; min-height: 40px; display: flex; align-items: center; }

/* Document icon, as the old site's "file" icon (40px, brand blue) */
.stt-site ul.stt-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 34px;
	background: var(--stt-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.stt-site ul.stt-list li a { text-decoration: none; color: var(--stt-primary); }

.stt-site ul.stt-list li a:hover { text-decoration: underline; }

/* Fee tables (old EA data tables) */

.stt-site .stt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.stt-site table.stt-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
	border: 1px solid #aed0df;
}

.stt-site table.stt-table th {
	background: var(--stt-primary);
	color: #fff;
	font-weight: 700;
	text-align: center;
	padding: 12px 10px;
	border: 1px solid #73a5c4;
	line-height: 1.4;
}

.stt-site table.stt-table td {
	text-align: center;
	padding: 10px;
	border: 1px solid var(--stt-primary);
	color: var(--stt-text);
}

.stt-site table.stt-table tbody tr:nth-child(even) td { background: rgba(73, 118, 145, 0.06); }


.stt-site hr.stt-divider { border: 0; border-top: 2px solid var(--stt-light); margin: 1.5em 0; }

/* Contact forms */

.stt-site .et_pb_contact_form_container .et_pb_contact_main_title { color: var(--stt-primary); }

.stt-site .et_pb_contact p input,
.stt-site .et_pb_contact p textarea {
	background: #fff !important;
	border: 1px solid #b9d3df !important;
	border-radius: 6px;
	color: #333 !important;
}

.stt-site .et_pb_contact_captcha_question { color: var(--stt-text); }

/* Header (Theme Builder) */

.stt-site .stt-header .stt-contact-top { text-align: right; line-height: 1.4; }

.stt-site .stt-header .stt-contact-top .stt-tel {
	font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--stt-primary);
	text-decoration: none;
}

.stt-site .stt-header .stt-contact-top .stt-mail { color: #54595f; font-size: 17px; text-decoration: none; }

.stt-site .stt-header .et_pb_menu .et-menu > li > a { color: #333; font-weight: 600; font-size: 14px; }

.stt-site .stt-header .et_pb_menu .et-menu > li.current-menu-item > a,
.stt-site .stt-header .et_pb_menu .et-menu > li > a:hover { color: var(--stt-primary); opacity: 1; }

.stt-site .stt-header .et_pb_menu .sub-menu { border-top-color: var(--stt-primary); }

.stt-site .stt-header .et_pb_menu .sub-menu a { font-size: 14px; color: #333; }

.stt-site .stt-header .gtranslate_wrapper,
.stt-site .stt-header .gt_selector { margin-bottom: 4px; }
@media (max-width: 980px) {
.stt-site .stt-header .stt-contact-top { text-align: center; }
	
.stt-site .stt-header .stt-contact-top .stt-tel { font-size: 24px; }

}

/* Footer (Theme Builder) */
.stt-site .stt-footer h2 { color: var(--stt-text); text-transform: uppercase; }

.stt-site .stt-footer a { text-decoration: none; color: #000; }

.stt-site .stt-footer a:hover { text-decoration: underline; }

.stt-site .stt-footer .stt-copyright,
.stt-site .stt-footer .stt-copyright p { font-size: 13px; }

/* Plain link lists (contact details) */
.stt-site ul.stt-links { list-style: none; padding-left: 0 !important; }

/* Phones: compact header, centre right-aligned text blocks */
@media (max-width: 767px) {
.stt-site .stt-header .et_pb_image { text-align: center !important; margin: 0 auto 8px !important; }
.stt-site .stt-header .et_pb_image .et_pb_image_wrap img { max-width: 170px; }
.stt-site .stt-header .et_pb_column { margin-bottom: 6px !important; }
.stt-site .et_pb_text_align_right { text-align: center; }
}

/* ---- Fidelity pass 29 Oct: match the old site's text, boxes and staff grid ---- */

/* Colour variables referenced inside the old page content */
:root { --e-global-color-primary: #497691; --e-global-color-text: #525252; }

/* Page body text: old site was 18px, line height 1.8, #525252 (header and footer keep their own) */
.stt-site .et-l--post .et_pb_text { font-size: 18px; line-height: 1.8; color: var(--stt-text); }

.stt-site .et-l--post .et_pb_text p,
.stt-site .et-l--post .et_pb_text li { font-size: inherit; line-height: inherit; }

/* Bordered boxes (Ofsted quotes, Early Years Funding sections) */
.stt-site .et_pb_row.stt-box { padding: 20px 28px !important; }

/* Staff and trustee cards: bordered cells that touch, photo then centred title and text */
.stt-site .stt-cards { margin-top: 0 !important; margin-bottom: 0 !important; }

.stt-site .stt-cards .et_pb_column { margin-bottom: 0 !important; }

.stt-site .stt-card-img { margin: 0 auto 15px !important; }

.stt-site .stt-card-img img { width: 100%; }

.stt-site .stt-crop-sq img { aspect-ratio: 1 / 1; object-fit: cover; }

.stt-site .stt-card-text h3 { font-size: 20px; font-weight: 400; color: var(--stt-primary); margin-bottom: 0.6em; }

.stt-site .stt-card-text p { margin-bottom: 1em; }

/* Contact lists (old icon lists): grey text, no underline, phone / envelope / map pin icons */
.stt-site ul.stt-links li { position: relative; padding-left: 34px; margin-bottom: 8px; }

.stt-site ul.stt-links li a { color: #7a7a7a; text-decoration: none; }

.stt-site ul.stt-links li a:hover { color: var(--stt-primary); }

.stt-site ul.stt-links li:has(a[href^="tel:"])::before,
.stt-site ul.stt-links li:has(a[href^="mailto:"])::before,
.stt-site ul.stt-links li:has(a[href*="maps"])::before {
	content: ""; position: absolute; left: 0; top: 0.45em; width: 20px; height: 20px; background: var(--stt-primary);
}

.stt-site ul.stt-links li:has(a[href^="tel:"])::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E") center / contain no-repeat; }

.stt-site ul.stt-links li:has(a[href^="mailto:"])::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z'/%3E%3C/svg%3E") center / contain no-repeat; }

.stt-site ul.stt-links li:has(a[href*="maps"])::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Home hero title keeps its own size (the body text rule must not shrink it) */
.stt-site .et-l--post .stt-hero-text p.stt-hero-title { font-size: 50px; line-height: 1.15; }
@media (max-width: 767px) {
.stt-site .et-l--post .stt-hero-text p.stt-hero-title { font-size: 32px; }
}

/* List items use the same 1.8 line spacing as the old site */
.stt-site .et-l--post .et_pb_text ul li,
.stt-site .et-l--post .et_pb_text ol li { line-height: 1.8; }

/* Photo galleries (old carousels): images fill the width, captions small and centred */
.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_items {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 8px;
}

.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_item {
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
	float: none !important;
}

.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_image img { width: 100%; height: auto; }

.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_title {
	font-family: 'Mulish', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #333;
	text-align: center;
	margin-top: 4px;
	padding: 0;
}

/* Scalloped edges, as the old site: light-blue sections (top and bottom) and the footer (top) */
.stt-site .stt-wave,
.stt-site .stt-footer { position: relative; overflow: visible !important; }

.stt-site .stt-wave::before,
.stt-site .stt-footer::before,
.stt-site .stt-wave::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 13px;
	background: radial-gradient(circle at 13px 13px, #cee3ec 12.5px, transparent 13px) 0 0 / 26px 26px repeat-x;
	pointer-events: none;
	z-index: 1;
}

.stt-site .stt-wave::before,
.stt-site .stt-footer::before { top: -13px; }

.stt-site .stt-wave::after { bottom: -13px; background-position: 0 -13px; }

/* Galleries: Divi's clearfix pseudo-elements would otherwise take grid cells */
.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_items::before,
.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_items::after { display: none !important; }

/* Home "Our services" photos: soft oval edge like the old site */
.stt-site .et-l--post .et_pb_column_1_5 .et_pb_image img {
	-webkit-mask: radial-gradient(ellipse at center, #000 52%, transparent 71%);
	mask: radial-gradient(ellipse at center, #000 52%, transparent 71%);
}

/* Phone-only behaviour carried over from the old site */
@media (max-width: 767px) {
.stt-site .et_pb_row.stt-rev-m { display: flex; flex-direction: column-reverse; }
.stt-site .et_pb_row.stt-rev-m > .et_pb_column { width: 100%; }
.stt-site .stt-center-m,
.stt-site .stt-center-m p { text-align: center !important; }
.stt-site .et_pb_button_module_wrapper:has(.stt-center-m) { text-align: center !important; }
}

/* Facebook link (header next to the phone number, as the old site; footer) */
.stt-site a.stt-fb { display: inline-block; width: 34px; height: 38px; margin-left: 8px; vertical-align: -6px; background: var(--stt-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z'/%3E%3C/svg%3E") center / contain no-repeat; text-decoration: none !important; }

.stt-site a.stt-fb:hover { opacity: 0.8; }

.stt-site .stt-footer .stt-social a.stt-fb { margin-left: 0; width: 28px; height: 30px; }

/* ---- Phone menu panel, as the old site (js/stt-mobile-menu.js) ---- */
@media (max-width: 980px) {
.stt-site .stt-header .mobile_menu_bar::after {
	content: "Menu"; font: 600 13px/1 'Mulish', Helvetica, Arial, sans-serif; text-transform: uppercase;
	letter-spacing: 1px; color: #333; vertical-align: middle; margin-left: 6px;
}
.stt-site.stt-has-panel .stt-header .et_mobile_menu {
	position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important;
	width: 300px !important; max-width: 85vw; height: 100vh !important; height: 100dvh !important;
	overflow-y: auto !important; display: block !important; margin: 0 !important; padding: 0 !important;
	background: #fff !important; border: 0 !important; z-index: 100001;
	transform: translateX(-105%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s;
}
.stt-site.stt-menu-open .stt-header .et_mobile_menu {
	transform: none; visibility: visible; transition: transform .3s ease; box-shadow: 0 0 30px rgba(0, 0, 0, .25);
}
.stt-panel-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .3); z-index: 100000; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.stt-menu-open .stt-panel-overlay { opacity: 1; visibility: visible; transition: opacity .3s; }
.stt-site.stt-menu-open { overflow: hidden; }
.stt-site .stt-header .et_mobile_menu li { position: relative; border-bottom: 1px solid rgba(0, 0, 0, .035); list-style: none; padding: 0 !important; }
.stt-site .stt-header .et_mobile_menu li a {
	display: block; font: 400 15px/1.4 'Mulish', Helvetica, Arial, sans-serif !important; color: #333 !important;
	padding: 14px 52px 14px 20px !important; border: 0 !important; background: none !important; text-align: left;
}
.stt-site .stt-header .et_mobile_menu .current-menu-item > a { color: var(--stt-primary) !important; }
.stt-site .stt-header .et_mobile_menu .sub-menu { display: none !important; padding: 0 !important; margin: 0 !important; border-top: 1px solid rgba(0, 0, 0, .035); }
.stt-site .stt-header .et_mobile_menu li.stt-sub-open > .sub-menu { display: block !important; }
.stt-site .stt-header .et_mobile_menu .sub-menu li a { padding-left: 34px !important; font-size: 14px !important; }
.stt-sub-toggle { position: absolute; right: 0; top: 0; width: 50px; height: 48px; border: 0; background: none; font: 300 22px/1 'Mulish', sans-serif; color: #333; cursor: pointer; }
.stt-panel-close { border-bottom: 0 !important; }
.stt-panel-close button {
	display: flex; gap: 8px; align-items: center; width: 100%; padding: 17px 20px; background: #f8f8f8; border: 0;
	font: 600 13px/1 'Mulish', Helvetica, Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #333; cursor: pointer;
}
.stt-panel-close button span { font-size: 17px; }
}
/* Old site's phone header was just the logo and MENU */
@media (max-width: 767px) {
.stt-site .stt-header .stt-contact-top { display: none !important; }
}
/* While the phone menu is open, nothing floats over it (chat button, cookie button) */
.stt-menu-open .stt-chat-btn,
.stt-menu-open .cky-btn-revisit-wrapper { display: none !important; }
@media (max-width: 980px) {
.stt-site .stt-header .mobile_menu_bar { display: inline-flex !important; align-items: center; }
}
/* Headings written inside page text (not the separate heading blocks) used the body font, Mulish, on the old site */
.stt-site .et-l--post .et_pb_text h3:not([style*="font-weight"]):not(.stt-card-text h3),
.stt-site .et-l--post .et_pb_text h4:not([style*="font-weight"]) { font-family: 'Mulish', Helvetica, Arial, sans-serif; }
.stt-site .et-l--post .stt-card-text h3 { font-family: 'Ubuntu', Helvetica, Arial, sans-serif; }
/* Old site's footer was centred on phones */
@media (max-width: 767px) {
.stt-site .stt-footer .et_pb_text, .stt-site .stt-footer .et_pb_text h2, .stt-site .stt-footer .et_pb_text p { text-align: center !important; }
}
/* Galleries on phones: two photos per row (the old one-at-a-time sliders made pages very long when listed) */
@media (max-width: 767px) {
.stt-site .et-l--post .et_pb_gallery_grid .et_pb_gallery_items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}
