/*
Theme Name: Hotelthrill
Theme URI: https://hotelthrill.com
Author URI: https://hotelthrill.com
Author: Hotelthrill
Description: Thin affiliate booking portal theme for Hotelthrill. Pairs with the Hotelthrill Booking plugin.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: hotelthrill
*/

:root {
	--ht-ink: #123f47;
	--ht-accent: #7a075f;
	--ht-teal: #0b5a65;
	--ht-mist: #f7fbfc;
	--ht-line: #d5e4e7;
	--ht-muted: #536d72;
	--ht-font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	--ht-font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ht-font-body);
	color: var(--ht-ink);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ht-accent);
}

a:hover {
	color: var(--ht-teal);
}

h1,
h2,
h3 {
	font-family: var(--ht-font-display);
	font-weight: 650;
	line-height: 1.15;
}

.ht-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ht-accent);
	color: #fff;
	padding: 10px 16px;
	z-index: 10001;
}

.ht-skip-link:focus {
	left: 12px;
	top: 12px;
}

.ht-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ht-line);
}

.ht-header-inner {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
}

.ht-brand {
	font-family: var(--ht-font-display);
	font-size: 1.55rem;
	font-weight: 700;
	color: var(--ht-ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.ht-brand:hover {
	color: var(--ht-accent);
}

.ht-nav {
	display: flex;
	align-items: center;
}

.ht-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	justify-content: flex-end;
}

.ht-nav a {
	color: var(--ht-ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
}

.ht-nav a:hover,
.ht-nav a:focus {
	color: var(--ht-accent);
}

.ht-nav-toggle {
	display: none;
	border: 1px solid var(--ht-line);
	background: #fff;
	border-radius: 10px;
	padding: 8px 12px;
	font-weight: 700;
	cursor: pointer;
}

.ht-site-main {
	min-height: 50vh;
}

.ht-page {
	width: min(860px, calc(100% - 32px));
	margin: 0 auto;
	padding: 48px 0 80px;
}

.ht-page--wide {
	width: min(1180px, calc(100% - 32px));
}

.ht-page-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 18px;
	color: var(--ht-ink);
}

.ht-page-content > *:first-child {
	margin-top: 0;
}

.ht-site-footer {
	background: var(--ht-ink);
	color: #d7e7ea;
	padding: 48px 0 28px;
	margin-top: 40px;
}

.ht-footer-inner {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 28px;
}

.ht-footer-brand {
	font-family: var(--ht-font-display);
	font-size: 1.5rem;
	color: #fff;
	margin: 0 0 10px;
}

.ht-footer-inner a {
	color: #f1b5dc;
	text-decoration: none;
}

.ht-footer-inner a:hover {
	color: #fff;
}

.ht-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.ht-footer-support {
	margin-top: 12px;
	font-size: 0.92rem;
	color: #d7e7ea;
}

.ht-footer-meta {
	width: min(1180px, calc(100% - 32px));
	margin: 28px auto 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.9rem;
	color: #9bb4b9;
}

.ht-legal-note {
	font-size: 0.92rem;
	color: var(--ht-muted);
	border-left: 3px solid var(--ht-accent);
	padding-left: 14px;
	margin: 0 0 24px;
}

@media (max-width: 800px) {
	.ht-nav-toggle {
		display: inline-flex;
	}

	.ht-nav {
		display: none;
		width: 100%;
	}

	.ht-header-inner {
		flex-wrap: wrap;
	}

	.ht-header-inner.is-open .ht-nav {
		display: block;
	}

	.ht-nav ul {
		flex-direction: column;
		align-items: flex-start;
		padding: 8px 0 4px;
	}

	.ht-footer-inner {
		grid-template-columns: 1fr;
	}
}
