/**
 * WebST Minimal Skin: homepage layout (templates/home.php), based on the Stitch design.
 *
 * Everything is scoped under .wsh so the theme's generic rules (h2, a, input,
 * .btn ...) loaded after this file cannot win on specificity.
 */

/* The new layout has its own help box, partner strip and "about" text. */
.wsh ~ .promo-chat,
.wsh ~ .footer_vendors,
.wsh ~ #footer .about p:first-child {
	display: none;
}

.wsh {
	display: block;
	background: #fff;
	color: var(--webst-muted);
	font-family: var(--webst-font);
	font-size: 16px;
	line-height: 1.5;
}

.wsh .wsh-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2rem;
	box-sizing: border-box;
}

.wsh .wsh-icon {
	flex-shrink: 0;
	vertical-align: middle;
}

/* =Shared pieces
-------------------------------------------------------------- */

.wsh .wsh-eyebrow {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--webst-accent-dark);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 14px;
	text-transform: uppercase;
}

.wsh .wsh-eyebrow--muted {
	color: var(--webst-muted);
	margin: 0;
}

.wsh .wsh-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3rem 0.85rem;
	border: 1px solid var(--webst-border);
	border-radius: 9999px;
	background: #fff;
	color: var(--webst-text);
	font-size: 12px;
	font-weight: 500;
	box-shadow: var(--webst-shadow-1);
}

.wsh .wsh-pill__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--webst-accent);
	box-shadow: 0 0 0 3px var(--webst-accent-soft);
}

.wsh .wsh-pill--dark {
	border-color: rgba(26, 179, 148, 0.35);
	background: rgba(26, 179, 148, 0.15);
	color: #7ee0c9;
	box-shadow: none;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wsh .wsh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 42px;
	padding: 0 1.25rem;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wsh .wsh-btn--primary {
	background: var(--webst-accent);
	color: #fff;
}

.wsh .wsh-btn--primary:hover,
.wsh .wsh-btn--primary:focus {
	background: var(--webst-accent-dark);
	color: #fff;
}

.wsh .wsh-btn--ghost-dark {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.wsh .wsh-btn--ghost-dark:hover,
.wsh .wsh-btn--ghost-dark:focus {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.wsh .wsh-btn:focus-visible,
.wsh a:focus-visible,
.wsh input:focus-visible {
	outline: 2px solid var(--webst-accent);
	outline-offset: 2px;
}

/* =Hero
-------------------------------------------------------------- */

.wsh .wsh-hero {
	padding: 5rem 0 4rem;
	background: linear-gradient(180deg, #fff 0%, var(--webst-soft) 55%, #fff 100%);
	text-align: center;
}

.wsh .wsh-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.wsh .wsh-hero__title {
	max-width: 14em;
	margin: 1.5rem 0 0;
	color: var(--webst-text);
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 56px;
}

.wsh .wsh-hero__lead {
	max-width: 40rem;
	margin: 1.25rem 0 0;
	color: var(--webst-muted);
	font-size: 17px;
	line-height: 26px;
}

.wsh .wsh-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 42rem;
	margin: 2.5rem 0 0;
	padding: 6px 6px 6px 1rem;
	border: 1px solid var(--webst-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--webst-shadow-3);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wsh .wsh-search:focus-within {
	border-color: var(--webst-accent);
	box-shadow: var(--webst-shadow-3), 0 0 0 3px rgba(26, 179, 148, 0.15);
}

.wsh .wsh-search__icon {
	display: flex;
	color: var(--webst-muted);
}

.wsh .wsh-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 0.25rem;
	border: 0;
	background: transparent;
	color: var(--webst-text);
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
}

.wsh .wsh-search input[type="search"]::placeholder {
	color: #94a3b8;
}

.wsh .wsh-hero__transfer {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1rem;
	color: var(--webst-accent-dark);
	font-size: 13px;
	font-weight: 500;
}

.wsh .wsh-hero__transfer .wsh-icon {
	width: 14px;
	height: 14px;
}

/* =Partners
-------------------------------------------------------------- */

.wsh .wsh-partners {
	padding: 1.75rem 0;
	border-top: 1px solid var(--webst-border);
	border-bottom: 1px solid var(--webst-border);
}

.wsh .wsh-partners__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.wsh .wsh-partners__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 2.25rem;
}

.wsh .wsh-partners__logos img {
	display: block;
	height: 40px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.55;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.wsh .wsh-partners__logos img:hover {
	filter: none;
	opacity: 1;
}

/* =Sections
-------------------------------------------------------------- */

.wsh .wsh-section {
	padding: 4.5rem 0;
}

.wsh .wsh-section--canvas {
	background: var(--webst-soft);
}

.wsh .wsh-section--tight {
	padding: 1rem 0 4.5rem;
}

.wsh .wsh-section__head {
	max-width: 40rem;
	margin-bottom: 2.5rem;
}

.wsh .wsh-section__head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	max-width: none;
}

.wsh .wsh-section__head--split .wsh-section__lead {
	max-width: 24rem;
	margin: 0;
	text-align: right;
}

.wsh .wsh-section__head--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.wsh .wsh-section__title {
	margin: 0;
	color: var(--webst-text);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 40px;
}

.wsh .wsh-section__lead {
	margin: 0.75rem 0 0;
	color: var(--webst-muted);
	font-size: 15px;
	line-height: 24px;
}

.wsh .wsh-grid {
	display: grid;
	gap: 1.5rem;
}

.wsh .wsh-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wsh .wsh-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =Cards
-------------------------------------------------------------- */

.wsh .wsh-card {
	display: flex;
	flex-direction: column;
	max-width: none;
	margin: 0; /* Theme sets article { margin: auto }, which misaligns grid items. */
	padding: 1.75rem;
	border: 1px solid var(--webst-border);
	border-radius: var(--webst-radius);
	background: #fff;
	box-shadow: var(--webst-shadow-1);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wsh .wsh-card:hover {
	border-color: var(--webst-border-hover);
	box-shadow: var(--webst-shadow-2);
}

.wsh .wsh-card--compact {
	padding: 1.5rem;
}

.wsh .wsh-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #cdeee5;
	border-radius: 10px;
	background: var(--webst-accent-soft);
	color: var(--webst-accent-dark);
}

.wsh .wsh-card__title {
	margin: 1.25rem 0 0.5rem;
	color: var(--webst-text);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 26px;
}

.wsh .wsh-card__text {
	flex: 1;
	color: var(--webst-muted);
	font-size: 14px;
	line-height: 22px;
}

.wsh .wsh-card__text p {
	margin: 0 0 0.75rem;
}

.wsh .wsh-card__text p:empty {
	display: none;
}

.wsh .wsh-card__text a {
	color: var(--webst-accent-dark);
	font-weight: 500;
}

.wsh .wsh-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	align-self: flex-start;
	margin-top: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--webst-border);
	width: 100%;
	color: var(--webst-accent-dark);
	font-size: 14px;
	font-weight: 600;
}

.wsh .wsh-card__link .wsh-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.15s ease;
}

.wsh .wsh-card:hover .wsh-card__link .wsh-icon {
	transform: translateX(3px);
}

.wsh .wsh-card--compact .wsh-card__title {
	font-size: 16px;
	line-height: 24px;
}

.wsh .wsh-card--compact .wsh-card__text {
	font-size: 13px;
	line-height: 20px;
}

/* =Dark "Why CloudServices" band
-------------------------------------------------------------- */

.wsh .wsh-band {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
	padding: 3.5rem;
	border-radius: 20px;
	background: radial-gradient(120% 140% at 0% 0%, #17324a 0%, var(--webst-navy) 55%, #0b1f30 100%);
	color: rgba(255, 255, 255, 0.72);
}

.wsh .wsh-band__title {
	margin: 1.25rem 0 0;
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 36px;
}

.wsh .wsh-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.wsh .wsh-band__panel {
	padding: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--webst-radius);
	background: rgba(255, 255, 255, 0.04);
}

.wsh .wsh-band__panel-title {
	margin: 0 0 1.25rem;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.wsh .wsh-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsh .wsh-contact li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.wsh .wsh-contact li:first-child {
	border-top: 0;
	padding-top: 0;
}

.wsh .wsh-contact .wsh-icon {
	width: 18px;
	height: 18px;
	color: #7ee0c9;
}

.wsh .wsh-contact a {
	color: #fff;
}

.wsh .wsh-contact a:hover {
	color: #7ee0c9;
}

/* =Help box
-------------------------------------------------------------- */

.wsh .wsh-help {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.75rem 2rem;
	border: 1px solid var(--webst-border);
	border-radius: var(--webst-radius);
	background: #fff;
	box-shadow: var(--webst-shadow-1);
}

.wsh .wsh-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--webst-accent-soft);
	color: var(--webst-accent-dark);
	flex-shrink: 0;
}

.wsh .wsh-help__text {
	flex: 1;
}

.wsh .wsh-help__title {
	margin: 0;
	color: var(--webst-text);
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
}

.wsh .wsh-help__title em {
	font-weight: 700;
}

.wsh .wsh-help__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0.4rem 0 0;
	font-size: 13px;
}

.wsh .wsh-help__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--webst-muted);
	font-weight: 500;
}

.wsh .wsh-help__links a:hover {
	color: var(--webst-accent-dark);
}

.wsh .wsh-help__links .wsh-icon {
	width: 15px;
	height: 15px;
}

/* =Responsive
-------------------------------------------------------------- */

@media (max-width: 1199px) {
	.wsh .wsh-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wsh .wsh-band {
		grid-template-columns: minmax(0, 1fr);
		padding: 2.5rem;
	}
}

@media (max-width: 899px) {
	.wsh .wsh-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.wsh .wsh-partners__inner,
	.wsh .wsh-section__head--split {
		flex-direction: column;
		align-items: flex-start;
	}

	.wsh .wsh-partners__logos {
		justify-content: flex-start;
	}

	.wsh .wsh-section__head--split .wsh-section__lead {
		text-align: left;
	}

	.wsh .wsh-help {
		flex-wrap: wrap;
	}

	.wsh .wsh-help__cta {
		width: 100%;
	}
}

@media (max-width: 639px) {
	.wsh .wsh-container {
		padding: 0 1rem;
	}

	.wsh .wsh-hero {
		padding: 3rem 0 2.5rem;
	}

	.wsh .wsh-hero__title {
		font-size: 34px;
		line-height: 42px;
	}

	.wsh .wsh-hero__lead {
		font-size: 15px;
		line-height: 24px;
	}

	.wsh .wsh-search {
		flex-wrap: wrap;
		padding: 6px;
	}

	.wsh .wsh-search__icon {
		padding-left: 0.5rem;
	}

	.wsh .wsh-search .wsh-btn {
		width: 100%;
	}

	.wsh .wsh-section {
		padding: 3rem 0;
	}

	.wsh .wsh-section__title {
		font-size: 26px;
		line-height: 34px;
	}

	.wsh .wsh-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.wsh .wsh-partners__logos {
		gap: 0.75rem 1.5rem;
	}

	.wsh .wsh-partners__logos img {
		height: 30px;
	}

	.wsh .wsh-band {
		padding: 1.75rem;
		gap: 2rem;
	}

	.wsh .wsh-band__title {
		font-size: 21px;
		line-height: 30px;
	}

	.wsh .wsh-help {
		padding: 1.5rem;
	}
}

/* =Website Migration page (templates/migration.php)
-------------------------------------------------------------- */

.wsh .wsh-hero__actions {
	justify-content: center;
	margin-top: 1.75rem;
}

.wsh .wsh-btn--ghost {
	border: 1px solid var(--webst-border-hover);
	background: #fff;
	color: var(--webst-text);
}

.wsh .wsh-btn--ghost:hover,
.wsh .wsh-btn--ghost:focus {
	border-color: var(--webst-accent);
	color: var(--webst-accent-dark);
}
