/* =========================================================================
   SkyTeam Reviews — editorial clean, navy & sky.
   All selectors scoped under .str-* so the active theme stays untouched.
   ========================================================================= */

.str-tool,
.str-spec {
	--st-navy: #0E2A47;
	--st-navy-deep: #0A2038;
	--st-ink: #18242F;
	--st-sky: #1C82C4;
	--st-sky-deep: #0F6CA8;
	--st-sky-soft: #E7F1F9;
	--st-paper: #F7F8FA;
	--st-card: #FFFFFF;
	--st-line: #DCE3EC;
	--st-muted: #66727F;

	--st-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--st-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--st-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	box-sizing: border-box;
	font-family: inherit;
	color: var(--st-ink);
	-webkit-font-smoothing: antialiased;
}
.str-tool *,
.str-spec * { box-sizing: border-box; }

.str-mono { font-family: var(--st-mono); letter-spacing: .02em; }

/* ---- Tool shell --------------------------------------------------------- */
.str-tool {
	background: var(--st-paper);
	border: 1px solid var(--st-line);
	border-radius: 4px;
	padding: clamp(20px, 4vw, 40px);
	margin: 32px 0;
}

.str-tool__head { max-width: 64ch; margin-bottom: 26px; }

.str-eyebrow,
.str-spec__eyebrow {
	display: inline-block;
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--st-sky-deep);
	margin-bottom: 10px;
}

.str-tool__title {
	font-family: var(--st-serif);
	font-weight: 700;
	font-size: clamp(28px, 4.4vw, 44px);
	line-height: 1.05;
	letter-spacing: -.01em;
	color: var(--st-navy);
	margin: 0 0 .4em;
	/* signature: a thin "boarding board" accent rule under the title */
	padding-bottom: .35em;
	border-bottom: 3px solid var(--st-navy);
	position: relative;
}
.str-tool__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -3px;
	width: 64px; height: 3px;
	background: var(--st-sky);
}

.str-tool__lead {
	font-size: 16px;
	line-height: 1.55;
	color: var(--st-muted);
	margin: 0;
}

/* ---- Controls ----------------------------------------------------------- */
.str-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	align-items: flex-end;
	padding: 18px 0 22px;
	margin-bottom: 8px;
	border-top: 1px solid var(--st-line);
	border-bottom: 1px solid var(--st-line);
}

.str-field { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.str-field--search { flex: 1 1 240px; }
.str-field__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--st-muted);
}

.str-tool select,
.str-tool input[type="search"] {
	font-family: inherit;
	font-size: 15px;
	color: var(--st-ink);
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: 3px;
	padding: 9px 11px;
	width: 100%;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.str-tool select:focus,
.str-tool input[type="search"]:focus {
	outline: none;
	border-color: var(--st-sky);
	box-shadow: 0 0 0 3px var(--st-sky-soft);
}

/* ---- Table (the refined timetable) -------------------------------------- */
.str-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.str-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: transparent;
}
.str-table th,
.str-table td {
	border: 0;
	text-align: left;
	padding: 13px 16px 13px 0;
	vertical-align: middle;
}
.str-table thead th {
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--st-navy);
	border-bottom: 2px solid var(--st-navy);
	white-space: nowrap;
}
.str-table tbody tr { border-bottom: 1px solid var(--st-line); }
.str-table tbody tr:hover { background: var(--st-sky-soft); }
.str-table tbody td { color: var(--st-ink); }

.str-sortable { cursor: pointer; user-select: none; position: relative; padding-right: 18px; }
.str-sortable::after {
	content: "↕";
	position: absolute;
	right: 4px;
	color: var(--st-muted);
	font-size: 10px;
	opacity: .5;
}
.str-sortable.is-asc::after { content: "↑"; opacity: 1; color: var(--st-sky-deep); }
.str-sortable.is-desc::after { content: "↓"; opacity: 1; color: var(--st-sky-deep); }

.str-th-link, .str-td-link { width: 1%; text-align: right; padding-right: 0; }
.str-td-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	color: var(--st-sky-deep);
	text-decoration: none;
	font-size: 15px;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.str-td-link a:hover { background: var(--st-navy); border-color: var(--st-navy); color: #fff; }

/* ---- Pills -------------------------------------------------------------- */
.str-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 5px 9px;
	border-radius: 999px;
	border: 1px solid var(--st-line);
	color: var(--st-muted);
	background: #fff;
}
.str-pill--on { background: var(--st-sky); border-color: var(--st-sky); color: #fff; }
.str-pill--mut { color: var(--st-muted); border-style: dashed; }

.str-count {
	margin: 14px 0 0;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--st-muted);
}
.str-count [data-count] { color: var(--st-navy); font-weight: 700; }

.str-empty {
	padding: 28px 0;
	color: var(--st-muted);
	font-size: 15px;
}

/* ---- Lounge cards ------------------------------------------------------- */
.str-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.str-card {
	background: var(--st-card);
	border: 1px solid var(--st-line);
	border-radius: 4px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.str-card:hover {
	border-color: var(--st-sky);
	box-shadow: 0 6px 22px -14px rgba(14, 42, 71, .5);
	transform: translateY(-2px);
}
.str-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.str-card__airport {
	font-family: var(--st-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--st-sky-deep);
}
.str-card__rating { font-family: var(--st-serif); font-size: 22px; color: var(--st-navy); line-height: 1; }
.str-card__rating small { font-size: 12px; color: var(--st-muted); }
.str-card__title { font-family: var(--st-serif); font-size: 20px; line-height: 1.2; margin: 2px 0 0; }
.str-card__title a { color: var(--st-navy); text-decoration: none; }
.str-card__title a:hover { color: var(--st-sky-deep); }
.str-card__op { font-size: 13px; color: var(--st-muted); margin: 0; }
.str-card__access {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--st-ink);
	padding: 8px 10px;
	background: var(--st-sky-soft);
	border-radius: 3px;
}
.str-key {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--st-sky-deep);
	margin-bottom: 2px;
}
.str-card__rules { font-size: 14px; line-height: 1.5; color: var(--st-muted); margin: 4px 0 0; }
.str-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; }
.str-card__meta span {
	font-size: 12px;
	color: var(--st-muted);
	letter-spacing: .02em;
}

/* ---- Single-record spec sheet ------------------------------------------- */
.str-spec {
	margin: 36px 0 0;
	padding: 26px clamp(18px, 3vw, 30px);
	background: var(--st-paper);
	border: 1px solid var(--st-line);
	border-left: 4px solid var(--st-navy);
	border-radius: 4px;
}
.str-spec__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.str-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--st-navy);
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	padding: 5px 12px;
}
.str-chip__k {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--st-sky-deep);
}
.str-spec__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0;
	margin: 0;
}
.str-spec__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 11px 0;
	border-bottom: 1px solid var(--st-line);
}
.str-spec__row dt {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--st-muted);
	margin: 0;
}
.str-spec__row dd {
	margin: 0;
	font-size: 16px;
	color: var(--st-ink);
}

/* ---- Accessibility & motion -------------------------------------------- */
.str-tool a:focus-visible,
.str-tool select:focus-visible,
.str-tool input:focus-visible,
.str-card__title a:focus-visible {
	outline: 2px solid var(--st-sky);
	outline-offset: 2px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
	.str-card, .str-td-link a, .str-tool select, .str-tool input { transition: none; }
	.str-card:hover { transform: none; }
}

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 600px) {
	.str-field { min-width: 0; flex: 1 1 45%; }
	.str-field--search { flex: 1 1 100%; }
	.str-table { font-size: 14px; }
	.str-table th, .str-table td { padding: 11px 12px 11px 0; }
}
