/*
Theme Name: Goal Partner Worldwide
Theme URI: https://goalpartnerworldwide.com
Author: Goal Partner Worldwide
Description: Custom corporate theme for the Goal Partner Worldwide freight forwarder network. Structured like a global logistics-network site (member directory, events, news) and designed to pair with Ultimate Member and The Events Calendar + Event Tickets.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goalpartner
Tags: corporate, one-column, custom-logo, custom-menu, featured-images
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--sea: #0f51b7;
	--deep: #0a3d8f;
	--navy: #071c3d;
	--rose: #c74280;
	--ink: #122442;
	--muted: #5a6b85;
	--mist: #f2f6fc;
	--line: #dce5f3;
	--paper: #ffffff;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(10, 35, 80, 0.08);
	--shadow-lg: 0 18px 44px rgba(10, 35, 80, 0.14);
	--font-sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
	--wrap: 1160px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--deep); }

h1, h2, h3, h4 {
	font-family: var(--font-sans);
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 0.6em;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

:focus-visible {
	outline: 3px solid var(--rose);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute; word-wrap: normal;
}
.screen-reader-text:focus {
	background: var(--paper); color: var(--sea); clip: auto; clip-path: none;
	display: block; font-size: 0.9rem; font-weight: 700; height: auto;
	left: 8px; top: 8px; line-height: normal; padding: 14px 20px; width: auto;
	z-index: 100000; box-shadow: var(--shadow-lg);
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* Kicker — mono eyebrow used across the site */
.kicker {
	font-family: var(--font-mono);
	font-size: 0.76rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rose);
	display: block;
	margin-bottom: 12px;
}

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
	display: inline-block;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	padding: 15px 26px;
	border-radius: var(--radius-sm);
	border: 2px solid var(--sea);
	background: var(--sea);
	color: #fff;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; transform: translateY(-1px); }

.btn-light {
	background: #fff;
	border-color: #fff;
	color: var(--deep);
}
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--deep); }

.btn-ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* =========================================================
   4. Top bar + header
   ========================================================= */
.topbar {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.82rem;
}
.topbar .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.topbar-actions .signin { font-weight: 600; padding: 6px 4px; }
.topbar-actions .btn { border-width: 0; padding: 8px 16px; font-size: 0.8rem; border-radius: 6px; background: var(--rose); }
.topbar-actions .btn:hover { background: #a93069; transform: none; }

.site-header {
	background: var(--paper);
	position: sticky;
	top: 0;
	z-index: 900;
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 35, 80, 0.1); }
.admin-bar .site-header { top: 32px; }

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand img { max-height: 52px; width: auto; }
.site-brand .brand-text {
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	color: var(--ink);
	line-height: 1.1;
}
.site-brand .brand-text em { font-style: normal; color: var(--sea); }
.site-brand .brand-text .dot { color: var(--rose); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a {
	display: block;
	padding: 12px 14px;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	border-radius: 6px;
}
.site-nav a:hover { color: var(--sea); background: var(--mist); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--sea); }

/* dropdowns */
.site-nav ul ul {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 220px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	display: none;
	flex-direction: column;
	z-index: 950;
}
.site-nav li:hover > ul,
.site-nav li:focus-within > ul { display: flex; }
.site-nav ul ul a { padding: 10px 12px; font-weight: 500; }

.nav-toggle {
	display: none;
	background: none;
	border: 2px solid var(--line);
	border-radius: 8px;
	padding: 9px 12px;
	cursor: pointer;
	color: var(--ink);
	font-weight: 700;
	font-size: 0.9rem;
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 70%, var(--sea) 130%);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 28, 61, 0.68) 0%, rgba(7, 28, 61, 0.82) 100%);
}
.hero .wrap {
	position: relative;
	padding-top: clamp(72px, 11vw, 140px);
	padding-bottom: clamp(72px, 11vw, 140px);
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.hero .kicker { color: #ffd9ec; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p.lead {
	font-size: clamp(1.02rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.88);
	max-width: 640px;
	margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Port call strip — signature element */
.portstrip {
	background: var(--navy);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.4);
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	padding: 12px 0;
	text-align: center;
}
.portstrip--light {
	background: var(--mist);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: rgba(18, 36, 66, 0.38);
}

/* =========================================================
   6. Stats band
   ========================================================= */
.stats { background: var(--deep); color: #fff; }
.stats .wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 44px;
	padding-bottom: 44px;
}
.stat { text-align: center; }
.stat-num {
	display: block;
	font-weight: 800;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	letter-spacing: -0.02em;
	line-height: 1;
	margin-bottom: 8px;
}
.stat-label {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.66);
}

/* =========================================================
   7. Sections (generic)
   ========================================================= */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--mist { background: var(--mist); }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }
.section-head .more {
	font-weight: 700;
	font-size: 0.92rem;
	white-space: nowrap;
}
.section-head .more::after { content: " \2192"; }

/* =========================================================
   8. Find-a-member band
   ========================================================= */
.findmember {
	background: var(--mist);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.findmember .wrap {
	padding-top: 48px;
	padding-bottom: 48px;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.findmember h2 { margin-bottom: 8px; }
.findmember p { margin: 0; color: var(--muted); }
.findmember form { display: flex; gap: 10px; }
.findmember input[type="search"],
.findmember input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 14px 18px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 1rem;
	background: var(--paper);
	color: var(--ink);
}
.findmember input:focus { border-color: var(--sea); outline: none; }

/* =========================================================
   9. Feature cards
   ========================================================= */
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.feature {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 28px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature .feature-code {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	color: var(--sea);
	text-transform: uppercase;
	display: block;
	margin-bottom: 14px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* =========================================================
   10. Event cards
   ========================================================= */
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.event-date {
	flex: 0 0 auto;
	background: var(--sea);
	color: #fff;
	border-radius: var(--radius-sm);
	text-align: center;
	padding: 10px 14px;
	min-width: 72px;
}
.event-date .d { display: block; font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.event-date .m {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 2px;
}
.event-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.event-card h3 a { color: var(--ink); }
.event-card h3 a:hover { color: var(--sea); }
.event-card .venue {
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--muted);
	letter-spacing: 0.04em;
	margin: 0;
}
.event-empty {
	grid-column: 1 / -1;
	border: 2px dashed var(--line);
	border-radius: var(--radius);
	padding: 36px;
	text-align: center;
	color: var(--muted);
}

/* =========================================================
   11. Post cards (news)
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--empty {
	background: linear-gradient(135deg, var(--deep), var(--sea));
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.24em;
}
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-date {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.card h3 { font-size: 1.08rem; margin: 0; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--sea); }
.card .excerpt { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* =========================================================
   12. Join CTA band
   ========================================================= */
.joincta {
	background: linear-gradient(120deg, var(--deep) 0%, var(--sea) 100%);
	color: #fff;
	text-align: center;
}
.joincta .wrap { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); max-width: 760px; }
.joincta h2 { color: #fff; }
.joincta p { color: rgba(255, 255, 255, 0.88); margin: 0 auto 28px; max-width: 560px; }

/* =========================================================
   13. Inner pages
   ========================================================= */
.page-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 100%);
	color: #fff;
}
.page-hero .wrap { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-hero h1 { color: #fff; margin-bottom: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.page-hero .kicker { color: #ffd9ec; }

.content-area { padding: clamp(48px, 7vw, 80px) 0; }
.entry {
	max-width: 780px;
	margin: 0 auto;
	font-size: 1.05rem;
}
.entry p { margin: 0 0 1.3em; }
.entry h2 { margin-top: 1.8em; }
.entry h3 { margin-top: 1.5em; }
.entry ul, .entry ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.entry img { border-radius: var(--radius-sm); }
.entry blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--sea);
	color: var(--muted);
	font-size: 1.02em;
}
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.95rem; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry th { background: var(--mist); }
.entry .featured { margin-bottom: 2em; }
.entry .featured img { width: 100%; border-radius: var(--radius); }

.entry-meta {
	font-family: var(--font-mono);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	margin-top: 12px;
}
.entry-meta a { color: #ffd9ec; }

.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.alignwide, .alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
	font-size: 0.82rem;
	color: var(--muted);
	text-align: center;
	margin-top: 6px;
}

.post-nav {
	max-width: 780px;
	margin: 48px auto 0;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--line);
	padding-top: 24px;
	font-weight: 600;
	font-size: 0.92rem;
}

/* Archive grids + pagination */
.archive-grid { padding: clamp(48px, 7vw, 80px) 0; }
.pagination, .navigation.pagination { margin-top: 44px; text-align: center; }
.page-numbers {
	display: inline-block;
	padding: 10px 16px;
	margin: 0 3px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-weight: 600;
	color: var(--ink);
	background: var(--paper);
}
.page-numbers.current { background: var(--sea); border-color: var(--sea); color: #fff; }
a.page-numbers:hover { border-color: var(--sea); color: var(--sea); }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }

/* Search form (generic) */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form .search-field {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 1rem;
}
.search-form .search-field:focus { border-color: var(--sea); outline: none; }

/* =========================================================
   14. Footer
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); font-size: 0.94rem; }
.footer-cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 40px;
	padding: 64px 0 48px;
}
.site-footer h4 {
	color: #fff;
	font-size: 0.82rem;
	font-family: var(--font-mono);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom: 18px;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand {
	font-weight: 800;
	font-size: 1.2rem;
	color: #fff;
	letter-spacing: -0.02em;
	display: inline-block;
	margin-bottom: 14px;
}
.footer-brand .dot { color: var(--rose); }
.footer-about { margin: 0 0 18px; }
.footer-contact { font-family: var(--font-mono); font-size: 0.8rem; line-height: 2; }
.subfooter {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}
.subfooter .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   15. Plugin-friendly widths (Ultimate Member / Events Calendar)
   ========================================================= */
.tribe-events-view,
.tribe-common,
.um { font-family: var(--font-sans); }
.entry .um { max-width: none; }
.page-template .entry.entry--wide,
.entry.entry--wide { max-width: 1040px; }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 960px) {
	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 12px 24px 20px;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav ul ul {
		position: static;
		display: block;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 16px;
	}
	.nav-toggle { display: inline-block; }
	.stats .wrap { grid-template-columns: repeat(2, 1fr); }
	.features, .event-list, .card-grid { grid-template-columns: 1fr 1fr; }
	.findmember .wrap { grid-template-columns: 1fr; gap: 22px; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.features, .event-list, .card-grid { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr; padding-top: 48px; }
	.topbar-contact { display: none; }
	.hero-actions .btn { width: 100%; text-align: center; }
	.findmember form { flex-direction: column; }
	.findmember .btn { width: 100%; }
}

/* =========================================================
   17. Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================
   18. Member Directory (Ultimate Member) — wcaworld-style
   Search panel + filter dropdowns + member cards, styled
   to the Goal Partner brand. Selectors cover UM 2.x markup.
   ========================================================= */
.um { opacity: 1 !important; max-width: none !important; }
.um a { color: var(--sea); }
.um a:hover { color: var(--deep); }

/* --- Search & filter panel --- */
.um .um-directory-header { margin-bottom: 8px; }
.um .um-search {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 22px 18px;
	box-shadow: var(--shadow);
	margin-bottom: 10px;
}
.um .um-search-filter { padding: 0 8px 10px 0; }
.um input[type="text"],
.um input[type="search"],
.um input[type="password"],
.um input[type="email"],
.um textarea,
.um select {
	height: 46px;
	border: 1px solid var(--line) !important;
	border-radius: 10px !important;
	padding: 0 14px;
	font-family: var(--font-sans) !important;
	font-size: 15px;
	color: var(--ink);
	background: var(--paper) !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.um textarea { height: auto; padding: 12px 14px; }
.um input:focus,
.um textarea:focus,
.um select:focus {
	border-color: var(--sea) !important;
	box-shadow: 0 0 0 3px rgba(15, 81, 183, 0.14) !important;
	outline: none;
}

/* UM renders dropdown filters through select2 */
.um .select2-container .select2-selection--single,
.um .select2-container .select2-selection--multiple {
	height: 46px;
	border: 1px solid var(--line) !important;
	border-radius: 10px !important;
	background: var(--paper);
}
.um .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding-left: 14px;
	color: var(--ink);
	font-family: var(--font-sans);
}
.um .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.select2-dropdown {
	border: 1px solid var(--line) !important;
	border-radius: 10px !important;
	box-shadow: var(--shadow-lg);
	font-family: var(--font-sans);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--sea) !important; }

/* --- Buttons --- */
.um .um-button,
.um a.um-button,
.um input[type="submit"].um-button,
.um .um-modal .um-button {
	background: var(--sea) !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-family: var(--font-sans) !important;
	font-weight: 700;
	letter-spacing: 0.01em;
	box-shadow: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}
.um .um-button:hover,
.um a.um-button:hover { background: var(--deep) !important; transform: translateY(-1px); }
.um a.um-alt-button {
	border-radius: 10px !important;
	background: var(--mist) !important;
	color: var(--ink) !important;
	border: 1px solid var(--line) !important;
}
.um a.um-alt-button:hover { background: #e6eefb !important; }

/* --- Results meta line ("1 member found" ฯลฯ) --- */
.um .um-members-intro, .um .um-members-none {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 14px 0 6px;
}

/* --- Member cards --- */
.um .um-members-wrapper { margin-top: 14px; }
.um .um-member {
	background: var(--paper);
	border: 1px solid var(--line) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	overflow: hidden;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.um .um-member:hover {
	box-shadow: var(--shadow-lg) !important;
	border-color: rgba(15, 81, 183, 0.35) !important;
	transform: translateY(-3px);
}
.um .um-member-photo { background: var(--mist); }
.um .um-member-photo img { border-radius: 50%; }
.um .um-member-name,
.um .um-member-name a {
	font-family: var(--font-sans) !important;
	font-weight: 800 !important;
	color: var(--navy) !important;
	letter-spacing: -0.01em;
}
.um .um-member-name a:hover { color: var(--sea) !important; }
.um .um-member-tagline {
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--sea);
}
.um .um-member-meta { border-top: 1px solid var(--line); }
.um .um-member-meta-main { color: var(--muted); font-size: 14px; }
.um .um-member-more a, .um .um-member-less a { color: var(--sea); }

/* --- Pagination --- */
.um .um-members-pagination a,
.um .um-members-pagidrop select {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-family: var(--font-sans);
}
.um .um-members-pagination a.current,
.um .um-members-pagination a:hover {
	background: var(--sea);
	border-color: var(--sea);
	color: #fff;
}

/* --- UM profile / account forms inherit brand type --- */
.um .um-field-label label { font-family: var(--font-sans); font-weight: 700; color: var(--navy); }
.um .um-tab a { font-family: var(--font-sans); }

@media (max-width: 640px) {
	.um .um-search { padding: 16px 16px 12px; }
}

/* =========================================================
   19. Events & Gallery page (page-events.php)
   Upcoming / Previous tabs + month-year grouped event cards.
   ========================================================= */
.evlist { padding: clamp(36px, 5vw, 64px) 24px clamp(56px, 7vw, 96px); }
.evintro { max-width: 720px; margin-bottom: 28px; }

.evtabs { display: flex; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); }
.evtab {
	appearance: none;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 12px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.evtab:hover { border-color: var(--sea); color: var(--sea); }
.evtab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.evtab-count {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(15, 81, 183, 0.12);
	color: var(--sea);
	font-size: 11px;
}
.evtab.is-active .evtab-count { background: rgba(255, 255, 255, 0.18); color: #fff; }

.evtab-panel { display: none; }
.evtab-panel.is-active { display: block; }

.evgroup-title {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
	letter-spacing: 0.04em;
	color: var(--navy);
	margin: clamp(30px, 4vw, 46px) 0 18px;
}
.evgroup-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.evgroup-items { display: grid; gap: 18px; }

.evcard {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 24px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.evcard:hover {
	box-shadow: var(--shadow-lg);
	border-color: rgba(15, 81, 183, 0.35);
	transform: translateY(-2px);
}
.evthumb { display: block; min-height: 190px; background: var(--mist); position: relative; }
.evthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evthumb--empty {
	background: linear-gradient(135deg, var(--deep), var(--sea));
	display: flex;
	align-items: center;
	justify-content: center;
}
.evthumb-year {
	font-family: var(--font-mono);
	font-size: 2rem;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.85);
}
.evcard-body { padding: 20px 24px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.evcard-date {
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sea);
	margin: 0;
}
.evcard-title { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0; }
.evcard-title a { color: var(--navy); text-decoration: none; }
.evcard-title a:hover { color: var(--sea); }
.evcard-place {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 0.92rem;
	margin: 0;
}
.evpin { color: var(--rose); flex: none; }
.evcard-text { color: var(--muted); font-size: 0.95rem; margin: 0; }
.evcard-actions { margin: 6px 0 0; }

.btn-rose { background: var(--rose); border-color: var(--rose); }
.btn-rose:hover { background: #a93069; border-color: #a93069; }
.btn-outline { background: var(--paper); border-color: var(--line); color: var(--navy); }
.btn-outline:hover { background: var(--mist); border-color: var(--sea); color: var(--sea); }

@media (max-width: 700px) {
	.evcard { grid-template-columns: 1fr; }
	.evthumb { min-height: 170px; }
	.evcard-body { padding: 0 20px 20px; }
	.evtabs { flex-wrap: wrap; }
}
