/* ==========================================================================
   ALPTK Luxe — main stylesheet
   ========================================================================== */

:root {
	--lx-emerald: #1b2f7a;
	--lx-emerald-dark: #11205a;
	--lx-emerald-deep: #0a1440;
	--lx-gold: #e89b13;
	--lx-gold-light: #f6c35a;
	--lx-gold-soft: rgba(232, 155, 19, .13);
	--lx-teal: #05bfa5;
	--lx-blue: #0a5fd6;
	--lx-cream: #f6f4ee;
	--lx-paper: #fffdf8;
	--lx-ink: #1a2033;
	--lx-muted: #5b6478;
	--lx-line: #e3e3ea;
	--lx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--lx-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--lx-radius: 18px;
	--lx-shadow: 0 24px 60px -28px rgba(10, 20, 64, .35);
	--lx-ease: cubic-bezier(.22, .8, .24, 1);
	--lx-header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--lx-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--lx-ink);
	background: var(--lx-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--lx-emerald); text-decoration: none; transition: color .25s var(--lx-ease); }
a:hover { color: var(--lx-gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--lx-serif); font-weight: 600; line-height: 1.15; color: var(--lx-emerald-dark); margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--lx-gold); color: var(--lx-emerald-deep); }

.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: 1000; top: 10px; left: 10px;
	padding: 12px 18px; background: var(--lx-gold); color: var(--lx-emerald-deep); border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 3px; }

.lx-container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.lx-container--narrow { width: min(860px, 100% - 48px); }
.lx-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Buttons & small elements ---------- */
.lx-btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 15px 28px; border-radius: 999px;
	font-weight: 600; font-size: .95rem; letter-spacing: .02em;
	border: 1px solid transparent;
	transition: transform .35s var(--lx-ease), box-shadow .35s var(--lx-ease), background .35s, color .35s, border-color .35s;
}
.lx-btn .lx-icon { transition: transform .35s var(--lx-ease); }
.lx-btn:hover { transform: translateY(-2px); }
.lx-btn:hover .lx-icon { transform: translateX(4px); }
.lx-btn--gold {
	background: linear-gradient(135deg, var(--lx-gold-light), var(--lx-gold) 55%, #c27c06);
	color: var(--lx-emerald-deep);
	box-shadow: 0 14px 30px -14px rgba(232, 155, 19, .8);
}
.lx-btn--gold:hover { color: var(--lx-emerald-deep); box-shadow: 0 20px 40px -14px rgba(232, 155, 19, .9); }
.lx-btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.lx-btn--ghost:hover { border-color: var(--lx-gold); color: var(--lx-gold-light); }
.lx-btn--emerald { background: var(--lx-emerald); color: #fff; }
.lx-btn--emerald:hover { background: var(--lx-emerald-dark); color: var(--lx-gold-light); }

.lx-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--lx-sans); font-size: .78rem; font-weight: 700;
	letter-spacing: .24em; text-transform: uppercase; color: var(--lx-gold);
	margin-bottom: 18px;
}
.lx-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lx-eyebrow--light { color: var(--lx-gold-light); }

.lx-heading { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); letter-spacing: -.01em; }
.lx-heading em, .lx-hero__title em { font-style: italic; color: var(--lx-gold); }
.lx-heading--light { color: #fff; }
.lx-lead { font-size: 1.08rem; color: var(--lx-muted); }
.lx-divider { display: block; width: 80px; height: 10px; margin: 6px auto 0;
	background:
		radial-gradient(circle, var(--lx-gold) 3px, transparent 3.5px) center / 10px 10px no-repeat,
		linear-gradient(var(--lx-gold), var(--lx-gold)) left center / 32px 1px no-repeat,
		linear-gradient(var(--lx-gold), var(--lx-gold)) right center / 32px 1px no-repeat;
}
.lx-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; color: var(--lx-emerald); }
.lx-link .lx-icon { transition: transform .3s var(--lx-ease); }
.lx-link:hover .lx-icon { transform: translateX(4px); }

/* Islamic geometric pattern (SVG data URI) */
.lx-hero__pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .09;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f6c35a' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Cpath d='M40 16l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M0 0l14 14M80 0L66 14M0 80l14-14M80 80L66 66'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 80px 80px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}

/* ---------- Topbar ---------- */
.lx-topbar { background: var(--lx-emerald-deep); color: rgba(255, 255, 255, .7); font-size: .78rem; letter-spacing: .02em; }
.lx-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.lx-topbar__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-topbar__menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.lx-topbar__menu a { color: rgba(255, 255, 255, .75); }
.lx-topbar__menu a:hover { color: var(--lx-gold-light); }

/* ---------- Header ---------- */
.lx-header {
	position: relative; z-index: 100;
	background: rgba(255, 255, 255, .98);
	border-bottom: 1px solid var(--lx-line);
	transition: box-shadow .35s, background .35s;
}
.lx-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--lx-emerald), var(--lx-blue) 35%, var(--lx-teal) 60%, var(--lx-gold)); opacity: .9; }
.has-sticky-header .lx-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .lx-header { top: 32px; }
.lx-header.is-scrolled { box-shadow: 0 12px 40px -18px rgba(10, 20, 64, .35); }
.lx-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--lx-header-h); }

.lx-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lx-brand .custom-logo, .lx-brand .lx-logo { max-height: 58px; width: auto; }
.lx-logo-link { display: block; flex-shrink: 0; }
.lx-brand__text { display: flex; flex-direction: column; line-height: 1.15; padding-left: 14px; border-left: 1px solid var(--lx-line); }
.lx-brand__name { font-family: var(--lx-sans); font-size: 1.45rem; font-weight: 700; color: #22398f; letter-spacing: .04em; }
.lx-brand__name span { color: var(--lx-gold); }
.lx-brand__tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-muted); margin-top: 3px; }
.lx-brand__text:hover .lx-brand__name { color: var(--lx-emerald-dark); }

/* Primary nav (desktop) */
.lx-nav { margin-left: auto; }
.lx-nav ul { list-style: none; margin: 0; padding: 0; }
.lx-nav > ul { display: flex; align-items: center; gap: 2px; }
.lx-nav li { position: relative; }
.lx-nav > ul > li > a {
	display: block; padding: 10px 13px;
	font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--lx-emerald-dark);
	position: relative;
}
.lx-nav > ul > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px;
	background: var(--lx-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lx-ease);
}
.lx-nav > ul > li:hover > a, .lx-nav > ul > li.current-menu-item > a, .lx-nav > ul > li.current-menu-ancestor > a { color: #c27c06; }
.lx-nav > ul > li:hover > a::after, .lx-nav > ul > li.current-menu-item > a::after, .lx-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.lx-nav .menu-item-has-children > a { padding-right: 24px; }
.lx-nav > ul > .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 10px; top: 50%; width: 5px; height: 5px; margin-top: -4px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7;
}
.lx-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px;
	background: var(--lx-paper); border-radius: 14px;
	border-top: 2px solid var(--lx-gold);
	box-shadow: 0 30px 60px -20px rgba(10, 20, 64, .45);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s, transform .35s var(--lx-ease), visibility .3s;
}
.lx-nav .sub-menu .sub-menu { top: -10px; left: 100%; margin-left: 6px; }
.lx-nav li:hover > .sub-menu, .lx-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lx-nav .sub-menu a {
	display: block; padding: 9px 14px; border-radius: 8px;
	font-size: .88rem; font-weight: 500; color: var(--lx-ink);
}
.lx-nav .sub-menu a:hover { background: var(--lx-gold-soft); color: var(--lx-emerald); padding-left: 18px; }
.lx-nav .sub-menu .menu-item-has-children > a::after {
	content: "›"; position: absolute; right: 14px; color: var(--lx-gold); font-size: 1.1rem; line-height: 1.2;
}
.lx-nav .sub-menu li:nth-last-child(-n+1) .sub-menu { top: auto; bottom: -10px; }
/* long submenus scroll */
.lx-nav > ul > li > .sub-menu { max-height: calc(100vh - 160px); overflow-y: auto; }
.lx-nav > ul > li > .sub-menu:has(.sub-menu) { overflow: visible; max-height: none; }
.submenu-toggle { display: none; }

.lx-header__actions { display: flex; align-items: center; gap: 8px; }
.lx-search-toggle, .lx-burger {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: transparent; border: 1px solid var(--lx-line); color: var(--lx-emerald);
	transition: background .3s, color .3s, border-color .3s;
}
.lx-search-toggle:hover, .lx-burger:hover { background: var(--lx-emerald); border-color: var(--lx-emerald); color: #fff; }
.lx-burger { display: none; gap: 4px; align-content: center; }
.lx-burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.lx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.lx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.lx-search-panel { padding: 22px 0; background: var(--lx-cream); border-top: 1px solid var(--lx-line); }

/* Search form */
.lx-searchform { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 6px; border: 1px solid var(--lx-line); max-width: 640px; margin-inline: auto; }
.lx-searchform__input { flex: 1; border: 0; background: transparent; padding: 10px 18px; font: inherit; color: var(--lx-ink); outline: none; min-width: 0; }
.lx-searchform__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lx-emerald); color: var(--lx-gold-light); }
.lx-searchform__btn:hover { background: var(--lx-gold); color: var(--lx-emerald-deep); }

/* ---------- Hero ---------- */
.lx-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(80px, 10vw, 140px) 0 0;
	color: #fff;
	background:
		radial-gradient(1200px 600px at 85% 10%, rgba(232, 155, 19, .18), transparent 60%),
		radial-gradient(900px 500px at 0% 100%, rgba(5, 191, 165, .28), transparent 60%),
		linear-gradient(160deg, var(--lx-emerald) 0%, var(--lx-emerald-dark) 55%, var(--lx-emerald-deep) 100%);
}
.lx-hero__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .22; filter: grayscale(.3); }
.lx-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 20, 64, .92) 30%, rgba(10, 20, 64, .4)); }
.lx-hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; position: relative; }
.lx-hero__title { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); color: #fff; font-weight: 600; letter-spacing: -.015em; line-height: 1.04; margin-bottom: 26px; }
.lx-hero__title em { display: block; color: transparent; background: linear-gradient(100deg, var(--lx-gold-light), var(--lx-gold) 60%, #ffe2a3); -webkit-background-clip: text; background-clip: text; }
.lx-hero__text { font-size: 1.1rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 36px; }
.lx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lx-hero__emblem { display: flex; justify-content: center; }
.lx-emblem { width: min(380px, 100%); aspect-ratio: 1; color: var(--lx-gold-light); position: relative; }
.lx-emblem::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(232, 155, 19, .25), transparent 70%); filter: blur(10px); }
.lx-emblem svg { position: relative; width: 100%; height: 100%; animation: lx-spin 60s linear infinite; }
.lx-emblem__disc {
	position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff, #f3f1ea);
	box-shadow: 0 0 0 6px rgba(232, 155, 19, .25), 0 0 0 1px var(--lx-gold) inset, 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.lx-emblem__disc img, .lx-emblem__disc .custom-logo { width: 68%; height: auto; }
@keyframes lx-spin { to { transform: rotate(360deg); } }

/* Stats */
.lx-stats {
	position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(60px, 8vw, 100px);
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(232, 155, 19, .25);
	border-bottom: 0; border-radius: var(--lx-radius) var(--lx-radius) 0 0; backdrop-filter: blur(8px);
}
.lx-stat { padding: 34px 28px; text-align: center; position: relative; }
.lx-stat + .lx-stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(232, 155, 19, .3); }
.lx-stat__num { display: block; font-family: var(--lx-serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--lx-gold-light); }
.lx-stat__label { display: block; margin-top: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* ---------- Sections ---------- */
.lx-section { padding: clamp(80px, 9vw, 130px) 0; }
.lx-section--tight { padding: clamp(50px, 6vw, 80px) 0; }
.lx-section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.lx-section__head--split { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.lx-section__head--split .lx-heading { margin-bottom: 0; }

/* About */
.lx-about { background: var(--lx-cream); position: relative; }
.lx-about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.lx-about__media { position: relative; }
.lx-frame { position: relative; border-radius: 200px 200px var(--lx-radius) var(--lx-radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--lx-shadow); }
.lx-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(232, 207, 138, .7); border-radius: 190px 190px 10px 10px; pointer-events: none; }
.lx-frame img { width: 100%; height: 100%; object-fit: cover; }
.lx-frame__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, #eef1f8); position: relative; }
.lx-frame__placeholder img { position: relative; width: 66%; height: auto; }
.lx-frame:has(.lx-frame__placeholder)::after { border-color: rgba(232, 155, 19, .6); }
.lx-frame__placeholder::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d9dfee' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px; }
.lx-about__badge {
	position: absolute; right: -24px; bottom: 40px; display: flex; align-items: center; gap: 14px;
	padding: 20px 26px; border-radius: 16px; background: var(--lx-paper); box-shadow: var(--lx-shadow);
	border-left: 3px solid var(--lx-gold); max-width: 270px;
}
.lx-about__badge strong { font-family: var(--lx-serif); font-size: 2.8rem; line-height: 1; color: var(--lx-emerald); }
.lx-about__badge span { font-size: .82rem; line-height: 1.4; color: var(--lx-muted); }
.lx-checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.lx-checks li { position: relative; padding-left: 32px; font-weight: 500; font-size: .95rem; }
.lx-checks li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--lx-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c27c06' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Programs */
.lx-programs { position: relative; background: linear-gradient(170deg, var(--lx-emerald-dark), var(--lx-emerald-deep)); overflow: hidden; }
.lx-programs::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%; border: 1px solid rgba(232, 155, 19, .15); box-shadow: 0 0 0 80px rgba(232, 155, 19, .03), 0 0 0 160px rgba(232, 155, 19, .02); }
.lx-cards { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lx-card {
	position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; border-radius: var(--lx-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
	border: 1px solid rgba(232, 155, 19, .18); color: rgba(255, 255, 255, .72);
	overflow: hidden; transition: transform .5s var(--lx-ease), border-color .4s, background .4s;
}
.lx-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lx-gold), transparent); transform: scaleX(0); transition: transform .5s var(--lx-ease); }
.lx-card:hover { transform: translateY(-8px); border-color: rgba(232, 155, 19, .5); background: linear-gradient(180deg, rgba(232, 155, 19, .12), rgba(255, 255, 255, .02)); color: rgba(255, 255, 255, .82); }
.lx-card:hover::after { transform: scaleX(1); }
.lx-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--lx-serif); font-size: 1.1rem; font-style: italic; color: rgba(232, 155, 19, .5); }
.lx-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 26px; color: var(--lx-emerald-deep); background: linear-gradient(135deg, var(--lx-gold-light), var(--lx-gold)); box-shadow: 0 12px 26px -12px rgba(232, 155, 19, .7); }
.lx-card__icon .lx-icon { width: 26px; height: 26px; }
.lx-card__title { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
.lx-card__text { font-size: .9rem; line-height: 1.65; margin-bottom: 20px; }
.lx-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lx-gold-light); }

/* News / posts */
.lx-news { background: var(--lx-paper); }
.lx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lx-post { display: flex; flex-direction: column; background: #fff; border-radius: var(--lx-radius); overflow: hidden; border: 1px solid var(--lx-line); transition: transform .45s var(--lx-ease), box-shadow .45s; }
.lx-post:hover { transform: translateY(-6px); box-shadow: var(--lx-shadow); }
.lx-post__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lx-cream); }
.lx-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--lx-ease); }
.lx-post:hover .lx-post__thumb img { transform: scale(1.06); }
.lx-post__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--lx-gold); background: linear-gradient(135deg, var(--lx-cream), #e9edf7); }
.lx-post__ph .lx-icon { width: 46px; height: 46px; opacity: .6; }
.lx-post__body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.lx-post__title { font-size: 1.45rem; line-height: 1.2; margin-bottom: 12px; }
.lx-post__title a { color: var(--lx-emerald-dark); background: linear-gradient(var(--lx-gold), var(--lx-gold)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--lx-ease), color .3s; }
.lx-post__title a:hover { background-size: 100% 1px; color: var(--lx-emerald); }
.lx-post__excerpt { color: var(--lx-muted); font-size: .93rem; margin-bottom: 18px; }
.lx-post__body .lx-link { margin-top: auto; }
.lx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lx-muted); }
.lx-meta .meta-cat a { padding: 4px 10px; border-radius: 999px; background: var(--lx-gold-soft); color: #9a5f00; }
.lx-meta .meta-cat a:hover { background: var(--lx-gold); color: var(--lx-emerald-deep); }
.lx-meta--light { justify-content: center; color: rgba(255, 255, 255, .7); margin: 0; }
.lx-meta--light .meta-cat a { color: var(--lx-gold-light); background: rgba(232, 155, 19, .18); }

/* Featured first post on home */
@media (min-width: 1000px) {
	.lx-news .lx-post--featured { grid-column: span 2; grid-row: span 2; }
	.lx-news .lx-post--featured .lx-post__thumb { aspect-ratio: 16 / 9; }
	.lx-news .lx-post--featured .lx-post__title { font-size: 2.1rem; }
	.lx-news .lx-posts { grid-template-columns: repeat(3, 1fr); }
	.lx-news .lx-post:not(.lx-post--featured) .lx-post__thumb { aspect-ratio: 16 / 8; }
	.lx-news .lx-post:not(.lx-post--featured) .lx-post__excerpt { display: none; }
}

/* CTA */
.lx-cta { padding: 0 0 clamp(80px, 9vw, 120px); background: var(--lx-paper); }
.lx-cta__box {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: clamp(40px, 5vw, 70px); border-radius: 28px; color: rgba(255, 255, 255, .8);
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(232, 155, 19, .35), transparent 60%),
		linear-gradient(135deg, var(--lx-emerald), var(--lx-emerald-deep));
	box-shadow: var(--lx-shadow);
}
.lx-cta__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232, 155, 19, .3); border-radius: 20px; pointer-events: none; }
.lx-cta__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); color: #fff; margin-bottom: 10px; }
.lx-cta__box p { margin: 0; max-width: 620px; }
.lx-cta__box .lx-btn { flex-shrink: 0; position: relative; }

/* ---------- Inner page hero ---------- */
.lx-pagehero {
	position: relative; overflow: hidden; text-align: center; color: #fff;
	padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
	background:
		radial-gradient(900px 400px at 80% 0%, rgba(232, 155, 19, .2), transparent 60%),
		linear-gradient(160deg, var(--lx-emerald), var(--lx-emerald-deep));
}
.lx-pagehero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 180px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--lx-gold), transparent); }
.lx-pagehero__inner { position: relative; }
.lx-pagehero__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.8rem); color: #fff; max-width: 960px; margin: 0 auto 16px; }
.lx-pagehero__title em { color: var(--lx-gold-light); }
.lx-pagehero__sub { color: rgba(255, 255, 255, .75); max-width: 720px; margin-inline: auto; }
.lx-pagehero__sub p:last-child { margin: 0; }
.lx-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.lx-crumbs a { color: var(--lx-gold-light); }
.lx-crumbs a:hover { color: #fff; }
.lx-crumbs .current { color: rgba(255, 255, 255, .75); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Layout with sidebar ---------- */
.lx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.no-sidebar .lx-layout { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.lx-posts--list { grid-template-columns: repeat(2, 1fr); }
.no-sidebar .lx-posts--list { grid-template-columns: repeat(2, 1fr); }

.lx-sidebar { position: sticky; top: 170px; display: grid; gap: 26px; }
.widget { background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 28px; }
.widget-title { font-size: 1.4rem; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--lx-gold); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 9px 0; border-bottom: 1px dashed var(--lx-line); font-size: .93rem; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--lx-ink); }
.widget li a:hover { color: var(--lx-emerald); }
.widget img { border-radius: 10px; height: auto; }
.widget .lx-searchform { max-width: none; background: var(--lx-cream); }

/* ---------- Article / entry content ---------- */
.lx-article__thumb { margin: 0 0 36px; border-radius: var(--lx-radius); overflow: hidden; box-shadow: var(--lx-shadow); }
.lx-article__thumb img { width: 100%; }
.lx-entry-content { font-size: 1.05rem; line-height: 1.85; }
.lx-entry-content > * + * { margin-top: 0; }
.lx-entry-content h2 { font-size: 2.1rem; margin-top: 1.4em; }
.lx-entry-content h3 { font-size: 1.65rem; margin-top: 1.3em; }
.lx-entry-content h4 { font-size: 1.3rem; margin-top: 1.2em; }
.lx-entry-content a:not(.wp-block-button__link):not(.elementor-button) { text-decoration: underline; text-decoration-color: var(--lx-gold); text-underline-offset: 3px; }
.lx-entry-content ul, .lx-entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.lx-entry-content li { margin-bottom: .4em; }
.lx-entry-content li::marker { color: var(--lx-gold); }
.lx-entry-content blockquote, .wp-block-quote {
	margin: 2em 0; padding: 28px 32px; border-left: 3px solid var(--lx-gold); background: var(--lx-cream);
	border-radius: 0 var(--lx-radius) var(--lx-radius) 0; font-family: var(--lx-serif); font-size: 1.45rem; line-height: 1.5; color: var(--lx-emerald-dark);
}
.lx-entry-content img { border-radius: 12px; height: auto; }
.lx-entry-content figure { margin: 2em 0; }
.lx-entry-content figcaption { font-size: .85rem; color: var(--lx-muted); text-align: center; margin-top: 10px; }
.lx-entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--lx-line); }
.lx-entry-content th { background: var(--lx-emerald); color: #fff; font-weight: 600; text-align: left; }
.lx-entry-content th, .lx-entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--lx-line); }
.lx-entry-content tr:nth-child(even) td { background: var(--lx-cream); }
.lx-entry-content iframe { max-width: 100%; border-radius: 12px; }
.lx-entry-content .wp-block-button__link { background: var(--lx-emerald); color: #fff; border-radius: 999px; padding: 14px 28px; }
.lx-entry-content .wp-block-button__link:hover { background: var(--lx-gold); color: var(--lx-emerald-deep); }
.alignwide { margin-inline: calc(-1 * min(80px, 5vw)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.wp-caption { max-width: 100%; }

.lx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.lx-tags a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--lx-line); font-size: .82rem; color: var(--lx-muted); }
.lx-tags a:hover { border-color: var(--lx-gold); color: var(--lx-emerald); }
.lx-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0; padding: 18px 0; border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); font-size: .88rem; }
.lx-share span { font-weight: 600; margin-right: 6px; }
.lx-share a { padding: 6px 14px; border-radius: 999px; background: var(--lx-cream); color: var(--lx-emerald); font-weight: 600; }
.lx-share a:hover { background: var(--lx-emerald); color: var(--lx-gold-light); }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; height: 100%; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--lx-line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.post-navigation a:hover { border-color: var(--lx-gold); box-shadow: var(--lx-shadow); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lx-gold); font-weight: 700; margin-bottom: 6px; }
.post-navigation .nav-title { font-family: var(--lx-serif); font-size: 1.2rem; font-weight: 600; color: var(--lx-emerald-dark); line-height: 1.3; }

/* Pagination */
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--lx-line); background: #fff; font-weight: 600; color: var(--lx-ink); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--lx-emerald); border-color: var(--lx-emerald); color: var(--lx-gold-light); }

/* Comments */
.lx-comments { margin-top: 50px; }
.lx-comments__title { font-size: 1.8rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 22px; border-radius: 14px; border: 1px solid var(--lx-line); margin-bottom: 16px; background: #fff; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 14px; }
.comment-metadata { font-size: .8rem; color: var(--lx-muted); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--lx-line); border-radius: 12px; font: inherit; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--lx-gold); box-shadow: 0 0 0 4px var(--lx-gold-soft); }
.comment-form .submit, input[type="submit"] { padding: 14px 30px; border: 0; border-radius: 999px; background: var(--lx-emerald); color: #fff; font-weight: 600; cursor: pointer; }
.comment-form .submit:hover { background: var(--lx-gold); color: var(--lx-emerald-deep); }

.lx-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); }

/* 404 */
.lx-404 { position: relative; overflow: hidden; text-align: center; color: rgba(255, 255, 255, .75); padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(160deg, var(--lx-emerald), var(--lx-emerald-deep)); }
.lx-404__inner { position: relative; display: grid; justify-items: center; gap: 10px; }
.lx-404__code { font-family: var(--lx-serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; margin: 0; color: transparent; background: linear-gradient(120deg, var(--lx-gold-light), var(--lx-gold)); -webkit-background-clip: text; background-clip: text; }
.lx-404 .lx-searchform { width: min(520px, 100%); margin: 16px auto 20px; }

/* Elementor pages */
.lx-elementor-page { min-height: 30vh; }

/* ---------- Footer ---------- */
.lx-footer { position: relative; background: var(--lx-emerald-deep); color: rgba(255, 255, 255, .65); font-size: .93rem; }
.lx-footer__ornament { height: 4px; background: linear-gradient(90deg, var(--lx-blue), var(--lx-teal), var(--lx-gold-light), var(--lx-gold)); }
.lx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 50px; padding: 80px 0 60px; }
.lx-footer__logo { display: inline-block; padding: 18px 22px; margin-bottom: 24px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(232, 155, 19, .4), 0 0 0 6px rgba(255, 255, 255, .04); }
.lx-footer__logo img { width: 150px; height: auto; display: block; }
.lx-footer .widget { background: transparent; border: 0; padding: 0; }
.lx-footer .widget-title, .lx-footer h3 { color: #fff; font-size: 1.35rem; margin-bottom: 22px; padding-bottom: 12px; position: relative; }
.lx-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--lx-gold); }
.lx-footer a { color: rgba(255, 255, 255, .72); }
.lx-footer a:hover { color: var(--lx-gold-light); }
.lx-footer ul { list-style: none; padding: 0; margin: 0; }
.lx-footer .widget li { border-color: rgba(255, 255, 255, .08); }
.lx-footer__menu li { padding: 6px 0; }
.lx-footer__menu a::before { content: "— "; color: var(--lx-gold); }
.lx-footer__posts li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lx-footer__posts li:last-child { border: 0; }
.lx-footer__posts a { display: block; line-height: 1.45; font-weight: 500; }
.lx-footer__posts span { display: block; margin-top: 4px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lx-gold); }
.lx-contact li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.lx-contact .lx-icon { color: var(--lx-gold); margin-top: 4px; }
.lx-hint { font-size: .82rem; font-style: italic; opacity: .7; }
.lx-social { display: flex; gap: 10px; margin-top: 20px; }
.lx-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(232, 155, 19, .35); color: var(--lx-gold-light); }
.lx-social a:hover { background: var(--lx-gold); color: var(--lx-emerald-deep); }
.lx-footer__bottom { border-top: 1px solid rgba(232, 155, 19, .18); }
.lx-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: .82rem; }
.lx-footer__bottom p { margin: 0; }
.lx-totop { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lx-gold); color: var(--lx-emerald-deep) !important; font-weight: 700; }
.lx-totop:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.js .lx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--lx-ease), transform .9s var(--lx-ease); }
.js .lx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .lx-reveal { opacity: 1; transform: none; }
}

/* Two-row header on desktop: brand row + centred menu row */
@media (min-width: 1141px) {
	.lx-header__inner { flex-wrap: wrap; row-gap: 0; min-height: 0; padding-top: 14px; }
	.lx-brand { min-height: 64px; }
	.lx-header__actions { margin-left: auto; }
	.lx-nav { order: 3; width: 100%; margin: 12px 0 0; border-top: 1px solid var(--lx-line); }
	.lx-nav > ul { justify-content: center; flex-wrap: wrap; }
	.lx-nav > ul > li > a { padding-block: 16px; white-space: nowrap; }
	.lx-nav > ul > li > a::after { bottom: 8px; }
	.lx-nav > ul > li:first-child > .sub-menu, .lx-nav > ul > li:nth-child(2) > .sub-menu { left: 0; }
	.lx-nav > ul > li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
	.lx-nav > ul > li:nth-last-child(-n+3) .sub-menu .sub-menu { left: auto; right: 100%; margin: 0 6px 0 0; }
	.lx-header.is-scrolled .lx-brand { min-height: 52px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) and (min-width: 1141px) {
	.lx-nav > ul > li > a { padding-inline: 9px; font-size: .74rem; letter-spacing: .07em; }
	.lx-nav > ul > li > a::after { left: 9px; right: 9px; }
	.lx-nav .menu-item-has-children > a { padding-right: 20px; }
	.lx-nav > ul > .menu-item-has-children > a::before { right: 7px; }
}

@media (max-width: 1140px) {
	:root { --lx-header-h: 74px; }
	.lx-burger { display: grid; }
	.lx-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 200;
		padding: 90px 24px 40px; overflow-y: auto;
		background: var(--lx-emerald-deep); border-left: 1px solid rgba(232, 155, 19, .3);
		transform: translateX(100%); transition: transform .45s var(--lx-ease);
	}
	.lx-nav.is-open { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .5); }
	.lx-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.lx-nav li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
	.lx-nav > ul > li > a, .lx-nav .sub-menu a { padding: 14px 48px 14px 4px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
	.lx-nav > ul > li > a::after, .lx-nav > ul > .menu-item-has-children > a::before, .lx-nav .sub-menu .menu-item-has-children > a::after { display: none; }
	.lx-nav .sub-menu, .lx-nav .sub-menu .sub-menu {
		position: static; min-width: 0; margin: 0; padding: 0 0 8px 14px; max-height: none;
		background: transparent; box-shadow: none; border: 0; border-radius: 0;
		opacity: 1; visibility: visible; transform: none; display: none; overflow: visible;
	}
	.lx-nav li.is-open > .sub-menu { display: block; }
	.lx-nav li:hover > .sub-menu { transform: none; }
	.lx-nav .sub-menu li { border-color: rgba(255, 255, 255, .05); }
	.lx-nav .sub-menu a { font-size: .86rem; padding-block: 10px; color: rgba(255, 255, 255, .7); }
	.lx-nav .sub-menu a:hover { background: transparent; color: var(--lx-gold-light); padding-left: 4px; }
	.submenu-toggle {
		display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px;
		border: 1px solid rgba(232, 155, 19, .3); border-radius: 50%; background: transparent; color: var(--lx-gold-light);
	}
	.submenu-toggle span { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s; }
	.submenu-toggle[aria-expanded="true"] span { transform: rotate(-135deg) translate(-2px, -2px); }
	.lx-nav .sub-menu .submenu-toggle { top: 2px; width: 34px; height: 34px; }
	.lx-header__actions { margin-left: auto; position: relative; z-index: 210; }
	.nav-open .lx-burger, .nav-open .lx-search-toggle { border-color: rgba(232, 155, 19, .45); color: var(--lx-gold-light); }
	.lx-brand__text { border-left: 0; padding-left: 0; }
	body.nav-open { overflow: hidden; }
	.nav-open .lx-header { z-index: 300; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 250; background: rgba(0, 0, 0, .5); }

	.lx-cards { grid-template-columns: repeat(2, 1fr); }
	.lx-footer__grid { grid-template-columns: 1fr 1fr; }
	.lx-layout { grid-template-columns: 1fr; }
	.lx-sidebar { position: static; }
}

@media (max-width: 900px) {
	.lx-hero__inner { grid-template-columns: 1fr; }
	.lx-hero__emblem { display: none; }
	.lx-stats { grid-template-columns: repeat(2, 1fr); }
	.lx-stat:nth-child(3)::before { display: none; }
	.lx-about__grid { grid-template-columns: 1fr; }
	.lx-about__media { max-width: 440px; margin-inline: auto; width: 100%; }
	.lx-about__badge { right: -6px; }
	.lx-posts, .lx-posts--list, .no-sidebar .lx-posts--list { grid-template-columns: repeat(2, 1fr); }
	.lx-cta__box { flex-direction: column; align-items: flex-start; }
	.lx-topbar__text { font-size: .72rem; }
	.lx-topbar__menu { display: none; }
}

@media (max-width: 640px) {
	.lx-container, .lx-container--narrow { width: calc(100% - 36px); }
	.lx-brand__name { font-size: 1.3rem; }
	.lx-brand__tag { display: none; }
	.lx-brand .custom-logo, .lx-brand .lx-logo { max-height: 44px; }
	.lx-brand { gap: 10px; }
	.lx-search-toggle, .lx-burger { width: 40px; height: 40px; }
	.lx-cards, .lx-posts, .lx-posts--list, .no-sidebar .lx-posts--list { grid-template-columns: 1fr; }
	.lx-checks { grid-template-columns: 1fr; }
	.lx-stat { padding: 24px 12px; }
	.lx-footer__grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 40px; }
	.lx-footer__bottom-inner { flex-direction: column-reverse; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.lx-hero__actions .lx-btn { width: 100%; justify-content: center; }
	.lx-topbar { display: none; }
	.admin-bar.has-sticky-header .lx-header { top: 0; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .lx-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar.has-sticky-header .lx-header { top: 0; }
}
