/*
Theme Name: Hippies Horde
Theme URI: https://hippiesforever.eu
Author: Alcheey
Description: Custom Horde war-camp theme for the Hippies guild on WoW Forever. News, raid schedule with team rosters, class recruitment, application form and Discord. Fully responsive.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hippies
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #0d0b0a;
	--bg-2: #15110f;
	--panel: #1b1613;
	--panel-2: #231c18;
	--line: #3a302a;
	--line-2: #4d4038;
	--iron: #7a6f66;
	--text: #e8ddcc;
	--muted: #a89a88;
	--red: #b3171c;
	--red-2: #d8262b;
	--red-deep: #5e0b0e;
	--bronze: #c9923f;
	--bronze-2: #e6b25c;
	--ok: #5fae4e;
	--warn: #d9a43a;
	--shut: #8a7f76;

	--f-display: "Cinzel", "Trajan Pro", Georgia, serif;
	--f-ui: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 2px;
	--header-h: 72px;

	--jag: polygon(0 0, 100% 0, 100% calc(100% - 28px), 96% 100%, 91% calc(100% - 18px), 85% 100%, 78% calc(100% - 24px), 71% 100%, 64% calc(100% - 14px), 57% 100%, 50% calc(100% - 26px), 43% 100%, 36% calc(100% - 16px), 29% 100%, 22% calc(100% - 22px), 15% 100%, 8% calc(100% - 18px), 3% 100%, 0 calc(100% - 20px));
	--cut: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	overflow-x: hidden;
	background-image:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(179, 23, 28, .14), transparent 70%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-attachment: fixed, scroll;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-2); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: #f4ead9; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze-2); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px; padding: 10px 16px; background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Section headings: eyebrow + title + rune line */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.sec-head__eyebrow { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .28em; font-size: .85rem; color: var(--red-2); font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sec-head__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red-2); }
.sec-head h2 { margin: 0; }
.sec-head__more { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .95rem; color: var(--muted); }
.sec-head__more:hover { color: var(--bronze-2); }
.sec-head__more::after { content: " →"; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	--b: var(--red);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
	padding: 14px 28px; min-height: 48px;
	color: #fff; background: var(--b); border: 0; cursor: pointer;
	clip-path: var(--cut);
	transition: background .15s, transform .15s, filter .15s;
	position: relative;
}
.btn:hover { color: #fff; background: var(--red-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 2px var(--bronze); color: var(--bronze-2); }
.btn--discord { background: #4a54c9; }
.btn--discord:hover { background: #5865f2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { padding: 10px 18px; min-height: 40px; font-size: .88rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(13, 11, 10, .82);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: background .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: rgba(13, 11, 10, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .7; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__mark img, .brand .custom-logo { width: 44px; height: 44px; object-fit: contain; }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 1.45rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.brand__sub { display: block; font-family: var(--f-ui); font-size: .72rem; letter-spacing: .3em; color: var(--red-2); text-transform: uppercase; margin-top: 4px; font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; padding: 10px 14px;
	font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem;
	color: var(--text);
	position: relative;
}
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red-2); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: #fff; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--red); padding: 6px 0; flex-direction: column; gap: 0; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover { background: var(--panel-2); }

.header-cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-cta, .main-nav { display: none; }
}

/* Full-screen mobile menu (outside the header so it can cover the whole screen) */
.mobile-menu {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; flex-direction: column;
	height: 100vh; height: 100dvh;
	padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom));
	background: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(179, 23, 28, .28), transparent 60%), #0b0908;
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; transform: translateY(-12px);
	transition: opacity .2s ease, transform .2s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); border-bottom: 1px solid var(--line); flex: none; }
.admin-bar .mobile-menu__top { margin-top: 46px; }
.mobile-menu__close { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; flex: none; }
.mobile-menu__close:hover, .mobile-menu__close:focus-visible { border-color: var(--red-2); color: #fff; background: rgba(179, 23, 28, .18); }
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu__nav { flex: 1 0 auto; padding: 18px 0 10px; }
.mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 6.5vw, 2rem); letter-spacing: .04em; text-transform: uppercase; color: #f4ead9; border-bottom: 1px solid var(--line); }
.mobile-menu__nav a::after { content: "→"; font-family: var(--f-ui); font-size: 1.1rem; color: var(--iron); transition: transform .15s, color .15s; }
.mobile-menu__nav a:hover::after, .mobile-menu__nav a:focus-visible::after { color: var(--red-2); transform: translateX(4px); }
.mobile-menu__nav .current-menu-item > a, .mobile-menu__nav .current_page_item > a { color: var(--red-2); }
.mobile-menu__nav .sub-menu { padding-left: 16px; }
.mobile-menu__nav .sub-menu a { font-size: 1.15rem; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; flex: none; position: relative; z-index: 1; }
.mobile-menu__glyph { position: fixed; right: -60px; bottom: -40px; width: 300px; opacity: .05; pointer-events: none; }
body.nav-open { overflow: hidden; }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: min(88vh, 820px);
	display: flex; align-items: center;
	padding: 90px 0 140px;
	clip-path: var(--jag);
	background: #120c0a;
	isolation: isolate;
	overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero__bg--default {
	background:
		radial-gradient(ellipse 60% 70% at 70% 45%, rgba(216, 38, 43, .35), transparent 65%),
		radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 146, 63, .14), transparent 70%),
		linear-gradient(180deg, #1c0f0c 0%, #0d0b0a 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 7, .92) 0%, rgba(10, 8, 7, .6) 50%, rgba(10, 8, 7, .3) 100%), linear-gradient(0deg, rgba(10, 8, 7, .9), transparent 40%); }
.hero__ridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: auto; color: #0a0807; opacity: .95; }
.hero__embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__embers i { position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--bronze-2); box-shadow: 0 0 8px 2px rgba(230, 120, 40, .7); opacity: 0; animation: ember 9s linear infinite; }
@keyframes ember {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: .9; }
	100% { transform: translate(-60px, -95vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__embers { display: none; } html { scroll-behavior: auto; } }

.hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; width: 100%; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .3em; color: var(--bronze-2); font-size: .9rem; margin-bottom: 18px; }
.hero__kicker b { color: var(--red-2); font-weight: 700; }
.hero__title {
	font-size: clamp(3.4rem, 12vw, 8.5rem); font-weight: 900; line-height: .9; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px;
	background: linear-gradient(180deg, #fff3e0 0%, #e8c99a 55%, #a7713a 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 0 rgba(94, 11, 14, .9)) drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
}
.hero__tagline { font-family: var(--f-display); font-size: clamp(1.1rem, 2.4vw, 1.55rem); color: var(--text); margin-bottom: 14px; }
.hero__lead { color: var(--muted); max-width: 560px; font-size: 1.08rem; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__emblem { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 60px rgba(216, 38, 43, .25)); animation: float 7s ease-in-out infinite; }
.hero__emblem img { width: 100%; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-stats { margin-top: -64px; position: relative; z-index: 5; }
.hero-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 2.8vw, 2rem); color: #fff; line-height: 1.1; }
.stat__label { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat--red .stat__value { color: var(--red-2); }

@media (max-width: 900px) {
	.hero { min-height: 0; padding: 60px 0 120px; }
	.hero__inner { grid-template-columns: 1fr; text-align: center; }
	.hero__emblem { order: -1; width: 180px; }
	.hero__lead { margin-left: auto; margin-right: auto; }
	.hero__actions, .hero__kicker { justify-content: center; }
	.hero__kicker { display: block; letter-spacing: .22em; }
	.hero__kicker b { display: none; }
	.hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
	.hero__actions .btn { width: 100%; }
	.stat { padding: 16px; }
}

/* Inner page hero */
.page-hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 11vw, 130px); clip-path: var(--jag); background: radial-gradient(ellipse 70% 90% at 80% 0%, rgba(179, 23, 28, .3), transparent 60%), linear-gradient(180deg, #1a100d, #0d0b0a); overflow: hidden; }
.page-hero h1 { margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.page-hero__meta { margin-top: 12px; color: var(--muted); font-family: var(--f-ui); letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }
.page-hero__meta a { color: var(--bronze-2); }
.page-hero .sec-head__eyebrow { margin-bottom: 14px; }
.page-hero__glyph { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; opacity: .06; pointer-events: none; }

/* ==========================================================================
   Cards: news
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.news-grid__side { display: grid; gap: 24px; grid-template-rows: repeat(3, 1fr); }
.post-card { position: relative; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #1f1815 0 14px, #1b1512 14px 28px); }
.post-card__ph img { width: 34%; max-width: 140px; opacity: .25; }
.post-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); color: #fff; font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; padding: 5px 10px; clip-path: var(--cut); }
.post-card__cat:hover { color: #fff; background: var(--red-2); }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-card__title { margin: 0; font-size: 1.3rem; }
.post-card__title a { color: #f4ead9; }
.post-card__title a:hover { color: var(--bronze-2); }
.post-card__excerpt { color: var(--muted); font-size: .98rem; margin: 0; }
.post-card--big .post-card__media { aspect-ratio: 16 / 10; }
.post-card--big .post-card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-card--row { flex-direction: row; }
.post-card--row .post-card__media { width: 40%; aspect-ratio: auto; flex: none; }
.post-card--row .post-card__body { padding: 16px 18px; justify-content: center; }
.post-card--row .post-card__title { font-size: 1.1rem; }
.post-card--row .post-card__excerpt { display: none; }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 960px) {
	.news-grid { grid-template-columns: 1fr; }
	.news-grid__side { grid-template-rows: none; }
	.post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.post-list { grid-template-columns: 1fr; }
	.post-card--row .post-card__media { width: 36%; }
	.post-card__body { padding: 18px; }
}

.empty-note { padding: 40px; text-align: center; border: 1px dashed var(--line-2); color: var(--muted); background: rgba(255, 255, 255, .015); }

/* ==========================================================================
   Raids
   ========================================================================== */
.raid-list { display: grid; gap: 14px; }
.raid-card { display: grid; grid-template-columns: 96px 1fr auto; align-items: stretch; background: var(--panel); border: 1px solid var(--line); position: relative; transition: border-color .2s; }
.raid-card:hover { border-color: var(--line-2); }
.raid-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.raid-card.is-today { border-color: var(--bronze); box-shadow: 0 0 0 1px var(--bronze), 0 0 40px rgba(201, 146, 63, .15); }
.raid-card.is-today::before { background: var(--bronze-2); }
.raid-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-right: 1px solid var(--line); text-align: center; }
.raid-date__dow { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--red-2); font-weight: 700; }
.raid-date__day { font-family: var(--f-display); font-weight: 900; font-size: 2.1rem; line-height: 1; color: #fff; }
.raid-date__mon { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--muted); font-weight: 600; }
.raid-main { padding: 18px 22px; min-width: 0; }
.raid-main__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.raid-main h3 { margin: 0; font-size: 1.3rem; }
.raid-main h3 a { color: #f4ead9; }
.raid-main h3 a:hover { color: var(--bronze-2); }
.raid-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--muted); font-weight: 600; }
.raid-tags span { display: inline-flex; align-items: center; gap: 6px; }
.raid-tags svg { width: 15px; height: 15px; color: var(--iron); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; padding: 3px 9px; border: 1px solid currentColor; line-height: 1.4; white-space: nowrap; }
.pill--size { color: var(--bronze-2); }
.pill--today { color: #1a0f05; background: var(--bronze-2); border-color: var(--bronze-2); }
.pill--done { color: var(--shut); }
.raid-side { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-left: 1px solid var(--line); }
.raid-fill { text-align: right; min-width: 90px; }
.raid-fill__num { font-family: var(--f-display); font-weight: 900; font-size: 1.4rem; color: #fff; line-height: 1; }
.raid-fill__num small { font-size: .9rem; color: var(--muted); }
.raid-fill__bar { height: 4px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.raid-fill__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--red), var(--red-2)); }
.raid-fill__label { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

.raid-roster { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.raid-roster summary { cursor: pointer; list-style: none; padding: 12px 22px; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.raid-roster summary::-webkit-details-marker { display: none; }
.raid-roster summary::before {
	content: ""; flex: none; width: 24px; height: 24px;
	border: 1px solid var(--line-2); background-color: var(--bg-2);
	/* plus sign drawn with two centred bars */
	background-image: linear-gradient(var(--bronze-2), var(--bronze-2)), linear-gradient(var(--bronze-2), var(--bronze-2));
	background-size: 10px 2px, 2px 10px;
	background-position: center; background-repeat: no-repeat;
	transition: background-size .2s ease, border-color .15s, background-color .15s;
}
.raid-roster[open] summary::before { background-size: 10px 2px, 2px 0; border-color: var(--bronze); }
.raid-roster summary:hover { color: var(--text); }
.raid-roster summary:hover::before { border-color: var(--bronze); background-color: rgba(201, 146, 63, .1); }
.raid-roster summary { gap: 12px; min-height: 48px; }
.raid-roster summary::after { content: attr(data-show); }
.raid-roster[open] summary::after { content: attr(data-hide); }
.roster { padding: 4px 22px 22px; }
.roster h4 { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--red-2); margin: 14px 0 8px; }
.roster h4:first-child { margin-top: 4px; }
.roster ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.roster li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: .96rem; min-width: 0; }
.roster li .name { font-weight: 600; color: var(--c, var(--text)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster li .role { margin-left: auto; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); }
.roster--bench li { opacity: .7; }

.class-dot { width: 10px; height: 10px; flex: none; background: var(--c, var(--iron)); transform: rotate(45deg); box-shadow: 0 0 8px var(--c, transparent); }

@media (max-width: 760px) {
	.raid-card { grid-template-columns: 76px 1fr; }
	.raid-date__day { font-size: 1.7rem; }
	.raid-main { padding: 14px 16px; }
	.raid-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 12px 16px; justify-content: space-between; }
	.raid-fill { text-align: left; flex: 1; }
	.raid-roster summary, .roster { padding-left: 16px; padding-right: 16px; }
}

.raid-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.raid-filters button { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .9rem; padding: 9px 16px; background: var(--panel); color: var(--muted); border: 1px solid var(--line); cursor: pointer; min-height: 40px; }
.raid-filters button:hover { color: var(--text); border-color: var(--line-2); }
.raid-filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================================
   Recruitment
   ========================================================================== */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.class-card { --c: var(--iron); position: relative; background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; display: flex; align-items: center; gap: 16px; overflow: hidden; transition: border-color .2s, transform .2s; }
.class-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 50%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%); pointer-events: none; }
.class-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.class-crest { width: 56px; height: 56px; flex: none; position: relative; z-index: 1; }
.class-crest img { width: 56px; height: 56px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px color-mix(in srgb, var(--c) 35%, transparent)); transition: transform .2s; }
.class-card:hover .class-crest img { transform: scale(1.07) rotate(-4deg); }
.class-card.is-closed .class-crest img { filter: grayscale(1) brightness(.8); }
.class-card__body { position: relative; z-index: 1; min-width: 0; flex: 1; }
.class-card__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--c); line-height: 1.2; }
.class-card__note { font-size: .9rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.class-card .status { position: relative; z-index: 1; margin-left: auto; }
.status { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; padding: 4px 10px; border: 1px solid; white-space: nowrap; }
.status--open { color: var(--ok); background: rgba(95, 174, 78, .1); }
.status--high { color: #fff; background: var(--red); border-color: var(--red-2); }
.status--low { color: var(--warn); background: rgba(217, 164, 58, .08); }
.status--closed { color: var(--shut); }
.class-card.is-closed { opacity: .55; }
.class-card.is-closed:hover { opacity: .8; }

@media (max-width: 960px) { .class-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .class-grid { grid-template-columns: 1fr; } .class-card { padding: 14px 16px; } }

.recruit-note { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--bronze); background: rgba(201, 146, 63, .06); color: var(--text); }

/* ==========================================================================
   Feature split / CTA
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.values li { display: flex; gap: 16px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); }
.values li strong { display: block; font-family: var(--f-display); color: #f4ead9; font-size: 1.1rem; }
.values li span { color: var(--muted); font-size: .97rem; }
.values__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--red-deep); color: var(--bronze-2); clip-path: var(--cut); }
.values__icon svg { width: 22px; height: 22px; }

.schedule-box { background: var(--panel); border: 1px solid var(--line); }
.schedule-box__head { padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; color: var(--bronze-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.schedule-box__head span { color: var(--muted); font-weight: 600; letter-spacing: .12em; }
.schedule-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row__day { font-family: var(--f-display); font-weight: 700; color: #fff; min-width: 110px; }
.schedule-row__what { color: var(--muted); flex: 1; }

.cta-band { position: relative; padding: clamp(56px, 8vw, 90px) 0; overflow: hidden; background: linear-gradient(100deg, var(--red-deep) 0%, #2a0a0b 45%, #120c0a 100%); border-top: 1px solid #6e1215; border-bottom: 1px solid #6e1215; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 14px); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; text-transform: uppercase; }
.cta-band p { margin: 0; color: #e7c9bd; max-width: 620px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ==========================================================================
   Content / entry
   ========================================================================== */
.content-area { padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.layout--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.entry { max-width: 780px; }
.layout--full .entry { margin: 0 auto; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(230, 178, 92, .4); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--red-2); }
.entry-content ol li::marker { color: var(--bronze-2); font-family: var(--f-display); font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--red); background: var(--panel); font-family: var(--f-display); font-size: 1.15rem; color: #f4ead9; }
.entry-content img { height: auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--panel-2); font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .1em; }
.entry-content code { background: var(--panel-2); padding: 2px 6px; font-size: .92em; }
.entry-content hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 2.4em 0; }
.entry-content .wp-block-button__link { background: var(--red); color: #fff; border-radius: 0; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; text-decoration: none; clip-path: var(--cut); }
.entry-thumb { margin-bottom: 30px; border: 1px solid var(--line); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text { font-size: .88rem; color: var(--muted); }
.sticky .post-card__cat { background: var(--bronze); }

.entry-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.tag-link:hover { color: var(--bronze-2); border-color: var(--bronze); }

.post-nav { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: block; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.post-nav a:hover { border-color: var(--red); }
.post-nav small { display: block; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-size: .76rem; }
.post-nav .next { text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

/* Sidebar */
.sidebar .widget { background: var(--panel); border: 1px solid var(--line); padding: 22px; margin-bottom: 22px; }
.sidebar .widget-title, .sidebar .wp-block-heading { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .95rem; color: var(--bronze-2); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--text); }
.sidebar a:hover { color: var(--bronze-2); }

/* Pagination */
.pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-family: var(--f-ui); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="number"], input[type="password"], select, textarea {
	width: 100%; padding: 13px 14px; min-height: 48px;
	background: var(--bg-2); color: var(--text);
	border: 1px solid var(--line-2); border-radius: 0;
	font: inherit; font-size: 16px;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23c9923f'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(201, 146, 63, .18); }
label { display: block; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
label .req { color: var(--red-2); }

.apply-form { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 4vw, 36px); position: relative; }
.apply-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--bronze)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line-2); cursor: pointer; color: var(--text); letter-spacing: .1em; min-height: 44px; }
.checks input { accent-color: var(--red); width: 16px; height: 16px; }
.checks label:has(input:checked) { border-color: var(--red); background: rgba(179, 23, 28, .15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 16px 20px; margin-bottom: 22px; border: 1px solid; font-weight: 600; }
.form-notice--ok { color: #b9e3ae; border-color: var(--ok); background: rgba(95, 174, 78, .1); }
.form-notice--err { color: #f2b6b6; border-color: var(--red-2); background: rgba(179, 23, 28, .12); }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }

.search-form { display: flex; gap: 0; }
.search-form input { flex: 1; }
.search-form button { flex: none; }

/* Comments */
.comments { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; margin-bottom: 14px; }
.comment-meta { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-form p { margin-bottom: 16px; }
.comment-form .submit { display: inline-flex; padding: 14px 28px; background: var(--red); color: #fff; border: 0; font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; cursor: pointer; clip-path: var(--cut); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: #090706; border-top: 1px solid var(--line); padding: 64px 0 0; margin-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); max-width: 360px; margin-top: 16px; }
.footer-col h4 { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .24em; font-size: .9rem; color: var(--bronze-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--red-2); }
.footer-col .muted { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--iron); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--red); color: #fff; z-index: 90; clip-path: var(--cut); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s, background .15s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--red-2); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* 404 */
.notfound { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.notfound__code { font-family: var(--f-display); font-weight: 900; font-size: clamp(6rem, 22vw, 13rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--red); }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Elementor
   ========================================================================== */
.hero-stats--flat { margin-top: 0; padding-top: 40px; }
.elementor-widget[class*="elementor-widget-hippies-"] { width: 100%; margin: 0 !important; }
.elementor-widget-hippies-stats { position: relative; z-index: 5; }
/* Normal Elementor text widgets pick up the theme's article styling */
.elementor-widget-text-editor { font-size: 1.08rem; color: var(--text); }
.elementor-widget-text-editor h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-top: 1.6em; }
.elementor-widget-text-editor h2:first-child { margin-top: 0; }
.elementor-widget-text-editor ul li::marker { color: var(--red-2); }
.elementor-widget-text-editor li { margin-bottom: .4em; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--f-display); color: #f4ead9; }
.elementor-button { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; border-radius: 0; clip-path: var(--cut); background-color: var(--red); }
.elementor-button:hover { background-color: var(--red-2); }
.elementor-editor-active .reveal { opacity: 1; transform: none; }
.announce-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; color: #f4ead9; letter-spacing: .03em; margin-bottom: 1em; }
.announce-title span { display: block; margin-top: 8px; font-family: var(--f-ui); font-weight: 700; font-size: .95rem; letter-spacing: .28em; text-transform: uppercase; color: var(--red-2); }

/* ==========================================================================
   Native Elementor layouts (click-to-edit). Classes are set in each
   element's Advanced → CSS Classes. Anything changed in Elementor's
   Style tab overrides these defaults.
   ========================================================================== */
.elementor .elementor-heading-title { font-family: inherit; }
[class*="hippies-"].elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Sections */
.hippies-section { position: relative; }
.hippies-section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hippies-section--narrow > .e-con-inner { max-width: 900px; }

/* Section heading */
.hippies-eyebrow .elementor-heading-title { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .28em; font-size: .85rem; line-height: 1.4; color: var(--red-2); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.hippies-eyebrow .elementor-heading-title::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.hippies-title .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; color: #f4ead9; }
.hippies-sec-head__text { width: auto !important; max-width: 100%; }
.hippies-more .elementor-button { background: transparent; padding: 6px 0; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .95rem; color: var(--muted); border-radius: 0; }
.hippies-more .elementor-button:hover { color: var(--bronze-2); background: transparent; }
.hippies-more .elementor-button-text::after { content: " →"; }

/* Buttons */
.hippies-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px; font-family: var(--f-ui); font-weight: 700; font-size: 1rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--red); border-radius: 0; clip-path: var(--cut); transition: background .15s, transform .15s; }
.hippies-btn .elementor-button:hover, .hippies-btn .elementor-button:focus { color: #fff; background: var(--red-2); transform: translateY(-1px); }
.hippies-btn--discord .elementor-button { background: #4a54c9; }
.hippies-btn--discord .elementor-button:hover, .hippies-btn--discord .elementor-button:focus { background: #5865f2; }
.hippies-btn--discord .elementor-button-text::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 10px; vertical-align: -4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.3 4.4A19.6 19.6 0 0 0 15.4 3l-.6 1.3a18.2 18.2 0 0 0-5.6 0L8.6 3a19.5 19.5 0 0 0-4.9 1.5C.6 9.1-.3 13.6.1 18.1a19.8 19.8 0 0 0 6 3l1.3-2a12.8 12.8 0 0 1-2-1l.5-.4a14.1 14.1 0 0 0 12.2 0l.5.4a12.7 12.7 0 0 1-2 1l1.3 2a19.7 19.7 0 0 0 6-3c.5-5.2-.9-9.7-3.6-13.7ZM8 15.4c-1.2 0-2.2-1.1-2.2-2.4S6.8 10.6 8 10.6s2.2 1.1 2.2 2.4-1 2.4-2.2 2.4Zm8 0c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.3 4.4A19.6 19.6 0 0 0 15.4 3l-.6 1.3a18.2 18.2 0 0 0-5.6 0L8.6 3a19.5 19.5 0 0 0-4.9 1.5C.6 9.1-.3 13.6.1 18.1a19.8 19.8 0 0 0 6 3l1.3-2a12.8 12.8 0 0 1-2-1l.5-.4a14.1 14.1 0 0 0 12.2 0l.5.4a12.7 12.7 0 0 1-2 1l1.3 2a19.7 19.7 0 0 0 6-3c.5-5.2-.9-9.7-3.6-13.7ZM8 15.4c-1.2 0-2.2-1.1-2.2-2.4S6.8 10.6 8 10.6s2.2 1.1 2.2 2.4-1 2.4-2.2 2.4Zm8 0c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hippies-btn--ghost .elementor-button { background: transparent; box-shadow: inset 0 0 0 2px var(--line-2); color: var(--text); }
.hippies-btn--ghost .elementor-button:hover, .hippies-btn--ghost .elementor-button:focus { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 2px var(--bronze); color: var(--bronze-2); }

/* Hero */
.hippies-hero { --overflow: hidden; overflow: hidden; clip-path: var(--jag); isolation: isolate;
	background:
		radial-gradient(ellipse 60% 70% at 70% 45%, rgba(216, 38, 43, .35), transparent 65%),
		radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 146, 63, .14), transparent 70%),
		linear-gradient(180deg, #1c0f0c 0%, #0d0b0a 100%);
	background-size: cover; background-position: center; }
.hippies-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='%230a0807' d='M0 220V150l60-30 50 22 70-70 40 30 60-56 80 74 50-26 90 60 70-90 50 40 60-30 80 70 60-48 70 52 80-96 60 56 50-20 80 64 60-36 70 40 40-20v148Z'/%3E%3C/svg%3E") bottom / 100% 34% no-repeat,
		linear-gradient(90deg, rgba(10, 8, 7, .85) 0%, rgba(10, 8, 7, .45) 55%, rgba(10, 8, 7, .15) 100%),
		linear-gradient(0deg, rgba(10, 8, 7, .85), transparent 45%); }
/* Keep the inner box unpositioned so the background video covers the full hero */
.hippies-hero > .e-con-inner { position: static; }
.hippies-hero > .e-con-inner > .e-con, .hippies-hero > .e-con-inner > .elementor-widget { position: relative; z-index: 2; }
.hippies-hero .elementor-background-video-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hippies-hero .hero__embers { z-index: 1; }
.hippies-kicker .elementor-heading-title { font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .3em; font-size: .9rem; line-height: 1.4; color: var(--bronze-2); }
.hippies-kicker .elementor-heading-title::before { content: "⚔  "; color: var(--red-2); }
.hippies-hero-title .elementor-heading-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.4rem, 12vw, 8.5rem); line-height: .9; letter-spacing: .04em; text-transform: uppercase;
	background: linear-gradient(180deg, #fff3e0 0%, #e8c99a 55%, #a7713a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 0 rgba(94, 11, 14, .9)) drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); padding-bottom: 6px; }
.hippies-tagline .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.55rem); line-height: 1.3; color: var(--text); }
.hippies-lead { color: var(--muted); font-size: 1.08rem; max-width: 580px; }
.hippies-emblem img { width: min(100%, 360px); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 60px rgba(216, 38, 43, .25)); animation: float 7s ease-in-out infinite; }
@media (max-width: 1024px) {
	.e-con.hippies-hero__text { --text-align: center; text-align: center; --align-items: center; align-items: center; }
	.hippies-hero__text .elementor-widget { width: 100%; }
	.hippies-hero__text .hippies-actions { justify-content: center; }
	.hippies-lead { margin-left: auto; margin-right: auto; }
	.hippies-emblem img { width: 190px; }
	.hippies-kicker .elementor-heading-title::before { content: none; }
}
@media (max-width: 767px) {
	.hippies-kicker .elementor-heading-title { letter-spacing: .22em; }
	.hippies-hero .hippies-btn, .hippies-hero .hippies-btn .elementor-button { width: 100%; }
}

/* Stats */
.hippies-stats { position: relative; z-index: 5; }
.hippies-stats__grid { background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.hippies-stat { border-right: 1px solid var(--line); }
.hippies-stat:last-child { border-right: 0; }
.hippies-stat-value .elementor-heading-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.1; color: #fff; }
.hippies-stat--red .hippies-stat-value .elementor-heading-title { color: var(--red-2); }
.hippies-stat-label .elementor-heading-title { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; line-height: 1.4; color: var(--muted); font-weight: 600; }
@media (max-width: 767px) {
	.hippies-stat:nth-child(2) { border-right: 0; }
	.hippies-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Values + schedule */
.hippies-value { position: relative; background: var(--panel); border: 1px solid var(--line); }
.hippies-value::before { content: ""; position: absolute; left: 22px; top: 24px; width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 12px rgba(216, 38, 43, .5); }
.hippies-value-title .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: #f4ead9; }
.hippies-value-text { color: var(--muted); font-size: .97rem; }
.hippies-schedule { background: var(--panel); border: 1px solid var(--line); align-self: center; }
.hippies-schedule-head { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.hippies-schedule-head .elementor-heading-title { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--bronze-2); }
.hippies-schedule-row { border-bottom: 1px solid var(--line); }
.hippies-day { min-width: 110px; }
.hippies-day .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: #fff; }
.hippies-schedule-row > .hippies-what { flex: 1 1 auto; --container-widget-flex-grow: 1; }
.hippies-what .elementor-heading-title { font-family: var(--f-body); font-size: 1rem; line-height: 1.4; color: var(--muted); font-weight: 400; }
.hippies-time .elementor-heading-title { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; line-height: 1.4; padding: 3px 9px; border: 1px solid currentColor; color: var(--bronze-2); white-space: nowrap; }
.hippies-schedule-note { padding: 14px 22px; color: var(--muted); font-size: .9rem; }
@media (max-width: 480px) { .hippies-day { min-width: 84px; } .hippies-schedule-row { --padding-left: 16px; --padding-right: 16px; } }

/* Notes */
.hippies-note { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--bronze); background: rgba(201, 146, 63, .06); color: var(--text); }

/* CTA band */
.hippies-cta { --overflow: hidden; overflow: hidden; background: linear-gradient(100deg, var(--red-deep) 0%, #2a0a0b 45%, #120c0a 100%); border-top: 1px solid #6e1215; border-bottom: 1px solid #6e1215; }
.hippies-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 14px); pointer-events: none; }
.hippies-cta > .e-con-inner { position: relative; }
.hippies-cta-title .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; text-transform: uppercase; color: #f4ead9; }
.hippies-cta-text { color: #e7c9bd; }
@media (max-width: 600px) { .hippies-cta .hippies-actions, .hippies-cta .hippies-btn, .hippies-cta .hippies-btn .elementor-button { width: 100%; } }

/* Inner-page banner */
.hippies-banner { --overflow: hidden; overflow: hidden; clip-path: var(--jag); background: radial-gradient(ellipse 70% 90% at 80% 0%, rgba(179, 23, 28, .3), transparent 60%), linear-gradient(180deg, #1a100d, #0d0b0a); }
.hippies-banner::after { content: ""; position: absolute; right: 0; top: 50%; width: 300px; height: 390px; transform: translateY(-50%); opacity: .06; pointer-events: none; background: url("assets/img/emblem.svg") left center / 340px auto no-repeat; }
.hippies-banner > .e-con-inner { position: relative; z-index: 1; }
.hippies-banner-title .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; color: #f4ead9; }
.hippies-banner-sub { color: var(--muted); font-family: var(--f-ui); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; }

/* Long text (rules / announcement) */
.hippies-announce .elementor-heading-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: .03em; color: #f4ead9; }
.hippies-rich-title { margin-top: 26px; }
.hippies-rich-title .elementor-heading-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; color: #f4ead9; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hippies-rich { font-size: 1.08rem; color: var(--text); }
.hippies-rich ul, .hippies-rich ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.hippies-rich li { margin-bottom: .4em; }
.hippies-rich ul li::marker { color: var(--red-2); }
.hippies-rich blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--red); background: var(--panel); font-family: var(--f-display); font-size: 1.15rem; color: #f4ead9; }
.hippies-rich blockquote p { margin: 0; }
.hippies-rich strong { color: #fff; }
.hippies-cta .hippies-actions { --width: auto; width: auto; }
.hippies-sec-head .hippies-more { --container-widget-width: auto; width: auto; }
.hero__embers { overflow: hidden; }

.roster li .class-ico { width: 22px; height: 22px; flex: none; }

/* Hero background video */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -1; }
.hippies-hero .elementor-background-video-container { z-index: 0; }
.hippies-hero .elementor-background-video-container video.elementor-background-video-hosted { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; transform: none !important; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 1024px) {
	/* Text sits over the crest on narrow screens: darken a bit more */
	.hippies-hero::after { background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='%230a0807' d='M0 220V150l60-30 50 22 70-70 40 30 60-56 80 74 50-26 90 60 70-90 50 40 60-30 80 70 60-48 70 52 80-96 60 56 50-20 80 64 60-36 70 40 40-20v148Z'/%3E%3C/svg%3E") bottom / 100% 30% no-repeat,
		linear-gradient(180deg, rgba(10, 8, 7, .35) 0%, rgba(10, 8, 7, .7) 45%, rgba(10, 8, 7, .9) 100%); }
	.hippies-hero .elementor-background-video-container video.elementor-background-video-hosted, .hero__video { object-position: 100% 22%; }
}
@media (max-width: 767px) {
	.hippies-hero .elementor-background-video-container video.elementor-background-video-hosted, .hero__video { object-position: 82% 18%; }
}

/* Round guild badge in the header/footer/menu */
.brand__mark .brand-logo { border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 4px 14px rgba(0, 0, 0, .55), 0 0 14px rgba(216, 38, 43, .25); }
/* Header: name only */
.brand > span:last-child { display: flex; align-items: center; }

/* ==========================================================================
   Roster page
   ========================================================================== */
.rs-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 18px 22px; margin-bottom: 18px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.rs-summary__title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: #f4ead9; flex: 1 1 100%; }
.rs-summary__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .88rem; color: var(--muted); font-weight: 600; }
.rs-summary__meta span { display: inline-flex; align-items: center; gap: 7px; }
.rs-summary__meta svg { width: 16px; height: 16px; color: var(--iron); }
.rs-total { color: var(--bronze-2); }
.rs-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-count { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; padding: 4px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.rs-count b { color: #fff; font-size: .95rem; margin-right: 2px; }

.rs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rs-col { background: var(--panel); border: 1px solid var(--line); position: relative; }
.rs-col::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rc, var(--red)); }
.rs-col--tank { --rc: #c69b6d; }
.rs-col--melee { --rc: #d8262b; }
.rs-col--ranged { --rc: #c9923f; }
.rs-col--healer { --rc: #5fae4e; }
.rs-col__head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: .95rem; color: #f4ead9; border-bottom: 1px solid var(--line); }
.rs-col__head b { margin-left: auto; font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0; color: var(--rc, var(--bronze-2)); }
.rs-role-ico { width: 10px; height: 10px; background: var(--rc, var(--red)); transform: rotate(45deg); box-shadow: 0 0 10px var(--rc, var(--red)); flex: none; }
.rs-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.rs-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--bg-2); border: 1px solid transparent; min-width: 0; transition: border-color .15s, background .15s; }
.rs-row:hover { border-color: var(--line-2); background: #191411; }
.rs-ico { width: 22px; height: 22px; flex: none; border-radius: 3px; }
.rs-ico--none { display: inline-block; background: var(--line); }
.rs-num { flex: none; min-width: 24px; padding: 1px 5px; text-align: center; font-family: var(--f-ui); font-weight: 700; font-size: .78rem; color: var(--muted); background: #0d0a09; border: 1px solid var(--line); }
.rs-name { font-weight: 600; color: var(--c, var(--text)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rs-empty { padding: 14px 16px; margin: 0; color: var(--muted); font-size: .92rem; }
.rs-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.rs-extra { background: var(--panel); border: 1px solid var(--line); }
.rs-extra .rs-row { opacity: .8; }
.rs-list--inline { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rs-foot { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.rs-foot a { font-family: var(--f-ui); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-left: 6px; }
@media (max-width: 1100px) { .rs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.rs-grid { grid-template-columns: 1fr; }
	.rs-summary { padding: 14px 16px; }
	.rs-list:not(.rs-list--inline) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rs-row { padding: 5px 6px; gap: 6px; }
	.rs-num { min-width: 20px; padding: 1px 3px; }
}
