/*
Theme Name: Feel Cambodia
Theme URI: https://feelcambodia.com/
Author: Feel Cambodia
Author URI: https://feelcambodia.com/
Description: A clean, modern, minimal theme for Feel Cambodia — stories, itineraries and tools about Cambodia. Light and dark mode, English/Khmer ready, Elementor and Site Kit compatible.
Version: 1.1.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feelcambodia
Tags: blog, news, travel, two-columns, custom-logo, custom-menu, featured-images, translation-ready, block-patterns, wide-blocks
*/

/* ===== Design tokens ===== */
:root {
	--bg: #ffffff;
	--surface: #f5f5f7;
	--card: #ffffff;
	--ink: #1d1d1f;
	--body: #444444;
	--muted: #5e5e63;
	--hair: #e3e3e8;
	--accent: #3578bc;
	--accent-soft: #eaf2fa;
	--orange: #eca340;
	--orange-soft: #fdf2e2;
	--headline: #c97a12;
	--logo-grey: #444444;
	--head: rgba(255, 255, 255, 0.92);
	--partner: #1f7a6d;
	--partner-soft: #e3f3f0;
	--partner-line: #a9d6ce;
	--shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	--radius: 16px;
	--wrap: 1200px;
	--read: 720px;
	--font: "Inter", "Kantumruy Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-logo: "Nunito", "Inter", sans-serif;
	--font-km: "Kantumruy Pro", "Inter", sans-serif;
	color-scheme: light;
}
[data-theme="dark"] {
	--bg: #000000;
	--surface: #161618;
	--card: #1c1c1e;
	--ink: #f5f5f7;
	--body: #d1d1d6;
	--muted: #a1a1a6;
	--hair: #2c2c2e;
	--accent: #6fa8e0;
	--accent-soft: #12283f;
	--orange: #f0b256;
	--orange-soft: #33260f;
	--headline: #6fa8e0;
	--logo-grey: #c7c7cc;
	--head: rgba(0, 0, 0, 0.85);
	--partner: #5cc8b6;
	--partner-soft: #0f2a26;
	--partner-line: #1f4b44;
	--shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
	color-scheme: dark;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
:lang(km), [lang="km"] { font-family: var(--font-km); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
.fc-content a, .fc-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
button { font-family: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.fc-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.fc-read { max-width: var(--read); margin: 0 auto; padding: 0 24px; }
.fc-section { padding: clamp(48px, 7vw, 80px) 0; }
.fc-surface { background: var(--surface); }
.fc-ph { background: var(--surface); }
[data-theme="dark"] .fc-dim img { filter: brightness(0.9); }

/* ===== Header ===== */
.fc-header { position: sticky; top: 0; z-index: 30; background: var(--head); border-bottom: 1px solid var(--hair); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.admin-bar .fc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fc-header { top: 0; } }
.fc-header__in { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.fc-logo { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.fc-logo img, .fc-logo .custom-logo { width: auto; height: 40px; }
.fc-logo__mark { width: 46px; height: 40px; object-fit: contain; }
.fc-logo__text { display: flex; flex-direction: column; line-height: 1; gap: 1px; font-family: var(--font-logo); }
.fc-logo__feel { font-size: 13px; font-weight: 600; color: var(--logo-grey); }
.fc-logo__name { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; color: var(--accent); }
.fc-header__right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.fc-nav ul { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.fc-nav a { font-size: 15px; font-weight: 500; padding: 8px 0; display: inline-block; }
.fc-nav .current-menu-item > a, .fc-nav .current-menu-ancestor > a, .fc-nav .current_page_item > a { box-shadow: inset 0 -2px 0 var(--orange); }
.fc-pill { height: 40px; padding: 0 14px; border: 1px solid var(--hair); border-radius: 20px; background: var(--card); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.fc-pill:hover { color: var(--ink); border-color: var(--muted); }
.fc-lang { margin: 0 4px; }
.fc-lang--off { background: var(--surface); opacity: 0.55; cursor: not-allowed; font-size: 13px; font-weight: 600; }
.fc-lang ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.fc-lang--on { padding: 0 4px; gap: 2px; font-weight: 600; font-size: 13px; }
.fc-lang--on a { padding: 6px 10px; border-radius: 16px; color: var(--ink); }
.fc-lang--on .current-lang a, .fc-lang--on a[aria-current] { background: var(--orange); color: #1d1d1f; }
.fc-icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.fc-icon-btn:hover { background: var(--surface); }
.fc-theme-toggle .fc-sun { display: none; }
[data-theme="dark"] .fc-theme-toggle .fc-sun { display: block; }
[data-theme="dark"] .fc-theme-toggle .fc-moon { display: none; }
.fc-progress { height: 3px; background: var(--hair); }
.fc-progress span { display: block; height: 3px; width: 0; background: var(--orange); transition: width 0.1s linear; }

/* ===== Search overlay ===== */
.fc-search { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.45); display: none; justify-content: center; align-items: flex-start; padding: 80px 16px; }
.fc-search.is-open { display: flex; }
.fc-search__box { width: 100%; max-width: 640px; background: var(--card); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3); overflow: hidden; }
.fc-search__bar { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--hair); }
.fc-search__bar input { flex: 1; min-width: 0; height: 58px; border: 0; outline: none; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.fc-search__close { height: 44px; padding: 0 14px; border: 0; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--accent); }
.fc-search__results { max-height: 420px; overflow: auto; padding: 8px; }
.fc-search__hint { margin: 8px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-search__item { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 10px; }
.fc-search__item:hover, .fc-search__item:focus { background: var(--surface); }
.fc-search__type { font-size: 12px; font-weight: 600; color: var(--accent); }
.fc-search__title { font-size: 16px; font-weight: 600; line-height: 1.35; }

/* ===== Buttons, badges, labels ===== */
.fc-btn { height: 48px; padding: 0 24px; border-radius: 24px; background: var(--orange); color: #1d1d1f; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease; }
.fc-btn:hover { color: #1d1d1f; }
.fc-btn--ghost { background: var(--bg); border: 1.5px solid var(--hair); color: var(--ink); }
.fc-btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.fc-btn--partner { background: transparent; border: 1.5px solid var(--partner); color: var(--partner); }
.fc-btn--partner:hover { color: var(--partner); }
.fc-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink); background: var(--card); border: 1px solid var(--hair); padding: 8px 16px 8px 12px; border-radius: 99px; box-shadow: var(--shadow); }
.fc-badge__note { font-weight: 400; color: var(--muted); }
.fc-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 4px; background: var(--orange); }
.fc-kicker { font-size: 12px; font-weight: 600; color: var(--accent); }
.fc-meta { font-size: 13px; color: var(--muted); }
.fc-chip { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--orange-soft); padding: 6px 12px; border-radius: 99px; display: inline-block; }
.fc-chip:hover { color: var(--ink); }
.fc-more { font-size: 15px; font-weight: 600; color: var(--accent); }
.fc-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.fc-section-head h2 { margin: 0; font-size: clamp(26px, 4vw, 32px); letter-spacing: -0.025em; color: var(--accent); }
.fc-section-head p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }

/* ===== Hero ===== */
.fc-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--orange-soft), transparent 70%); }
.fc-hero__in { max-width: 960px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) 24px clamp(56px, 8vw, 104px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.fc-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.045em; color: var(--headline); }
.fc-hero__hl { color: var(--ink); padding: 0 6px; background-image: linear-gradient(rgba(236,163,64,.7), rgba(236,163,64,.7)); background-repeat: no-repeat; background-position: 0 90%; background-size: 100% 36%; }
.fc-hero p { margin: 0; max-width: 620px; font-size: clamp(17px, 2.3vw, 20px); line-height: 1.6; color: var(--body); }
.fc-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* ===== Cards and grids ===== */
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 28px; }
.fc-card { display: flex; flex-direction: column; gap: 10px; }
.fc-card__img { display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--surface); }
.fc-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.fc-card h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.fc-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.fc-feature { display: flex; flex-wrap: wrap; gap: 40px; padding: 24px 0 64px; }
.fc-feature__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.fc-feature__main .fc-card__img { aspect-ratio: 16 / 9; border-radius: 18px; }
.fc-feature__main h2 { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.12; letter-spacing: -0.025em; }
.fc-feature__main p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); max-width: 680px; }
.fc-feature__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fc-feature__side h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-row { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair); }
.fc-row__img { flex: 0 0 104px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.fc-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.fc-row__t { font-size: 16px; font-weight: 600; line-height: 1.3; }
.fc-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.fc-topic { background: var(--card); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease; }
.fc-topic svg { color: var(--orange); }
.fc-topic__name { font-size: 18px; font-weight: 600; }
.fc-topic__desc { font-size: 14px; color: var(--muted); line-height: 1.45; }
.fc-topic__count { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent); }
.fc-topic__count--zero { color: var(--muted); }
.fc-cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.fc-cat-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease; }
.fc-cat-card__img { aspect-ratio: 4 / 3; background: var(--hair); overflow: hidden; }
.fc-cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fc-cat-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.fc-cat-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fc-cat-card__name { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.fc-tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.fc-tool-card { background: var(--card); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease; }
.fc-tool-card__img { aspect-ratio: 16 / 9; background: var(--orange-soft); overflow: hidden; }
.fc-tool-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.fc-tool-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.fc-tool-card__name { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }

/* ===== Hover & reveal (light, desktop only) ===== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.fc-lift:hover, .fc-topic:hover, .fc-tool-card:hover, .fc-cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09); }
	.fc-card:hover .fc-card__img img, .fc-tool-card:hover .fc-tool-card__img img { transform: scale(1.025); }
	.fc-row:hover .fc-row__img img { transform: scale(1.06); }
	.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(236, 163, 64, 0.4); }
	.fc-btn--ghost:hover { box-shadow: none; }
}
@keyframes fcUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fcSweep { from { background-size: 0% 36%; } to { background-size: 100% 36%; } }
@keyframes fcPulse { 0% { box-shadow: 0 0 0 0 rgba(236,163,64,.6); } 70% { box-shadow: 0 0 0 8px rgba(236,163,64,0); } 100% { box-shadow: 0 0 0 0 rgba(236,163,64,0); } }
@media (prefers-reduced-motion: no-preference) {
	.fc-up { animation: fcUp 0.9s cubic-bezier(.2,.7,.2,1) both; }
	.fc-d1 { animation-delay: 0.12s; } .fc-d2 { animation-delay: 0.24s; } .fc-d3 { animation-delay: 0.38s; } .fc-d4 { animation-delay: 0.5s; }
	.fc-hero__hl { animation: fcSweep 1s 0.9s cubic-bezier(.2,.7,.2,1) both; }
	.fc-dot { animation: fcPulse 2.4s ease-out infinite; }
	@supports (animation-timeline: view()) {
		.fc-reveal { animation: fcUp linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
	}
}

/* ===== Ads ===== */
.fc-ad { border: 1px dashed var(--hair); border-radius: 12px; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 13px; padding: 24px 8px 8px; position: relative; overflow: hidden; }
.fc-ad__label { position: absolute; top: 8px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-ad--slot { margin: 40px 0; }
.fc-slider { position: relative; border: 1px dashed var(--hair); border-radius: 12px; height: 110px; overflow: hidden; background: var(--bg); }
.fc-slider__track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.fc-slider__slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 18px 48px 22px; }
.fc-slider__slide img { max-height: 90px; width: auto; display: block; }
.fc-slider__slide .fc-m { display: none; }
@media (max-width: 760px) { .fc-slider__slide .fc-d { display: none; } .fc-slider__slide .fc-m { display: block; } }
.fc-slider__arrow { position: absolute; top: 50%; margin-top: -16px; width: 32px; height: 32px; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fc-slider__arrow--prev { left: 8px; } .fc-slider__arrow--next { right: 8px; }
.fc-slider__dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; align-items: center; }
.fc-slider__dot { width: 24px; height: 20px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fc-slider__dot span { display: block; height: 6px; width: 6px; border-radius: 3px; background: var(--hair); transition: width 0.3s ease; }
.fc-slider__dot[aria-current="true"] span { width: 18px; background: var(--orange); }
.fc-slider__pause { width: 24px; height: 20px; border: 0; padding: 0; margin-left: 4px; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ===== Page headers ===== */
.fc-page-head { padding: clamp(48px, 7vw, 72px) 0 32px; display: flex; flex-direction: column; gap: 14px; }
.fc-page-head--center { align-items: center; text-align: center; }
.fc-page-head h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; color: var(--headline); }
.fc-page-head p { margin: 0; font-size: clamp(17px, 2.3vw, 19px); line-height: 1.55; color: var(--body); max-width: 680px; }
.fc-crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.fc-crumbs a { color: var(--muted); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fc-chips a { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--hair); color: var(--body); font-size: 14px; font-weight: 500; }
.fc-chips a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #1d1d1f; }
.fc-pagination { margin-top: 56px; display: flex; justify-content: center; }
.fc-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fc-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--hair); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.fc-pagination .current { background: var(--orange); border-color: var(--orange); color: #1d1d1f; }

/* ===== Article ===== */
.fc-article-head { padding: clamp(32px, 6vw, 56px) 24px 32px; display: flex; flex-direction: column; gap: 18px; }
.fc-article-head h1 { margin: 0; font-size: clamp(32px, 5.5vw, 46px); line-height: 1.08; letter-spacing: -0.035em; }
.fc-dek { margin: 0; font-size: clamp(18px, 2.4vw, 20px); line-height: 1.5; color: var(--body); }
.fc-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.fc-byline a { color: var(--ink); font-weight: 600; }
.fc-share { display: flex; gap: 6px; }
.fc-share a, .fc-share button { width: 44px; height: 44px; border: 1px solid var(--hair); background: transparent; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.fc-hero-img { max-width: 1148px; margin: 0 auto; padding: 0 24px; }
.fc-hero-img img { width: 100%; border-radius: 18px; display: block; cursor: zoom-in; }
.fc-hero-img figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.fc-content { max-width: var(--read); margin: 0 auto; padding: 48px 24px 24px; font-size: 18px; line-height: 1.75; color: var(--ink); }
.fc-content > * { margin-top: 0; margin-bottom: 24px; }
.fc-content h2 { margin: 48px 0 16px; font-size: clamp(23px, 3.5vw, 28px); line-height: 1.2; }
.fc-content h3 { margin: 36px 0 12px; font-size: 21px; }
.fc-content blockquote { margin: 32px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); font-size: 20px; color: var(--body); }
.fc-content figure { margin: 32px 0; }
.fc-content figcaption, .fc-content .wp-element-caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: left; }
.fc-content img { border-radius: 14px; }
.fc-content .alignwide { max-width: 960px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 48px); }
.fc-content .alignfull { max-width: none; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.fc-content .alignfull img { border-radius: 0; }
.fc-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.fc-content th, .fc-content td { border-bottom: 1px solid var(--hair); padding: 10px 8px; text-align: left; }
.fc-content .wp-block-gallery { gap: 10px !important; }
.fc-content .wp-block-gallery figure { margin: 0 !important; }
.fc-content a img, .fc-content .wp-block-image img, .fc-content .wp-block-gallery img { cursor: zoom-in; }
.fc-postnav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; font-size: 15px; line-height: 1.4; }
.fc-postnav a { padding: 20px; border: 1px solid var(--hair); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.fc-postnav span { font-size: 12px; color: var(--muted); font-weight: 400; }
.fc-postnav .fc-next { text-align: right; }

/* ===== Feel Cambodia blocks ===== */
.fc-facts { background: var(--surface); border-radius: 16px; padding: 20px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px 24px; font-size: 16px; line-height: 1.5; }
.fc-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-facts dd { margin: 2px 0 0; color: var(--ink); }
.fc-dyk { background: var(--orange-soft); border-radius: 16px; padding: clamp(20px, 3vw, 24px) clamp(20px, 3.5vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.fc-dyk__label { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1d1d1f; background: var(--orange); padding: 5px 12px; border-radius: 99px; }
.fc-dyk__text { font-size: clamp(18px, 2.4vw, 20px); line-height: 1.45; font-weight: 600; margin: 0; }
.fc-song { display: flex; align-items: center; gap: 14px; border: 1px solid var(--hair); border-radius: 14px; padding: 14px 18px; font-size: 15px; }
.fc-visit { margin-top: 64px; }
.fc-visit__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border: 0; border-bottom: 2px solid var(--orange); background: transparent; cursor: pointer; text-align: left; color: var(--ink); }
.fc-visit__title { display: block; font-size: clamp(26px, 4vw, 32px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; }
.fc-visit__sub { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.fc-visit__chev { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 20px; background: var(--orange); color: #1d1d1f; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.fc-visit[data-open="true"] .fc-visit__chev { transform: rotate(180deg); }
.fc-visit__list { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.fc-visit[data-open="false"] .fc-visit__list { display: none; }
.fc-place { border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: var(--card); margin: 0 !important; }
.fc-place__img { display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; }
.fc-place__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; display: block; cursor: zoom-in; }
.fc-place__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.fc-place__body h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }
.fc-place__body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--body); }
.fc-place__body ul strong { color: var(--ink); }
.fc-place__body p { margin: 0; font-size: 16px; line-height: 1.65; }
.fc-place__map { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--accent) !important; text-decoration: none !important; padding: 8px 0; }
.fc-video { margin: 32px 0; }
.fc-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f0f0f; margin: 0 auto; }
.fc-video--vertical .fc-video__frame { aspect-ratio: 9 / 16; max-width: 340px; }
.fc-video__frame iframe, .fc-video__frame .fc-video__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fc-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0f0f0f center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #fff; }
.fc-video__play span { width: 68px; height: 48px; border-radius: 12px; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; }
.fc-video__note { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #e5e5ea; text-shadow: 0 1px 2px #000; }
.fc-video figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.fc-video--vertical figcaption { text-align: center; }
.fc-sources { font-size: 15px; color: var(--body); border-top: 1px solid var(--hair); padding-top: 16px; }

/* ===== Lightbox ===== */

/* ===== Tools page ===== */
.fc-tools { display: flex; flex-direction: column; gap: 24px; padding-bottom: 88px; }
.fc-tool { background: var(--surface); border-radius: 24px; padding: clamp(20px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.fc-tool:nth-child(even) { flex-wrap: wrap-reverse; flex-direction: row-reverse; }
.fc-tool--partner { background: var(--bg); border: 1.5px solid var(--partner-line); }
.fc-tool__img { flex: 999 1 460px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--orange-soft); }
.fc-tool__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-tool__body { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fc-tool__body h2 { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; letter-spacing: -0.025em; }
.fc-tool__body p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.fc-partner-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--partner); background: var(--partner-soft); padding: 6px 12px; border-radius: 99px; }
.fc-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.fc-legend span { display: flex; align-items: center; gap: 8px; }
.fc-legend i { width: 10px; height: 10px; border-radius: 5px; display: inline-block; }

/* ===== Itinerary ===== */
.fc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; background: var(--surface); border-radius: 999px; margin: 0 auto; width: fit-content; max-width: 100%; }
.fc-tab { height: 44px; padding: 0 20px; border: 0; border-radius: 22px; cursor: pointer; font-size: 15px; font-weight: 600; background: transparent; color: var(--ink); }
.fc-tab[aria-selected="true"] { background: var(--orange); color: #1d1d1f; }
.fc-plan[hidden] { display: none; }
.fc-plan__overview { background: var(--surface); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.fc-plan__overview h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.fc-route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fc-route li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.fc-route li span { background: var(--card); border: 1px solid var(--hair); padding: 7px 14px; border-radius: 99px; }
.fc-facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.fc-facts-row div { background: var(--card); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fc-facts-row small { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-facts-row b { font-size: 16px; }
.fc-days { list-style: none; margin: 32px 0 0; padding: 0; }
.fc-day { display: flex; gap: clamp(14px, 3vw, 24px); }
.fc-day__rail { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.fc-day__label { min-width: 64px; height: 32px; padding: 0 10px; border-radius: 16px; background: var(--orange); color: #1d1d1f; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.fc-day__line { flex: 1; width: 2px; background: var(--hair); margin: 6px 0; }
.fc-day:last-child .fc-day__line { background: transparent; }
.fc-day__card { flex: 1; min-width: 0; margin-bottom: 28px; border: 1px solid var(--hair); border-radius: 18px; padding: clamp(18px, 3vw, 24px); display: flex; flex-direction: column; gap: 10px; }
.fc-day__card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.fc-day__place { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--accent); font-weight: 500; }
.fc-day__card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.55; color: var(--body); }
.fc-day__read { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 8px 14px; border-radius: 99px; }
.fc-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.fc-tips > div { background: var(--card); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.fc-tips b { font-size: 18px; }
.fc-tips span { font-size: 15px; line-height: 1.55; color: var(--body); }

/* ===== About ===== */
.fc-about .fc-content { font-size: 19px; }
.fc-about .wp-block-columns { gap: 20px; }
.fc-card-box { background: var(--card); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.fc-value { border: 1px solid var(--hair); border-radius: 20px; padding: 32px 28px; }

/* ===== 404 ===== */
.fc-404 { max-width: 960px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 24px clamp(56px, 8vw, 96px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fc-404 h1 { margin: 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; color: var(--headline); }
.fc-404 p { margin: 0; max-width: 560px; font-size: clamp(17px, 2.3vw, 19px); line-height: 1.6; color: var(--body); }
.fc-404__search { width: 100%; max-width: 460px; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border: 1px solid var(--hair); border-radius: 26px; background: var(--card); color: var(--muted); font-size: 16px; cursor: pointer; box-shadow: var(--shadow); }
@keyframes nfEar { 0%, 82%, 100% { transform: rotate(0); } 88% { transform: rotate(-7deg); } 94% { transform: rotate(4deg); } }
@keyframes nfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes nfGhost { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
@keyframes nfLens { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes nfHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: no-preference) {
	.nf-ears { transform-origin: 228px 140px; animation: nfEar 3.2s ease-in-out infinite; }
	.nf-q { animation: nfBob 2.4s ease-in-out infinite; }
	.nf-ghost { animation: nfGhost 2.6s ease-in-out infinite; }
	.nf-lens { transform-origin: 262px 222px; animation: nfLens 3.6s ease-in-out infinite; }
	.nf-rabbit { animation: nfHop 3.6s ease-in-out infinite; }
}

/* ===== Footer ===== */
.fc-footer { border-top: 1px solid var(--hair); background: var(--surface); margin-top: 0; }
.fc-footer__grid { padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.fc-footer__grid h2 { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.fc-footer__grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.fc-footer__grid a { color: var(--muted); }
.fc-footer__about b { font-size: 18px; display: block; margin-bottom: 10px; }
.fc-footer__about p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.fc-footer__bottom { border-top: 1px solid var(--hair); padding: 20px 24px 40px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ===== Elementor & WordPress core ===== */
.elementor-page .fc-elementor { max-width: none; padding: 0; }
.wp-block-button__link { background: var(--orange); color: #1d1d1f; border-radius: 24px; font-weight: 600; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.sticky, .bypostauthor, .gallery-caption { }

@media print {
	.fc-header, .fc-footer, .fc-ad, .fc-slider, .fc-share, .fc-progress { display: none !important; }
}

/* ===== Gallery: 1 full, 2 side by side, 3 in a row, 4 as 2 × 2; stacks on phones ===== */
.fc-content .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 12px; }
.fc-content .wp-block-gallery.columns-default:has(> figure:nth-child(4):last-child) > figure.wp-block-image { width: calc(50% - 5px) !important; flex-grow: 0 !important; }
@media (max-width: 600px) {
	.fc-content .wp-block-gallery.columns-default:has(> figure:nth-child(2):last-child) > figure.wp-block-image,
	.fc-content .wp-block-gallery.columns-default:has(> figure:nth-child(3):last-child) > figure.wp-block-image { width: 100% !important; }
}

/* ===== Comments ===== */
.comment-form { display: grid; gap: 14px; font-size: 15px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px; font: inherit; background: var(--card); color: var(--ink); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .submit { height: 48px; padding: 0 24px; border: 0; border-radius: 24px; background: var(--orange); color: #1d1d1f; font: inherit; font-weight: 600; cursor: pointer; }
.comment-reply-title { font-size: 24px; margin: 0 0 8px; }
.comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--hair); }

/* ===== Compact header on phones: logo + dark mode + search on top, menu + language below ===== */
@media (max-width: 760px) {
	.fc-header__in { gap: 0 4px; padding-top: 2px; padding-bottom: 2px; min-height: 0; }
	.fc-header__right { display: contents; }
	.fc-logo { order: 1; margin-right: auto; }
	.fc-theme-toggle { order: 2; }
	.fc-header [data-fc-search-open] { order: 3; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 22px; }
	.fc-header [data-fc-search-open] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fc-header__in::before { content: ""; order: 4; flex-basis: 100%; height: 0; }
	.fc-nav { order: 5; flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
	.fc-nav::-webkit-scrollbar { display: none; }
	.fc-nav ul { flex-wrap: nowrap; white-space: nowrap; gap: 20px; padding-right: 8px; }
	.fc-lang { order: 6; height: 34px; margin: 0; padding: 0 10px; }
	.fc-lang svg { display: none; }
	.fc-badge { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 2px; }
}

/* ===== Article v1.1: photo first, wide media, readable text ===== */
.fc-hero-img--top { padding-top: clamp(16px, 3vw, 32px); }
.fc-hero-img--top img { border-radius: 20px; max-height: 82vh; object-fit: cover; }
.fc-hero-img--top + .fc-article-head { padding-top: clamp(24px, 4vw, 40px); }
.fc-dateline { font-weight: 500; }
.fc-content--article { max-width: 1088px; }
.fc-content--article > :not(.elementor):not(.fc-video):not(.fc-visit):not(.wp-block-image):not(.wp-block-gallery):not(.wp-block-embed):not(.alignwide):not(.alignfull):not(figure) { max-width: 720px; margin-left: auto; margin-right: auto; }
.fc-content--article .alignwide { max-width: none; width: auto; margin-left: 0; transform: none; }
.fc-content--article .elementor-widget-text-editor,
.fc-content--article .elementor-widget-heading,
.fc-content--article .elementor-widget-divider,
.fc-content--article .elementor-widget-icon-list,
.fc-content--article .elementor-widget-toggle,
.fc-content--article .elementor-widget-accordion { width: 100% !important; max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; align-self: center; }
.fc-content--article .elementor-widget-video { width: 100% !important; max-width: none !important; }
.fc-content--article .elementor-widget-video .elementor-wrapper { border-radius: 16px; overflow: hidden; }
.fc-content--article .e-con { --padding-left: 0px; --padding-right: 0px; }
/* Elementor photo groups as a grid */
.fc-content .fc-egrid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; width: 100%; margin: 8px 0 28px; padding: 0 !important; }
.fc-content .fc-egrid[data-n="2"], .fc-content .fc-egrid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fc-content .fc-egrid > .elementor-widget { width: auto !important; max-width: none !important; margin: 0 !important; min-width: 0; }
.fc-content .fc-egrid .elementor-widget-container, .fc-content .fc-egrid figure { margin: 0 !important; }
.fc-content .fc-egrid img { width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; display: block; cursor: zoom-in; }
.fc-content .fc-egrid figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; text-align: left; }
.fc-content--article .elementor-widget-image img { cursor: zoom-in; }
@media (max-width: 600px) {
	.fc-content .fc-egrid[data-n="2"], .fc-content .fc-egrid[data-n="3"] { grid-template-columns: 1fr; }
	.fc-content .fc-egrid[data-n="many"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* What to Visit: wider two-column cards */
.fc-content--article .fc-visit { max-width: none; }
.fc-visit__list { grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.fc-place__img { aspect-ratio: 3 / 2; }
.fc-content .fc-place__img img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.fc-content .fc-place__body h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--ink); text-align: left; }
.fc-place__body > p:empty { display: none; }
.fc-place__body ul b, .fc-place__body ul strong { color: var(--ink); }
.fc-place__body ul { list-style: none; padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.fc-place__body, .fc-place__body p, .fc-place__body li { text-align: left; }
.fc-place { transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.fc-place:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08); }
}
.fc-visit[data-open="false"] .fc-visit__list { display: none !important; }

/* ===== Empty categories: shown, not clickable ===== */
.fc-topic--empty, .fc-cat-card--empty { cursor: default; opacity: 0.6; }
.fc-topic--empty:hover, .fc-cat-card--empty:hover { transform: none !important; box-shadow: none !important; }
.fc-chip-empty { padding: 10px 16px; border-radius: 99px; border: 1px dashed var(--hair); color: var(--muted); font-size: 14px; font-weight: 500; cursor: default; }

/* ===== Photo viewer: zoom, drag, swipe, filmstrip ===== */
.fc-lb { position: fixed; inset: 0; z-index: 100000; background: #0b0b0d; color: #f5f5f7; display: none; outline: none; overscroll-behavior: contain; }
.fc-lb.is-open { display: flex; flex-direction: column; }
.fc-lb__top { flex: 0 0 auto; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 20px; }
.fc-lb__count { min-width: 64px; font-size: 14px; color: #d1d1d6; font-variant-numeric: tabular-nums; }
.fc-lb__zoom { display: flex; align-items: center; gap: 2px; padding: 0 4px; border-radius: 22px; background: rgba(255, 255, 255, 0.12); }
.fc-lb__zoom button, .fc-lb__btn { width: 44px; height: 44px; border: 0; border-radius: 22px; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fc-lb__zoom .fc-lb__pct { width: auto; min-width: 58px; padding: 0 6px; font-size: 13px; font-variant-numeric: tabular-nums; }
.fc-lb__btn { background: rgba(255, 255, 255, 0.12); }
.fc-lb__zoom button:hover, .fc-lb__btn:hover, .fc-lb__nav:hover, .fc-lb__thumb:hover { background-color: rgba(255, 255, 255, 0.22); }
.fc-lb__view { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: none; cursor: zoom-out; -webkit-user-select: none; user-select: none; }
.fc-lb__view img { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; border-radius: 4px; transform-origin: center; transform: translate(-50%, -50%); cursor: zoom-in; will-change: transform; -webkit-user-drag: none; transition: opacity 0.2s ease; }
.fc-lb.is-zoomed .fc-lb__view img { cursor: grab; }
.fc-lb.is-dragging .fc-lb__view img { cursor: grabbing; }
.fc-lb.is-loading .fc-lb__view img { opacity: 0.35; }
.fc-lb__spin { display: none; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid rgba(255, 255, 255, 0.25); border-top-color: var(--orange); border-radius: 50%; animation: fcSpin 0.8s linear infinite; pointer-events: none; }
.fc-lb.is-loading .fc-lb__spin { display: block; }
@keyframes fcSpin { to { transform: rotate(360deg); } }
.fc-lb__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 26px; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s ease; }
.fc-lb__nav--prev { left: 16px; }
.fc-lb__nav--next { right: 16px; }
.fc-lb.is-zoomed .fc-lb__nav { opacity: 0.3; }
.fc-lb__bottom { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 16px 14px; }
.fc-lb__cap { margin: 0; max-width: 760px; text-align: center; font-size: 15px; line-height: 1.5; color: #e5e5ea; }
.fc-lb__cap:empty { display: none; }
.fc-lb__strip { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
.fc-lb__strip::-webkit-scrollbar { display: none; }
.fc-lb__strip[hidden] { display: none; }
.fc-lb__thumb { flex: 0 0 auto; width: 72px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #222; cursor: pointer; opacity: 0.5; transition: opacity 0.2s ease, border-color 0.2s ease; }
.fc-lb__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.fc-lb__thumb:hover { opacity: 0.9; }
.fc-lb__thumb[aria-current="true"] { opacity: 1; border-color: var(--orange); }
.fc-lb__hint { font-size: 12px; color: #8e8e93; text-align: center; }
@media (max-width: 760px) {
	.fc-lb__nav, .fc-lb__hint { display: none !important; }
	.fc-lb__thumb { width: 54px; height: 40px; }
	.fc-lb__top { padding-left: 14px; }
	.fc-lb__zoom > [data-lb-fit]:last-child { display: none; }
}
@media (hover: none) { .fc-lb__hint { display: none; } }

/* ===== Boxes from the Elementor article starter ===== */
.fc-content .fc-box { background: var(--surface); border-radius: 16px; padding: 20px 24px !important; }
.fc-content .fc-box h3 { margin: 0 0 10px; font-size: 18px; }
.fc-content .fc-box ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.6; }
.fc-content .fc-box p { margin: 0 0 6px; }
.fc-content .fc-box--dyk { background: var(--orange-soft); border-left: 4px solid var(--orange); }
.fc-content .fc-box--dyk p:first-child strong { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--orange); color: #1d1d1f; padding: 5px 12px; border-radius: 99px; }
.fc-content .fc-sources-box { font-size: 15px; color: var(--muted); }
/* Photo slots left empty in the starter stay hidden on the live page (still visible while editing) */
body:not(.elementor-editor-active) .fc-content .elementor-widget-image:has(img[src*="elementor/assets/images/placeholder"]) { display: none; }
body:not(.elementor-editor-active) .fc-content img[src*="elementor/assets/images/placeholder"] { display: none; }

/* ===== Elementor text follows the theme colours (readable in dark mode) ===== */
.fc-content .elementor-widget-text-editor,
.fc-content .elementor-widget-text-editor :is(p, li, span, em, i, u, blockquote, td, th),
.fc-content .elementor-image-box-description,
.fc-content .widget-image-caption,
.fc-content .elementor-widget-image figcaption { color: var(--body) !important; }
.fc-content .elementor-widget-text-editor :is(h1, h2, h3, h4, h5, h6, strong, b),
.fc-content .elementor-heading-title { color: var(--ink) !important; }
.fc-content .elementor-widget-text-editor a { color: var(--accent) !important; }
[data-theme="dark"] .fc-content .elementor-widget-text-editor,
[data-theme="dark"] .fc-content .elementor-widget-text-editor :is(p, li, span, em, i, blockquote) { font-weight: 400 !important; }
.fc-content .fc-box--dyk p:first-child strong { color: #1d1d1f !important; }

/* ===== Header hides while scrolling down, comes back when scrolling up ===== */
.fc-header { transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }
.fc-header.is-hidden { transform: translateY(-100%); }
.fc-header.is-hidden:has(.fc-progress) { transform: translateY(calc(-100% + 3px)); }
.fc-header:focus-within { transform: none; }
@media (prefers-reduced-motion: reduce) { .fc-header { transition: none; } }
