/* CSS Document */
/* --------------------------------------------------------------
	Version Name: RAFA2026
	Theme URI: https://royalarts.org
	Author: Tim Mills
	Author URI: http://timamills.com
	Version: APR 2026
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Roboto+Condensed:ital,wght@0,400;0,700;1,700&display=swap');

/*------------------------------------
	NORMALIZE / RESET
------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
abbr[title], abbr[data-original-title] {
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
}
address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}
ol, ul, dl {
  margin-top: 0;
  margin-bottom: 1rem;
}
ol ol, ul ul, ol ul, ul ol {
  margin-bottom: 0;
}
dt { font-weight: 700; }
dd { margin-bottom: 0.5rem; margin-left: 0; }
blockquote { margin: 0 0 1rem; }
dfn { font-style: italic; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }
a {
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:not([href]):not([tabindex]) { color: inherit; text-decoration: none; }
a:not([href]):not([tabindex]):focus { outline: 0; }
pre, code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
pre { margin-top: 0; margin-bottom: 1rem; overflow: auto; -ms-overflow-style: scrollbar; }
figure { margin: 0 0 1rem; }
img { vertical-align: middle; border-style: none; }
svg:not(:root) { overflow: hidden; }
a, area, button, [role=button], input:not([type=range]), label, select, summary, textarea {
  touch-action: manipulation;
}
table { border-collapse: collapse; }
caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #868e96;
  text-align: left;
  caption-side: bottom;
}
th { text-align: inherit; }
label { display: inline-block; margin-bottom: 0.5rem; }
button { border-radius: 0; }
button:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; }
input, button, select, optgroup, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button, input { overflow: visible; }
button, select { text-transform: none; }
button, html [type=button], [type=reset], [type=submit] { -webkit-appearance: button; }
button::-moz-focus-inner, [type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type=radio], input[type=checkbox] { box-sizing: border-box; padding: 0; }
input[type=date], input[type=time], input[type=datetime-local], input[type=month] {
  -webkit-appearance: listbox;
}
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}
progress { vertical-align: baseline; }
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button { height: auto; }
[type=search] { outline-offset: -2px; -webkit-appearance: none; }
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; }
output { display: inline-block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none !important; }

/*------------------------------------
	DESIGN TOKENS
------------------------------------*/
:root {
	--rafa-red:      #7a1315;
	--burgundy-dk:   #560d0f;
	--rafa-gold:     #c9930a;
	--gold-lt:       #e8aa20;
	--dark-bg:       #160505;
	--dark-mid:      #2a0a0a;
	--off-white:     #f5ece0;
	--text-light:    #ede0cc;
	--white:         #ffffff;

	--heading-font:  'Roboto Condensed', sans-serif;
	--body-font:     'Lora', Georgia, serif;

	--shadow-sm:     0 2px 8px rgba(0,0,0,0.35);
	--shadow-md:     0 4px 20px rgba(0,0,0,0.5);
	--shadow-lg:     0 8px 40px rgba(0,0,0,0.65);

	/* kept for backward-compat with inner page / form styles */
	--flag-blue:     #203064;
	--flag-red:      #c12032;
	--green:         #059862;
	--red:           #ff4136;
	--alert-blue:    #7EE1DD;
	--alert-warning: #FFCFC4;
}

body, html {
	margin: 0;
	padding: 0;
	font-size: 16px;
	background: var(--dark-bg);
	font-family: var(--body-font);
	color: var(--text-light);
}

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 0;
	top: 0;
	z-index: 9999;
	background: var(--rafa-gold);
	color: var(--dark-bg);
	padding: 0.5rem 1rem;
}

.red { color: var(--red); }
.green { color: var(--green); }
.goldenrod { color: var(--rafa-gold); }
.float-right { float: right; }
.float-left { float: left; }
.bold { font-weight: bold; }
.capital { text-transform: capitalize; }
.title-font { font-family: var(--heading-font); }
.pt10 { padding-top: 10px; }
.pt20 { padding-top: 20px; }


/*------------------------------------
	NAV — MAIN (DESKTOP)
------------------------------------*/
.site-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 52px;
	background: var(--rafa-red);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
	z-index: 2000;
	box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.nav-brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--rafa-gold);
	font-family: var(--heading-font);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
}
.nav-brand img { height: 32px; width: 32px; }
.nav-links {
	display: flex;
	list-style: none;
	margin: 0; padding: 0;
	gap: 0.25rem;
	align-items: center;
}
.nav-links a {
	font-family: var(--heading-font);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	padding: 0.35rem 0.75rem;
	border-radius: 2px;
	transition: color 0.15s, background 0.15s;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	text-decoration: none;
}
.nav-links a:hover { color: var(--rafa-gold); }
.nav-links svg { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }
.nav-cta { margin-left: 0.5rem; }


/*------------------------------------
	FOOTER MOBILE NAV
------------------------------------*/
.footer-menu { display: none; }

@media only screen and (max-width: 469px) {
	.footer-menu {
		background-color: var(--rafa-red);
		display: block;
		position: fixed;
		height: 52px;
		width: 100%;
		bottom: 0;
		border-top: 3px solid var(--rafa-gold);
		z-index: 2000;
	}
	.copyright { display: none; }
}

.footernav .nav {
	display: flex;
	flex-wrap: nowrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	justify-content: center;
}
.footernav .nav-item { flex: 1; }
.footernav .nav-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.3rem 0.5rem;
	color: rgba(255,255,255,0.85);
	font-family: var(--heading-font);
	text-decoration: none;
}
.footernav .nav-link:hover { color: var(--rafa-gold); }
.footernav .nav-link-label {
	display: block;
	font-size: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 1px;
}
.footernav .icon { width: 20px; height: 20px; }


/*------------------------------------
	BUTTONS
------------------------------------*/
.btn {
	display: inline-block;
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	padding: 0.375rem 0.85rem;
	border-radius: 3px;
	border: 2px solid transparent;
	transition: background 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.btn-lg {
	font-size: 1.15rem;
	padding: 0.6rem 1.75rem;
}
.btn-sm {
	font-size: 0.78rem;
	padding: 0.3rem 0.8rem;
	border-radius: 2px;
}
.btn-xl {
	font-size: 1.3rem;
	padding: 0.75rem 2.2rem;
}

/* Primary CTA — gold */
.btn-gold {
	background: var(--rafa-gold);
	color: var(--dark-bg);
	border-color: var(--rafa-gold);
}
.btn-gold:hover {
	background: var(--gold-lt);
	border-color: var(--gold-lt);
	color: var(--dark-bg);
	text-decoration: none;
}

/* btn-green is now gold — preserves all includes without touching them */
.btn-green {
	background: var(--rafa-gold);
	color: var(--dark-bg);
	border-color: var(--rafa-gold);
	text-decoration: none;
}
.btn-green:hover {
	background: var(--gold-lt);
	border-color: var(--gold-lt);
	color: var(--dark-bg);
	text-decoration: none;
}

/* Outlined gold */
.btn-outline,
.btn-outline-gold {
	background: transparent;
	color: var(--rafa-gold);
	border-color: var(--rafa-gold);
	text-decoration: none;
}
.btn-outline:hover,
.btn-outline-gold:hover {
	background: var(--rafa-gold);
	color: var(--dark-bg);
	text-decoration: none;
}

/* Burgundy / legacy */
.btn-red {
	background: var(--rafa-red);
	color: #fff;
	border-color: var(--rafa-red);
}
.btn-red:hover {
	background: var(--burgundy-dk);
	border-color: var(--burgundy-dk);
	color: #fff;
	text-decoration: none;
}
.btn-blue {
	background: #24A0ED;
	color: #fff;
	border-color: #24A0ED;
}
.btn-blue:hover {
	background: #0f5a89;
	border-color: #0f5a89;
	color: #fff;
	text-decoration: none;
}
.button-group .btn { margin-right: 3px; }


/*------------------------------------
	HERO — HOMEPAGE
------------------------------------*/
.hero-wrap {
	min-height: 100vh;
	padding-top: 52px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	position: relative;
}
/* Random photo — fades in after clash */
.hero-bg {
	position: absolute;
	inset: 0;
	background: url('/img/bgimage.php') center/cover no-repeat;
	opacity: 0;
	z-index: 0;
	animation: heroBgFade 1.4s ease 2s both;
}
.hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.72) 100%);
}
/* Lift all hero content above background layers */
.hero-logo,
.hero-weapons-row,
.hero-tagline,
.hero-cta,
.notification {
	position: relative;
	z-index: 1;
}
.hero-logo {
	width: 120px;
	height: auto;
	opacity: 0;
	filter: drop-shadow(0 4px 16px rgba(0,0,0,0.8));
	animation: heroFadeUp 0.7s ease 0.2s both;
}
.hero-weapons-row {
	width: 100%;
	display: flex;
	position: relative;
	margin-top: 1.8rem;
}
.hero-foil-wrap,
.hero-epee-wrap {
	flex: 0 0 50%;
}
.hero-foil-wrap {
	transform: translateX(-105%);
	animation: slideInLeft 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
}
.hero-epee-wrap {
	transform: translateX(105%);
	animation: slideInRight 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
}
.hero-foil,
.hero-epee {
	display: flex;
	align-items: center;
}
.hero-foil-img {
	width: 100%;
	height: auto;
	display: block;
	transform: scaleX(-1);
}
.hero-epee-img {
	width: 100%;
	height: auto;
	display: block;
}
.hero-clash {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,220,60,.95) 0%, rgba(255,140,0,.45) 40%, transparent 70%);
	transform: translate(-50%,-50%) scale(0);
	pointer-events: none;
	animation: clashFlash 0.55s ease 1.68s both;
}
.hero-tagline {
	text-align: center;
	line-height: 1.15;
	margin: 1.6rem 0 0;
	opacity: 0;
	animation: heroFadeUp 0.8s ease 2.2s both;
}
.hero-we-play {
	display: block;
	color: var(--text-light);
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 400;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	font-family: var(--heading-font);
}
.hero-swords {
	display: block;
	color: var(--white);
	font-size: clamp(5rem, 14vw, 10rem);
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 0.9;
	font-family: var(--heading-font);
	text-shadow: 0 2px 40px rgba(0,0,0,0.8), 0 0 80px rgba(201,147,10,0.2);
}
.hero-cta {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	opacity: 0;
	animation: heroFadeUp 0.8s ease 2.8s both;
}
.hero-scroll {
	position: absolute;
	bottom: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	opacity: 0.5;
	font-family: var(--heading-font);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--white);
	z-index: 1;
}
.hero-scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, var(--white), transparent);
}

/* Respect reduced-motion OS preference */
@media (prefers-reduced-motion: reduce) {
	.hero-foil-wrap, .hero-epee-wrap, .hero-clash,
	.hero-logo, .hero-tagline, .hero-cta, .hero-bg {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* Inner-page hero bar */
.hero-bar {
	background: url('/img/bgimage.php') center/cover no-repeat;
	padding: 1.5rem;
	min-height: 360px;
	display: flex;
	align-items: flex-end;
	padding-top: 52px;
}
.hero-bar-logo {
	width: 65px;
	height: auto;
	display: block;
}

/* Hero animations — keep exactly as shipped */
@keyframes heroBgFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes slideInLeft {
	from { transform: translateX(-105%); }
	to   { transform: translateX(0); }
}
@keyframes slideInRight {
	from { transform: translateX(105%); }
	to   { transform: translateX(0); }
}
@keyframes heroFadeUp {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes clashFlash {
	0%   { transform: translate(-50%,-50%) scale(0);   opacity: 0; }
	35%  { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
	100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; }
}
@media (max-width: 600px) {
	.hero-wrap { min-height: 380px; }
	.hero-weapons-row { display: none; }
	.hero-cta { flex-wrap: wrap; justify-content: center; }
}

/* 25th Anniversary pill — expires 2026 (controlled via PHP date check) */
.anniversary-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(201,147,10,0.12);
	border: 1px solid rgba(201,147,10,0.5);
	color: var(--rafa-gold);
	font-family: var(--heading-font);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.3rem 0.9rem;
	border-radius: 20px;
	margin-bottom: 0.85rem;
}

/* Constrain icon sprite size inside footer boxes and links */
.footer-box .icon,
.footer-box svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Notification bar (DB-driven) */
.notification {
	background: var(--rafa-gold);
	color: var(--dark-bg);
	text-align: center;
	padding: 0.45rem 1rem;
	font-family: var(--heading-font);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	width: 100%;
}


/*------------------------------------
	RED CONTAINER (inner page wrapper)
------------------------------------*/
.red-container {
	width: 100%;
	margin: auto;
	background: var(--dark-bg);
	display: flow-root;
}


/*------------------------------------
	AMERICAN FENCER
------------------------------------*/
.american-fencer {
	background: var(--dark-mid);
	padding: 5rem 2rem;
}
.amfence-row {
	max-width: 960px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3.5rem;
	align-items: center;
}
.vid {
	flex: 0 0 420px;
	max-width: 520px;
}
.vid-text {
	flex: 1 1 280px;
	max-width: 440px;
	color: var(--text-light);
}
.vid-text h2 {
	color: var(--rafa-gold);
	font-family: var(--heading-font);
	font-size: 2.4rem;
	margin-bottom: 0.85rem;
}
.vid-text p {
	font-size: 1rem;
	line-height: 1.75;
	margin: 0;
}
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	border-radius: 4px;
	box-shadow: var(--shadow-lg);
}
.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border: 0;
}
@media (max-width: 600px) {
	.american-fencer { padding: 3rem 1.25rem; }
	.amfence-row { gap: 2rem; }
	.vid { flex: 1 1 100%; max-width: 100%; }
}


/*------------------------------------
	EVENTS STRIP (DB-driven chips)
------------------------------------*/
.events-strip {
	background: var(--burgundy-dk);
	padding: 1.5rem 2rem;
	border-top: 1px solid rgba(201,147,10,0.2);
	border-bottom: 1px solid rgba(201,147,10,0.2);
}
.events-strip-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.events-strip-label {
	font-family: var(--heading-font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rafa-gold);
	white-space: nowrap;
	flex-shrink: 0;
}
.events-strip-divider {
	width: 1px;
	height: 2.5rem;
	background: rgba(255,255,255,0.15);
	flex-shrink: 0;
}
.events-chip-list {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	flex: 1;
}
.event-chip {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 3px;
	padding: 0.4rem 0.85rem;
	font-family: var(--heading-font);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--white);
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s;
}
.event-chip:hover { background: rgba(201,147,10,0.15); border-color: var(--rafa-gold); color: var(--white); }
.event-chip .chip-date {
	font-size: 0.72rem;
	color: var(--rafa-gold);
	letter-spacing: 0.04em;
	font-weight: 400;
}


/*------------------------------------
	CLASS CARDS (footer-classlist via class-row.php)
------------------------------------*/
.footer-classlist {
	background: var(--dark-bg);
	margin: auto;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 4rem 2rem;
}
.footer-class-container {
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	justify-content: center;
	padding-top: 25px;
}
.section-label {
	font-family: var(--heading-font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--rafa-gold);
	margin-bottom: 0.5rem;
}
.footer-classlist-header {
	width: 100%;
	text-align: center;
	margin-bottom: 0.5rem;
}
.footer-classlist-header .section-label { margin-bottom: 0.35rem; }
.footer-classlist-title {
	font-family: var(--heading-font);
	font-size: 2rem;
	color: var(--white);
	margin-bottom: 0;
}

.classlist-cards {
	width: 260px;
	display: flex;
	flex-direction: column;
	background: var(--dark-mid);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: transform 0.2s, box-shadow 0.2s;
	flex-shrink: 0;
}
.classlist-cards:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}
.classlist-cards img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}
.classcard-img-wrap {
	position: relative;
	overflow: hidden;
}
.classcard-img-wrap.no-img {
	display: none;
}
.classcard-img-wrap img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}
.classcard-badge {
	position: absolute;
	top: 10px;
	left: 0;
	background: var(--rafa-red);
	color: #fff;
	font-family: var(--heading-font);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	padding: 4px 10px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	text-transform: uppercase;
}
.classcontent {
	padding: 1.1rem 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
.classcontent h4 {
	font-family: var(--heading-font);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--white);
	margin: 0;
	line-height: 1.15;
}
.class-hours {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.55);
	font-style: normal;
	display: block;
}
.classcard-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.55);
	margin: 0.4rem 0 0.2rem;
}
.classcard-price {
	font-family: var(--heading-font);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--rafa-gold);
}
.classcard-next {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
	display: inline-block;
	margin-bottom: 0.5rem;
}
.classcard-buttons {
	display: flex;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	flex-wrap: wrap;
}

/* Legacy event image tiles — kept for backward compat */
.footer-eventlist {
	background: var(--burgundy-dk);
	margin: auto;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
}
.event-img {
	width: 230px;
	margin: 10px 5px;
	border-radius: 6px;
}


/*------------------------------------
	HIGHLIGHTS + HOURS
------------------------------------*/
.rafa-red {
	background: linear-gradient(160deg, var(--burgundy-dk) 0%, var(--rafa-red) 100%);
}
.highlights-row {
	max-width: 960px;
	margin: auto;
	display: flex;
	gap: 4rem;
	align-items: flex-start;
	padding: 4rem 2rem;
}
.highlights-main {
	flex: 1;
	min-width: 0;
}
.highlights-main h2 {
	font-family: var(--heading-font);
	font-size: 1.6rem;
	color: var(--rafa-gold);
	margin-bottom: 1.25rem;
	font-weight: 700;
}
.highlights-main h2 a {
	font-size: 0.75rem;
	font-weight: 400;
	color: rgba(255,255,255,0.45);
	letter-spacing: 0.08em;
	margin-left: 0.75rem;
	text-decoration: underline;
}
.highlights-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.highlights-list a {
	color: var(--text-light);
	font-size: 0.95rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	transition: color 0.15s, padding-left 0.15s;
	display: block;
	text-decoration: none;
}
.highlights-list a:hover { color: var(--rafa-gold); padding-left: 0.5rem; }
.footer-box {
	flex: 0 0 230px;
	background: rgba(0,0,0,0.25);
	border-radius: 4px;
	padding: 1.5rem;
	border: 1px solid rgba(255,255,255,0.1);
	color: var(--text-light);
	font-size: 0.9rem;
}
.footer-box h4 {
	font-family: var(--heading-font);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rafa-gold);
	margin-bottom: 0.6rem;
}
.footer-box h4 a { color: inherit; }
.footer-box h4 a:hover { color: #fff; }
.footer-rule { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 0.85rem 0; }
.footer-link { color: var(--text-light); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; }
.footer-link:hover { color: var(--rafa-gold); text-decoration: none; }
address { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

table.hours-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; color: var(--text-light); }
table.hours-table td { padding: 0.3rem 0.2rem; }
table.hours-table td:last-child { text-align: right; color: var(--white); }

@media (max-width: 640px) {
	.highlights-row { flex-direction: column; gap: 2rem; padding: 3rem 1.25rem; }
	.footer-box { flex: none; width: 100%; }
}


/*------------------------------------
	WORKSHOPS / SERVICES
------------------------------------*/
.workshops {
	max-width: 960px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	padding: 0 2rem 4rem;
}
.workshops .footer-box {
	flex: none;
	width: auto;
	border-left: 3px solid var(--rafa-red);
	background: rgba(0,0,0,0.2);
	transition: border-color 0.2s;
}
.workshops .footer-box:hover { border-left-color: var(--rafa-gold); }
.workshops .footer-box h4 {
	font-size: 1.05rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--rafa-gold);
}
.workshops .footer-box p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.65);
	margin: 0;
}
@media (max-width: 600px) {
	.workshops { grid-template-columns: 1fr; padding: 0 1.25rem 3rem; }
}


/*------------------------------------
	FOOTER SOCIAL / PHONE / COPYRIGHT
------------------------------------*/
.senechal-social {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 2.5rem 2rem 1.25rem;
	background: var(--dark-bg);
	border-top: 1px solid rgba(201,147,10,0.2);
}
.rafa-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
}
.rafa-social svg, .rafa-social .icon {
	width: 22px; height: 22px;
	color: rgba(255,255,255,0.5);
	transition: color 0.15s;
}
.rafa-social a { color: rgba(255,255,255,0.5); transition: color 0.15s; text-decoration: none; }
.rafa-social a:hover { color: var(--rafa-gold); }
.rafa-social a:hover svg, .rafa-social a:hover .icon { color: var(--rafa-gold); }
.footer-logo-icon { width: 36px; height: 36px; }
.rafa-phone {
	font-family: var(--heading-font);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--rafa-gold);
	letter-spacing: 0.04em;
}
.rafa-phone a { color: inherit; text-decoration: none; }
.copyright {
	padding: 0.75rem 1rem 1.5rem;
	background: var(--dark-bg);
	text-align: center;
	color: rgba(255,255,255,0.28);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
}


/*------------------------------------
	INNER PAGE — MAIN CONTENT BOX
------------------------------------*/
main {
	padding: 20px;
	border-radius: 10px;
	max-width: 750px;
	background-color: #efefef;
	height: auto;
	margin: auto;
	font-family: var(--body-font);
	font-size: 1.15em;
	line-height: 1.7em;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	margin-top: -80px;
	color: #222;
}
.main-pick-a-class {
	background-color: transparent;
	margin: auto;
	box-shadow: none !important;
	max-width: 900px;
	color: var(--text-light);
}
.main-pick-a-class h1 { color: #fff; }
.main-content { padding-bottom: 15px; }
main h1, .member-content h1 {
	color: var(--rafa-red);
	font-family: var(--heading-font);
}
/* Inner page typography */
main h2, main h3, main h4 {
	font-family: var(--heading-font);
	color: var(--rafa-red);
}
main a {
	color: var(--rafa-red);
	text-decoration: none;
}
main a:visited {
	color: #6b1010;
}
main a:hover {
	color: var(--burgundy-dk);
	text-decoration: underline;
}
main img { float: left; padding-right: 10px; }


/*------------------------------------
	NEWS PAGE
------------------------------------*/
/* Article listing: each h2 + indentp pair */
main h2 {
	margin-top: 1.4rem;
	margin-bottom: 0.25rem;
	font-size: 1.4rem;
	line-height: 1.2;
}
main h2:first-child { margin-top: 0; }
main h2 a {
	color: var(--rafa-red);
	text-decoration: none;
	transition: color 0.15s;
}
main h2 a:hover {
	color: var(--burgundy-dk);
	text-decoration: none;
}
main h2 a:visited {
	color: #6b1010;
}
.indentp {
	padding-left: 1rem;
	border-left: 3px solid var(--rafa-red);
	color: #444;
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 0.5rem;
}


/*------------------------------------
	NOTIFICATIONS & NEON
------------------------------------*/
.notification-bar {
	background: var(--rafa-gold);
	color: var(--dark-bg);
	text-align: center;
	padding: 0.5rem 1rem;
	font-family: var(--heading-font);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.notification-danger {
	position: absolute;
	top: 60px;
	width: 500px;
	margin: auto;
	background-color: #e17e7e;
	padding: 10px;
	border: 1px solid #000;
	border-radius: 10px;
	left: 50%;
	margin-left: -250px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.alert-hol {
	color: #0c5460;
	background-color: #d1ecf1;
	border-color: #bee5eb;
}
.alert-warning {
	padding: 15px;
	background-color: var(--alert-warning);
	border-radius: 10px;
	border: 1px solid #fbae9c;
}
.alert-gold {
	padding: 15px;
	background-color: var(--rafa-gold);
	border-radius: 10px;
}
.fencername { background-color: var(--rafa-gold); padding: 7px; border-radius: 3px; }

/* Flickering animation */
.neonRed { animation: flicker 1.5s infinite alternate; color: red; }
.neonGreen { animation: flickerg 1.5s infinite alternate; color: green; }
@keyframes flicker {
	0%, 18%, 22%, 25%, 53%, 57%, 100% {
		text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff,
		             0 0 24px #f00, 0 0 30px #f00, 0 0 35px #f00,
		             0 0 40px #f00, 0 0 45px #f00;
	}
	20%, 24%, 55% { text-shadow: none; }
}
@keyframes flickerg {
	0%, 18%, 22%, 25%, 53%, 57%, 100% {
		text-shadow: 0 0 4px #fff, 0 0 11px #fff, 0 0 19px #fff,
		             0 0 24px #0fa, 0 0 30px #0fa, 0 0 35px #0fa,
		             0 0 40px #0fa, 0 0 45px #0fa;
	}
	20%, 24%, 55% { text-shadow: none; }
}
.thanksbox {
	width: 400px;
	height: 400px;
	padding: 26px 24px 46px;
	font-weight: normal;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: rgba(200,200,200,0.7) 0px 4px 10px -1px;
	border-radius: 1em;
	top: 50%; left: 50%;
	margin-left: -200px;
	margin-top: -200px;
	position: fixed;
	color: #000;
}


/*------------------------------------
	PARALLAX / BG HELPERS
------------------------------------*/
.parallax {
	background-image: url("/img/bgimage.php");
	height: 75%;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.parallax img { padding-left: 20px; padding-top: 50px; }
.bg-shashka   { background-image: url("/img/bgimage.php?f=shashka"); }
.bg-artistic  { background-image: url("/img/bgimage.php?f=artistic"); }
.bg-classes   { background-image: url("/img/bgimage.php?f=classes"); }
.bg-picnic    { background-image: url("/img/bgimage.php?f=picnic"); }
.bg-bluebox   { background-image: url("/img/bgimage.php?f=bluebox"); }
.bg-founders  { background-image: url("/img/bgimage.php?f=founders"); }
.bg-arnold    { background-image: url("/img/bgimage.php?f=arnold"); }
.bg-blacklight { background-image: url("/img/bgimage.php?f=blacklight"); }


/*------------------------------------
	SPECIAL PAGES
------------------------------------*/
.card-img { padding-right: 10px; }
.card {
	position: relative;
	display: flex;
	min-width: 0;
	word-wrap: break-word;
	background-clip: border-box;
	border: 1px solid #ccc;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	padding: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-image: linear-gradient(45deg, #ccc, 2%, #fff);
	font-size: 1.2rem;
}
.card-header {
	font-family: var(--heading-font);
	color: var(--rafa-red);
}
.card-body { width: 550px; line-height: 1.4rem; }
.card-art { max-width: 200px; justify-content: right; text-align: right; }
.card-art img { max-height: 200px; }
.card-hide { display: none; }
.card-img { padding-right: 10px; }

.coach-container {
	background: linear-gradient(160deg, var(--burgundy-dk) 0%, var(--rafa-red) 100%);
	padding: 3rem 2rem 4rem;
}
.coaches-row { display: flex; flex-wrap: wrap; justify-content: center; }
.coach-cards {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	justify-content: center;
	gap: 1.25rem;
}
.coach-cards li {
	background: var(--dark-mid);
	border-radius: 4px;
	width: 220px;
	padding: 0;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	color: var(--text-light);
}
.coach-cards li img {
	width: 100%;
	display: block;
	border-radius: 0;
	margin: 0;
	aspect-ratio: 1;
	object-fit: cover;
}
.coach-inner { padding: 0.85rem 1rem 1rem; }
.coach { font-weight: 700; font-family: var(--heading-font); font-size: 1.1rem; color: var(--white); }
.coach-weapons { font-size: 0.8rem; color: var(--rafa-gold); font-style: italic; margin-bottom: 0.5rem; }
.coach-bio { font-family: var(--body-font); font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.65); }

.page-img { max-width: 250px; float: left; }
.page-gallery { display: flex; flex-wrap: wrap; justify-content: center; }
.page-gallery img { padding: 10px; }

.content-img { width: auto; max-width: 320px; padding: 10px; display: block; }

/* .indentp defined in NEWS PAGE section above */
.red-head {
	background-color: #000;
	color: transparent;
	text-shadow: 2px 2px 3px rgba(136,0,0,.7);
	-webkit-background-clip: text;
	background-clip: text;
}
.slanted-div { position: relative; padding: 50px 0; overflow: visible; z-index: 1; }
.slanted-div:after {
	content: '';
	width: 100%; height: 100%;
	position: absolute;
	background: inherit;
	z-index: -1;
	bottom: 0;
	transform-origin: top right;
	transform: skewY(3deg);
}
.bod-title {
	background-color: #800;
	border-radius: 8px;
	padding: 3px 10px;
	color: var(--rafa-gold);
}
.playwith { padding-top: 25px; padding-left: 20px; font-family: var(--heading-font); font-size: 6em; color: #fff; line-height: .25em; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.playwith2 { padding-left: 20px; font-family: var(--heading-font); font-size: 9em; color: #fff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.playwith3 { margin-top: -20px; padding-left: 20px; }
.lessons-remain { background-color: var(--rafa-gold); padding: 7px; border-radius: 5px; }
.lessons-number { color: #fff; font-weight: bold; font-size: 1.4em; }
.start-date { background-color: var(--green); color: #fff; border-radius: 3px; padding: 3px 7px; }
.masthead-img { width: 100px; }
#alt-masthead { width: 100%; display: flex; height: 80px; padding-top: 0; }
.masthead-logo { width: 120px; text-align: center; }
.masthead-logo-img { width: 100px; }
.masthead-text { color: var(--rafa-gold); font-weight: bold; font-size: 2.2em; width: 300px; line-height: 1em; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); padding-top: 50px; }
#desktop-masthead { display: none; }
#mobile-masthead { display: flex; }
.mast-img { width: 170px; }
.mobile-play { font-size: 100px; }
.weapon-icon { color: var(--rafa-red); font-size: 50px; }
.weapon-icon-sm { color: var(--rafa-red); font-size: 30px; padding-right: 5px; }
#doc-frame { width: 100%; height: 500px; }


/*------------------------------------
	DIRECTORY / NEWS
------------------------------------*/
.directory-row { display: flex; flex-wrap: wrap; }
.directory ul, .news-list ul {
	padding-left: 0;
	list-style: none;
	margin: auto;
	font-family: var(--heading-font);
}
.directory h2, .news-list h2 {
	margin-top: 10px;
	padding: 10px;
	background-color: var(--rafa-red);
	color: var(--rafa-gold);
}
.directory { max-width: 300px; padding: 10px; margin: 5px; }


/*------------------------------------
	CLASSES — DETAIL & LIST PAGES
------------------------------------*/
.class-detail { padding-left: 50px; }
.class-wrapper {
	background-color: #fff;
	margin-bottom: 10px; margin-right: 10px;
	width: 300px;
	border: 1px solid #800;
	border-radius: 12px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.class-wrapper:hover { background-color: #dedede; text-decoration: none; }
.class-card {
	border-radius: 12px;
	background: #fff;
	padding: 10px;
	text-align: left;
	color: #000;
	font-size: .9em;
	line-height: 1.2em;
}
.class-card h4 { font-family: var(--heading-font); color: var(--rafa-red); font-size: 1.5em; }
.class-container { display: flex; flex-wrap: wrap; max-width: 900px; margin: auto; justify-content: center; padding-top: 25px; }
.class-list-detail { display: flex; flex-wrap: wrap; }
.class-list-wrapper { width: 100%; }
.class-list-wrapper h3 { color: #fff; }
.class-info { max-width: 350px; }
.class_royal  { background: transparent url('/img/class_royal.png') bottom right no-repeat; }
.class_fencing_1 { background: transparent url('/img/class_fencing_1.png') bottom right no-repeat; }
.class_longsword { background: transparent url('/img/class_longsword.png') bottom right no-repeat; }
.classlist-cardlist { display: flex; flex-wrap: wrap; }
.classlist-card { width: 302px; }

.date-card { margin-right: 14px; border-radius: 10px; height: 63px; width: 55px; }
.date-header { border-top-left-radius: 10px; border-top-right-radius: 10px; text-align: center; background-color: var(--rafa-red); color: #fff; font-family: var(--heading-font); font-size: .8rem; text-transform: uppercase; }
.date-number { border: 1px solid var(--rafa-red); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; text-align: center; background-color: #fff; color: #000; font-family: var(--heading-font); font-size: 2rem; padding: 7px; }

/* ribbon decoration */
.box { position: relative; max-width: 600px; width: 90%; height: 400px; background: #fff; box-shadow: 0 0 15px rgba(0,0,0,.1); }
.ribbon { width: 150px; height: 150px; overflow: hidden; position: absolute; }
.ribbon::before, .ribbon::after { position: absolute; z-index: -1; content: ''; display: block; border: 5px solid #2980b9; }
.ribbon span { position: absolute; display: block; width: 225px; padding: 15px 0; background-color: #3498db; box-shadow: 0 5px 10px rgba(0,0,0,.1); color: #fff; font: 700 18px/1 'Lato', sans-serif; text-shadow: 0 1px 1px rgba(0,0,0,.2); text-transform: uppercase; text-align: center; }
.ribbon-top-left { top: -10px; left: -10px; }
.ribbon-top-left::before, .ribbon-top-left::after { border-top-color: transparent; border-left-color: transparent; }
.ribbon-top-left::before { top: 0; right: 0; }
.ribbon-top-left::after { bottom: 0; left: 0; }
.ribbon-top-left span { right: -25px; top: 30px; transform: rotate(-45deg); }
.ribbon-top-right { top: -10px; right: -10px; }
.ribbon-top-right::before, .ribbon-top-right::after { border-top-color: transparent; border-right-color: transparent; }
.ribbon-top-right::before { top: 0; left: 0; }
.ribbon-top-right::after { bottom: 0; right: 0; }
.ribbon-top-right span { left: -25px; top: 30px; transform: rotate(45deg); }
.badge-promo { position: relative; overflow: hidden; max-height: 60px; margin-bottom: -8px; z-index: 1; padding: 12px 14px; border-top-left-radius: 15px; border-top-right-radius: 15px; color: #fff; text-align: left; }
.badge-promo:before, .badge-promo:after { content: ''; position: absolute; top: 0; left: 0; }
.badge-promo:before { background: goldenrod; height: 100%; width: 110%; transform-origin: bottom right; transform: rotate(1deg); }
.badge-promo:after { background: #800; transform: rotate(-3deg); transform-origin: bottom left; height: 100%; width: 110%; }
.badge-promo-content { position: relative; z-index: 1; font-family: sans-serif; font-size: 18px; }


/*------------------------------------
	CALENDAR
------------------------------------*/
.calendar-container { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; justify-content: center; }
.calendar-item { border: 1px solid #800; border-radius: 10px; margin-right: 5px; margin-bottom: 5px; padding: 7px; display: flex; flex-wrap: wrap; }
.calendar-RAFA   { background-color: lemonchiffon; }
.calendar-HOL    { background-color: #B3EBFA; }
.calendar-EVENT  { background-color: #F8C5C5; }
.calendar-CHOREO { background-color: #c8e0aa; }
.calendar-TOUR   { background-color: goldenrod; }
.calendar-OURS, .calendar-CAMP { background-color: rgb(146,192,146); }
.calendar-TRAVEL { background-color: #CAB3FA; }
.calendar-detail { width: 220px; }
.calendar-date { width: 65px; }
.cal-box { border: 1px solid #800; border-radius: 10px; margin-right: 5px; margin-bottom: 5px; padding: 7px; width: 100%; display: flex; }
.cal-box-date { width: 70px; }


/*------------------------------------
	TABLES
------------------------------------*/
.table { border-collapse: collapse; width: 100%; margin-bottom: 1rem; color: #212529; vertical-align: top; border-color: #dee2e6; }
thead, tbody, tfoot, tr, td, th { border-color: inherit; border-style: solid; border-width: 0; font-size: 1rem; font-family: sans-serif; padding-left: 7px; }
.table-cart tr:nth-child(even), .table tr:nth-child(even), .table-events tr:nth-child(even) { background-color: #fff; border-bottom: 1px solid var(--rafa-red); }
.table-cart { width: 100%; background-color: #fff; border-radius: 7px; }
.table-cart tr, .table tr, .table-events tr { border-bottom: 1px solid #ccc; background-color: #efefef; }
.table-cart th { text-align: left; background-color: #fff !important; }
.table-cart td { padding-top: 4px; padding-bottom: 4px; }
.table-mail td { padding-top: 5px; padding-bottom: 5px; }
.footnote { font-size: .7em; font-style: italic; line-height: 1.2em; }
.cart-footer { font-size: 15pt; font-weight: bold; text-align: right; }
.cart-lock { padding-left: 15px; font-size: 22px; justify-content: center; }
.options { background: var(--rafa-gold) url('/img/design/asfalt-light.png'); padding-top: 15px; }
.events { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; justify-content: center; padding: 25px; background-color: #800; }
.events img { border: 1px solid #000; }
.poster { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; justify-content: center; }
.poster li { padding: 10px; }
.poster li img { max-height: 300px; }


/*------------------------------------
	FORMS
------------------------------------*/
select {
	background: #fff url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}
form { padding-top: 15px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 20px; }
form label { display: block; font-family: var(--heading-font); }
.lesson-form { display: block; padding-top: 0; }
.paywin { width: 100%; }
.full-width { grid-column: 1 / 4; }
.two-thirds { grid-column: 1/3; }
.club-hide { display: none; }
.club-drop select { width: 90%; }
.required { color: red; }
.error-box { font-style: italic; font-size: 12pt; color: red; padding-left: 10px; }
.Signature { font-style: italic; }
.liability_container { font-family: var(--body-font); }
.liability_container label { font-family: var(--body-font); display: inline; }
button, input, textarea, select { padding-left: .5em; padding-right: .5em; border-radius: 3px; }
input[type="radio"] { margin: 0; font: inherit; width: 1.15em; height: .8em; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--green); border-radius: 3px; }
input, textarea, select { width: 100%; border: 1px solid #000; border-radius: 3px; font-size: 1em; }
.shell { position: relative; line-height: 1.7; }
.shell span { position: absolute; left: 3px; top: 1px; color: #ccc; pointer-events: none; z-index: -1; }
.shell span i { font-style: normal; color: transparent; opacity: 0; visibility: hidden; }
input.masked, .shell span { padding-left: .5em; padding-right: .5em; border-radius: 3px; font-size: 1em; background-color: #fff; text-transform: uppercase; }
.fv-plugins-icon { padding-right: 10px; padding-top: 10px; }
.messageContainer { font-family: sans-serif; font-size: .8em; }
#AgePolice { display: none; background-color: #ccc; padding: 15px; border-radius: 15px; }
#BirthError { display: none; background-color: #ccc; padding: 15px; border-radius: 15px; }
#ParentCheck { display: none; }
#ParentCheck-Container { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 20px; background-color: #ccc; padding: 15px; border-radius: 15px; }
.reg-title { background-color: var(--green); border-radius: 3px; padding: 3px 10px; color: #fff; }
.age-alert { font-family: var(--heading-font); color: #fff; background-color: var(--green); padding: 3px 7px; border-radius: 5px; }
#current-age { font-family: var(--heading-font); color: #fff; background-color: var(--rafa-red); padding: 3px 7px; border-radius: 5px; }
.form-signin { max-width: 330px; padding: 15px; margin: 0 auto; }
.form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; }
.form-signin .checkbox { font-weight: normal; }
.form-signin .form-control { position: relative; height: auto; box-sizing: border-box; padding: 10px; font-size: 16px; }
.form-signin .form-control:focus { z-index: 2; }
.form-signin input[type="email"] { margin-bottom: -1px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.form-signin input[type="password"] { margin-bottom: 10px; border-top-left-radius: 0; border-top-right-radius: 0; }


/*------------------------------------
	SOCIAL ICONS (inline SVG variant)
------------------------------------*/
.social-icons { text-align: center; font-size: 30px; }
.social-icons a { color: #fff; text-decoration: none; }
.social-icons a:hover { color: var(--rafa-gold); text-decoration: none; }


/*------------------------------------
	REGISTRATION CONFIRMATION MODAL
------------------------------------*/
.reg-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.75);
	z-index: 9000;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
.reg-modal-overlay.active { display: flex; }
.reg-modal {
	background: #fff;
	border-radius: 6px;
	max-width: 480px;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.reg-modal-head {
	background: var(--rafa-red);
	color: #fff;
	font-family: var(--heading-font);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 1rem 1.5rem;
}
.reg-modal-body {
	padding: 1.5rem;
	color: #222;
	font-size: 0.95rem;
	line-height: 1.6;
}
.reg-modal-row {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}
.reg-modal-row:last-child { border-bottom: none; }
.reg-modal-label { color: #666; }
.reg-modal-value { font-weight: 700; color: #222; text-align: right; }
.reg-modal-footer {
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	background: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	justify-content: flex-end;
}


/*------------------------------------
	MEMBERS AREA
------------------------------------*/
.member-body { margin: 0; background-color: var(--rafa-red); background: #800 url('/img/design/dark-leather.png'); padding-top: 50px; }
.member-menu { position: fixed; height: 52px; width: 100%; top: 0; background-color: var(--rafa-red); background: #800 url('/img/design/dark-leather.png'); z-index: 2000; }
.member-icon { font-size: 25px; justify-content: center; text-align: center; }
.member-link { text-align: center; }
.member-link a { color: #fff; font-family: sans-serif; text-decoration: none; }
.member-link a:hover { color: var(--rafa-gold); text-decoration: none; }
.member-text { display: block; font-size: 10px; text-transform: uppercase; justify-content: center; width: 100%; }
.member-nav ul { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; justify-content: center; }
.member-nav ul li { padding: 7px; }
.member-logo { font-size: 32px; font-family: var(--heading-font); }
.member-logo a { color: var(--rafa-gold); text-decoration: none; }
.member-wrapper { width: 100%; }
.member-content { max-width: 650px; background-color: #fffff0; margin: auto; padding: 15px; border-radius: 10px; background-image: linear-gradient(45deg, #ccc, 2%, #fffff0); box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); }
.member-content h1 { color: var(--rafa-red); font-family: var(--heading-font); }
.mail-message { background-color: #fffff0; padding: 10px; border-radius: 10px; background-image: linear-gradient(45deg, #ccc, 2%, #fffff0); box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); }
.member-row { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; justify-content: center; }
.member-card { width: 300px; background-color: #fffff0; padding: 10px; border-radius: 10px; background-image: linear-gradient(45deg, #ccc, 40%, #fffff0); box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2), 0 1px 1px 0 rgba(0,0,0,0.19); border: 1px solid #ccc; margin-right: 5px; margin-bottom: 5px; font-size: 1em; line-height: 1.2em; height: 120px; }
.member-card-name { color: var(--rafa-red); font-family: var(--heading-font); display: block; }
.member-card img { height: 120px; margin-left: -10px; margin-top: -10px; border-top-left-radius: 10px; border-bottom-left-radius: 10px; float: left; padding-right: 5px; }


/*------------------------------------
	MEDIA QUERIES
------------------------------------*/
@media only screen and (max-width: 500px) {
	.member-link { display: none; }
}
@media only screen and (max-width: 469px) {
	.nav-links { display: none; }
	.site-nav { justify-content: center; }
	.nav-brand { font-size: 1rem; }
	.coach-cards li, .coach-cards li img { width: 330px; }
	.parallax { background-attachment: unset; background-size: auto 100%; }
	.bg-img { max-width: 469px; }
}
@media only screen and (max-width: 500px) {
	form { padding-top: 5px; display: block; }
	.notification-danger { width: 100%; top: 60px; left: 0; margin-left: 0; }
}
@media only screen and (max-width: 600px) {
	.vid { flex: 1 1 100%; max-width: 100%; }
	.footer-box { width: 100%; }
}
@media only screen and (max-width: 632px) {
	.workshops-link { display: none; }
	.playwith { font-size: 3em; }
	.playwith2 { font-size: 5em; }
}
@media only screen and (max-width: 640px) {
	.classlist-cards { width: 100%; max-width: 360px; }
	.footer-classlist { padding: 3rem 1.25rem; gap: 1.25rem; }
}
