/*!
Theme Name: maranathasc
Theme URI: https://maranathasc.com/
Author: kasiryelabs
Author URI: http://kasiryelabs.com
Description: Maranatha Soccer Club
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maranathasc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

maranathasc is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
/* Reset browser link colours — components define their own */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active {
	color: inherit;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* ================================================================
   Navigation & Header
   ================================================================ */

/* ── Top Bar ──────────────────────────────────────────────────── */
.header-topbar {
	background-color: var(--color-topbar, var(--color-accent,#c8102e));
	color: #fff;
	font-size: 0.8125rem;
	line-height: 1;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0.3rem 1.5rem;
	gap: 1rem;
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0.9;
}

.topbar-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.topbar-social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	transition: background 0.2s ease;
	text-decoration: none;
}

.topbar-social:link,
.topbar-social:visited { color: #fff; }

.topbar-social svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	stroke: currentColor;
}

.topbar-social:hover,
.topbar-social:focus {
	background: rgba(255, 255, 255, 0.35);
	color: #fff;
}


/* ── Main Header Shell ────────────────────────────────────────── */
.site-header {
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	min-height: 72px;
}

/* ── Site Branding ────────────────────────────────────────────── */
.site-branding {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-shrink: 0;
}

.site-branding .custom-logo {
	max-height: 52px;
	width: auto;
}

.site-title {
	display: none;
}

.site-title a {
	text-decoration: none;
	color: #1a1a1a;
}

.site-title a:hover {
	color: var(--color-accent,#c8102e);
}

.site-description {
	display: none;
}

/* ── Primary Navigation ───────────────────────────────────────── */
.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-top: 3px solid var(--color-accent,#c8102e);
	min-width: 200px;
	display: none;
}

.main-navigation ul ul ul {
	top: 0;
	left: 100%;
	border-top: none;
	border-left: 3px solid var(--color-accent,#c8102e);
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
}

.main-navigation a {
	display: block;
	padding: 0.45rem 0.1rem;
	text-decoration: none;
	color: #1a1a1a;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.main-navigation ul ul a {
	padding: 0.6rem 1.1rem;
	font-size: 0.875rem;
	font-weight: 400;
	border-bottom: 1px solid #f0f0f0;
}

.main-navigation a:hover,
.main-navigation li:hover > a,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	color: var(--color-accent,#c8102e);
}

/* Hamburger toggle — mobile only */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	margin-left: auto;
}

.menu-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: #1a1a1a;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Small menu toggled open */
.main-navigation.toggled ul {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	padding: 1rem 1.5rem;
	z-index: 999;
}

.main-navigation.toggled ul li {
	border-bottom: 1px solid #f0f0f0;
}

.main-navigation.toggled ul a {
	padding: 0.65rem 0;
}

.main-navigation.toggled ul ul {
	position: static;
	box-shadow: none;
	border: none;
	padding-left: 1rem;
	display: none;
}

.main-navigation.toggled ul ul.toggled-on {
	display: flex;
}

@media screen and (min-width: 60em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		align-items: center;
		gap: 2rem;
	}
}

/* ── Header Right ─────────────────────────────────────────────── */
.header-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

/* Hide contact block on mobile — search + CTA stay visible */
.header-contact {
	display: none;
}

/* ── Header Cart button ──────────────────────────────────────────── */
.header-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f5f5f7;
	color: #444;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s;
}

.header-cart-btn:link,
.header-cart-btn:visited { color: #444; }

.header-cart-btn:hover { background: #ebebeb; color: #111; }

.header-cart-btn--has-items { background: rgba(200,16,46,0.08); color: var(--color-accent,#c8102e); }
.header-cart-btn--has-items:link,
.header-cart-btn--has-items:visited { color: var(--color-accent,#c8102e); }

.header-cart-btn__count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--color-accent,#c8102e);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
	animation: cart-pop 0.25s ease;
}

/* Hide the badge span when empty */
.header-cart-btn__count:empty { display: none; }

@keyframes cart-pop {
	0%   { transform: scale(0.5); opacity: 0; }
	70%  { transform: scale(1.2); }
	100% { transform: scale(1); opacity: 1; }
}

/* ── Header Account / Login buttons ────────────────────────────── */
/* Login — icon-only, same style as search button */
.header-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f5f5f7;
	color: #444;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s;
}

.header-login-btn:link,
.header-login-btn:visited { color: #444; }

.header-login-btn:hover {
	background: rgba(200,16,46,0.08);
	color: var(--color-accent,#c8102e);
}

/* Account — avatar circle */
.header-account-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	text-decoration: none;
	flex-shrink: 0;
	transition: box-shadow 0.2s;
}

.header-account-btn:link,
.header-account-btn:visited { text-decoration: none; }

.header-account-btn:hover {
	box-shadow: 0 0 0 2px var(--color-accent,#c8102e);
}

.header-account-btn__avatar {
	width: 34px !important;
	height: 34px !important;
	border-radius: 50% !important;
	display: block !important;
	object-fit: cover;
	border: 2px solid #e8e8e8;
}

/* Compact donate button on mobile */
.header-cta-btn {
	display: inline-flex;
	font-size: 0.72rem;
	padding: 0.45rem 0.7rem;
	gap: 0;
}

.header-cta-btn__arrow {
	display: none;
}

@media screen and (max-width: 59.99em) {
	.header-inner {
		padding: 0 0.75rem;
		gap: 0.4rem;
	}

	.site-branding .custom-logo {
		max-height: 40px;
	}

	.header-right {
		gap: 0.4rem;
	}
}

@media screen and (min-width: 60em) {
	.header-right {
		gap: 1.25rem;
	}

	.header-contact {
		display: flex;
	}

	.header-cta-btn {
		font-size: 0.875rem;
		padding: 0.65rem 1.35rem;
		gap: 0.5rem;
	}

	.header-cta-btn__arrow {
		display: block;
	}
}

/* Contact block */
.header-contact {
	align-items: center;
	gap: 0.65rem;
}

.header-contact__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid var(--color-accent,#c8102e);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-accent,#c8102e);
}

.header-contact__icon svg {
	width: 18px;
	height: 18px;
}

.header-contact__text {
	display: flex;
	flex-direction: column;
}

.header-contact__label {
	font-size: 0.72rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1;
	margin-bottom: 2px;
}

.header-contact__number {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
	line-height: 1;
	transition: color 0.2s ease;
}

.header-contact__number:hover {
	color: var(--color-accent,#c8102e);
}

/* CTA Button */
.header-cta-btn:link,
.header-cta-btn:visited { color: #fff; }

.header-cta-btn {
	align-items: center;
	background: var(--color-accent,#c8102e);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 4px;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}

.header-cta-btn:hover {
	background: #a50d25;
	color: #fff;
	transform: translateY(-1px);
}

.header-cta-btn__arrow {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.header-cta-btn:hover .header-cta-btn__arrow {
	transform: translateX(3px);
}

/* 3×3 Grid button */
.header-grid-btn {
	display: grid;
	grid-template-columns: repeat(3, 5px);
	grid-template-rows: repeat(3, 5px);
	gap: 3px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
}

.header-grid-btn__dot {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #555;
	transition: background 0.2s ease;
}

.header-grid-btn:hover .header-grid-btn__dot {
	background: var(--color-accent,#c8102e);
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* ================================================================
   Hero Slider
   ================================================================ */

/* ── Shell ──────────────────────────────────────────────────────── */
.hero-slider {
	position: relative;
	width: 100%;
	background: #0d0d0d;
	overflow: hidden;
	touch-action: pan-y;
}

/* ── Slides ─────────────────────────────────────────────────────── */
.hero-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease;
	pointer-events: none;
	min-height: 88vh;
}

.hero-slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
}

/* Overlay: strong on left for desktop, full-cover on mobile (set via breakpoints) */
.hero-slider__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba( 0, 0, 0, 0.80 ) 0%,
		rgba( 0, 0, 0, 0.48 ) 55%,
		rgba( 0, 0, 0, 0.18 ) 100%
	);
}

/* ── Slide content ──────────────────────────────────────────────── */
.hero-slider__content {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding: 6rem 1.5rem 7rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 88vh;
	box-sizing: border-box;
}

/* Badge */
.hero-slider__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--color-accent,#c8102e);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 1.1rem;
	opacity: 0;
	transform: translateY( 22px );
	transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
	max-width: 100%;
}

.hero-slider__badge::before {
	content: '';
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--color-accent,#c8102e);
	flex-shrink: 0;
}

/* Title */
.hero-slider__title {
	font-size: clamp( 1.6rem, 5vw, 4.25rem );
	font-weight: 800;
	color: #fff;
	line-height: 1.08;
	max-width: 680px;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY( 30px );
	transition: opacity 0.55s ease 0.32s, transform 0.55s ease 0.32s;
}

/* Subtitle */
.hero-slider__subtitle {
	font-size: clamp( 0.875rem, 1.5vw, 1.05rem );
	color: rgba( 255, 255, 255, 0.78 );
	max-width: 520px;
	line-height: 1.75;
	margin: 0 0 2.25rem;
	opacity: 0;
	transform: translateY( 30px );
	transition: opacity 0.55s ease 0.48s, transform 0.55s ease 0.48s;
}

/* CTA buttons row */
.hero-slider__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	align-items: center;
	opacity: 0;
	transform: translateY( 30px );
	transition: opacity 0.55s ease 0.62s, transform 0.55s ease 0.62s;
}

/* Animate in when slide is active */
.hero-slider__slide.is-active .hero-slider__badge,
.hero-slider__slide.is-active .hero-slider__title,
.hero-slider__slide.is-active .hero-slider__subtitle,
.hero-slider__slide.is-active .hero-slider__actions {
	opacity: 1;
	transform: translateY( 0 );
}

/* ── CTA buttons ────────────────────────────────────────────────── */
.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 0.85rem 1.9rem;
	border-radius: 4px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	transition: all 0.2s ease;
	white-space: nowrap;
	box-sizing: border-box;
}

.hero-btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.hero-btn--primary {
	background: var(--color-accent,#c8102e);
	color: #fff;
	border: 2px solid var(--color-accent,#c8102e);
}

.hero-btn--primary:link,
.hero-btn--primary:visited {
	color: #fff;
}

.hero-btn--primary:hover {
	background: var(--color-accent-dark,#a50d26);
	border-color: var(--color-accent-dark,#a50d26);
	color: #fff;
	transform: translateY( -2px );
	box-shadow: 0 10px 28px rgba( 0,0,0, 0.35 );
}

.hero-btn--primary:hover svg {
	transform: translateX( 4px );
}

.hero-btn--outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba( 255, 255, 255, 0.85 );
}

.hero-btn--outline:link,
.hero-btn--outline:visited {
	color: #fff;
}

.hero-btn--outline:hover {
	background: rgba( 255, 255, 255, 0.15 );
	border-color: #fff;
	color: #fff;
	transform: translateY( -2px );
}

/* ── Navigation arrows ──────────────────────────────────────────── */
.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 10;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1.5px solid rgba( 255, 255, 255, 0.25 );
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur( 4px );
	-webkit-backdrop-filter: blur( 4px );
}

.hero-slider__arrow:hover {
	background: var(--color-accent,#c8102e);
	border-color: var(--color-accent,#c8102e);
	transform: translateY( -50% ) scale( 1.08 );
}

.hero-slider__arrow svg {
	width: 22px;
	height: 22px;
}

.hero-slider__arrow--prev { left: 1.75rem; }
.hero-slider__arrow--next { right: 1.75rem; }

/* ── Dot navigation ─────────────────────────────────────────────── */
.hero-slider__dots {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX( -50% );
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hero-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.35 );
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
}

.hero-slider__dot.is-active {
	background: var(--color-accent,#c8102e);
	width: 26px;
	border-radius: 4px;
}

.hero-slider__dot:hover:not( .is-active ) {
	background: rgba( 255, 255, 255, 0.65 );
}

/* ── Progress bar ───────────────────────────────────────────────── */
.hero-slider__progress {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba( 255, 255, 255, 0.1 );
	z-index: 10;
}

.hero-slider__progress-bar {
	height: 100%;
	background: var(--color-accent,#c8102e);
	width: 0%;
}

/* ── No-image fallback ──────────────────────────────────────────── */
.hero-slider__slide:not( [style] ) {
	background-color: #1a1a2e;
	background-image: linear-gradient( 135deg, #0d0d1a 0%, #1a0a10 100% );
}

/* ── Empty state ────────────────────────────────────────────────── */
.hero-slider__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	color: rgba( 255, 255, 255, 0.35 );
	font-size: 0.9rem;
}

/* ================================================================
   Hero Slider — Responsive
   ================================================================ */

/* ── Tablet: 601px – 960px ───────────────────────────────────────── */
@media screen and ( min-width: 601px ) and ( max-width: 960px ) {
	.hero-slider__slide,
	.hero-slider__slide.is-active {
		min-height: 75vh;
	}

	.hero-slider__content {
		min-height: 75vh;
		padding: 5rem 2rem 6rem;
	}

	.hero-slider__title {
		max-width: 100%;
	}

	.hero-slider__subtitle {
		max-width: 100%;
	}

	.hero-slider__arrow {
		width: 44px;
		height: 44px;
	}

	.hero-slider__arrow svg {
		width: 18px;
		height: 18px;
	}

	.hero-slider__arrow--prev { left: 1rem; }
	.hero-slider__arrow--next { right: 1rem; }
}

/* ── Mobile: ≤ 600px ─────────────────────────────────────────────── */
@media screen and ( max-width: 600px ) {
	/* Full-cover overlay — text is centered over the whole image */
	.hero-slider__overlay {
		background: rgba( 0, 0, 0, 0.62 );
	}

	.hero-slider__slide,
	.hero-slider__slide.is-active {
		min-height: 100svh;
		background-position: center center;
	}

	.hero-slider__content {
		min-height: 100svh;
		padding: 5rem 1.25rem 5.5rem;
		align-items: flex-start;
		justify-content: flex-end;
		padding-bottom: 5rem;
	}

	.hero-slider__badge {
		font-size: 0.6875rem;
		margin-bottom: 0.75rem;
	}

	.hero-slider__badge::before {
		width: 20px;
	}

	.hero-slider__title {
		max-width: 100%;
		margin-bottom: 0.875rem;
		/* clamp already handles font size; ensure no orphan words */
		word-break: break-word;
	}

	.hero-slider__subtitle {
		max-width: 100%;
		font-size: 0.9rem;
		margin-bottom: 1.5rem;
		line-height: 1.65;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* Stack buttons vertically, full width */
	.hero-slider__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		width: 100%;
		max-width: 320px;
	}

	.hero-btn {
		padding: 0.8rem 1.25rem;
		font-size: 0.8125rem;
		width: 100%;
	}

	/* Hide arrows on small screens — swipe is available */
	.hero-slider__arrow {
		display: none;
	}

	/* Move dots up slightly so they don't clash with progress bar */
	.hero-slider__dots {
		bottom: 1.25rem;
	}

	.hero-slider__dot {
		width: 7px;
		height: 7px;
	}

	.hero-slider__dot.is-active {
		width: 22px;
	}
}

/* ── Honour reduced-motion preference ───────────────────────────── */
@media ( prefers-reduced-motion: reduce ) {
	.hero-slider__slide {
		transition: opacity 0.3s ease;
	}

	.hero-slider__badge,
	.hero-slider__title,
	.hero-slider__subtitle,
	.hero-slider__actions {
		transition: none;
		opacity: 1;
		transform: none;
	}

	.hero-slider__progress-bar {
		transition: none;
	}
}

/* ================================================================
   HEADER SEARCH BUTTON
   ================================================================ */

.header-search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: transparent;
	border: 2px solid rgba(0,0,0,0.13);
	border-radius: 50%;
	cursor: pointer;
	color: #333;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
	flex-shrink: 0;
}

.header-search-btn:hover {
	background: var(--color-accent,#c8102e);
	border-color: var(--color-accent,#c8102e);
	color: #fff;
}

.header-search-btn svg {
	width: 21px;
	height: 21px;
}

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */

/* ── Search overlay: mobile-first ───────────────────────────── */

.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 56px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.22s ease;
}

.search-overlay.is-open {
	pointer-events: all;
	opacity: 1;
}

.search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 8, 18, 0.88);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.search-overlay__box {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin: 0 0.75rem;
	transform: translateY(-16px);
	transition: transform 0.28s ease;
}

.search-overlay.is-open .search-overlay__box {
	transform: translateY(0);
}

.search-overlay__input-wrap {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 10px;
	padding: 0 1rem;
	gap: 0.75rem;
	box-shadow: 0 12px 40px rgba(0,0,0,0.4);
	border: 2px solid transparent;
	transition: border-color 0.2s;
}

.search-overlay__input-wrap:focus-within {
	border-color: var(--color-accent,#c8102e);
}

.search-overlay__icon {
	width: 20px;
	height: 20px;
	color: #bbb;
	flex-shrink: 0;
}

.search-overlay__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 1rem;
	font-weight: 500;
	color: #111;
	padding: 1.1rem 0;
	background: transparent;
	appearance: none;
	-webkit-appearance: none;
	min-width: 0;
}

.search-overlay__input::placeholder { color: #c0c0c0; }
.search-overlay__input::-webkit-search-cancel-button { display: none; }

.search-overlay__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: #f2f2f2;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	color: #555;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}

.search-overlay__close:hover {
	background: var(--color-accent,#c8102e);
	color: #fff;
}

.search-overlay__close svg {
	width: 15px;
	height: 15px;
}

/* Hint row — hidden on mobile, shown on larger screens */
.search-overlay__hint {
	display: none;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0 0.25rem;
	flex-wrap: wrap;
}

.search-overlay__hint-label {
	font-size: 0.72rem;
	color: rgba(255,255,255,0.35);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	margin-right: 0.25rem;
}

.search-overlay__hint-tag {
	font-size: 0.72rem;
	font-weight: 600;
	color: rgba(255,255,255,0.5);
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 20px;
	padding: 0.2rem 0.65rem;
	letter-spacing: 0.04em;
}

.search-overlay__results {
	background: #fff;
	border-radius: 10px;
	margin-top: 0.5rem;
	box-shadow: 0 12px 40px rgba(0,0,0,0.3);
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.28s ease, opacity 0.22s ease;
}

.search-overlay__results.has-results {
	max-height: calc( 100dvh - 180px );
	opacity: 1;
	overflow-y: auto;
}

/* ── Tablet and up (min-width: 600px) ───────────────────────── */
@media screen and ( min-width: 600px ) {
	.search-overlay {
		padding-top: 68px;
	}

	.search-overlay__box {
		margin: 0 1.25rem;
		max-width: 640px;
	}

	.search-overlay__input-wrap {
		border-radius: 12px;
		padding: 0 1.15rem;
		gap: 0.875rem;
	}

	.search-overlay__input {
		font-size: 1.1rem;
		padding: 1.2rem 0;
	}

	.search-overlay__close {
		width: 36px;
		height: 36px;
	}

	.search-overlay__results {
		border-radius: 12px;
		max-height: 440px;
	}
}

/* ── Desktop (min-width: 960px) ─────────────────────────────── */
@media screen and ( min-width: 960px ) {
	.search-overlay {
		padding-top: 76px;
	}

	.search-overlay__box {
		margin: 0 1.5rem;
		max-width: 820px;
	}

	.search-overlay__input-wrap {
		border-radius: 14px;
		padding: 0 1.25rem;
		gap: 1rem;
		box-shadow: 0 20px 60px rgba(0,0,0,0.45);
	}

	.search-overlay__icon {
		width: 24px;
		height: 24px;
	}

	.search-overlay__input {
		font-size: 1.25rem;
		padding: 1.35rem 0;
	}

	.search-overlay__close {
		width: 38px;
		height: 38px;
	}

	.search-overlay__close svg {
		width: 17px;
		height: 17px;
	}

	.search-overlay__hint {
		display: flex;
	}

	.search-overlay__results {
		border-radius: 14px;
		margin-top: 0.65rem;
		max-height: 480px;
	}
}

/* Result list */
.search-result-list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.search-result-list li + li {
	border-top: 1px solid #f3f3f3;
}

.search-result {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.7rem 1.1rem;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.search-result:hover { background: #fdf5f6; }

.search-result__thumb {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
	background: #f0f0f0;
}

.search-result__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
}

.search-result__thumb--placeholder svg {
	width: 20px;
	height: 20px;
}

.search-result__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.search-result__type {
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-accent,#c8102e);
}

.search-result__title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.search-result__arrow {
	width: 16px;
	height: 16px;
	color: #ccc;
	flex-shrink: 0;
	transition: color 0.15s, transform 0.15s;
}

.search-result:hover .search-result__arrow {
	color: var(--color-accent,#c8102e);
	transform: translateX(3px);
}

/* Loading dots */
.search-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 1.5rem;
}

.search-loading span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--color-accent,#c8102e);
	animation: searchDot 1.1s infinite ease-in-out both;
}

.search-loading span:nth-child(1) { animation-delay: -0.32s; }
.search-loading span:nth-child(2) { animation-delay: -0.16s; }

@keyframes searchDot {
	0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
	40%            { transform: scale(1);   opacity: 1;   }
}

/* No results */
.search-no-results {
	text-align: center;
	padding: 1.5rem;
	color: #999;
	font-size: 0.9rem;
	margin: 0;
}

/* Prevent body scroll when overlay open */
body.search-open { overflow: hidden; }

/* ── Responsive ─────────────────────────────────────────────── */


/* ================================================================
   SITE FOOTER
   ================================================================ */

.site-footer {
	background: #1c1c1c;
	color: rgba(255,255,255,0.55);
}

.footer-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 1.5rem 1.5rem 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

/* Social icons */
.footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.footer-social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-social:link,
.footer-social:visited { color: rgba(255,255,255,0.6); }

.footer-social:hover { color: #fff; }

.footer-social svg {
	width: 20px;
	height: 20px;
}

/* Divider */
.footer-divider {
	width: 100%;
	border: none;
	border-top: 1px solid rgba(255,255,255,0.1);
	margin: 0;
}

/* Legal links */
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.5rem;
}

.footer-legal a {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	transition: color 0.2s;
}

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

/* Copyright block */
.footer-copy {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.35);
	line-height: 1.7;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
	max-width: 680px;
}

/* Bottom bar */
.footer-bottom {
	background: #141414;
	border-top: 1px solid rgba(255,255,255,0.06);
	padding: 0.9rem 1.5rem;
}

.footer-bottom__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	text-align: center;
}

@media screen and ( min-width: 700px ) {
	.footer-bottom__inner {
		justify-content: space-between;
	}
}

.footer-bottom__logo {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.footer-bottom__credit {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.4);
}

.footer-bottom__credit span[aria-label="love"] {
	color: var(--color-accent,#c8102e);
}

.footer-bottom__copy {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.4);
}

/* Kill any gap below footer */
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; background: #141414; }
#page { display: flex; flex-direction: column; min-height: 100vh; max-width: 100%; }
#page > .site-footer { margin-top: auto; }
.site-footer { margin: 0; padding: 0; }

/* Elementor buttons — lock text colour so :visited never bleeds through */
.elementor-button:link,
.elementor-button:visited {
	color: inherit;
}

/* Footer legal links */
.footer-legal a:link,
.footer-legal a:visited {
	color: rgba(255,255,255,0.55);
}

/* ================================================================
   WhatsApp Floating Channel Button
   ================================================================ */

.wa-float {
	position: fixed;
	top: 50%;
	transform: translateY( -50% );
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	border-radius: 8px 0 0 8px;
	padding: 0.75rem 0.45rem;
	box-shadow: -3px 4px 18px rgba( 0, 0, 0, 0.25 );
	transition: background 0.2s, box-shadow 0.2s, padding 0.2s;
	cursor: pointer;
}

.wa-float--right {
	right: 0;
	border-radius: 8px 0 0 8px;
	box-shadow: -3px 4px 18px rgba( 0, 0, 0, 0.25 );
}

.wa-float--left {
	left: 0;
	border-radius: 0 8px 8px 0;
	box-shadow: 3px 4px 18px rgba( 0, 0, 0, 0.25 );
}

.wa-float:hover {
	background: #1ebe5d;
	padding-left: 0.7rem;
	padding-right: 0.7rem;
}

.wa-float:link,
.wa-float:visited { color: #fff; }

.wa-float__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.wa-float__icon svg {
	width: 22px;
	height: 22px;
}

.wa-float__label {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate( 180deg );
	font-size: 0.58rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1;
	white-space: nowrap;
}

@media screen and ( max-width: 600px ) {
	.wa-float {
		top: 50%;
		bottom: auto;
		transform: translateY( -50% );
		flex-direction: column;
		padding: 0.5rem 0.3rem;
		gap: 0.35rem;
	}

	.wa-float--right {
		right: 0;
		left: auto;
		border-radius: 6px 0 0 6px;
	}

	.wa-float--left {
		left: 0;
		right: auto;
		border-radius: 0 6px 6px 0;
	}

	.wa-float__label {
		writing-mode: vertical-rl;
		text-orientation: mixed;
		transform: rotate( 180deg );
		font-size: 0.48rem;
	}

	.wa-float__icon { width: 16px; height: 16px; }
	.wa-float__icon svg { width: 16px; height: 16px; }
}

/* Front page — the extra WordPress wrappers around Elementor content add unwanted spacing */
.home #primary,
.home .site-main,
.home #main,
.home .entry-content,
.home article.page {
	margin: 0;
	padding: 0;
}


/* ================================================================
   WooCommerce — Floating Toast Notices (site-wide)
   ================================================================ */

/* Wrapper becomes a fixed toast stack in top-right */
.woocommerce-notices-wrapper {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	z-index: 99999;
	width: 340px;
	max-width: calc(100vw - 2rem);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	pointer-events: none;
}

/* Base notice */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
	pointer-events: all;
	list-style: none;
	margin: 0;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.45;
	box-shadow: 0 4px 24px rgba(0,0,0,0.14);
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	border-left: none;
	animation: toast-in 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes toast-in {
	from { opacity: 0; transform: translateX(40px) scale(0.95); }
	to   { opacity: 1; transform: translateX(0)   scale(1);    }
}

.woocommerce-notices-wrapper .woocommerce-message {
	background: #111;
	color: #fff;
}

.woocommerce-notices-wrapper .woocommerce-message::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #10b981;
	flex-shrink: 0;
	margin-top: 1px;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 11px;
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce-notices-wrapper .woocommerce-error {
	background: #111;
	color: #fff;
}

.woocommerce-notices-wrapper .woocommerce-error::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ef4444;
	flex-shrink: 0;
	margin-top: 1px;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: center;
}

.woocommerce-notices-wrapper .woocommerce-info {
	background: #111;
	color: #fff;
}

.woocommerce-notices-wrapper .woocommerce-info::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #3b82f6;
	flex-shrink: 0;
	margin-top: 1px;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: center;
}

/* Links inside notices */
.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-error a,
.woocommerce-notices-wrapper .woocommerce-info a {
	color: rgba(255,255,255,0.7);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s;
}

.woocommerce-notices-wrapper .woocommerce-message a:hover,
.woocommerce-notices-wrapper .woocommerce-error a:hover,
.woocommerce-notices-wrapper .woocommerce-info a:hover { color: #fff; }

/* "View cart" button inside the notice */
.woocommerce-notices-wrapper .woocommerce-message .button,
.woocommerce-notices-wrapper .wc-forward {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	background: var(--color-accent,#c8102e);
	color: #fff !important;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	margin-left: auto;
	flex-shrink: 0;
	transition: background 0.2s;
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover,
.woocommerce-notices-wrapper .wc-forward:hover {
	background: var(--color-accent-dark,#a50d26);
}

/* Notices outside the wrapper (inline on page) keep the old subtle style */
.woocommerce-error:not(.woocommerce-notices-wrapper .woocommerce-error),
.woocommerce-message:not(.woocommerce-notices-wrapper .woocommerce-message),
.woocommerce-info:not(.woocommerce-notices-wrapper .woocommerce-info) {
	list-style: none;
	padding: 0.85rem 1.25rem;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 1rem;
	border: none;
}

/* Mobile */
@media screen and (max-width: 480px) {
	.woocommerce-notices-wrapper {
		top: auto;
		bottom: 1rem;
		right: 0.75rem;
		left: 0.75rem;
		width: auto;
	}
}

/* ================================================================
   404 Page
   ================================================================ */

.e404-wrap {
	display: grid;
	grid-template-columns: 1fr 420px;
	min-height: calc(100vh - 112px);
	background: #0f1117;
}

/* ── Left panel ─────────────────────────────────────────────────── */
.e404-main {
	position: relative;
	display: flex;
	align-items: center;
	padding: 4rem 3.5rem 4rem 5vw;
	overflow: hidden;
}

/* Giant ghost 404 behind content */
.e404-number {
	position: absolute;
	left: -0.05em;
	top: 50%;
	transform: translateY(-50%);
	font-size: clamp(14rem, 22vw, 22rem);
	font-weight: 900;
	color: rgba(255,255,255,0.03);
	line-height: 1;
	letter-spacing: -0.05em;
	pointer-events: none;
	user-select: none;
}

.e404-content {
	position: relative;
	z-index: 1;
	max-width: 520px;
}

.e404-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(200,16,46,0.15);
	color: var(--color-accent,#c8102e);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.3rem 0.85rem;
	border-radius: 99px;
	border: 1px solid rgba(200,16,46,0.25);
	margin-bottom: 1.25rem;
}

.e404-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 900;
	color: #fff;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.e404-desc {
	font-size: 1rem;
	color: rgba(255,255,255,0.5);
	line-height: 1.7;
	margin: 0 0 2rem;
}

.e404-desc strong { color: rgba(255,255,255,0.75); }

/* Search */
.e404-search {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.06);
	border: 1.5px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1.75rem;
	transition: border-color 0.2s;
}

.e404-search:focus-within {
	border-color: var(--color-accent,#c8102e);
	background: rgba(255,255,255,0.08);
}

.e404-search__input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	padding: 0.85rem 1rem;
	font-size: 0.9rem;
	color: #fff;
	font-family: inherit;
	-webkit-appearance: none;
}

.e404-search__input::placeholder { color: rgba(255,255,255,0.3); }
.e404-search__input::-webkit-search-cancel-button { display: none; }

.e404-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--color-accent,#c8102e);
	color: #fff;
	border: none;
	cursor: pointer;
	margin: 4px;
	border-radius: 9px;
	transition: background 0.2s;
	flex-shrink: 0;
}

.e404-search__btn:hover { background: var(--color-accent-dark,#a50d26); }

/* Quick links */
.e404-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.e404-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1rem;
	background: rgba(255,255,255,0.05);
	border: 1.5px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.e404-link:link, .e404-link:visited { color: rgba(255,255,255,0.65); }

.e404-link:hover {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.2);
	color: #fff;
}

.e404-link__icon {
	display: flex;
	align-items: center;
	opacity: 0.6;
}

/* Back to home */
.e404-home-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(255,255,255,0.45);
	text-decoration: none;
	transition: color 0.2s;
}

.e404-home-btn:link, .e404-home-btn:visited { color: rgba(255,255,255,0.45); }
.e404-home-btn:hover { color: #fff; }

/* ── Right decorative panel ─────────────────────────────────────── */
.e404-side {
	background: #080b12;
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid rgba(255,255,255,0.05);
	position: relative;
	overflow: hidden;
}

.e404-side::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 40%, rgba(200,16,46,0.12) 0%, transparent 65%);
	pointer-events: none;
}

.e404-side__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
	padding: 2rem;
}

.e404-side__ball {
	width: 220px;
	height: 220px;
	animation: ball-float 4s ease-in-out infinite;
	filter: drop-shadow(0 20px 40px rgba(200,16,46,0.25));
}

@keyframes ball-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-16px); }
}

.e404-side__label {
	font-size: 1.5rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
}

.e404-side__sub {
	font-size: 0.82rem;
	color: rgba(255,255,255,0.35);
	font-weight: 500;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media screen and (max-width: 860px) {
	.e404-wrap { grid-template-columns: 1fr; }
	.e404-side { display: none; }
	.e404-main { padding: 3rem 1.5rem; min-height: calc(100vh - 112px); }
	.e404-number { font-size: clamp(10rem, 35vw, 16rem); }
}

@media screen and (max-width: 480px) {
	.e404-main { padding: 2.5rem 1.25rem; }
	.e404-title { font-size: 1.75rem; }
	.e404-links { gap: 0.4rem; }
	.e404-link  { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}

/* 404 — background image variant */
.e404-wrap--has-bg {
	position: relative;
}

.e404-wrap--has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--e404-bg);
	background-size: cover;
	background-position: center;
	opacity: 0.18;
	pointer-events: none;
	z-index: 0;
}

.e404-wrap--has-bg .e404-main,
.e404-wrap--has-bg .e404-side {
	position: relative;
	z-index: 1;
}

/* Slightly deepen the left panel overlay when bg image is active */
.e404-wrap--has-bg .e404-main {
	background: linear-gradient(
		to right,
		rgba(10,10,18,0.92) 0%,
		rgba(10,10,18,0.75) 100%
	);
}
