/* ==========================================================================
   Long March to Freedom — theme styles
   Brand colours and fonts are also registered as Elementor Global Colours
   and Global Fonts by the one-click setup. Anything set in Elementor's
   Style panel overrides these base styles.
   ========================================================================== */

/* Jost — self-hosted (SIL Open Font License) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); }

:root {
	--lmf-black: #0B0B0B;
	--lmf-bronze: #B78A55;
	--lmf-bronze-deep: #8C6535;   /* bronze for small text on light backgrounds (AA contrast) */
	--lmf-ivory: #F7F7F7;
	--lmf-stone: #B9B2AB;
	--lmf-white: #FFFFFF;
	--lmf-text: #1A1A1A;
	--lmf-muted: #5A554F;
	--lmf-line: #E2DED9;
	--lmf-font: "Jost", "Helvetica Neue", Arial, sans-serif;
	--lmf-container: 1240px;
	--lmf-gutter: clamp(16px, 4vw, 40px);
	--lmf-radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--lmf-white);
	color: var(--lmf-text);
	font-family: var(--lmf-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--lmf-bronze-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lmf-black); }
h1, h2, h3, h4, h5, h6 { font-family: var(--lmf-font); color: var(--lmf-black); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--lmf-bronze); outline-offset: 3px; }

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

.lmf-container { width: 100%; max-width: calc(var(--lmf-container) + var(--lmf-gutter) * 2); margin: 0 auto; padding-left: var(--lmf-gutter); padding-right: var(--lmf-gutter); }
.lmf-container--narrow { max-width: calc(820px + var(--lmf-gutter) * 2); }
.lmf-icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

/* ---------- Buttons & links ---------- */
.lmf-btn,
.lmf-btn-wrap .elementor-button,
.elementor-widget-button.lmf-btn-wrap .elementor-button {
	display: inline-flex; align-items: center; gap: .6em;
	background: var(--lmf-bronze); color: var(--lmf-black);
	font-family: var(--lmf-font); font-weight: 600; font-size: 16px; line-height: 1;
	padding: 14px 22px; border: 0; border-radius: var(--lmf-radius);
	text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.lmf-btn:hover, .lmf-btn:focus-visible,
.lmf-btn-wrap .elementor-button:hover, .lmf-btn-wrap .elementor-button:focus-visible {
	background: var(--lmf-black); color: var(--lmf-white);
}
.lmf-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--lmf-black); text-decoration: none; }
.lmf-link-arrow .lmf-icon { transition: transform .2s ease; }
.lmf-link-arrow:hover { color: var(--lmf-bronze-deep); }
.lmf-link-arrow:hover .lmf-icon { transform: translateX(4px); }

/* ---------- Built-in header (used until the Elementor Pro header is active) ---------- */
.lmf-utility { background: var(--lmf-black); color: var(--lmf-white); font-size: 14px; }
.lmf-utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.lmf-utility__contact { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.lmf-utility a { color: var(--lmf-white); text-decoration: none; }
.lmf-utility a:hover { color: var(--lmf-bronze); }
.lmf-utility__item { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.45); line-height: 1.1; }
.lmf-utility .lmf-ticker { max-width: 420px; }

.lmf-social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.lmf-social a { display: inline-flex; font-size: 18px; color: inherit; }

.lmf-mainbar { background: var(--lmf-white); border-bottom: 1px solid var(--lmf-line); position: relative; z-index: 50; }
.lmf-mainbar__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.lmf-logo--text {
	display: inline-flex; flex-direction: column; color: var(--lmf-black); text-decoration: none;
	text-transform: uppercase; letter-spacing: .18em; font-size: 19px; line-height: 1.15; font-weight: 500;
}
.lmf-logo--text:hover { color: var(--lmf-black); }
.lmf-logo--lg { font-size: 26px; }
.lmf-logo img { max-height: 64px; width: auto; }
.lmf-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.lmf-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.lmf-menu a { display: block; padding: 6px 0; color: var(--lmf-black); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent; }
.lmf-menu a:hover { color: var(--lmf-bronze-deep); }
.lmf-menu .current-menu-item > a, .lmf-menu .current_page_item > a { border-bottom-color: var(--lmf-bronze); }
.lmf-menu .sub-menu { display: none; }
.lmf-nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 28px; color: var(--lmf-black); cursor: pointer; padding: 8px; }

@media (max-width: 1100px) {
	.lmf-utility__item--email { display: none; }
	.lmf-nav-toggle { display: inline-flex; }
	.lmf-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
		background: var(--lmf-white); padding: 16px var(--lmf-gutter) 24px; border-bottom: 1px solid var(--lmf-line); gap: 16px;
	}
	.lmf-nav.is-open { display: flex; }
	.lmf-menu { flex-direction: column; gap: 0; }
	.lmf-menu a { padding: 12px 0; border-bottom: 1px solid var(--lmf-line); }
	.lmf-nav__cta { align-self: flex-start; }
}
@media (max-width: 680px) {
	.lmf-utility__inner { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
	.lmf-utility__contact { justify-content: center; }
	.lmf-utility__item--address { display: none; }
	.lmf-utility .lmf-ticker { max-width: none; }
}

/* ---------- Announcement ticker ---------- */
.lmf-ticker { display: block; overflow: hidden; white-space: nowrap; color: inherit; text-decoration: none; position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.lmf-ticker__track { display: inline-flex; animation: lmf-ticker-left var(--lmf-ticker-speed, 30s) linear infinite; }
.lmf-ticker--right .lmf-ticker__track { animation-name: lmf-ticker-right; }
.lmf-ticker:hover .lmf-ticker__track, .lmf-ticker:focus .lmf-ticker__track { animation-play-state: paused; }
.lmf-ticker__item { display: inline-flex; align-items: center; gap: .5em; padding-right: 3em; }
.lmf-ticker__item .lmf-icon { color: var(--lmf-bronze); }
@keyframes lmf-ticker-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lmf-ticker-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .lmf-ticker__track { animation: none; } }

/* ---------- Elementor sections (homepage) ---------- */
.lmf-section-label .elementor-heading-title,
.lmf-section-label.elementor-widget-heading .elementor-heading-title {
	text-transform: uppercase; letter-spacing: .14em;
}
.lmf-view-all .elementor-button { background: transparent !important; color: var(--lmf-bronze-deep) !important; padding: 6px 0 !important; font-weight: 600; }
.lmf-view-all .elementor-button:hover { color: var(--lmf-black) !important; }

/* Hero */
.lmf-hero { position: relative; }
.lmf-hero .elementor-background-video-container video,
.lmf-hero .elementor-background-video-hosted { object-fit: cover; }
.lmf-hero .elementor-heading-title { text-wrap: balance; }

/* Cards (exhibition, statues) */
.lmf-card { background: var(--lmf-ivory); border: 1px solid var(--lmf-line); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.lmf-card:hover { box-shadow: 0 10px 30px rgba(11,11,11,.08); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .lmf-card, .lmf-card:hover { transition: none; transform: none; } }
.lmf-card-img img, .lmf-card-img .elementor-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lmf-card-img--square img { aspect-ratio: 1 / 1; }
.lmf-card-img--lower img { object-position: center 75%; }
.lmf-card-meta .elementor-heading-title { color: var(--lmf-muted); font-size: 14px; font-weight: 500; }
.lmf-about-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- News carousel ---------- */
.lmf-carousel { position: relative; display: flex; align-items: center; gap: 16px; --lmf-gap: 24px; }
.lmf-carousel__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--lmf-gap) * (var(--lmf-per-view, 3) - 1)) / var(--lmf-per-view, 3));
	gap: var(--lmf-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	flex: 1; scrollbar-width: none; padding: 4px 2px 8px;
}
.lmf-carousel__track::-webkit-scrollbar { display: none; }
.lmf-carousel__track > * { scroll-snap-align: start; }
.lmf-carousel__arrow, .lmf-marquee__arrow {
	flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--lmf-black);
	background: var(--lmf-white); color: var(--lmf-black); display: inline-flex; align-items: center; justify-content: center;
	font-size: 22px; cursor: pointer; transition: background-color .2s, color .2s; padding: 0;
}
.lmf-carousel__arrow:hover, .lmf-marquee__arrow:hover { background: var(--lmf-black); color: var(--lmf-white); }
.lmf-carousel__arrow[disabled] { opacity: .3; cursor: default; background: var(--lmf-white); color: var(--lmf-black); }
@media (max-width: 1024px) { .lmf-carousel { --lmf-per-view: 2 !important; } }
@media (max-width: 680px) {
	.lmf-carousel { --lmf-per-view: 1 !important; }
	.lmf-carousel__track { grid-auto-columns: 85%; }
	.lmf-carousel__arrow { display: none; }
}

.lmf-news-card { background: var(--lmf-ivory); border: 1px solid var(--lmf-line); display: flex; flex-direction: column; min-width: 0; }
.lmf-news-card__media { display: block; overflow: hidden; }
.lmf-news-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 70%; transition: transform .4s ease; }
.lmf-news-card:hover .lmf-news-card__media img { transform: scale(1.03); }
.lmf-news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lmf-news-card__title { font-size: 20px; margin: 0; font-weight: 600; }
.lmf-news-card__title a { color: var(--lmf-black); text-decoration: none; }
.lmf-news-card__title a:hover { color: var(--lmf-bronze-deep); }
.lmf-news-card__date { font-size: 14px; color: var(--lmf-muted); }
.lmf-news-card__excerpt { margin: 0; color: var(--lmf-muted); font-size: 16px; }
.lmf-news-card .lmf-link-arrow { margin-top: auto; padding-top: 6px; }
.lmf-empty { padding: 24px; background: var(--lmf-ivory); text-align: center; color: var(--lmf-muted); }

/* ---------- Logo marquee ---------- */
.lmf-marquee { display: flex; align-items: center; gap: 16px; }
.lmf-marquee__viewport { flex: 1; overflow: hidden; display: flex;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.lmf-marquee__track { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0 24px 0 0; flex: none; will-change: transform; }
.lmf-marquee__item {
	flex: none; width: 190px; height: 92px; display: flex; align-items: center; justify-content: center;
	background: var(--lmf-ivory); border: 1px solid var(--lmf-line); padding: 14px 18px;
}
.lmf-marquee__item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.lmf-marquee__item img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; transition: filter .25s, opacity .25s; }
.lmf-marquee-grey-yes .lmf-marquee__item img { filter: grayscale(1); opacity: .8; }
.lmf-marquee-grey-yes .lmf-marquee__item:hover img { filter: none; opacity: 1; }
.lmf-marquee__name { font-size: 14px; color: var(--lmf-muted); text-align: center; }
@media (max-width: 680px) { .lmf-marquee__arrow { display: none; } .lmf-marquee__item { width: 150px; height: 76px; } }

/* ---------- Elementor header/footer helpers ---------- */
.lmf-utility-bar a { color: inherit; }
.lmf-utility-bar .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--lmf-bronze); }
.lmf-header-logo .elementor-heading-title, .lmf-footer-logo .elementor-heading-title { text-transform: uppercase; }
.lmf-header-logo a, .lmf-footer-logo a { color: inherit; }
.lmf-footer-links .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--lmf-bronze-deep); }
.lmf-sticky-header { position: relative; z-index: 60; }

/* ---------- Built-in footer ---------- */
.lmf-site-footer { background: var(--lmf-ivory); border-top: 1px solid var(--lmf-line); margin-top: 0; font-size: 15px; }
.lmf-footer__grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 48px; }
.lmf-footer__grid > * + * { border-left: 1px solid var(--lmf-stone); padding-left: 28px; }
.lmf-footer__tagline { margin-top: 18px; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--lmf-muted); }
.lmf-footer__title { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.lmf-footer__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.lmf-footer__list a { color: var(--lmf-text); text-decoration: none; }
.lmf-footer__list a:hover { color: var(--lmf-bronze-deep); }
.lmf-footer__list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.lmf-footer__list--icons .lmf-icon { margin-top: .3em; color: var(--lmf-bronze-deep); }
.lmf-footer__list small { color: var(--lmf-muted); font-size: 13px; }
.lmf-site-footer .lmf-social a { color: var(--lmf-black); font-size: 20px; }
.lmf-footer__bottom { border-top: 1px solid var(--lmf-stone); font-size: 13px; color: var(--lmf-muted); }
.lmf-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 1024px) {
	.lmf-footer__grid { grid-template-columns: 1fr 1fr; }
	.lmf-footer__grid > * + * { border-left: 0; padding-left: 0; }
	.lmf-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .lmf-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Blog, pages, 404 ---------- */
.lmf-main { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); }
.lmf-page-header { margin-bottom: 36px; }
.lmf-page-title { font-size: clamp(34px, 4.5vw, 52px); }
.lmf-page-intro { font-size: 20px; color: var(--lmf-muted); max-width: 720px; }
.lmf-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--lmf-bronze-deep); margin-bottom: 12px; }
.lmf-eyebrow a { text-decoration: none; }
.lmf-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.lmf-entry__date { display: block; color: var(--lmf-muted); font-size: 15px; }
.lmf-entry__media { margin: 0 0 32px; }
.lmf-entry__media img { width: 100%; display: block; }
.lmf-entry__content { font-size: 18px; }
.lmf-entry__content > * { max-width: 100%; }
.lmf-entry__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--lmf-line); }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--lmf-line); text-decoration: none; color: var(--lmf-black); }
.nav-links .current { background: var(--lmf-black); color: var(--lmf-white); }
.search-form { display: flex; gap: 8px; margin: 24px 0; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 14px; border: 1px solid var(--lmf-stone); font: inherit; }
.search-submit { padding: 12px 18px; background: var(--lmf-black); color: var(--lmf-white); border: 0; font: inherit; cursor: pointer; }

/* Equal-height cards with buttons aligned at the bottom */
.lmf-card { height: 100%; display: flex; flex-direction: column; }
.lmf-card > .e-con-inner { height: 100%; display: flex; flex-direction: column; }
.lmf-card-body { flex-grow: 1; }
.lmf-card-actions { margin-top: auto; }

/* Links inside Elementor headings/buttons used as logo or "view all" */
.lmf-header-logo a, .lmf-footer-logo a, .lmf-view-all .elementor-button { text-decoration: none; }

/* Keep sliders inside the viewport (flex items default to min-width:auto) */
.lmf-carousel, .lmf-marquee, .lmf-ticker { width: 100%; max-width: 100%; min-width: 0; }
.lmf-carousel__track, .lmf-marquee__viewport { min-width: 0; position: relative; }
.lmf-news-card { position: relative; }
.elementor-widget-lmf-news-carousel, .elementor-widget-lmf-logo-marquee, .elementor-widget-lmf-ticker { min-width: 0; max-width: 100%; }
