/*
Theme Name: GeneratePress TWW
Theme URI: https://tasmanianwhiskyweek.com
Description: Tasmanian Whisky Week child theme. Built on GeneratePress as a minimal structural shell; all page content is authored as self-contained tww- namespaced HTML/CSS sections in Gutenberg Custom HTML blocks.
Author: Tasmanian Whisky Week
Template: generatepress
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress-tww
*/

/* ==========================================================================
   Brand tokens
   ========================================================================== */

:root {
	--tww-navy:  #162444;
	--tww-gold:  #d4ad36;
	--tww-bg:    #f2ede6;
	--tww-text:  #1a1a1a;

	/* Bridge token — used only on Passport-facing sections to signpost
	   the brand transition into the Trail/Passport orange world. Do not
	   use elsewhere on the TWW site. */
	--tww-passport-orange: #cf6f35;

	--tww-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--tww-font-body:    'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
	font-family: var(--tww-font-body);
	color: var(--tww-text);
	background-color: var(--tww-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tww-font-heading);
	color: var(--tww-navy);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

a {
	color: var(--tww-navy);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--tww-gold);
}

/* Visually-hidden helper (for accessible labels). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ==========================================================================
   Strip-back: kill GeneratePress default content-area padding/margin
   so each tww- section can sit edge-to-edge.
   ========================================================================== */

.full-width-content .site-content,
.full-width-content .inside-content-area,
.full-width-content .site-main,
.full-width-content .entry-content,
.full-width-content .inside-article {
	padding: 0;
	margin: 0;
}

.full-width-content .entry-content > *:first-child {
	margin-top: 0;
}

.full-width-content .entry-content > *:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.tww-container {
	width: 100%;
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.25rem, 4vw, 3rem);
	padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.tww-btn {
	display: inline-block;
	padding: 0.95rem 2.1rem;
	font-family: var(--tww-font-body);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 1;
}

.tww-btn--gold {
	background-color: var(--tww-gold);
	color: var(--tww-navy);
	border-color: var(--tww-gold);
}

.tww-btn--gold:hover,
.tww-btn--gold:focus {
	background-color: transparent;
	color: var(--tww-gold);
}

.tww-btn--ghost {
	color: var(--tww-navy);
	border-color: var(--tww-navy);
}

.tww-btn--ghost:hover,
.tww-btn--ghost:focus {
	background-color: var(--tww-navy);
	color: var(--tww-bg);
}

.tww-btn--ghost-light {
	color: var(--tww-bg);
	border-color: rgba(242, 237, 230, 0.4);
}

.tww-btn--ghost-light:hover,
.tww-btn--ghost-light:focus {
	background-color: var(--tww-bg);
	color: var(--tww-navy);
	border-color: var(--tww-bg);
}

/* ==========================================================================
   Site header
   ========================================================================== */

.tww-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--tww-bg);
	border-bottom: 1px solid rgba(22, 36, 68, 0.08);
}

.tww-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 80px;
}

.tww-site-header__brand {
	flex-shrink: 0;
	text-decoration: none;
	color: var(--tww-navy);
}

.tww-site-header__brand:hover,
.tww-site-header__brand:focus {
	color: var(--tww-navy);
}

.tww-site-header__wordmark {
	font-family: var(--tww-font-heading);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tww-navy);
}

.tww-site-header__brand .custom-logo,
.tww-site-header__logo {
	display: block;
	height: 50px;
	width: auto;
	max-height: 50px;
}

@media (max-width: 480px) {
	.tww-site-header__brand .custom-logo,
	.tww-site-header__logo {
		height: 40px;
		max-height: 40px;
	}
}

.tww-site-nav {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.tww-site-nav__menu {
	display: flex;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.tww-site-nav__menu li {
	margin: 0;
}

.tww-site-nav__menu a {
	display: inline-block;
	padding: 0.5rem 0;
	font-family: var(--tww-font-body);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--tww-navy);
	text-decoration: none;
	letter-spacing: 0.02em;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tww-site-nav__menu a:hover,
.tww-site-nav__menu a:focus,
.tww-site-nav__menu .current-menu-item > a,
.tww-site-nav__menu .current-menu-ancestor > a {
	color: var(--tww-gold);
	border-bottom-color: var(--tww-gold);
}

.tww-site-header__cta {
	flex-shrink: 0;
}

/* Mobile toggle */
.tww-site-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0.5rem;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.tww-site-header__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--tww-navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.tww-site-header__toggle[aria-expanded="true"] .tww-site-header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.tww-site-header__toggle[aria-expanded="true"] .tww-site-header__toggle-bar:nth-child(2) {
	opacity: 0;
}
.tww-site-header__toggle[aria-expanded="true"] .tww-site-header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel — uses [hidden] for default display:none. */
.tww-mobile-menu {
	padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
	border-top: 1px solid rgba(22, 36, 68, 0.08);
	background-color: var(--tww-bg);
}

.tww-mobile-menu__list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.tww-mobile-menu__list li + li {
	border-top: 1px solid rgba(22, 36, 68, 0.08);
}

.tww-mobile-menu__list a {
	display: block;
	padding: 1rem 0;
	font-family: var(--tww-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--tww-navy);
	text-decoration: none;
}

.tww-mobile-menu__list a:hover,
.tww-mobile-menu__list a:focus,
.tww-mobile-menu__list .current-menu-item > a {
	color: var(--tww-gold);
}

.tww-mobile-menu__cta {
	display: block;
	text-align: center;
}

/* Lock body scroll when mobile menu is open. */
body.tww-mobile-menu-open {
	overflow: hidden;
}

/* Responsive — collapse to mobile menu under 900px. */
@media (max-width: 900px) {
	.tww-site-nav,
	.tww-site-header__cta {
		display: none;
	}
	.tww-site-header__toggle {
		display: flex;
	}
}

/* Force-hide mobile menu panel on desktop regardless of state. */
@media (min-width: 901px) {
	.tww-mobile-menu {
		display: none !important;
	}
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.tww-site-footer {
	background-color: var(--tww-navy);
	color: var(--tww-bg);
	font-family: var(--tww-font-body);
}

.tww-site-footer a {
	color: var(--tww-bg);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tww-site-footer a:hover,
.tww-site-footer a:focus {
	color: var(--tww-gold);
}

.tww-site-footer h2,
.tww-site-footer h3 {
	color: var(--tww-bg);
}

/* Sponsors strip */
.tww-site-footer__sponsors {
	padding: 2rem 0;
	background-color: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tww-site-footer__sponsors-label {
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tww-gold);
}

.tww-site-footer__sponsors-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 5vw, 4rem);
}

.tww-site-footer__sponsor-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 60px;
	border: 1px dashed rgba(242, 237, 230, 0.3);
	color: rgba(242, 237, 230, 0.5);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Main footer block */
.tww-site-footer__main {
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.tww-site-footer__main-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

@media (min-width: 700px) {
	.tww-site-footer__main-inner {
		grid-template-columns: 1fr 2fr;
	}
}

.tww-site-footer__brand {
	max-width: 28rem;
}

.tww-site-footer__wordmark {
	margin: 0;
	font-family: var(--tww-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.tww-site-footer__brand-link {
	display: inline-block;
	border: 0;
	text-decoration: none;
}

.tww-site-footer__logo {
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
}

.tww-site-footer__tagline {
	margin: 0.5rem 0 0.75rem;
	color: rgba(242, 237, 230, 0.75);
	max-width: 32ch;
}

.tww-site-footer__sibling {
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	color: rgba(242, 237, 230, 0.6);
	max-width: 32ch;
}

.tww-site-footer__sibling a {
	color: var(--tww-gold);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.tww-site-footer__sibling a:hover,
.tww-site-footer__sibling a:focus {
	color: var(--tww-bg);
}

.tww-site-footer__disclaimer {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.8rem;
	font-style: italic;
	color: rgba(242, 237, 230, 0.45);
}

.tww-site-footer__socials {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tww-site-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(242, 237, 230, 0.3);
	border-radius: 50%;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.tww-site-footer__socials a:hover,
.tww-site-footer__socials a:focus {
	border-color: var(--tww-gold);
}

.tww-site-footer__socials svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.tww-site-footer__columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 2rem;
}

@media (min-width: 900px) {
	.tww-site-footer__columns {
		grid-template-columns: repeat(4, 1fr);
	}
}

.tww-site-footer__column-title {
	margin: 0 0 1rem;
	font-family: var(--tww-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tww-gold);
}

.tww-site-footer__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tww-site-footer__column li + li {
	margin-top: 0.5rem;
}

.tww-site-footer__newsletter p {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: rgba(242, 237, 230, 0.75);
}

/* Scoped to the newsletter cell so it works regardless of the <form>'s class
   (MC4WP outputs its own .mc4wp-form wrapper). */
.tww-site-footer__newsletter form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tww-site-footer__newsletter input[type="email"] {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(242, 237, 230, 0.3);
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--tww-bg);
	font-family: var(--tww-font-body);
	font-size: 0.95rem;
}

.tww-site-footer__newsletter input[type="email"]::placeholder {
	color: rgba(242, 237, 230, 0.4);
}

.tww-site-footer__newsletter input[type="email"]:focus {
	outline: none;
	border-color: var(--tww-gold);
}

/* MC4WP response messages — keep them readable on the navy footer. */
.tww-site-footer__newsletter .mc4wp-response,
.tww-site-footer__newsletter .mc4wp-alert {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: rgba(242, 237, 230, 0.85);
}

.tww-site-footer__newsletter .mc4wp-success {
	color: var(--tww-gold);
}

.tww-site-footer__newsletter .mc4wp-error {
	color: #ff9b9b;
}

/* Bottom bar */
.tww-site-footer__bottom {
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.85rem;
}

.tww-site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	text-align: center;
}

@media (min-width: 700px) {
	.tww-site-footer__bottom-inner {
		flex-direction: row;
	}
}

.tww-site-footer__bottom p {
	margin: 0;
	color: rgba(242, 237, 230, 0.6);
}

.tww-site-footer__bottom ul {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Custom CPT templates (archive-distillery.php, single-distillery.php) live
   directly inside GeneratePress's .site-content — which is `display: flex`.
   Without an explicit flex-basis our sections collapse to intrinsic width
   and sit left-aligned. Force them to fill the flex row.
   ========================================================================== */

.full-width-content .site-content > .tww-distillery-archive,
.full-width-content .site-content > .tww-distillery-single {
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
}

/* ==========================================================================
   Distillery archive (/distilleries/)
   ========================================================================== */

.tww-distillery-archive {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
	background-color: var(--tww-bg);
	color: var(--tww-text);
}

.tww-distillery-archive__header {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.tww-distillery-archive__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tww-gold);
}

.tww-distillery-archive__heading {
	margin: 0 0 1rem;
	font-family: var(--tww-font-heading);
	font-weight: 700;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--tww-navy);
	text-wrap: balance;
}

.tww-distillery-archive__intro {
	margin: 0;
	max-width: 56ch;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.65;
	color: rgba(26, 26, 26, 0.78);
}

/* Filter bar */
.tww-distillery-archive__filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 1.5rem;
	margin: 0 0 3rem;
	background-color: #fff;
	border: 1px solid rgba(22, 36, 68, 0.1);
	align-items: end;
}

@media (min-width: 720px) {
	.tww-distillery-archive__filters {
		grid-template-columns: 1fr 2fr auto;
		gap: 1.25rem;
	}
}

.tww-distillery-archive__filter {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.tww-distillery-archive__filter-label {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tww-gold);
}

.tww-distillery-archive__filter select,
.tww-distillery-archive__filter input[type="search"] {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(22, 36, 68, 0.15);
	background-color: var(--tww-bg);
	color: var(--tww-navy);
	font-family: var(--tww-font-body);
	font-size: 0.95rem;
	border-radius: 0;
}

.tww-distillery-archive__filter select:disabled,
.tww-distillery-archive__filter input[type="search"]:disabled {
	color: rgba(26, 26, 26, 0.45);
	background-color: rgba(22, 36, 68, 0.04);
	cursor: not-allowed;
}

.tww-distillery-archive__filter-note {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.8rem;
	color: rgba(26, 26, 26, 0.55);
	font-style: italic;
}

.tww-distillery-archive__filter-reset {
	padding: 0.75rem 1rem;
	background-color: transparent;
	color: var(--tww-navy);
	border: 1px solid rgba(22, 36, 68, 0.18);
	font-family: var(--tww-font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tww-distillery-archive__filter-reset:hover,
.tww-distillery-archive__filter-reset:focus {
	background-color: var(--tww-navy);
	color: var(--tww-bg);
}

.tww-distillery-archive__empty-filtered {
	margin: 3rem 0;
	text-align: center;
	font-size: 1rem;
	color: rgba(26, 26, 26, 0.6);
}

.tww-distillery-archive__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.tww-distillery-archive__empty {
	margin: 4rem 0;
	text-align: center;
	color: rgba(26, 26, 26, 0.6);
}

/* Pagination (default WP markup, lightly skinned) */
.tww-distillery-archive .pagination,
.tww-distillery-archive .nav-links {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tww-distillery-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 0.5rem 0.85rem;
	font-family: var(--tww-font-body);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--tww-navy);
	border: 1px solid rgba(22, 36, 68, 0.15);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tww-distillery-archive .page-numbers:hover,
.tww-distillery-archive .page-numbers.current {
	background-color: var(--tww-navy);
	color: var(--tww-bg);
	border-color: var(--tww-navy);
}

/* ==========================================================================
   Distillery card (in archive)
   ========================================================================== */

.tww-distillery-card {
	display: grid;
	grid-template-columns: 1fr;
	background-color: #fff;
	border: 1px solid rgba(22, 36, 68, 0.08);
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Filter JS toggles the [hidden] attribute on cards. The default
   `display: grid` above wins over the UA's default `[hidden] { display:none }`
   without this explicit override. */
.tww-distillery-card[hidden] {
	display: none;
}

@media (min-width: 600px) {
	.tww-distillery-card {
		grid-template-columns: 220px 1fr;
	}
}

@media (min-width: 900px) {
	.tww-distillery-card {
		grid-template-columns: 280px 1fr;
	}
}

.tww-distillery-card:hover {
	border-color: var(--tww-gold);
	transform: translateY(-2px);
	box-shadow: 0 12px 30px -16px rgba(22, 36, 68, 0.18);
}

.tww-distillery-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	padding: 2rem;
	background-color: #fcfaf6;  /* warmer off-white than the page bg, so logos stand out */
	border-right: 1px solid rgba(22, 36, 68, 0.06);
	text-decoration: none;
	overflow: hidden;
}

@media (max-width: 599px) {
	.tww-distillery-card__media {
		border-right: 0;
		border-bottom: 1px solid rgba(22, 36, 68, 0.06);
	}
}

.tww-distillery-card__logo,
.tww-distillery-card__thumb {
	max-width: 90%;
	max-height: 220px;
	height: auto;
	width: auto;
	object-fit: contain;
	display: block;
}

.tww-distillery-card__name-plate {
	font-family: var(--tww-font-heading);
	font-weight: 700;
	font-style: italic;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.05;
	color: var(--tww-navy);  /* navy on off-white now */
	text-align: center;
	max-width: 100%;
}

.tww-distillery-card__content {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tww-distillery-card__header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tww-distillery-card__title {
	margin: 0;
	font-family: var(--tww-font-heading);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.tww-distillery-card__title a {
	color: var(--tww-navy);
	text-decoration: none;
	transition: color 0.2s;
}

.tww-distillery-card__title a:hover,
.tww-distillery-card__title a:focus {
	color: var(--tww-gold);
}

.tww-distillery-card__meta {
	display: grid;
	grid-template-columns: auto auto;
	column-gap: 0.5rem;
	row-gap: 0.25rem;
	margin: 0;
	font-size: 0.85rem;
}

.tww-distillery-card__meta dt {
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tww-gold);
	font-size: 0.72rem;
}

.tww-distillery-card__meta dd {
	margin: 0;
	color: var(--tww-navy);
}

.tww-distillery-card__excerpt {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(26, 26, 26, 0.78);
}

.tww-distillery-card__hours {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(26, 26, 26, 0.65);
}

.tww-distillery-card__cta {
	margin-top: auto;
	font-family: var(--tww-font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tww-navy);
	text-decoration: none;
	border-bottom: 1px solid var(--tww-navy);
	padding-bottom: 0.3rem;
	align-self: flex-start;
	transition: color 0.2s, border-color 0.2s;
}

.tww-distillery-card__cta:hover,
.tww-distillery-card__cta:focus {
	color: var(--tww-gold);
	border-bottom-color: var(--tww-gold);
}

/* ==========================================================================
   Single distillery (/distillery/[slug]/)
   ========================================================================== */

.tww-distillery-single__hero {
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: flex-end;
	background-color: var(--tww-navy);
	color: var(--tww-bg);
	overflow: hidden;
	isolation: isolate;
}

.tww-distillery-single__hero--has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(22, 36, 68, 0.1) 0%, rgba(22, 36, 68, 0.85) 100%);
	z-index: 1;
}

.tww-distillery-single__hero:not(.tww-distillery-single__hero--has-image)::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 100%, rgba(212, 173, 54, 0.18), transparent 60%),
		radial-gradient(ellipse at 50% 0%, rgba(212, 173, 54, 0.08), transparent 55%);
	z-index: 1;
}

.tww-distillery-single__hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.tww-distillery-single__hero-overlay {
	position: relative;
	z-index: 2;
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
	width: 100%;
}

.tww-distillery-single__region-badge {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.4rem 0.85rem;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tww-gold);
	border: 1px solid var(--tww-gold);
}

.tww-distillery-single__title {
	margin: 0;
	font-family: var(--tww-font-heading);
	font-weight: 700;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--tww-bg);
	text-wrap: balance;
}

.tww-distillery-single__body {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background-color: var(--tww-bg);
	color: var(--tww-text);
}

.tww-distillery-single__body-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 880px) {
	.tww-distillery-single__body-grid {
		grid-template-columns: 1fr 320px;
	}
}

.tww-distillery-single__main {
	font-family: var(--tww-font-body);
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--tww-text);
}

.tww-distillery-single__lede {
	margin: 0 0 2rem;
	font-family: var(--tww-font-heading);
	font-weight: 600;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.4;
	color: var(--tww-navy);
	text-wrap: pretty;
}

.tww-distillery-single__main p {
	margin: 0 0 1.25rem;
}

.tww-distillery-single__main h2,
.tww-distillery-single__main h3 {
	margin: 2rem 0 1rem;
	font-family: var(--tww-font-heading);
	color: var(--tww-navy);
}

.tww-distillery-single__main h2 {
	font-size: 1.6rem;
}

.tww-distillery-single__main h3 {
	font-size: 1.3rem;
}

/* Sidebar */
.tww-distillery-sidebar {
	padding: 2rem;
	background-color: #fff;
	border: 1px solid rgba(22, 36, 68, 0.1);
}

.tww-distillery-sidebar__row {
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(22, 36, 68, 0.08);
}

.tww-distillery-sidebar__row:first-child {
	padding-top: 0;
}

.tww-distillery-sidebar__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.tww-distillery-sidebar__label {
	margin: 0 0 0.4rem;
	font-family: var(--tww-font-body);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tww-gold);
}

.tww-distillery-sidebar__value {
	margin: 0;
	font-family: var(--tww-font-body);
	font-style: normal;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--tww-navy);
	text-decoration: none;
}

.tww-distillery-sidebar__value--note {
	margin-top: 0.5rem;
	font-style: italic;
	color: rgba(26, 26, 26, 0.65);
}

.tww-distillery-sidebar a.tww-distillery-sidebar__value {
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, color 0.2s;
}

.tww-distillery-sidebar a.tww-distillery-sidebar__value:hover {
	color: var(--tww-gold);
	border-bottom-color: var(--tww-gold);
}

.tww-distillery-sidebar__socials {
	display: flex;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tww-distillery-sidebar__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(22, 36, 68, 0.2);
	border-radius: 50%;
	color: var(--tww-navy);
	transition: border-color 0.2s, color 0.2s;
}

.tww-distillery-sidebar__socials a:hover,
.tww-distillery-sidebar__socials a:focus {
	border-color: var(--tww-gold);
	color: var(--tww-gold);
}

.tww-distillery-sidebar__socials svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Amenities — small pills under "On site" */
.tww-distillery-sidebar__amenities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.tww-distillery-sidebar__amenity {
	display: inline-block;
	padding: 0.3rem 0.65rem;
	font-family: var(--tww-font-body);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--tww-navy);
	background-color: var(--tww-bg);
	border: 1px solid rgba(22, 36, 68, 0.15);
}

/* Awards — slightly emphasised text block */
.tww-distillery-sidebar__value--awards {
	font-style: italic;
	color: rgba(26, 26, 26, 0.78);
}

/* Booking CTA at the bottom of the sidebar */
.tww-distillery-sidebar__row--cta {
	border-bottom: 0;
	padding: 1.5rem 0 0;
}

.tww-distillery-sidebar__cta {
	display: inline-block;
	width: 100%;
	padding: 0.95rem 1.25rem;
	background-color: var(--tww-gold);
	color: var(--tww-navy);
	border: 1px solid var(--tww-gold);
	font-family: var(--tww-font-body);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tww-distillery-sidebar__cta:hover,
.tww-distillery-sidebar__cta:focus {
	background-color: transparent;
	color: var(--tww-gold);
}
