/**
 * TrustHost plan widgets.
 *
 * The design tokens below are read off the live /game-server/ tables so the new
 * widgets match that page exactly. One stylesheet serves both the domestic and
 * the foreign table, which is what keeps them from drifting apart.
 *
 * Every colour is a fallback: the Elementor style controls emit
 * higher-specificity rules scoped to the widget wrapper, so editing a colour in
 * the panel overrides these without touching this file.
 */

:root {
	--th-card-top: #ffffff;
	--th-card-bottom: #fbfdff;
	--th-card-border: #d7e9f8;
	--th-card-shadow: 0 14px 36px rgba(0, 86, 156, .08);
	--th-head-bg: #edf7ff;
	--th-head-fg: #0d6fd0;
	--th-row-line: #e8f0f7;
	--th-text: #303030;
	--th-muted: #7a7a7a;
	--th-accent: #0d6fd0;
	--th-free: #0b8a3d;
	--th-cta: linear-gradient(135deg, #0081fe 0%, #006fc9 100%);
	--th-pill-on-bg: #e9f5fe;
	--th-pill-on-fg: #0d6fd0;
	--th-pill-off-bg: #fefeff;
	--th-pill-off-fg: #7a7a7a;
}

/* Used by the switcher and the CPU filter. An Elementor container sets
   display:flex, so hiding has to outrank that rather than rely on [hidden]. */
.th-hidden {
	display: none !important;
}

/* ---------- Table card ---------- */

.th-plans {
	/* A flex item defaults to min-width:auto, so without this the card refuses to
	   shrink below the table's floor and drags the whole page into a horizontal
	   scroll. The overflow belongs to .th-plans-scroll alone. */
	min-width: 0;
	max-width: 100%;
	background: linear-gradient(var(--th-card-top) 0%, var(--th-card-bottom) 100%);
	border: 1px solid var(--th-card-border);
	border-radius: 20px;
	box-shadow: var(--th-card-shadow);
	padding: 10px 12px 12px;
}

.th-plans-scroll {
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.th-plans-table {
	width: 100%;
	/* /game-server/ lays its rows out as an equal-width grid rather than sizing
	   columns to content, so the fixed layout is what reproduces that look. Its
	   columns come out at ~88px, so the same floor is applied here and the
	   wrapper scrolls on a narrow viewport instead of crushing the columns. */
	table-layout: fixed;
	/* No floor on desktop: the fixed layout shares the container between the
	   columns so the whole table is visible without a horizontal scroll. A floor
	   is reintroduced at tablet width below, where scrolling is the better
	   trade-off against crushed columns. */
	min-width: 0;
	border-collapse: separate;
	border-spacing: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: var(--th-text);
}

.th-plans-table thead th {
	border: 0;
	background: var(--th-head-bg);
	color: var(--th-head-fg);
	font-weight: 600;
	font-size: 14px;
	padding: 13px 6px;
	border: 0;
}

.th-plans-table thead th:first-child {
	border-radius: 0 12px 12px 0;
}

.th-plans-table thead th:last-child {
	border-radius: 12px 0 0 12px;
}

.th-plans-table tbody td {
	/* hello-elementor styles bare table cells with a grey 1px box, which drew a
	   full grid. /game-server/ has no vertical rules at all, so every side is
	   cleared before the single horizontal rule is put back. */
	border: 0;
	padding: 12px 6px;
	border-bottom: 1px solid var(--th-row-line);
	vertical-align: middle;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.th-plans-table tbody tr {
	min-height: 83px;
}

.th-plans-table tbody tr:last-child td {
	border-bottom: 0;
}

/* Under table-layout:fixed an explicit width is honoured and the remaining
   columns share what is left, so only the CPU column needs the extra room. */
.th-plans-table .th-cell--cpu_model,
.th-plans-table .th-head--cpu_model,
.th-plans-table .th-cell--gpu,
.th-plans-table .th-head--gpu {
	width: 140px;
}

/* The price column carries two figures once a discount is set, so it needs more
   room than the shared column width. */
.th-plans-table .th-cell--price,
.th-plans-table .th-head--price {
	width: 130px;
}

/* Without a width of its own the CTA column took an equal share and the button
   spilled ~18px past the container, which put the whole table into a scroll. */
.th-plans-table .th-cell--cta,
.th-plans-table .th-col-cta {
	width: 96px;
}

/* A <tr> ignores border-radius, so the 10px /game-server/ rows use their end cells. */
.th-plans-table tbody td:first-child {
	border-radius: 0 10px 10px 0;
}

.th-plans-table tbody td:last-child {
	border-radius: 10px 0 0 10px;
}

.th-plans-table tbody tr {
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.th-plans-table tbody tr:hover {
	position: relative;
	z-index: 1;
	box-shadow: 0 8px 22px rgba(0, 115, 193, .08);
	transform: translateY(-1px);
}

.th-plans-table tbody tr:hover td {
	background: #f4faff;
}

/* /game-server/ renders every row identically, so a highlighted row is not
   tinted here either — the badge in the plan cell carries the emphasis. */

.th-val {
	display: contents;
}

.th-plan-name {
	font-weight: 600;
	color: var(--th-text);
}

.th-badge {
	display: inline-block;
	margin-inline-start: 6px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--th-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.8;
	white-space: nowrap;
}

.th-cpu {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	color: var(--th-muted);
	line-height: 1.6;
}

.th-free {
	color: var(--th-free);
	font-weight: 600;
}

.th-traffic {
	display: block;
	font-weight: 400;
}

.th-price {
	display: block;
	color: var(--th-accent);
	font-weight: 700;
	white-space: nowrap;
}

/* The original price is struck by a pseudo-element rather than
   text-decoration, because only a real box can be animated from zero width.
   The row is given .is-struck by the observer in th-plans.js once it scrolls
   into view, so the line draws itself where the reader can see it. */
.th-price-old {
	display: block;
	color: var(--th-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 1px;
}

.th-price-old-text {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

.th-price-old-text::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background-color: #e5342b;
	transform: translateY(-50%);
	transition: width .7s cubic-bezier(.22, .61, .36, 1);
	will-change: width;
}

.th-plan-row.is-struck .th-price-old-text::after {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.th-price-old-text::after {
		transition: none;
	}
}

.th-traffic-note,
.th-price-note {
	display: block;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--th-muted);
	line-height: 1.7;
	margin-top: 3px;
}

.th-plans-table .th-buy,
.th-buy {
	display: inline-flex;
	/* /game-server/ lets this label break over two lines; forcing it onto one
	   made the column demand more width than the container had. */
	overflow-wrap: break-word;
	min-width: 0;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	padding: 10px 10px;
	border-radius: 11px;
	background: var(--th-cta);
	color: #fff;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	transition: filter .15s ease, transform .15s ease;
}

.th-buy:hover,
.th-buy:focus {
	filter: brightness(1.04);
	box-shadow: 0 10px 22px rgba(0, 112, 210, .25);
	transform: translateY(-2px);
	color: #fff;
}

.th-plans-empty {
	padding: 24px;
	text-align: center;
	color: var(--th-muted);
}

/* ---------- Pill controls: scope switcher, CPU filter, country grid ---------- */

.th-scope {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 24px;
	flex-wrap: wrap;
}

.th-scope-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 15px 35px;
	border: 0;
	border-radius: 35px;
	background: var(--th-pill-off-bg);
	color: var(--th-pill-off-fg);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.th-scope-btn:hover {
	background: #f2f8fe;
	color: var(--th-pill-on-fg);
}

.th-scope-btn.is-active,
.th-scope-btn.is-active:hover {
	background: var(--th-pill-on-bg);
	color: var(--th-pill-on-fg);
}

.th-scope-icon {
	display: inline-flex;
	width: 22px;
	height: 16px;
	flex: 0 0 auto;
}

.th-scope-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
}

.th-scope-badge {
	padding: 1px 9px;
	border-radius: 999px;
	background: rgba(13, 111, 208, .12);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.th-cpu-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 18px;
}

.th-cpu-chip {
	padding: 10px 26px;
	border: 0;
	border-radius: 35px;
	background: var(--th-pill-off-bg);
	color: var(--th-pill-off-fg);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.th-cpu-chip:hover {
	background: #f2f8fe;
	color: var(--th-pill-on-fg);
}

.th-cpu-chip.is-active,
.th-cpu-chip.is-active:hover {
	background: var(--th-pill-on-bg);
	color: var(--th-pill-on-fg);
}

.th-country-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.th-country {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 8px 10px;
	border: 0;
	border-radius: 35px;
	background: var(--th-pill-off-bg);
	color: var(--th-pill-off-fg);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.th-country:hover {
	background: #f2f8fe;
	/* Without an explicit colour the theme's own button hover turned the label
	   white on a near-white pill, which made it disappear. */
	color: var(--th-pill-on-fg);
}

.th-country.is-active:hover {
	background: var(--th-pill-on-bg);
	color: var(--th-pill-on-fg);
}

.th-country.is-active {
	background: var(--th-pill-on-bg);
	color: var(--th-pill-on-fg);
}

.th-country-flag {
	width: 22px;
	height: 16px;
	object-fit: cover;
	border-radius: 3px;
	flex: 0 0 auto;
}

.th-country-count {
	font-size: 12px;
	opacity: .7;
}

.th-country-panel {
	display: none;
}

.th-country-panel.is-active {
	display: block;
}

/* ---------- Mobile: each row becomes a card ---------- */

@media (max-width: 767px) {
	.th-plans {
		background: transparent;
		border: 0;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
	}

	.th-plans-scroll {
		overflow-x: visible;
	}

	.th-plans-table,
	.th-plans-table tbody,
	.th-plans-table tr,
	.th-plans-table td {
		display: block;
		width: 100%;
	}

	.th-plans-table {
		table-layout: auto;
		min-width: 0;
		border-spacing: 0;
	}

	.th-plans-table tbody tr {
		min-height: 0;
	}

	.th-plans-table tbody tr:hover {
		transform: none;
		box-shadow: var(--th-card-shadow);
	}

	.th-plans-table thead {
		display: none;
	}

	.th-plans-table tbody tr {
		margin-bottom: 16px;
		border: 1px solid var(--th-card-border);
		border-radius: 20px;
		box-shadow: var(--th-card-shadow);
		background: linear-gradient(var(--th-card-top) 0%, var(--th-card-bottom) 100%);
		overflow: hidden;
	}

	/* The fixed desktop column widths would otherwise squeeze the card rows
	   into a 63px strip with dead space beside it. */
	.th-plans-table .th-cell--cpu_model,
	.th-plans-table .th-cell--gpu,
	.th-plans-table .th-cell--price,
	.th-plans-table .th-head--cpu_model,
	.th-plans-table .th-head--gpu,
	.th-plans-table .th-head--price {
		width: auto;
	}

	.th-plans-table tbody td {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 12px;
		padding: 12px 14px;
		border-bottom: 1px solid var(--th-row-line);
		text-align: start;
		font-size: 15px;
	}

	/* On the card the wrapper becomes the single value column, so a cell with
	   two figures in it (an old price and a new one) stays on one grid track
	   instead of wrapping onto its own line. */
	.th-plans-table tbody td .th-val {
		display: block;
		text-align: end;
	}

	.th-plans-table tbody td::before {
		content: attr(data-label);
		color: var(--th-muted);
		font-size: 13px;
		font-weight: 500;
	}



	.th-plans-table tbody tr.is-highlight td,
	.th-plans-table tbody tr:hover td {
		background: transparent;
	}

	.th-plans-table tbody tr.is-highlight td:first-child,
	.th-plans-table tbody tr.is-highlight td:last-child {
		border-radius: 0;
		box-shadow: none;
	}

	/* Plan name, price and CTA each take the full card width. */
	.th-plans-table tbody td.th-cell--name {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		background: var(--th-head-bg);
		font-size: 17px;
	}

	.th-plans-table tbody td.th-cell--name::before {
		content: none;
	}

	.th-plans-table tbody td.th-cell--price {
		background: #f7fbff;
	}

	.th-plans-table tbody td.th-cell--price .th-price {
		font-size: 17px;
	}

	.th-plans-table tbody td.th-cell--cta {
		display: block;
		padding: 14px;
		border-bottom: 0;
	}

	.th-plans-table tbody td.th-cell--cta::before {
		content: none;
	}

	.th-buy {
		width: 100%;
		min-height: 48px;
	}

	.th-scope-btn,
	.th-cpu-chip {
		padding: 12px 22px;
		font-size: 15px;
	}

	.th-country-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.th-country {
		flex-direction: column;
		gap: 3px;
		min-height: 60px;
		border-radius: 16px;
		font-size: 13px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* Below the desktop container width the columns would be crushed, so the
	   floor comes back and .th-plans-scroll takes over. */
	.th-plans-table {
		min-width: calc(var(--th-cols, 10) * 78px);
	}

	.th-country-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.th-scope-btn {
		padding: 14px 24px;
	}
}

/* ---------- Elementor nested-tabs restyled as pills ----------
   Elementor drives its nested-tabs entirely from --n-tabs-* custom properties,
   so overriding those beats fighting its generated selectors. Scoped to
   .th-pill-tabs, a class set on this one widget, so no other tabs on the site
   change. Padding (15/35) and gap (10) already match /game-server/, so only the
   colours and the radius are set here. */

.elementor-widget-n-tabs.th-pill-tabs,
.th-pill-tabs.th-pill-tabs {
	--n-tabs-title-background-color: #fefeff;
	--n-tabs-title-color: #7a7a7a;
	--n-tabs-title-background-color-active: #e9f5fe;
	--n-tabs-title-color-active: #0d6fd0;
	--n-tabs-title-background-color-hover: #f2f8fe;
	--n-tabs-title-color-hover: #0d6fd0;
	--n-tabs-title-border-radius: 35px;
	--n-tabs-icon-color: #7a7a7a;
	--n-tabs-icon-color-active: #0d6fd0;
	--n-tabs-icon-color-hover: #0d6fd0;
	--n-tabs-border-width: 0;
	--n-tabs-heading-wrap: wrap;
}

/* Elementor hides an inactive tab pane with the `hidden` attribute, but a
   container's own `display: var(--display)` outranks the UA stylesheet's
   [hidden] rule, so the pane kept its space and left a tall gap above the
   visible table. */
.th-pill-tabs .e-n-tabs-content > .e-con {
	--display: block;
}

.th-pill-tabs .e-n-tabs-content > .e-con[hidden] {
	display: none !important;
}

/* Elementor marks the visible pane with .e-active; state it explicitly so the
   rule above can never hide the one pane that should be on screen. */
.th-pill-tabs .e-n-tabs-content > .e-con.e-active {
	display: block !important;
}

/* Elementor draws an indicator bar under the active tab; a pill does not want it. */
.th-pill-tabs.th-pill-tabs .e-n-tab-title::before,
.th-pill-tabs.th-pill-tabs .e-n-tab-title::after {
	display: none;
}

@media (max-width: 767px) {
	.elementor-widget-n-tabs.th-pill-tabs,
	.th-pill-tabs.th-pill-tabs {
		--n-tabs-title-padding-inline-start: 20px;
		--n-tabs-title-padding-inline-end: 20px;
		--n-tabs-title-padding-block-start: 12px;
		--n-tabs-title-padding-block-end: 12px;
		--n-tabs-title-font-size: 14px;
		--n-tabs-gap: 8px;
	}
}

/* ---------- Page section helpers ----------
   Applied through Elementor's `_css_classes`, which is a render-time attribute.
   Elementor generates its own per-element CSS only when a page is saved through
   the editor, so a page written straight into the database has none. These
   classes give the layout its shape without that; anything the operator later
   sets in the panel still wins, because Elementor's generated rules are scoped
   to the element id and load after this file. */

/* An Elementor container is `display: var(--display)`, and that variable is set
   by the per-element CSS Elementor writes on save. A page written straight to
   the database has none, so the declaration falls back to `inline` and a section
   with a background paints as a thin strip. These rules restore the box. */
.th-sec {
	display: block;
	width: 100%;
	padding: 52px 16px;
}

.th-sec > .e-con-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	width: 100%;
	max-width: 1140px;
	margin-inline: auto;
}

.th-card,
.th-actions,
.th-grid {
	--display: flex;
}

.th-sec--hero {
	padding: 64px 20px 56px;
	background: #f5f9fe;
}

.th-sec--tint {
	background: #f5f9fe;
}

.th-sec--dark {
	background: #0b2740;
}

/* The theme colours headings through .elementor-widget-heading .elementor-heading-title,
   which outranks a single-class rule, so the section class is doubled here. */
.th-sec--dark.th-sec--dark .elementor-widget-heading .elementor-heading-title {
	color: #ffffff;
}

.th-sec--dark.th-sec--dark .elementor-widget-text-editor,
.th-sec--dark.th-sec--dark .elementor-widget-text-editor p {
	color: #d6e8f8;
}

.th-grid {
	display: grid;
	gap: 20px;
	width: 100%;
}

.th-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.th-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.th-card {
	background: #ffffff;
	border: 1px solid #e3edf6;
	border-radius: 18px;
	padding: 26px 22px;
	transition: transform .15s ease, box-shadow .15s ease;
}

.th-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 86, 156, .08);
}

.th-card .elementor-heading-title {
	margin-bottom: 8px;
}

.th-card ul {
	margin: 0;
	padding-inline-start: 18px;
	line-height: 2.1;
}

/* ---------- Stat cards ---------- */

.th-stat {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
	padding: 30px 20px 26px;
	background: linear-gradient(#ffffff 0%, #f8fbff 100%);
}

/* A hairline of brand colour along the top edge, drawn in on hover so the row
   has some life without shouting. */
.th-stat::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #0081fe, #00c2a8);
	transform: scaleX(0);
	transform-origin: inline-start;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}

.th-stat:hover::before {
	transform: scaleX(1);
}

.th-stat .th-stat-icon {
	margin-bottom: 14px;
}

.th-stat .th-stat-icon .elementor-icon-wrapper {
	display: flex;
	justify-content: center;
}

.th-stat .th-stat-icon .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: #e9f5fe;
	color: #0d6fd0;
	font-size: 22px;
	transition: transform .2s ease, background-color .2s ease;
}

.th-stat:hover .th-stat-icon .elementor-icon {
	transform: translateY(-2px);
	background: #dceefd;
}

.th-stat .elementor-heading-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	color: #0b2740;
	margin-bottom: 4px;
}

.th-stat .elementor-widget-text-editor p {
	margin: 0;
	color: #546e85;
	font-size: 14px;
	font-weight: 600;
}

/* The third line is the quiet one: it qualifies the figure above it. */
.th-stat .th-stat-note {
	margin-top: 6px !important;
	padding-top: 8px;
	border-top: 1px solid #eaf2f9;
	color: #8aa0b4 !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	line-height: 1.7;
}

/* ---------- Section headers ---------- */

/* Named .th-sechead, not .th-head: the table's own <th> elements already use
   .th-head / .th-head--<column>, and a flex-column rule on those collapsed the
   entire header row. */
.th-sechead {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0;
	margin-bottom: 30px;
	width: 100%;
}

.th-kicker {
	display: inline-block;
	margin: 0 0 12px !important;
	padding: 5px 14px;
	border-radius: 999px;
	background: #e9f5fe;
	color: #0d6fd0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .2px;
}

.th-sec h2.elementor-heading-title,
.th-title .elementor-heading-title {
	position: relative;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.45;
	color: #0b2740;
	margin-bottom: 16px;
	padding-bottom: 14px;
}

/* A short accent rule under the title, instead of a bare line of text. */
.th-title .elementor-heading-title::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 50%;
	transform: translateX(50%);
	width: 54px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, #0081fe, #00c2a8);
}

.th-subtitle p {
	max-width: 640px;
	margin: 0 auto !important;
	color: #546e85;
	font-size: 15.5px;
	line-height: 2;
}

.th-subtitle b {
	color: #0d6fd0;
}

/* Spec chips sit under a section header rather than in the hero. */
.th-chips--spec {
	margin-top: 0;
	margin-bottom: 26px;
}

.th-chips--spec .th-chip {
	background: #f7fbff;
	box-shadow: none;
}

.th-sec--dark .th-kicker {
	background: rgba(255, 255, 255, .12);
	color: #9ed0ff;
}

.th-sec--dark h2.elementor-heading-title,
.th-sec--dark .th-title .elementor-heading-title {
	color: #ffffff;
}

.th-sec--dark .th-subtitle p {
	color: #d6e8f8;
}

@media (max-width: 767px) {
	.th-sec h2.elementor-heading-title,
	.th-title .elementor-heading-title {
		font-size: 24px;
	}

	.th-subtitle p {
		font-size: 14.5px;
	}
}

/* ---------- Hero ---------- */

.th-sec--hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 50% -10%, #e3f1ff 0%, rgba(227, 241, 255, 0) 70%),
		linear-gradient(#f7fbff 0%, #eef5fc 100%);
	padding-block: 66px 58px;
	text-align: center;
}

.th-eyebrow {
	display: inline-block;
	margin: 0 auto 18px !important;
	padding: 7px 18px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #d7e9f8;
	box-shadow: 0 4px 14px rgba(0, 86, 156, .06);
	color: #0d6fd0;
	font-size: 13.5px;
	font-weight: 600;
}

.th-sec--hero h1.elementor-heading-title {
	font-size: 42px;
	line-height: 1.35;
	font-weight: 800;
	color: #0b2740;
	margin-bottom: 14px;
}

.th-lead p {
	max-width: 720px;
	margin: 0 auto !important;
	color: #4a6b86;
	font-size: 17px;
	line-height: 2;
}

/* The four qualifiers that used to be buried in a paragraph. */
.th-chips {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
	width: auto !important;
}

.th-chip {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
	width: auto !important;
	padding: 9px 16px 9px 14px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e0edf9;
	box-shadow: 0 2px 10px rgba(0, 86, 156, .05);
}

.th-chip p {
	margin: 0;
	color: #29506e;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}

.th-chip .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e9f5fe;
	color: #0d6fd0;
	font-size: 12px;
}

.th-chip .elementor-widget-icon,
.th-chip .elementor-widget-text-editor {
	width: auto;
}

/* An Elementor container publishes its own --flex-direction: column, which
   outranks a plain display:flex here and stacked the two buttons. */
.th-actions {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
	width: auto !important;
}

.th-actions .elementor-widget-button {
	width: auto;
}

@media (max-width: 767px) {
	.th-sec--hero h1.elementor-heading-title {
		font-size: 30px;
	}

	.th-lead p {
		font-size: 15.5px;
		line-height: 1.95;
	}

	.th-chip p {
		font-size: 12.5px;
	}
}

.elementor-widget-button.th-btn .elementor-button,
.th-btn .elementor-button {
	background-color: #0d6fd0;
	color: #ffffff;
	border-radius: 12px;
	padding: 14px 30px;
	font-weight: 600;
}

.elementor-widget-button.th-btn--ghost .elementor-button,
.th-btn--ghost .elementor-button {
	background-color: #ffffff;
	color: #0d6fd0;
	border: 1px solid #cfe4f7;
}

.th-btn .elementor-button:hover {
	filter: brightness(1.05);
	transform: translateY(-2px);
}

@media (max-width: 1024px) {
	.th-grid--3,
	.th-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.th-sec { padding: 38px 14px; }
	.th-sec--hero { padding: 42px 16px 36px; }
	.th-grid--2,
	.th-grid--3,
	.th-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.th-card { padding: 20px 18px; }
}


/* ---------- FAQ accordion ----------
   Elementor's nested-accordion is driven by --n-accordion-* properties, so those
   are set rather than fought. Scoped to .th-faq, a class on this one widget. */

.elementor-widget-n-accordion.th-faq,
.th-faq.th-faq {
	--n-accordion-border-width: 1px;
	--n-accordion-border-color: #e3edf6;
	--n-accordion-border-radius: 16px;
	--n-accordion-padding: 18px 22px;
	--n-accordion-title-font-size: 16.5px;
	--n-accordion-title-normal-color: #12324b;
	--n-accordion-title-hover-color: #0d6fd0;
	--n-accordion-title-active-color: #0d6fd0;
	--n-accordion-icon-normal-color: #7a9ab4;
	--n-accordion-icon-hover-color: #0d6fd0;
	--n-accordion-icon-active-color: #0d6fd0;
	--n-accordion-icon-size: 14px;
	--n-accordion-item-title-space-between: 12px;
	--n-accordion-item-title-distance-from-content: 0px;

}

/* A long line of prose is hard to read at full container width. Applied to the
   inner element because Elementor pins the widget itself to max-width:100%. */
.th-faq .e-n-accordion {
	max-width: 880px;
	margin-inline: auto;
}

.th-faq .e-n-accordion-item {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow .18s ease, border-color .18s ease;
}

.th-faq .e-n-accordion-item:hover {
	box-shadow: 0 8px 24px rgba(0, 86, 156, .07);
}

.th-faq .e-n-accordion-item[open] {
	box-shadow: 0 10px 30px rgba(0, 86, 156, .09);
}

.th-faq .e-n-accordion-item-title {
	font-weight: 700;
	line-height: 1.9;
	transition: background-color .18s ease;
}

.th-faq .e-n-accordion-item[open] .e-n-accordion-item-title {
	background: #f4faff;
}

/* The open/close mark reads as a control rather than a stray glyph. */
.th-faq .e-n-accordion-item-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	min-width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #eef6fd;
	transition: background-color .18s ease, transform .25s ease;
}

.th-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon {
	background: #dceefd;
	transform: rotate(180deg);
}

.th-faq .e-n-accordion-item > .e-con,
.th-faq .e-n-accordion-item .elementor-widget-text-editor p {
	color: #546e85;
	line-height: 2.1;
	font-size: 15px;
}

.th-faq .e-n-accordion-item > .e-con {
	padding: 2px 22px 20px;
}

@media (max-width: 767px) {
	.elementor-widget-n-accordion.th-faq,
	.th-faq.th-faq {
		--n-accordion-padding: 14px 16px;
		--n-accordion-title-font-size: 15px;
	}

	.th-faq .e-n-accordion-item > .e-con {
		padding: 2px 16px 16px;
	}
}

/* ---------- Callout ---------- */

/* A single highlighted statement above the domestic tables: international
   internet access on the Iran servers. Row on desktop, stacked on phones. */
.th-callout {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 18px;
	position: relative;
	overflow: hidden;
	margin-bottom: 22px;
	padding: 22px 24px;
	border-radius: 18px;
	border: 1px solid #bfe3d6;
	background: linear-gradient(135deg, #effaf5 0%, #eaf5ff 100%);
	box-shadow: 0 10px 28px rgba(0, 86, 156, .08);
}

.th-callout::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 5px;
	background: linear-gradient(180deg, #00c2a8, #0081fe);
}

.th-callout .th-callout-icon,
.th-callout .elementor-widget-icon {
	flex: 0 0 auto;
	width: auto;
}

.th-callout .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(135deg, #00c2a8 0%, #0081fe 100%);
	color: #ffffff;
	font-size: 26px;
}

.th-callout .elementor-icon svg {
	fill: #ffffff;
}

.th-callout-body {
	--display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.th-callout .th-callout-badge {
	display: inline-block;
	margin: 0;
	padding: 2px 12px;
	border-radius: 999px;
	background: #0b8a3d;
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.9;
}

/* Doubled class: the theme's heading rule outranks a single class. */
.th-callout.th-callout .elementor-heading-title {
	margin: 0;
	color: #0b2740;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.6;
}

.th-callout .elementor-widget-text-editor p:not(.th-callout-badge) {
	margin: 0;
	color: #3d5a73;
	font-size: 14.5px;
	line-height: 2;
}

@media (max-width: 767px) {
	.th-callout {
		flex-direction: column !important;
		align-items: flex-start;
		gap: 12px;
		padding: 18px 18px 18px 16px;
	}

	.th-callout .elementor-icon {
		width: 48px;
		height: 48px;
		font-size: 22px;
	}

	.th-callout.th-callout .elementor-heading-title {
		font-size: 18px;
	}
}
