/* =============================================================================
   MZE Child — custom-styles.css
   -----------------------------------------------------------------------------
   Light header, navy + orange accents, full-bleed sections on the front page.
   CSS custom properties (--mze-*) come from functions.php.
   ============================================================================= */

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
html, body {
	background-color: #fff;
	color: var(--mze-text);
	font-family: var(--mze-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;     /* guard against full-bleed sections on Windows */
}

a {
	color: var(--mze-navy);
	transition: color .2s ease;
}
a:hover, a:focus {
	color: var(--mze-orange);
}

h1, h2, h3, h4 {
	color: var(--mze-navy);
	font-weight: 700;
	letter-spacing: -.01em;
}

/* -------------------------------------------------------------------------
   Header — slim, white, with subtle shadow
   ------------------------------------------------------------------------- */
.site-header,
.ast-primary-header-bar,
.main-header-bar {
	background-color: #fff !important;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
	border-bottom: none;
}

/* Trim Astra's vertical padding */
.ast-primary-header-bar {
	padding-top: .5rem !important;
	padding-bottom: .5rem !important;
}

/* Brand: logo + long site name (.site-description holds the full title) */
.site-header .ast-site-identity {
	display: flex;
	align-items: center;
	gap: .9rem;
}
.site-header .custom-logo {
	max-height: 76px;
	width: auto;
	background: transparent;
	padding: 0;
}
@media (max-width: 600px) {
	.site-header .custom-logo {
		max-height: 56px;
	}
}
.site-header .site-title {
	display: none !important;
}
.mze-brand {
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	text-decoration: none;
}
.mze-brand .custom-logo-link {
	display: inline-flex;
	line-height: 0;
}
.mze-brand__name {
	color: var(--mze-navy);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	max-width: 22ch;
}
@media (max-width: 768px) {
	.mze-brand__name {
		display: none;
	}
}

/* Nav links */
.main-header-menu a,
.main-navigation a {
	color: var(--mze-navy) !important;
	font-weight: 500;
	font-size: .98rem;
	padding: .5rem .9rem !important;
}
.main-header-menu li.current-menu-item > a,
.main-navigation li.current-menu-item > a {
	color: var(--mze-orange) !important;
}
.main-header-menu a:hover,
.main-navigation a:hover {
	color: var(--mze-orange) !important;
}

/* -------------------------------------------------------------------------
   Language switcher — pill toggle in the header
   ------------------------------------------------------------------------- */
.mze-lang-menu-item {
	margin-left: 1rem;
	display: flex;
	align-items: center;
}
.mze-lang-menu-item::before { content: none; }

.mze-lang-switcher {
	display: inline-flex;
	align-items: stretch;
	background: var(--mze-bg-light);
	border: 1px solid var(--mze-border);
	border-radius: 999px;
	padding: 3px;
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .06em;
	white-space: nowrap;
	line-height: 1;
}
.mze-lang {
	color: var(--mze-muted) !important;
	text-decoration: none !important;
	padding: .45rem .9rem;
	border-radius: 999px;
	line-height: 1;
	min-width: 2.6em;
	text-align: center;
	display: inline-block;
	transition: background .15s ease, color .15s ease;
}
.mze-lang.is-current {
	background: var(--mze-navy);
	color: #fff !important;
}
.mze-lang:hover:not(.is-current) {
	color: var(--mze-navy) !important;
	background: rgba(26,58,108,.08);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.mze-btn,
.wp-block-button__link,
.elementor-button,
.ast-button,
button[type="submit"] {
	display: inline-block;
	padding: .85rem 1.75rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 1rem;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.2;
	transition: background-color .2s ease, color .2s ease,
	            border-color .2s ease, transform .15s ease,
	            box-shadow .2s ease;
}

.mze-btn--primary,
.wp-block-button__link,
.elementor-button,
.ast-button,
button[type="submit"] {
	background-color: var(--mze-orange);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(245,166,35,.35);
}
.mze-btn--primary:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
.ast-button:hover,
button[type="submit"]:hover {
	background-color: var(--mze-orange-d);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(245,166,35,.45);
}

.mze-btn--outline-light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255,255,255,.6);
}
.mze-btn--outline-light:hover {
	background: rgba(255,255,255,.12);
	border-color: #fff;
}

.mze-btn--ghost {
	background: transparent;
	color: var(--mze-navy) !important;
	border-color: var(--mze-navy);
	box-shadow: none;
}
.mze-btn--ghost:hover {
	background: var(--mze-navy);
	color: #fff !important;
}

/* =============================================================================
   FRONT PAGE
   ============================================================================= */
.mze-front {
	margin: 0;
}

/* Shared section wrapper */
.mze-section {
	padding: 5.5rem 1.5rem;
}
.mze-section__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.mze-kicker {
	display: inline-block;
	color: var(--mze-orange);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	margin-bottom: .75rem;
}

.mze-section h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin: 0 0 1.5rem;
	line-height: 1.2;
}

/* ---- Hero (full-bleed) ---- */
.mze-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: linear-gradient(135deg, var(--mze-navy) 0%, var(--mze-navy-dark) 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	/* Banner, not a splash screen: ~60% of the viewport, capped so tall
	   monitors don't push the content below the fold. */
	min-height: clamp(420px, 60vh, 620px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5rem 1.5rem;
	text-align: center;
	overflow: hidden;
}
.mze-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(18,42,82,.65) 0%, rgba(18,42,82,.85) 100%);
}
.mze-hero:not(.mze-hero--has-image) .mze-hero__overlay {
	background:
		radial-gradient(circle at 25% 30%, rgba(245,166,35,.25), transparent 50%),
		radial-gradient(circle at 75% 70%, rgba(245,166,35,.15), transparent 50%);
}
.mze-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 880px;
	margin: 0 auto;
}
.mze-hero__title {
	color: #fff;
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 1.25rem;
	text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.mze-hero__tagline {
	color: rgba(255,255,255,.92);
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	margin: 0 auto 2.25rem;
	max-width: 720px;
}
.mze-hero__ctas {
	display: inline-flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

/* ---- Intro: two-column with photo ---- */
.mze-intro {
	background: #fff;
}
.mze-intro__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 3.5rem;
	align-items: center;
	margin-bottom: 4rem;
}
.mze-intro__text p {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--mze-text);
	margin: 0 0 1rem;
}
.mze-intro__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(26,58,108,.18);
	display: block;
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* ---- Stat cards ---- */
.mze-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}
.mze-stat {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	text-align: left;
	transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.mze-stat:hover {
	border-color: var(--mze-orange);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(26,58,108,.08);
}
.mze-stat__num {
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--mze-navy);
	line-height: 1;
	margin-bottom: .35rem;
}
.mze-stat__label {
	color: var(--mze-muted);
	font-size: .9rem;
	font-weight: 500;
}

/* ---- News grid ---- */
.mze-news {
	background: var(--mze-bg-light);
}
.mze-news__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0 2.5rem;
}
.mze-news__card {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-radius: 10px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	display: flex;
	flex-direction: column;
}
.mze-news__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(26,58,108,.12);
	border-color: var(--mze-orange);
}
.mze-news__thumb {
	display: block;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #f0f0f0;
}
.mze-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.mze-news__card:hover .mze-news__thumb img {
	transform: scale(1.04);
}
.mze-news__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}
.mze-news__date {
	font-size: .78rem;
	color: var(--mze-muted);
	text-transform: uppercase;
	letter-spacing: .1em;
}
.mze-news__title {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
}
.mze-news__title a {
	color: var(--mze-navy);
	text-decoration: none;
}
.mze-news__title a:hover {
	color: var(--mze-orange);
}
.mze-news__excerpt {
	font-size: .95rem;
	color: var(--mze-muted);
	margin: 0;
	line-height: 1.55;
}
.mze-news__more {
	text-align: center;
	margin: 0;
}

/* ---- CTA strip ---- */
.mze-cta {
	background: linear-gradient(135deg, var(--mze-navy) 0%, var(--mze-navy-dark) 100%);
	color: #fff;
	padding: 4rem 1.5rem;
	text-align: center;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	position: relative;
}
.mze-cta__inner {
	max-width: 720px;
	margin: 0 auto;
}
.mze-cta h2 {
	color: #fff;
	font-size: 1.9rem;
	margin: 0 0 .5rem;
}
.mze-cta p {
	color: rgba(255,255,255,.85);
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
}

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */
.mze-about-page .mze-lead {
	font-size: 1.2rem;
	line-height: 1.7;
	color: var(--mze-text);
	margin: 0 0 2.5rem;
	max-width: 820px;
}

.mze-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
	margin: 0 0 3rem;
}
.mze-info-card {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-left: 4px solid var(--mze-orange);
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	transition: transform .15s ease, box-shadow .2s ease;
}
.mze-info-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(26,58,108,.08);
}
.mze-info-card h3 {
	color: var(--mze-navy);
	font-size: 1.15rem;
	margin: 0 0 .65rem;
}
.mze-info-card p {
	color: var(--mze-text);
	font-size: .95rem;
	line-height: 1.6;
	margin: 0;
}

.mze-bullets {
	padding-left: 1.25rem;
	line-height: 1.75;
}
.mze-bullets li::marker {
	color: var(--mze-orange);
}

/* =============================================================================
   BYLAWS PAGE
   ============================================================================= */
.mze-bylaws-page .mze-lead {
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--mze-text);
	margin: 0 0 1.75rem;
}

.mze-bylaws-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	background: var(--mze-bg-light);
	border: 1px solid var(--mze-border);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 0 0 2.5rem;
}
.mze-bylaws-meta__item {
	color: var(--mze-muted);
	font-size: .92rem;
}
.mze-bylaws-meta strong {
	color: var(--mze-navy);
	font-weight: 600;
	margin-right: .35rem;
}
.mze-bylaws-meta .mze-btn {
	margin-left: auto;
}

.mze-toc {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-radius: 8px;
	padding: 1.25rem 1.75rem 1.25rem 2.5rem;
	margin: 0 0 2.5rem;
	line-height: 1.85;
}
.mze-toc li::marker {
	color: var(--mze-orange);
	font-weight: 600;
}
.mze-toc a {
	text-decoration: none;
}

.mze-bylaws-page article {
	border-top: 1px solid var(--mze-border);
	padding-top: 1.5rem;
	margin-top: 1.5rem;
	scroll-margin-top: 100px;   /* offset for sticky header anchor jumps */
}
.mze-bylaws-page article h2 {
	color: var(--mze-navy);
	font-size: 1.3rem;
	margin: 0 0 .65rem;
}
.mze-bylaws-page article p {
	color: var(--mze-text);
	line-height: 1.7;
}
.mze-muted-note {
	color: var(--mze-muted);
	font-size: .92rem;
	font-style: italic;
	margin-top: 1.25rem;
}

/* =============================================================================
   ACTIVITIES PAGE  (Активности / Activities)
   ============================================================================= */
.mze-activities-page .mze-lead {
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--mze-text);
	margin: 0 0 2rem;
	max-width: 820px;
}

.mze-events {
	display: grid;
	gap: 1.5rem;
}

.mze-event {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-left: 4px solid var(--mze-orange);
	border-radius: 10px;
	padding: 1.75rem 2rem;
	transition: transform .15s ease, box-shadow .2s ease;
}
.mze-event:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(26,58,108,.08);
}

.mze-event__badge {
	display: inline-block;
	background: var(--mze-orange);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: .25rem .65rem;
	border-radius: 999px;
	margin-bottom: .85rem;
}

.mze-event__title {
	color: var(--mze-navy);
	font-size: 1.4rem;
	margin: 0 0 .85rem;
	line-height: 1.3;
}

.mze-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0 0 .85rem;
	color: var(--mze-muted);
	font-size: .92rem;
}
.mze-event__meta-item em {
	font-style: normal;
	color: var(--mze-text);
	font-weight: 500;
}

.mze-event__desc {
	color: var(--mze-text);
	line-height: 1.65;
	margin: 0;
}

/* =============================================================================
   BOARDS PAGE  (Членови на одбори / Boards)
   ============================================================================= */
.mze-boards {
	display: grid;
	gap: 3.5rem;
	margin: 1.5rem 0 3rem;
}

.mze-board-row {
	background: #fff;
	border: 1px solid var(--mze-border);
	border-radius: 12px;
	padding: 2rem 2rem 2.25rem;
	box-shadow: 0 4px 16px rgba(26,58,108,.04);
}

.mze-board-row__title {
	color: var(--mze-navy);
	font-size: 1.5rem;
	margin: 0 0 1.25rem;
	padding-bottom: .65rem;
	border-bottom: 2px solid var(--mze-orange);
	display: inline-block;
}

.mze-board-row__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}

.mze-board-card {
	background: var(--mze-bg-light);
	border: 1px solid var(--mze-border);
	border-radius: 10px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .35rem;
	transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.mze-board-card:hover {
	border-color: var(--mze-orange);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(26,58,108,.08);
}

.mze-board-card__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--mze-navy) 0%, var(--mze-navy-dark) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.4rem;
	margin-bottom: .35rem;
}
.mze-board-card__name {
	font-weight: 600;
	color: var(--mze-navy);
	font-size: 1rem;
}
.mze-board-card__role {
	color: var(--mze-muted);
	font-size: .85rem;
}

/* Astra dropdown polish for the nested "Boards" item */
.main-header-menu .sub-menu,
.main-navigation .sub-menu {
	background: #fff !important;
	box-shadow: 0 8px 24px rgba(26,58,108,.12);
	border-radius: 8px;
	border: 1px solid var(--mze-border);
	padding: .5rem 0;
	min-width: 220px;
}
.main-header-menu .sub-menu a,
.main-navigation .sub-menu a {
	color: var(--mze-navy) !important;
	padding: .55rem 1rem !important;
	font-size: .95rem;
}
.main-header-menu .sub-menu a:hover,
.main-navigation .sub-menu a:hover {
	background: var(--mze-bg-light);
	color: var(--mze-orange) !important;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer,
.ast-footer-overlay {
	background-color: var(--mze-navy-dark);
	color: rgba(255,255,255,.85);
}
.site-footer a {
	color: var(--mze-orange);
}
.site-footer a:hover {
	color: #fff;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 920px) {
	.mze-intro__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 720px) {
	.mze-section { padding: 3.5rem 1.25rem; }
	.mze-hero    { min-height: 0; padding: 4.5rem 1.25rem; }
	.mze-hero__title   { font-size: 1.9rem; }
	.mze-hero__tagline { font-size: 1rem; }
	.mze-hero__ctas    { flex-direction: column; align-items: stretch; }
	.mze-hero__ctas .mze-btn { text-align: center; }
	.mze-stat__num     { font-size: 2rem; }
	.site-header .site-description { display: none; }
	.mze-lang-menu-item { margin-left: .5rem; }
}

