/**
 * TCH Services – front-end styles.
 *
 * Matches topcasinohost.com (Divi): Volkhov headings, Open Sans body,
 * purple #9013fe buttons, orange #f5a623 line icons, white cards with a soft shadow.
 * Fonts are inherited from the theme – nothing is loaded from third parties.
 *
 * Everything is scoped under .tch so it can't leak into the rest of the site,
 * and selectors use two classes so they win over Divi module defaults.
 */

/* ==========================================================================
   Tokens
   ========================================================================== */
.tch {
	--tch-primary: #9013fe;
	--tch-primary-dark: #4c0888;
	--tch-icon: #f5a623;
	--tch-text: #282828;
	--tch-heading: #000;
	--tch-muted: #666;
	--tch-line: #e6e6e6;
	--tch-surface: #fff;
	--tch-surface-alt: #f7f7f7;
	--tch-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
	--tch-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
	--tch-font-heading: Volkhov, Georgia, "Times New Roman", serif;
	--tch-font-body: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
	--tch-radius: 2px;
	--tch-gap: clamp(24px, 5.5vw, 80px);

	color: var(--tch-text);
	font-family: var(--tch-font-body);
}

.tch *,
.tch *::before,
.tch *::after {
	box-sizing: border-box;
}

.tch .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tch .tch-icon {
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

/* Visible keyboard focus everywhere */
.tch a:focus-visible,
.tch button:focus-visible,
.tch summary:focus-visible {
	outline: 3px solid var(--tch-primary);
	outline-offset: 3px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.tch .tch-container {
	width: 80%;
	max-width: 1080px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 767px) {
	.tch .tch-container {
		width: auto;
		margin-right: 20px;
		margin-left: 20px;
	}
}

/* Page templates sit inside Divi's #main-content; reset its top padding line. */
#main-content.tch {
	background: #fff;
	padding-bottom: 0;
}

/* ==========================================================================
   Hero (mirrors the Divi page headers: photo, centered white Volkhov title)
   ========================================================================== */
.tch .tch-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(64px, 9vw, 130px) 0;
	color: #fff;
	text-align: center;
	background-color: #222;
	background-image: linear-gradient(135deg, #222 0%, var(--tch-primary-dark) 100%);
}

/* Listing / category photo, covered by a brand-purple overlay. */
.tch .tch-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.tch .tch-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/*
	 * Fallback first, then the same overlay derived from the settings color.
	 * At these opacities white text stays above 4.5:1 even over a pure-white photo.
	 */
	background: linear-gradient(135deg, rgba(34, 4, 61, 0.88) 0%, rgba(76, 8, 136, 0.76) 100%);
	background: linear-gradient(135deg, color-mix(in srgb, var(--tch-primary-dark) 88%, #000 12%) 0%, var(--tch-primary-dark) 100%);
	opacity: 0.78;
}

.tch .tch-hero__inner {
	position: relative;
}

.tch .tch-hero__eyebrow {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--tch-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}

.tch .tch-hero__title {
	margin: 0;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-size: clamp(32px, 4.4vw, 46px);
	font-weight: 400;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.tch .tch-hero__subtitle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0;
	padding: 0;
	font-size: 18px;
	color: #fff;
}

.tch .tch-hero__subtitle .tch-icon {
	color: var(--tch-icon);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.tch .tch-breadcrumbs {
	margin: 24px 0 40px;
	font-size: 14px;
	line-height: 1.5;
}

.tch .tch-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tch .tch-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	color: var(--tch-muted);
}

.tch .tch-breadcrumbs a {
	color: var(--tch-primary);
	text-decoration: none;
}

.tch .tch-breadcrumbs a:hover {
	text-decoration: underline;
}

.tch .tch-breadcrumbs__sep {
	width: 12px;
	height: 12px;
	color: #999;
}

.tch-sc--breadcrumbs .tch-breadcrumbs {
	margin: 0;
}

/* ==========================================================================
   Grid
   ========================================================================== */
.tch .tch-grid {
	--tch-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--tch-cols), minmax(0, 1fr));
	gap: var(--tch-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tch .tch-grid--1 { --tch-cols: 1; }
.tch .tch-grid--2 { --tch-cols: 2; }
.tch .tch-grid--3 { --tch-cols: 3; gap: clamp(24px, 3.5vw, 48px); }
.tch .tch-grid--4 { --tch-cols: 4; gap: clamp(20px, 2.5vw, 32px); }

/* Services page category cards sit close together, like the original Divi blurbs. */
.tch.tch-sc--categories .tch-grid {
	gap: 1em;
}

@media (max-width: 980px) {
	.tch .tch-grid--3,
	.tch .tch-grid--4 {
		--tch-cols: 2;
	}
}

@media (max-width: 767px) {
	.tch .tch-grid {
		--tch-cols: 1;
		gap: 32px;
	}
}

/* ==========================================================================
   Cards (shared)
   ========================================================================== */
.tch .tch-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: var(--tch-surface);
	box-shadow: var(--tch-shadow);
	text-align: center;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tch .tch-card::before {
	content: none; /* Divi adds bullets via ::before in some list contexts. */
}

.tch .tch-card:hover {
	box-shadow: var(--tch-shadow-hover);
	transform: translateY(-3px);
}

/* One real link per card; it stretches over the whole card. */
.tch .tch-card__link {
	color: inherit;
	text-decoration: none;
}

.tch .tch-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/*
 * Keyboard focus only (no ring on mouse click). Browsers without :has()
 * outline the title link; modern browsers outline the whole card instead.
 */
.tch .tch-card__link:focus {
	outline: none;
}

.tch .tch-card__link:focus-visible {
	outline: 3px solid var(--tch-primary);
	outline-offset: 4px;
}

@supports selector(:has(*)) {
	.tch .tch-card__link:focus-visible {
		outline: none;
	}

	.tch .tch-card:has(.tch-card__link:focus-visible) {
		outline: 3px solid var(--tch-primary);
		outline-offset: 4px;
	}
}

.tch .tch-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-weight: 400;
	color: var(--tch-heading);
}

.tch .tch-card__meta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tch-muted);
}

.tch .tch-card__meta .tch-icon {
	color: var(--tch-icon);
}

.tch .tch-card__text {
	margin: 14px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tch-text);
}

.tch .tch-card__btn {
	align-self: center;
	margin-top: auto;
}

/* Category card – the Services page blurbs */
.tch .tch-card--category {
	align-items: center;
	padding: 45px 40px 60px;
}

.tch .tch-card--category .tch-card__icon {
	order: -1;
	margin: 0 0 clamp(32px, 4vw, 56px);
	color: var(--tch-icon);
	line-height: 0;
}

.tch .tch-card--category .tch-card__icon .tch-icon {
	width: 84px;
	height: 84px;
	stroke-width: 1.1;
	object-fit: contain;
}

.tch .tch-card--category .tch-card__title {
	font-size: clamp(28px, 2.6vw, 36px);
	line-height: 1.3;
}

.tch .tch-card--category .tch-card__btn {
	margin-top: 30px;
}

@media (max-width: 767px) {
	.tch .tch-card--category {
		padding: 36px 24px 44px;
	}
}

/* Listing card */
.tch .tch-card--listing {
	overflow: hidden;
}

.tch .tch-card--listing .tch-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: 28px 24px 32px;
}

.tch .tch-card--listing .tch-card__title {
	font-size: 22px;
	line-height: 1.35;
}

.tch .tch-card--listing .tch-card__btn {
	margin-top: 22px;
}

.tch .tch-card--listing .tch-card__text {
	flex: 1;
}

.tch .tch-card__media {
	order: -1;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tch-surface-alt);
}

.tch .tch-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* Link-out (affiliate) cards use wide logo banners (711×273 on the old page): show them whole. */
.tch .tch-card--external .tch-card__media {
	aspect-ratio: 711 / 273;
	background: #fff;
	border-bottom: 1px solid var(--tch-line);
}

.tch .tch-card--external .tch-card__media img {
	object-fit: contain;
}

.tch .tch-card.tch-card--external:hover .tch-card__media img {
	transform: none;
}

.tch .tch-card:hover .tch-card__media img {
	transform: scale(1.03);
}

.tch .tch-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--tch-icon);
}

.tch .tch-card__placeholder .tch-icon {
	width: 72px;
	height: 72px;
	stroke-width: 1.1;
	object-fit: contain;
}

/* ==========================================================================
   Buttons + links
   ========================================================================== */
.tch .tch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.4em 1em;
	border: 2px solid var(--tch-primary);
	border-radius: var(--tch-radius);
	background: var(--tch-primary);
	color: #fff;
	font-family: var(--tch-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tch .tch-btn:hover,
.tch .tch-card:hover .tch-card__btn {
	border-color: var(--tch-primary-dark);
	background: var(--tch-primary-dark);
	color: #fff;
}

.tch .tch-btn--outline {
	background: transparent;
	color: var(--tch-primary);
}

.tch .tch-btn--block {
	display: flex;
	width: 100%;
}

.tch .tch-card__btn {
	font-size: clamp(15px, 1.4vw, 18px);
}

.tch .tch-text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tch-primary);
	font-weight: 700;
	text-decoration: none;
}

.tch .tch-text-link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Category page
   ========================================================================== */
.tch .tch-intro {
	max-width: 800px;
	margin: 0 auto 56px;
	font-size: 18px;
	line-height: 1.75;
	text-align: center;
}

.tch .tch-intro p {
	padding: 0;
	margin: 0 0 1em;
}

.tch .tch-intro p:last-child {
	margin-bottom: 0;
}

.tch-category > .tch-container {
	padding-bottom: clamp(56px, 7vw, 96px);
}

.tch .tch-empty {
	margin: 0 0 40px;
	padding: 32px;
	background: var(--tch-surface-alt);
	text-align: center;
}

/* ==========================================================================
   Single listing
   ========================================================================== */
.tch .tch-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	padding-bottom: clamp(56px, 7vw, 96px);
}

@media (max-width: 980px) {
	.tch .tch-single__layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tch .tch-single__aside {
	display: grid;
	gap: 24px;
}

.tch .tch-lead {
	margin: 0 0 48px;
	padding: 2px 0 2px 18px;
	border-left: 3px solid var(--tch-primary);
	font-size: 17px;
	line-height: 1.75;
	color: var(--tch-heading);
}

.tch .tch-single__media {
	margin: 0 0 40px;
}

.tch .tch-single__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tch .tch-section {
	margin: 0 0 48px;
}

.tch .tch-section__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--tch-heading);
}

.tch .tch-prose {
	font-size: 16px;
	line-height: 1.75;
}

.tch .tch-prose p {
	margin: 0 0 1.1em;
	padding: 0;
}

.tch .tch-prose > :last-child {
	margin-bottom: 0;
}

.tch .tch-prose a {
	color: var(--tch-primary);
	text-decoration: underline;
}

.tch .tch-prose h3 {
	margin: 1.5em 0 0.5em;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-size: 21px;
	font-weight: 400;
	color: var(--tch-heading);
}

.tch .tch-prose ul,
.tch .tch-prose ol {
	margin: 0 0 1.1em;
	padding: 0 0 0 1.25em;
}

/* Perks checklist */
.tch .tch-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tch .tch-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.tch .tch-checklist .tch-icon {
	width: 22px;
	height: 22px;
	margin-top: 1px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.15);
	color: #b36b00; /* Darker orange: readable as an icon on its tint. */
	stroke-width: 2.5;
}

/* FAQs */
.tch .tch-faqs__list {
	border-top: 1px solid var(--tch-line);
}

.tch .tch-faq {
	border-bottom: 1px solid var(--tch-line);
}

.tch .tch-faq__q {
	position: relative;
	display: block;
	padding: 18px 44px 18px 0;
	font-family: var(--tch-font-heading);
	font-size: 19px;
	line-height: 1.45;
	color: var(--tch-heading);
	cursor: pointer;
	list-style: none;
}

.tch .tch-faq__q::-webkit-details-marker {
	display: none;
}

.tch .tch-faq__q::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 4px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--tch-primary);
	color: #fff;
	font-family: var(--tch-font-body);
	font-size: 20px;
	line-height: 28px;
	text-align: center;
}

.tch .tch-faq[open] > .tch-faq__q::after {
	content: "\2212";
}

.tch .tch-faq__q:hover {
	color: var(--tch-primary);
}

.tch .tch-faq__a {
	padding: 0 44px 20px 0;
	line-height: 1.75;
}

.tch .tch-faq__a p {
	margin: 0 0 0.8em;
	padding: 0;
}

.tch .tch-faq__a p:last-child {
	margin-bottom: 0;
}

.tch .tch-faq__a a {
	color: var(--tch-primary);
}

/* "At a glance" panel */
.tch .tch-panel {
	padding: 28px 28px 20px;
	background: var(--tch-surface);
	box-shadow: var(--tch-shadow);
}

.tch .tch-panel__title {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-size: 22px;
	font-weight: 400;
	color: var(--tch-heading);
}

.tch .tch-facts__list {
	margin: 0;
	padding: 0;
}

.tch .tch-facts__row {
	padding: 12px 0;
	border-top: 1px solid var(--tch-line);
}

.tch .tch-facts__row dt {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tch-muted);
}

.tch .tch-facts__row dd {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--tch-heading);
}

.tch .tch-facts__row a {
	color: var(--tch-primary);
	text-decoration: none;
}

.tch .tch-facts__row a:hover {
	text-decoration: underline;
}

/* Related */
.tch .tch-related {
	padding: clamp(56px, 7vw, 88px) 0;
	background: var(--tch-surface-alt);
}

.tch .tch-related__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 32px;
}

.tch .tch-related__header .tch-section__title {
	margin: 0;
}

/* ==========================================================================
   Contact CTA
   ========================================================================== */
.tch .tch-cta {
	background: var(--tch-primary-dark);
	color: #fff;
}

.tch .tch-cta--card {
	padding: 28px;
}

.tch .tch-cta--band {
	padding: clamp(48px, 6vw, 80px) 0;
}

.tch .tch-cta--band .tch-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 24px 64px;
	align-items: center;
}

@media (max-width: 767px) {
	.tch .tch-cta--band .tch-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tch .tch-cta__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--tch-font-heading);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 400;
	line-height: 1.3;
	color: #fff;
}

.tch .tch-cta--card .tch-cta__title {
	font-size: 22px;
}

.tch .tch-cta__text {
	margin: 0 0 16px;
	padding: 0;
	line-height: 1.65;
	color: #fff;
}

.tch .tch-cta__host {
	display: flex;
	flex-direction: column;
	margin: 0 0 20px;
	padding: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.tch .tch-cta__host strong {
	font-size: 16px;
	color: #fff;
}

.tch .tch-cta__actions {
	display: grid;
	gap: 12px;
}

.tch .tch-cta .tch-btn {
	border-color: #fff;
	background: #fff;
	color: var(--tch-primary-dark);
	font-size: 16px;
}

.tch .tch-cta .tch-btn:hover {
	border-color: var(--tch-icon);
	background: var(--tch-icon);
	color: #000;
}

.tch .tch-cta .tch-btn--outline {
	background: transparent;
	color: #fff;
}

.tch .tch-cta .tch-text-link {
	justify-content: center;
	margin-top: 4px;
	color: #fff;
	font-weight: 600;
}

.tch .tch-cta a:focus-visible {
	outline-color: #fff;
}

.tch-sc--contact {
	margin: 0;
}

/* ==========================================================================
   Shortcode-only bits
   ========================================================================== */

/* Breathing room when several shortcodes sit in one Divi module. */
.tch-sc {
	margin-bottom: clamp(40px, 5vw, 64px);
}

.tch-sc:last-child {
	margin-bottom: 0;
}

/* A single card shouldn't stretch across the whole row. */
.tch .tch-grid--1 {
	max-width: 420px;
	margin-right: auto;
	margin-left: auto;
}

.tch-sc--category .tch-grid--1 {
	max-width: 560px;
}

/* Inside a Divi module the band already has a container around it. */
.tch-sc .tch-cta--band {
	padding-right: clamp(24px, 5vw, 64px);
	padding-left: clamp(24px, 5vw, 64px);
}

.tch-sc .tch-cta--band .tch-container {
	width: auto;
	max-width: none;
	margin: 0;
}
.tch-sc--faqs .tch-section,
.tch-sc--perks .tch-section {
	margin-bottom: 0;
}

.tch .tch-editor-notice {
	padding: 12px 16px;
	border: 2px dashed #c3c4c7;
	background: #fcf9e8;
	color: #1d2327;
	font-size: 14px;
}

/* ==========================================================================
   Motion + print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.tch *,
	.tch *::before,
	.tch *::after {
		transition: none !important;
	}

	.tch .tch-card:hover,
	.tch .tch-card:hover .tch-card__media img {
		transform: none;
	}
}

@media print {
	.tch .tch-hero {
		padding: 24px 0;
		background: none !important;
		color: #000;
	}

	.tch .tch-hero::before,
	.tch .tch-hero__bg {
		display: none;
	}

	.tch .tch-hero__title,
	.tch .tch-hero__eyebrow,
	.tch .tch-hero__subtitle {
		color: #000;
		text-shadow: none;
	}

	.tch .tch-related,
	.tch .tch-cta__actions {
		display: none;
	}

	.tch .tch-faq__a {
		display: block !important;
	}
}
