/*
Theme Name: Robintree
Theme URI: https://github.com/batteryTrackerProject/Wordpress-templates-
Author: Lcsworld.com
Author URI: https://lcsworld.com
Description: Theme for Robintree LLC's managed IT services site, built to replace the Monstroid2 + Elementor + Jet* plugin stack with WordPress core only. Pages are ordinary block-editor content built from this theme's patterns (pricing cards, service grids, testimonials, vendor logos), with contact details and footer in the Customizer. No page builder or paid plugin required; Contact Form 7 (free) powers the contact form if installed.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: robintree
Tags: business, one-column, custom-logo, custom-menu, block-patterns, editor-style, theme-options, translation-ready
Update URI: https://github.com/batteryTrackerProject/Wordpress-templates-
*/

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
	--rt-purple: #463c9f;
	--rt-purple-bright: #5f45ea;
	--rt-purple-soft: color-mix(in srgb, var(--rt-purple) 10%, #fff);
	--rt-cyan: #3aece1;
	--rt-text: #3b3d42;
	--rt-heading: #1f1e1e;
	--rt-muted: #7e7d7d;
	--rt-light: #f8f9fc;
	--rt-border: #dfdede;
	--rt-on-dark: #ffffff;
	--rt-on-dark-muted: #a69ddb;
	--rt-green: #61ce70;
	--rt-lime: #aaec3a;
	--rt-plum: #430063;
	--rt-featured-2: #5677d9;
	--rt-dark-1: #3b3190;
	--rt-dark-2: #2b2266;
	--rt-art-fill: #2e246d;
	--rt-nav: #535259;
	--rt-cta-bg: #2d246c;
	--rt-footer-bg: #231c56;
	--rt-footer-heading: #bdb8e4;
	--rt-footer-text: #736da2;
	--rt-font-heading: var(--rt-font);
	--rt-font-hero: Roboto, sans-serif;
	--rt-radius: 12px;
	--rt-width: 1140px;
	--rt-gutter: 20px;
	--rt-font: "Open Sans", sans-serif;
	--rt-hero-bg:
		radial-gradient(circle at 85% 20%, rgba(58, 236, 225, 0.16), transparent 40%),
		radial-gradient(circle at 70% 90%, rgba(95, 69, 234, 0.45), transparent 45%),
		linear-gradient(135deg, var(--rt-dark-1) 0%, var(--rt-dark-2) 100%);
}

/* ==========================================================================
   1. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fff;
	color: var(--rt-text);
	font-family: var(--rt-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	color: var(--rt-heading);
	font-family: var(--rt-font-heading);
	font-weight: 400;
	line-height: 1.16;
	margin: 0 0 0.6em;
}

h1 {
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

h2 {
	font-size: clamp(1.75rem, 3vw, 2.375rem);
}

h3 {
	color: var(--rt-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.6;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--rt-purple-bright);
}

a:hover,
a:focus {
	color: var(--rt-purple);
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--rt-cyan);
	outline-offset: 2px;
}

.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;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: #fff;
	color: var(--rt-purple);
	font-weight: 600;
}

.rt-container {
	max-width: calc(var(--rt-width) + 2 * var(--rt-gutter));
	margin: 0 auto;
	padding: 0 var(--rt-gutter);
}

/* ==========================================================================
   2. Buttons (theme links and the block editor's Button block look alike)
   ========================================================================== */
.rt-btn,
.wp-block-button .wp-block-button__link {
	display: inline-block;
	padding: 14px 30px;
	border: 2px solid var(--rt-purple);
	border-radius: 6px;
	background: var(--rt-purple);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rt-btn:hover,
.rt-btn:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background: var(--rt-purple-bright);
	border-color: var(--rt-purple-bright);
	color: #fff;
}

.rt-btn--outline,
.rt-btn--outline .wp-block-button__link,
.wp-block-button.is-style-rt-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--rt-cyan);
	color: #fff;
}

.rt-btn--outline:hover,
.rt-btn--outline:focus,
.rt-btn--outline .wp-block-button__link:hover,
.rt-btn--outline .wp-block-button__link:focus,
.wp-block-button.is-style-rt-outline .wp-block-button__link:hover,
.wp-block-button.is-style-rt-outline .wp-block-button__link:focus {
	background: var(--rt-cyan);
	border-color: var(--rt-cyan);
	color: var(--rt-footer-bg);
}

/* An outline button on a light background needs dark text to be readable. */
.rt-section:not(.rt-section--dark) :is(.rt-btn--outline, .is-style-rt-outline) .wp-block-button__link {
	border-color: var(--rt-purple);
	color: var(--rt-purple);
}

.wp-block-buttons {
	margin: 1.5em 0 0;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.rt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--rt-border);
}

.admin-bar .rt-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .rt-header {
		top: 0;
		position: relative;
	}
}

.rt-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 70px;
}

.rt-header__brand .custom-logo {
	display: block;
	width: auto;
	max-height: 34px;
}

.rt-header__title {
	color: var(--rt-heading);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.rt-header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.rt-header__nav ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-header__nav a {
	color: var(--rt-nav);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}

.rt-header__nav a:hover,
.rt-header__nav a:focus,
.rt-header__nav .current-menu-item > a,
.rt-header__nav .current_page_item > a {
	color: var(--rt-purple);
}

/* Sub-menus (if anyone adds one) drop down under their parent item. */
.rt-header__nav li {
	position: relative;
}

.rt-header__nav .sub-menu,
.rt-header__nav .children {
	display: none;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 200px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid var(--rt-border);
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(31, 33, 51, 0.1);
	flex-direction: column;
	gap: 8px;
}

.rt-header__nav li:hover > .sub-menu,
.rt-header__nav li:focus-within > .sub-menu,
.rt-header__nav li:hover > .children,
.rt-header__nav li:focus-within > .children {
	display: flex;
}

.rt-header__nav .rt-header__phone {
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--rt-purple);
	color: #fff;
	white-space: nowrap;
}

.rt-header__nav .rt-header__phone:hover,
.rt-header__nav .rt-header__phone:focus {
	background: var(--rt-purple-bright);
	color: #fff;
}

.rt-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--rt-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.rt-header__toggle-bar,
.rt-header__toggle-bar::before,
.rt-header__toggle-bar::after {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--rt-heading);
	content: "";
}

.rt-header__toggle-bar::before {
	transform: translateY(-6px);
}

.rt-header__toggle-bar::after {
	transform: translateY(4px);
}

@media (max-width: 900px) {
	.rt-header__toggle {
		display: block;
	}

	.rt-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--rt-gutter) 20px;
		background: #fff;
		border-bottom: 1px solid var(--rt-border);
		box-shadow: 0 12px 24px rgba(31, 33, 51, 0.08);
	}

	.rt-header__nav.is-open {
		display: flex;
	}

	.rt-header__nav ul {
		flex-direction: column;
		gap: 0;
	}

	.rt-header__nav ul a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--rt-border);
	}

	.rt-header__nav .sub-menu,
	.rt-header__nav .children {
		display: flex;
		position: static;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
	}

	.rt-header__nav .rt-header__phone {
		margin-top: 16px;
		text-align: center;
	}
}

/* ==========================================================================
   4. Page frame
   ========================================================================== */
.rt-page-banner {
	padding: 64px 0;
	background: var(--rt-hero-bg);
}

.rt-page-banner__title {
	margin: 0;
	color: #fff;
}

/* Anything typed straight into a page (not inside a section) still gets a
   readable column instead of running edge to edge. */
.rt-page__content > :not(.alignfull):not(.wp-block-group) {
	max-width: calc(var(--rt-width) + 2 * var(--rt-gutter));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--rt-gutter);
	padding-right: var(--rt-gutter);
}

.rt-page__content > p:first-child,
.rt-page__content > h2:first-child {
	margin-top: 48px;
}

.rt-prose {
	padding-top: 56px;
	padding-bottom: 72px;
}

.rt-post-summary {
	margin-bottom: 40px;
}

/* Anchored sections shouldn't hide under the sticky header. */
[id] {
	scroll-margin-top: 96px;
}

/* ==========================================================================
   5. Sections
   ========================================================================== */
.rt-section {
	padding: 88px var(--rt-gutter);
	margin: 0;
}

/* Classic themes get an extra .wp-block-group__inner-container div inside
   every Group block. Making it layout-transparent lets each section's grid,
   flex and width rules apply to the actual blocks inside, on the site and in
   the editor alike. */
.wp-block-group[class*="rt-"] > .wp-block-group__inner-container {
	display: contents;
}

.rt-section > :not(.wp-block-group__inner-container),
.rt-section > .wp-block-group__inner-container > * {
	max-width: var(--rt-width);
	margin-left: auto;
	margin-right: auto;
}

.rt-section--light {
	background: var(--rt-light);
}

.rt-section--dark {
	background: var(--rt-hero-bg);
	color: var(--rt-on-dark-muted);
}

.rt-section--dark h1,
.rt-section--dark h2,
.rt-section--dark h3 {
	color: var(--rt-on-dark);
}

.rt-section--dark a:not(.wp-block-button__link) {
	color: var(--rt-cyan);
}

.rt-section .rt-section__title {
	text-align: center;
}

.rt-section .rt-section__intro {
	max-width: 640px;
	color: var(--rt-muted);
	text-align: center;
}

.rt-section--dark .rt-section__intro {
	color: var(--rt-on-dark-muted);
}

.rt-section__intro + :not(.rt-section__intro) {
	margin-top: 48px;
}

.rt-lead {
	font-size: 1.1rem;
}

.rt-phone {
	text-decoration: none;
}

.rt-highlight {
	background: none;
	color: var(--rt-purple);
}

/* Artwork sections: text on one half, the old site's isometric artwork
   panel on the other (the panel CSS itself is generated per site by
   robintree_art_css()). Without a panel, the theme's own network graphic
   fills that half instead. */
.rt-art {
	display: flex;
	align-items: center;
	background:
		url("assets/images/hero-network.svg") no-repeat right max(2vw, calc((100vw - var(--rt-width)) / 2 - 40px)) center / min(40vw, 480px) auto,
		var(--rt-hero-bg);
}

.rt-art--left {
	background:
		url("assets/images/hero-network.svg") no-repeat left max(2vw, calc((100vw - var(--rt-width)) / 2 - 40px)) center / min(40vw, 480px) auto,
		var(--rt-hero-bg);
}

.rt-art > .wp-block-group__inner-container,
.rt-art__wrap {
	width: 100%;
}

.rt-art .rt-art__text {
	width: 44%;
	max-width: 520px;
	margin: 0;
}

.rt-art--left .rt-art__text {
	margin-left: auto;
}

.rt-art__text p {
	color: var(--rt-on-dark-muted);
	line-height: 1.675;
}

.rt-art .rt-art__contact {
	padding-left: 20px;
	list-style: disc;
	color: var(--rt-on-dark-muted);
}

/* Plain list, as in the old site's purple sections: no bullets or checks. */
.rt-plain-list {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
	color: var(--rt-on-dark-muted);
	line-height: 36px;
}

/* "Our Best Qualities" Features | Availability table, green check per row. */
.wp-block-table.rt-quality-table {
	max-width: 280px;
	margin: 28px 0 0;
}

.rt-quality-table table {
	border-collapse: collapse;
	width: 100%;
}

.rt-quality-table th,
.rt-quality-table td {
	border: 0;
	padding: 6px 12px;
	text-align: left;
}

.rt-quality-table th {
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-weight: 600;
}

.rt-quality-table th:last-child,
.rt-quality-table td:last-child {
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	text-align: center;
}

.rt-quality-table tbody tr:first-child td {
	padding-top: 18px;
}

.rt-quality-table td {
	color: var(--rt-on-dark-muted);
}

/* The cell says "Yes" for screen readers; sighted visitors see the check. */
.rt-quality-table td:last-child {
	font-size: 0;
}

.rt-quality-table td:last-child::before {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--rt-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-4.7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
	vertical-align: middle;
	content: "";
}

@media (max-width: 900px) {
	.rt-art {
		display: block;
		background: var(--rt-hero-bg);
	}

	.rt-art .rt-art__text {
		width: 100%;
		max-width: none;
	}
}

/* Hero */
.rt-hero {
	padding-top: 110px;
	padding-bottom: 120px;
}

.rt-hero .rt-art__text {
	max-width: 460px;
}

.rt-hero .rt-hero__wordmark img {
	width: 460px;
	max-width: 100%;
	margin-bottom: 8px;
}

.rt-hero .rt-hero__title {
	margin: 0 0 4px;
	font-family: var(--rt-font-hero);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
}

.rt-hero .rt-hero__tagline {
	margin-bottom: 12px;
	color: var(--rt-lime);
	font-size: 13px;
	font-weight: 700;
}

.rt-hero .rt-lead {
	color: var(--rt-on-dark);
	font-size: 16px;
	line-height: 30px;
}

/* Two-column split (text one side, list/card/grid the other) */
.rt-split.wp-block-columns {
	gap: 56px;
	align-items: center;
	margin: 0 auto;
}

.rt-split--form.wp-block-columns {
	align-items: flex-start;
}

.rt-split--narrow-first.wp-block-columns {
	align-items: flex-start;
}

@media (min-width: 782px) {
	.rt-split--narrow-first > .wp-block-column:first-child {
		flex: 0 0 32%;
	}
}

/* Icons sit on a soft badge so the same purple SVG reads on light and dark. */
.wp-block-image.rt-icon {
	margin: 0 0 18px;
}

.wp-block-image.rt-icon img {
	display: block;
	width: 64px;
	height: 64px;
	padding: 12px;
	border-radius: 16px;
	background: var(--rt-purple-soft);
}

.wp-block-image.rt-icon--large img {
	width: 80px;
	height: 80px;
	padding: 16px;
}

.rt-section--dark .wp-block-image.rt-icon img {
	background: #fff;
}

.wp-block-image.rt-icon--center img {
	margin: 0 auto;
}

.wp-block-image.rt-icon--legacy img {
	width: 55px;
	height: auto;
	padding: 0;
	border-radius: 0;
	background: none;
}

/* Feature grids (icon + heading + text) */
.rt-feature-grid {
	display: grid;
	gap: 40px 48px;
}

.rt-feature-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rt-feature-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.rt-feature-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.rt-feature h3 {
	margin-bottom: 4px;
}

.rt-feature p {
	margin: 0;
	color: var(--rt-muted);
	font-size: 15px;
	line-height: 22px;
}

.rt-section--dark .rt-feature p {
	color: var(--rt-on-dark-muted);
}

.rt-feature-grid--4 .wp-block-image.rt-icon--legacy img {
	width: 45px;
}

/* Homepage Premium Services: icon beside the text, filled column by column
   (Helpdesk, Hardware | Email, Printer) as on the old site. */
.rt-feature-grid--side {
	grid-auto-flow: column;
	grid-template-rows: repeat(2, auto);
	gap: 36px 30px;
}

.rt-feature-grid--side .rt-feature {
	display: grid;
	grid-template-columns: 45px 1fr;
	column-gap: 18px;
	align-content: start;
}

.rt-feature-grid--side .rt-feature .wp-block-image.rt-icon {
	grid-row: span 2;
	margin: 0;
}

.rt-feature-grid--side .wp-block-image.rt-icon--legacy img {
	width: 45px;
}

/* About: bordered boxes with everything centred. */
.rt-feature-grid--cards .rt-feature {
	padding: 25px 35px 44px;
	border: 1px solid var(--rt-border);
	border-radius: 5px;
	text-align: center;
}

.rt-feature-grid--cards .rt-feature h3 {
	font-weight: 700;
}

.rt-feature-grid--cards .wp-block-image.rt-icon {
	display: flex;
	justify-content: center;
}

@media (max-width: 960px) {
	.rt-feature-grid--3,
	.rt-feature-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rt-feature-grid--2,
	.rt-feature-grid--3,
	.rt-feature-grid--4 {
		grid-template-columns: 1fr;
	}

	.rt-feature-grid--side {
		grid-auto-flow: row;
		grid-template-rows: none;
	}
}

/* Checklists */
.rt-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-checklist li {
	position: relative;
	padding: 6px 0 6px 30px;
}

.rt-checklist li::before {
	position: absolute;
	top: 13px;
	left: 2px;
	width: 14px;
	height: 8px;
	border-left: 2.5px solid var(--rt-purple-bright);
	border-bottom: 2.5px solid var(--rt-purple-bright);
	transform: rotate(-45deg);
	content: "";
}

.rt-section--dark .rt-checklist li::before {
	border-color: var(--rt-cyan);
}

.rt-checklist--large li {
	padding-top: 10px;
	padding-bottom: 10px;
	color: var(--rt-on-dark);
	font-size: 1.15rem;
	font-weight: 600;
}

.rt-checklist--large li::before {
	top: 19px;
}

.rt-section:not(.rt-section--dark) .rt-checklist--large li {
	color: var(--rt-heading);
}

/* Card */
.rt-card {
	padding: 36px;
	border: 1px solid var(--rt-border);
	border-radius: var(--rt-radius);
	background: #fff;
	box-shadow: 0 16px 40px rgba(31, 33, 51, 0.06);
}

/* ==========================================================================
   6. Pricing (the old site's cards: purple header band, centred list with
      green checks; Enterprise highlighted with a gradient and plum button)
   ========================================================================== */
.rt-pricing__grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
	margin-top: 40px;
}

@media (max-width: 1080px) {
	.rt-pricing__grid.wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.rt-pricing__grid.wp-block-columns {
		grid-template-columns: 1fr;
	}
}

.rt-pricing__grid > .wp-block-column {
	display: flex;
	min-width: 0;
}

.rt-price-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 0 30px;
	border: 1px solid var(--rt-border);
	border-radius: 6px;
	background: #fff;
	text-align: center;
	overflow: hidden;
}

.rt-price-card__head {
	padding: 9px 10px 14px;
	background: var(--rt-purple);
	color: #fff;
}

.rt-price-card:is(.is-featured, .is-style-rt-featured) {
	border-color: var(--rt-plum);
}

.rt-price-card:is(.is-featured, .is-style-rt-featured) .rt-price-card__head {
	background: linear-gradient(280deg, var(--rt-plum) 40%, var(--rt-featured-2) 100%);
}

.rt-price-card .rt-price-card__name {
	margin: 0 0 4px;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 30px;
	text-transform: uppercase;
}

.rt-price-card .rt-price-card__price {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 300;
	line-height: 44px;
}

.rt-price-card .rt-price-card__price strong {
	font-size: 26px;
	font-weight: 700;
}

.rt-price-card__features {
	flex: 1;
	margin: 0;
	padding: 14px 10px 0;
	list-style: none;
	color: var(--rt-muted);
	line-height: 34px;
}

.rt-price-card__features li::before {
	display: inline-block;
	width: 13px;
	height: 9px;
	margin-right: 9px;
	border-left: 2.5px solid var(--rt-green);
	border-bottom: 2.5px solid var(--rt-green);
	transform: translateY(-3px) rotate(-45deg);
	content: "";
}

.rt-price-card__features strong {
	font-weight: 600;
}

.rt-price-card .wp-block-buttons {
	justify-content: center;
	margin-top: 16px;
}

.rt-price-card .wp-block-button .wp-block-button__link {
	padding: 19px 36px;
	border-radius: 4px;
	font-weight: 400;
}

.rt-price-card:is(.is-featured, .is-style-rt-featured) .wp-block-button .wp-block-button__link {
	border-color: var(--rt-plum);
	background: var(--rt-plum);
}

/* ==========================================================================
   7. Testimonials, vendor logos, world map
   ========================================================================== */
.rt-testimonials__grid.wp-block-columns {
	gap: 30px;
	margin-top: 48px;
}

.wp-block-quote.rt-testimonial {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 37px 53px 32px 90px;
	border: 1px solid var(--rt-border);
	border-radius: 0;
	background: #fff;
	color: var(--rt-muted);
	font-style: italic;
}

.wp-block-quote.rt-testimonial::before {
	position: absolute;
	top: 37px;
	left: 30px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--rt-purple);
	color: #fff;
	font: 700 26px/50px Georgia, serif;
	font-style: normal;
	text-align: center;
	content: "\201C";
}

.wp-block-quote.rt-testimonial cite {
	display: block;
	margin-top: 16px;
	color: var(--rt-on-dark-muted);
	font-size: 12px;
	font-style: italic;
	line-height: 1.6;
}

.wp-block-quote.rt-testimonial cite strong {
	color: var(--rt-heading);
	font-size: 16px;
	font-weight: 400;
}

.rt-logo-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-top: 40px;
}

@media (max-width: 900px) {
	.rt-logo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.wp-block-image.rt-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	margin: 0;
	padding: 10px;
}

.wp-block-image.rt-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.wp-block-image.rt-logo img {
	max-width: 100%;
	max-height: 60px;
	width: auto;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.wp-block-image.rt-logo a:hover img,
.wp-block-image.rt-logo a:focus img {
	opacity: 0.75;
}

.rt-world-map {
	position: relative;
	max-width: 1120px;
	margin: 40px auto 0;
}

.rt-world-map img {
	display: block;
	width: 100%;
}

.rt-world-map__dots {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-world-map__dot {
	position: absolute;
	width: 15px;
	height: 15px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: var(--rt-purple);
	cursor: default;
}

.rt-world-map__dot::before {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--rt-purple);
	content: "";
	animation: rt-pulse 2s ease-out infinite;
}

.rt-world-map__dot::after {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--rt-heading);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
	content: attr(data-label);
}

.rt-world-map__dot:hover::after,
.rt-world-map__dot:focus::after {
	opacity: 1;
}

@keyframes rt-pulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}

	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}

@media (max-width: 600px) {
	.rt-world-map__dot {
		width: 9px;
		height: 9px;
		margin: -4px 0 0 -4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rt-world-map__dot::before {
		animation: none;
	}
}

/* ==========================================================================
   8. Contact page + Contact Form 7
   ========================================================================== */
.rt-contact-form {
	padding-bottom: 72px;
}

.rt-contact-address {
	padding-top: 72px;
	border-top: 1px solid var(--rt-border);
	text-align: center;
}

.rt-contact-address .rt-contact-address__city {
	margin: 0 0 4px;
	color: var(--rt-heading);
}

.rt-contact-address .rt-contact-address__lines {
	color: var(--rt-muted);
	font-size: 14px;
	line-height: 1.6;
}

.rt-contact-address a {
	color: inherit;
	text-decoration: none;
}

.rt-contact-address a:hover,
.rt-contact-address a:focus {
	color: var(--rt-purple);
}

.wpcf7 {
	margin-top: 32px;
}

.wpcf7 form p {
	margin: 0;
}

/* The site's own form uses the old theme's grid classes (row / col-md-4 /
   col-md-8): fields on the left, message on the right. */
.wpcf7 .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.wpcf7 [class*="col-"] {
	width: 100%;
	padding: 0 15px;
}

@media (min-width: 782px) {
	.wpcf7 .col-md-4 {
		width: 33.333%;
	}

	.wpcf7 .col-md-8 {
		width: 66.667%;
	}
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 10px;
}

.wpcf7 label {
	display: block;
	color: var(--rt-heading);
	font-size: 15px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 13px 29px 12px 19px;
	border: 1px solid var(--rt-border);
	border-radius: 0;
	background: #fff;
	color: var(--rt-muted);
	font: 15px/26px var(--rt-font);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--rt-purple);
	outline: none;
}

.wpcf7 textarea {
	height: 194px;
	resize: vertical;
}

.wpcf7 br {
	display: none;
}

.wpcf7 input[type="submit"] {
	display: block;
	margin: 20px auto 0;
}

@media (min-width: 782px) {
	/* Where the old site placed it: under the message box, slightly in. */
	.wpcf7 .col-md-8 input[type="submit"] {
		margin-left: 8%;
	}
}

.wpcf7 input[type="submit"] {
	padding: 21px 58px;
	border: 0;
	border-radius: 6px;
	background: var(--rt-purple);
	color: #fff;
	font: 400 14px/1 var(--rt-font);
	text-transform: uppercase;
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
	background: var(--rt-purple-bright);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.rt-cta-bar {
	padding: 24px 0;
	background: var(--rt-cta-bg);
}

.rt-cta-bar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px 85px;
}

.rt-cta-bar__heading {
	margin: 0;
	color: #fff;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	line-height: 1.375;
	text-align: center;
}

.rt-footer .rt-cta-bar__heading a {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.rt-footer .rt-cta-bar__heading a:hover,
.rt-footer .rt-cta-bar__heading a:focus {
	color: var(--rt-cyan);
}

.rt-footer {
	background: var(--rt-footer-bg);
	color: var(--rt-footer-text);
}

.rt-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
	padding-top: 52px;
	padding-bottom: 32px;
}

@media (max-width: 860px) {
	.rt-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.rt-footer__heading {
	margin: 0 0 14px;
	color: var(--rt-footer-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.rt-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-footer__col li {
	line-height: 36px;
}

.rt-footer a {
	color: var(--rt-footer-text);
	text-decoration: none;
}

.rt-footer .rt-btn--outline {
	color: #fff;
}

.rt-footer a:hover,
.rt-footer a:focus {
	color: #fff;
}

.rt-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.rt-footer__bottom-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.rt-footer__copyright {
	margin: 0;
	font-size: 14px;
}

.rt-social {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	border-radius: 50%;
	background: rgba(88, 80, 157, 0.42);
}

.rt-footer .rt-social__link {
	color: #fff;
}

.rt-footer .rt-social__link svg {
	width: 13px;
	height: 13px;
}

.rt-footer .rt-social__link:hover,
.rt-footer .rt-social__link:focus {
	background: var(--rt-purple-bright);
}

/* ==========================================================================
   10. Small screens
   ========================================================================== */
@media (max-width: 781px) {
	.rt-section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.rt-hero {
		padding-top: 72px;
		padding-bottom: 80px;
	}

	.rt-split.wp-block-columns {
		gap: 32px;
	}
}
