/*
Theme Name: Nottingham Win Club Claret
Theme URI: https://nottinghamwinclub.uk/
Description: Astra child theme for nottinghamwinclub.uk. Claret and cream, DM Serif Display headings, one header, one footer, one H1, 17px body, tinted ground, one measure and one left edge.
Author: Nottingham Win Club
Template: astra
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: claret
*/

/* ==========================================================================
   Reset and base type
   ========================================================================== */

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

html,
body {
	overflow-x: clip;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	background: #faf6ef;
	color: #2b2226;
	font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
}

p,
li,
dt,
dd {
	font-size: 17px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'DM Serif Display', Georgia, serif;
	color: #5c1a2e;
	font-weight: 400;
	line-height: 1.18;
	text-align: start;
}

a {
	color: #7a2338;
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: #451323;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
	outline: 2px solid #2b2226;
	outline-offset: 2px;
}

/* ==========================================================================
   Astra furniture: removed at the hook, hidden here. A hidden landmark is
   still a landmark, so the parent header and footer print nothing at all.
   ========================================================================== */

#content .ast-container,
.ast-container {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

#primary,
.site-main,
#main {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	margin-inline: auto !important;
}

#content,
#primary,
#main,
.site-main,
.ast-container,
#page {
	overflow: visible;
}

#masthead,
.main-header-bar,
.main-header-bar-wrap,
.ast-above-header,
.ast-below-header,
#colophon,
.ast-small-footer,
.ast-footer-overlay,
.footer-adv-overlay,
.ast-breadcrumbs-wrapper,
.ast-footer-credit,
.site-footer {
	display: none !important;
}

#masthead {
	min-height: 0;
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Masthead: shares the article column, never a contrasting bar across the top
   ========================================================================== */

.nwc-masthead {
	position: relative;
	background: #faf6ef;
	border-bottom: 1px solid #ddcfb6;
	overflow: visible;
	z-index: 60;
}

/* Astra paints its own white sheet behind the article: the tinted ground
   must run through every wrapper, or the page reads as a default install */
body,
body.ast-separate-container,
#page,
#content,
#content .ast-container,
.ast-container,
#primary,
#main,
.site-main,
.ast-separate-container #primary,
.ast-separate-container .site-main,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-article-single,
.entry-content,
.ast-separate-container .entry-content,
article,
.ast-plain-container #primary,
.ast-page-builder-template #primary {
	background-color: #faf6ef !important;
	background-image: none !important;
}

.nwc-h1-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Outer strip runs edge to edge; its inner panel shares the article column */
.nwc-mast-inner {
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

.nwc-mast-row {
	max-width: 1200px;
	margin-inline: auto;
	padding: 9px 32px 7px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 20px;
	position: relative;
}

.nwc-brand-row {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin-inline-end: auto;
	min-width: 0;
}

.nwc-wordmark {
	margin: 0;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 20px;
	line-height: 1.2;
}

.nwc-wordmark a {
	color: #5c1a2e;
	text-decoration: none;
}

.nwc-standing {
	margin: 0;
	font-size: 12px;
	letter-spacing: .03em;
	color: #6b5d49;
}

.nwc-age-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #5c1a2e;
	color: #fdfaf3;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	flex: 0 0 auto;
}

.nwc-nav-toggle {
	display: none;
}

.nwc-nav {
	position: relative;
	flex: 1 1 100%;
	width: 100%;
	display: flex;
	justify-content: flex-start;
}

.nwc-nav-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.nwc-nav-item {
	position: relative;
	margin: 0;
}

.nwc-nav-item > a {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 10px 8px;
	min-height: 44px;
	color: #3b2b32;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.nwc-nav-item > a:hover,
.nwc-nav-item > a:focus {
	color: #5c1a2e;
	border-bottom-color: #5c1a2e;
}

.nwc-caret {
	width: 0;
	height: 0;
	border-inline-start: 4px solid currentColor;
	border-block-start: 4px solid transparent;
	border-block-end: 4px solid transparent;
	opacity: .8;
}

/* The panel: anchored to its own column, painted above everything, never clipped */
.nwc-nav-panel {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	z-index: 200;
	min-width: 280px;
	display: none;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 8px;
	background: #fdfaf3;
	border: 1px solid #ddcfb6;
	border-radius: 9px;
	box-shadow: 0 10px 24px rgba(43, 34, 38, .14);
	overflow: visible;
}

.nwc-nav-item.nwc-open > .nwc-nav-panel {
	display: flex;
}

.nwc-nav-panel li {
	margin: 0;
}

.nwc-nav-panel a {
	display: block;
	padding: 8px 10px;
	color: #3b2b32;
	text-decoration: none;
	font-size: 14px;
	border-radius: 6px;
}

.nwc-nav-panel a:hover,
.nwc-nav-panel a:focus {
	background: #f2ebdd;
	color: #5c1a2e;
}

/* ==========================================================================
   The measure: one column, one left edge, one right edge, gutters that never
   go under 16, 24 and 32
   ========================================================================== */

#primary > article,
.site-main > article,
.site-main {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 32px;
}

.ast-separate-container #primary,
.ast-separate-container .site-main {
	padding: 0;
	background: transparent;
}

.ast-article-single,
.ast-separate-container .ast-article-post {
	padding: 0;
}

.nwc-hero,
.nwc-standfirst,
.nwc-leadin,
.nwc-board-slot,
.nwc-toc,
.nwc-section,
.nwc-faq,
.nwc-care,
.nwc-onward,
.nwc-colophon,
.nwc-aside,
.nwc-figure,
.nwc-tablewrap,
.nwc-calc,
.nwc-fig {
	max-width: 100%;
	margin-inline: 0;
}

/* ==========================================================================
   Opening block: breadcrumb, H1, standfirst, chips
   ========================================================================== */

.nwc-breadcrumb {
	margin: 16px 0 0;
	padding: 0;
	text-align: start;
}

.nwc-breadcrumb ol {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 6px;
}

.nwc-breadcrumb li {
	list-style: none;
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	color: #6b5d49;
	margin: 0;
	padding: 0;
}

.nwc-breadcrumb li::marker {
	content: "";
}

.nwc-breadcrumb li::before {
	content: none;
}

.nwc-breadcrumb li + li::before {
	content: "/";
	color: #9c8a6d;
	margin-inline-end: 6px;
}

.nwc-breadcrumb a {
	color: #6b5d49;
}

.nwc-hero {
	text-align: start;
	margin: 10px 0 0;
}

.nwc-hero h1,
h1 {
	font-size: clamp(1.95rem, 3vw, 2.55rem);
	font-weight: 400;
	text-align: start;
	margin: 0 0 12px;
	line-height: 1.14;
	color: #5c1a2e;
}

.nwc-standfirst {
	color: #3b2b32;
	font-weight: 400;
	font-size: 19px;
	line-height: 1.5;
	margin: 0 0 12px;
}

.nwc-note {
	font-size: 14px;
	line-height: 1.5;
	color: #5b4a52;
	margin: 0 0 12px;
}

.nwc-datestamp {
	font-size: 13px;
	color: #6b5d49;
	margin: 0 0 10px;
	letter-spacing: .02em;
}

.nwc-leadin {
	margin: 0 0 16px;
}

/* ==========================================================================
   Sections, tables, figures, expanders, calculator
   ========================================================================== */

.nwc-section {
	margin-block: 34px;
}

.nwc-section h2 {
	font-size: clamp(1.35rem, 1.9vw, 1.7rem);
	margin: 0 0 12px;
	font-weight: 400;
	text-align: start;
}

.nwc-section h3 {
	font-size: 1.2rem;
	margin: 22px 0 8px;
	text-align: start;
}

.nwc-section p {
	margin: 0 0 14px;
}

.nwc-toc {
	margin: 22px 0;
}

.nwc-toc ol {
	list-style: none;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid #e6dccb;
	border-radius: 10px;
	background: #f3ead9;
	columns: 2;
	column-gap: 32px;
}

.nwc-toc li {
	margin: 5px 0;
	break-inside: avoid;
	font-size: 15px;
}

.nwc-tablewrap,
.nwc-scroll {
	overflow-x: auto;
	margin-block: 22px;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

/* A table on a phone scrolls inside its own wrapper; the page never does */
@media (max-width: 767px) {
	.nwc-tablewrap table,
	.nwc-scroll table {
		min-width: 0;
	}
	.nwc-tablewrap th,
	.nwc-tablewrap td,
	.nwc-scroll th,
	.nwc-scroll td {
		padding: 9px 10px;
		font-size: 14px;
		overflow-wrap: break-word;
	}
}

.nwc-tablewrap table,
.nwc-table,
.nwc-compare {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
	border: 1px solid #e6dccb;
	font-variant-numeric: tabular-nums;
}

.nwc-tablewrap th,
.nwc-tablewrap td,
.nwc-table th,
.nwc-table td,
.nwc-compare th,
.nwc-compare td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #e6dccb;
	text-align: start;
	vertical-align: top;
	font-size: 15px;
	background: transparent;
}

.nwc-tablewrap thead th,
.nwc-table thead th,
.nwc-compare thead th {
	background: transparent;
	color: #5c1a2e;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .07em;
	text-transform: uppercase;
	border-bottom: 1px solid #b7a58b;
}

.nwc-tablewrap tbody tr,
.nwc-table tbody tr,
.nwc-compare tbody tr,
.nwc-tablewrap tbody tr:nth-child(even),
.nwc-table tbody tr:nth-child(even),
.nwc-compare tbody tr:nth-child(even),
.nwc-tablewrap tbody td {
	background: transparent;
}

.nwc-tablewrap caption,
.nwc-table caption {
	caption-side: top;
	text-align: start;
	font-size: 13px;
	color: #6b5d49;
	padding-bottom: 6px;
}

.nwc-figure,
.nwc-fig {
	margin: 24px 0;
	padding: 16px;
	background: #fdfaf3;
	border: 1px solid #e6dccb;
	border-radius: 10px;
	max-width: 100%;
}

.nwc-figure svg,
.nwc-fig svg {
	display: block;
	width: 100%;
	height: auto;
}

.nwc-figure figcaption,
.nwc-fig figcaption {
	font-size: 13px;
	color: #5b4a52;
	margin-top: 8px;
	line-height: 1.45;
}

.nwc-fig-bar {
	fill: #5c1a2e;
}

.nwc-fig-label,
.nwc-fig-value {
	font-size: 12px;
	fill: #2b2226;
}

.nwc-aside,
.nwc-care {
	background: #f3ead9;
	border: 1px solid #cbb9a0;
	border-inline-start: 4px solid #5c1a2e;
	border-radius: 0 10px 10px 0;
	padding: 16px 20px;
	margin-block: 26px;
}

.nwc-care {
	border-inline-start-color: #8a6a1f;
}

.nwc-faq details {
	background: #fdfaf3;
	border: 1px solid #e6dccb;
	border-radius: 10px;
	margin: 10px 0;
	padding: 0;
}

.nwc-faq summary {
	cursor: pointer;
	padding: 13px 18px;
	font-weight: 600;
	color: #5c1a2e;
	font-size: 17px;
}

.nwc-faq .nwc-faq-a {
	padding: 0 18px 14px;
}

.nwc-faq .nwc-faq-a p {
	margin: 0;
}

.nwc-onward {
	margin-block: 24px;
}

.nwc-onward ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nwc-onward a {
	display: inline-block;
	background: #fdfaf3;
	border: 1px solid #cbb9a0;
	border-radius: 8px;
	padding: 7px 14px;
	text-decoration: none;
	font-size: 15px;
}

.nwc-colophon {
	border-top: 1px solid #e6dccb;
	margin-top: 40px;
	padding: 18px 0 30px;
	color: #5b4a52;
	font-size: 14px;
}

.nwc-calc {
	background: #fdfaf3;
	border: 1px solid #e6dccb;
	border-radius: 10px;
	padding: 18px 20px;
	margin: 26px 0;
}

.nwc-calc-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-bottom: 12px;
}

.nwc-calc-label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}

.nwc-calc input {
	max-width: 9rem;
	padding: 6px 8px;
	border: 1px solid #cbb9a0;
	border-radius: 6px;
	font-size: 15px;
}

.nwc-calc-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px dashed #e6dccb;
	padding: 6px 0;
	font-variant-numeric: tabular-nums;
}

.nwc-calc-note,
.nwc-calc .nwc-calc-note {
	font-size: 13px;
	color: #5b4a52;
	margin: 10px 0 0;
}

/* ==========================================================================
   Footer: the palette's deep hue, three columns and a bottom bar
   ========================================================================== */

.nwc-footer {
	background: #3a1220;
	color: #f5eee2;
	margin-top: 44px;
	border-top: 3px solid #c9a24b;
}

.nwc-foot-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 30px 32px 22px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 52px;
	align-items: start;
}

.nwc-foot-col p,
.nwc-foot-col li {
	font-size: 15px;
	line-height: 1.55;
	color: #f0e7d8;
	margin: 0 0 10px;
}

.nwc-foot-col a {
	color: #f5eee2;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nwc-foot-col a:hover,
.nwc-foot-col a:focus {
	color: #e8cf8e;
}

.nwc-foot-lede {
	font-size: 15px;
	color: #f0e7d8;
}

.nwc-foot-h {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #e8cf8e;
	margin: 0 0 12px;
	text-align: start;
}

.nwc-foot-col p,
.nwc-foot-col li {
	font-size: 15px;
	line-height: 1.55;
}

.nwc-foot-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nwc-foot-list li {
	margin: 0 0 8px;
}

.nwc-foot-bar {
	max-width: 1200px;
	margin-inline: auto;
	padding: 16px 32px 26px;
	border-top: 1px solid #5c2a3a;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}

.nwc-foot-age {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #c9a24b;
	color: #2b1a12;
	font-size: 12px;
	font-weight: 700;
	flex: 0 0 auto;
}

.nwc-foot-safety,
.nwc-foot-money {
	font-size: 13px;
	line-height: 1.5;
	color: #f0e7d8;
	margin: 0;
	flex: 1 1 320px;
}

.nwc-foot-bar a {
	color: #f5eee2;
}

.nwc-foot-bar a:hover,
.nwc-foot-bar a:focus {
	color: #e8cf8e;
}

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

@media (max-width: 1023px) {
	.nwc-mast-row {
		padding-inline: 24px;
	}

	#primary > article,
	.site-main > article,
	.site-main {
		padding-inline: 24px;
	}

	.nwc-foot-inner {
		padding-inline: 24px;
		gap: 26px 34px;
	}

	.nwc-foot-bar {
		padding-inline: 24px;
	}
}

@media (max-width: 1120px) {
	.nwc-nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 44px;
		padding: 8px 14px;
		background: #fdfaf3;
		color: #3b2b32;
		border: 1px solid #cbb9a0;
		border-radius: 8px;
		font-family: inherit;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
	}

	.nwc-nav-toggle-bar,
	.nwc-nav-toggle-bar::before,
	.nwc-nav-toggle-bar::after {
		display: block;
		width: 16px;
		height: 2px;
		background: #5c1a2e;
		border-radius: 2px;
	}

	.nwc-nav-toggle-bar::before {
		content: "";
		transform: translateY(-5px);
	}

	.nwc-nav-toggle-bar::after {
		content: "";
		transform: translateY(3px);
	}

	.nwc-mast-row {
		flex-wrap: wrap;
	}

	.nwc-nav {
		display: none;
		width: 100%;
		flex: 1 1 100%;
	}

	.nwc-nav.nwc-nav-open {
		display: block;
		padding-bottom: 10px;
	}

	.nwc-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nwc-nav-item > a {
		justify-content: space-between;
		padding: 11px 4px;
		border-bottom: 1px solid #e6dccb;
	}

	.nwc-nav-panel {
		position: static;
		display: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		background: transparent;
		padding: 2px 0 8px 12px;
		min-width: 0;
	}

	.nwc-nav-item.nwc-open > .nwc-nav-panel {
		display: flex;
	}

	.nwc-nav-panel a {
		padding: 7px 4px;
	}
}

@media (max-width: 767px) {
	.nwc-toc ol {
		columns: 1;
	}

	.nwc-foot-inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 599px) {
	.nwc-mast-row {
		padding-inline: 16px;
	}

	.nwc-standing {
		display: none;
	}

	.nwc-wordmark {
		font-size: 18px;
	}

	.nwc-age-badge,
	.nwc-foot-age {
		width: 30px;
		height: 30px;
		font-size: 11px;
	}

	#primary > article,
	.site-main > article,
	.site-main {
		padding-inline: 16px;
	}

	.nwc-foot-inner {
		padding-inline: 16px;
	}

	.nwc-foot-bar {
		padding-inline: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}
