/* 39. ICMART World Congress on Medical Acupuncture – site styles
   Colours / sizes follow the old Blocksy + Elementor setup. */

:root {
	--c1: #2872fa;          /* links */
	--c2: #2b3990;          /* brand blue (menu, footer, borders) */
	--c3: #3a4f66;          /* body text */
	--c4: #121c5e;          /* headings, dark navy */
	--c5: #e1e8ed;          /* light grey-blue boxes */
	--c6: #f2f5f7;
	--c7: #fafbfc;          /* page background */
	--c8: #ffffff;
	--accent: #61ce70;      /* button hover (old Elementor accent) */
	--btn: #5bc0de;         /* "info" buttons */
	--btn-grey: #69727d;    /* default Elementor buttons */
	--font: 'Albert Sans', sans-serif;
	--container: min(1290px, 90vw);
	--gap: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c7);
	color: var(--c3);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
iframe { max-width: 100%; }

a { color: var(--c1); text-decoration: none; transition: color .12s, background-color .12s, opacity .12s; }
a:hover { color: var(--c2); }

h1, h2, h3, h4, h5, h6 { color: var(--c4); font-weight: 700; line-height: 1.5; margin: 0 0 calc(.3em + 10px); }
h1 { font-size: 40px; }
h2 { font-size: 35px; }
h3 { font-size: 30px; }
h4 { font-size: 25px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p, ul, ol, table, figure, blockquote { margin: 0 0 1.5em; }
ul, ol { padding-left: 2.5em; }
figure { margin-left: 0; margin-right: 0; }
li > :last-child { margin-bottom: 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
hr { border: 0; border-top: 1px solid #000; margin: 15px 0; }
strong, b { font-weight: 700; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: var(--c8); color: var(--c4); box-shadow: 0 2px 10px rgba(0,0,0,.2); }

.container { width: var(--container); margin: 0 auto; }

/* ---- Tables (Gutenberg + Elementor text blocks) ----------------------- */
table { width: 100%; border-collapse: collapse; border-spacing: 0; text-align: center; }
table, th, td { border: 1px solid var(--c5); }
th, td { padding: .7em 1em; }
td { text-align: center; }
th { font-weight: 600; background-color: #2b3990; color: #fff; }   /* old custom CSS */
.table { overflow-x: auto; }
.table table.has-fixed-layout { table-layout: fixed; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 40px;
	padding: 5px 20px;
	border: 0;
	border-radius: 3px;
	background: var(--c1);
	color: #fff;
	font: 500 15px/1.2 var(--font);
	text-align: center;
	cursor: pointer;
}
.btn:hover { background: var(--c2); color: #fff; }
.btn svg { width: 1em; height: 1em; fill: currentColor; }
.buttons { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1.5em; }

/* Elementor-style buttons */
.e-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 24px;
	border-radius: 3px;
	background: var(--btn-grey);
	color: #fff;
	font: 400 15px/1 var(--font);
	text-align: center;
	transition: all .3s;
}
.e-btn:hover, .e-btn:focus { color: #fff; }
.e-btn svg { width: 1em; height: 1em; fill: currentColor; }
.e-btn-info { background: var(--btn); font-size: 18px; }
.e-btn-info:hover, .e-btn-info:focus { background: var(--accent); box-shadow: 0 0 10px rgba(0,0,0,.5); }
.e-btn-block { display: flex; width: 100%; }

/* ---- Header ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c8); }
.header-container { padding: 0 23px; }
.header-top { border-bottom: 1px solid rgba(44, 62, 80, .2); }
.header-top .header-container { display: flex; justify-content: flex-end; align-items: center; min-height: 33px; }
.header-main .header-container { min-height: 106px; transition: min-height .2s; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo { display: block; flex-shrink: 0; }
.site-logo img { display: block; width: auto; height: auto; max-height: 89px; max-width: 100%; transition: max-height .2s; }

.socials { display: flex; align-items: center; gap: 15px; }
.socials a { display: inline-flex; line-height: 0; }
.socials svg { fill: currentColor; }
.socials-header a { color: var(--brand); }
.socials-header svg { width: 19px; height: 19px; }
.socials-header a:hover { opacity: .8; }

/* Shrink on scroll (old sticky header) */
.is-scrolled .header-top { display: none; }
.is-scrolled .header-main .header-container { min-height: 80px; }
.is-scrolled .site-logo img { max-height: 70px; }

/* Desktop menu */
.nav { align-self: stretch; display: flex; }
.nav > ul { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: .2em;
	height: 52%;
	padding: 0 5px;
	color: var(--c3);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--c2);
}
.nav > ul > li > a::before, .nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--c2);
	opacity: 0;
	transition: opacity .12s;
}
.nav > ul > li > a::before { top: 0; }
.nav > ul > li > a::after { bottom: 0; }
.nav > ul > li:hover > a::before, .nav > ul > li:hover > a::after,
.nav > ul > li.is-active > a::before, .nav > ul > li.is-active > a::after { opacity: 1; }
.nav .chevron { fill: currentColor; }

.nav .submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	width: 200px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--c4);
	box-shadow: 0 10px 20px rgba(41, 51, 61, .1);
	border-radius: 0 0 1px 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu li + li { border-top: 1px solid var(--c7); }
.nav .submenu a { display: block; padding: 13px 19.5px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.65; }
.nav .submenu a:hover { color: #b9d0e0; }

/* Mobile menu */
.menu-toggle { display: none; padding: 8px; margin-right: -8px; border: 0; background: none; color: var(--c3); cursor: pointer; }
.menu-toggle svg { display: block; fill: currentColor; }
.offcanvas { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas-backdrop { position: absolute; inset: 0; }
.offcanvas-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 65vw;
	max-width: 500px;
	padding: 70px 35px 40px;
	overflow-y: auto;
	background: rgba(18, 21, 25, .98);
	box-shadow: 0 0 70px rgba(0, 0, 0, .35);
	transform: translateX(100%);
	transition: transform .25s ease-in-out;
}
.offcanvas.is-open .offcanvas-panel { transform: none; }
.offcanvas-close { position: absolute; top: 20px; right: 25px; padding: 8px; border: 0; background: none; color: #fff; cursor: pointer; }
.offcanvas-close svg { display: block; fill: currentColor; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav a { display: block; padding: 5px 0; color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.mobile-nav a:hover, .mobile-nav .is-current > a, .mobile-nav .is-current > .mobile-nav-row a { color: #abdfff; }
.mobile-nav-row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-row button { padding: 6px; border: 0; background: none; color: #fff; cursor: pointer; }
.mobile-nav-row button svg { display: block; fill: currentColor; transition: transform .2s; }
.mobile-nav .is-open > .mobile-nav-row svg { transform: rotate(180deg); }
.mobile-nav .submenu { display: none; padding: 5px 0 10px 20px; }
.mobile-nav .is-open > .submenu { display: block; }
.mobile-nav .submenu a { font-size: 16px; font-weight: 600; }
body.no-scroll { overflow: hidden; }

@media (max-width: 999.98px) {
	.header-top, .nav { display: none; }
	.menu-toggle { display: block; }
	.header-container { padding: 0 5vw; }
}
@media (max-width: 689.98px) {
	.offcanvas-panel { width: 90vw; }
	.header-main .header-container { min-height: 80px; }
	.site-logo img { max-height: 60px; }
}

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--c2); }
.footer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; padding: 56px 0; }
.footer-copyright p { margin: 0; color: var(--c7); font-size: 13px; line-height: 1.3; }
.footer-menu ul { display: flex; flex-wrap: wrap; margin: 0 -12.5px; padding: 0; list-style: none; row-gap: 16px; }
.footer-menu a { display: block; padding: 0 12.5px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.footer-menu a:hover, .footer-menu .is-current > a { color: #abdfff; }
.socials-footer { align-items: flex-start; }
.socials-footer a { color: var(--c6); }
.socials-footer a:hover { color: var(--c1); }
.socials-footer svg { width: 21px; height: 21px; }
@media (max-width: 999.98px) {
	.footer-row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
	.footer-ghost { display: none; }
	.footer-menu ul, .socials-footer { justify-content: center; }
}

/* ---- Page title band + content box ------------------------------------ */
.page-hero {
	display: flex;
	align-items: center;
	min-height: 159px;
	padding: 50px 0;
	background: var(--c6) url("../../wp-content/uploads/2025/11/header-scaled.jpg") 0 0 / cover no-repeat;
}
.page-hero h1, .page-hero-title { margin: 0; color: var(--c7); font-size: 30px; font-weight: 700; line-height: 1.5; }
.page-body { padding-bottom: 60px; }
.page-box {
	padding: 40px;
	background: var(--c8);
	border-radius: 3px;
	box-shadow: 0 12px 18px -6px rgba(35, 57, 102, .67);
}
.page-box > :last-child, .prose > :last-child { margin-bottom: 0; }
.prose > :is(h1, h2, h3, h4, h5, h6):not(:first-child) { margin-top: 30px; }
@media (max-width: 999.98px) { .page-box { padding: 35px; } }
@media (max-width: 689.98px) {
	:root { --container: 88vw; }
	.page-box { padding: 20px; }
	.page-body { padding-bottom: 50px; }
}

/* ---- Elementor-like building blocks (used inside pages) --------------- */
/* .e-stack: vertical flow with 20px gaps (old Elementor container) */
.e-stack { display: flex; flex-direction: column; gap: var(--gap); }
.e-stack > * { margin-top: 0; margin-bottom: 0; }
.e-row { display: flex; gap: var(--gap); }
.e-row > * { flex: 1 1 0; min-width: 0; }
.e-pad, .e-wrap { padding: 10px; }
.e-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.e-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.e-heading { margin: 0; line-height: 1; }
.e-center { text-align: center; }
.e-right { text-align: right; }
.text > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
	.e-row { flex-direction: column; }
	.e-grid-3, .e-grid-2 { grid-template-columns: 1fr; }
}

/* Tabs (old Elementor nested tabs) */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.tabs-nav button {
	padding: 18px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--c2);
	font: 400 16px/1.65 var(--font);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.tabs-nav button:hover { background: var(--c5); color: var(--c4); }
.tabs-nav button[aria-selected="true"] { background: #cee0ec; color: var(--c4); }
.tab-panel[hidden] { display: none; }
.tab-box { padding: 16px; border-radius: 10px; background: #cee0ec; }
.tab-box > :last-child { margin-bottom: 0; }

/* Institutions page: square tabs, centred, grey panel */
.tabs-square .tabs-nav { justify-content: center; }
.tabs-square .tabs-nav button { padding: 8px; border-radius: 0; background: #dae3f5; color: #54595f; font-size: 14px; }
.tabs-square .tabs-nav button:hover, .tabs-square .tabs-nav button[aria-selected="true"] { background: var(--c4); color: #fff; }
.tabs-square .tab-panel { padding: 10px; background: #eee; }
.tabs-square .tab-inner { padding: 0 10px; }
.tabs-square .tab-inner > img { display: block; width: 130px; margin: 10px auto 20px; }

/* Accordion (old Elementor nested accordion, Tours page) */
.accordions { display: flex; flex-direction: column; gap: 20px; }
.accordion > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid #d5d8dc;
	background: var(--c4);
	color: var(--c5);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.65;
	list-style: none;
	cursor: pointer;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::before { content: "+"; display: inline-block; width: 15px; font-size: 22px; text-align: center; }
.accordion[open] > summary::before { content: "\2212"; }
.accordion > summary:hover { background: var(--c2); }
.accordion-body { display: flex; flex-direction: column; gap: 5px; padding: 10px; background: var(--c5); border: 1px solid #d5d8dc; border-top: 0; }

/* ---- Home page -------------------------------------------------------- */
.home-logos { padding: 30px; background: #0f164e; }
.home-logos img { display: block; width: calc(min(1140px, 100%) * .47384); margin: 0 auto; }
.home-banner img { display: block; width: 100%; }
.home-video { width: min(859px, 100%); margin: 0 auto; padding: 10px; }
.video-16x9 { position: relative; padding-top: 56.25%; }
.video-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-welcome { padding: 30px; background: linear-gradient(180deg, #ddd 0%, #848fb3 100%); }
.home-welcome-inner { width: min(935px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.home-welcome h2 { margin: 0; line-height: 1; }
.home-airline { position: relative; padding: 40px; background: url("../../wp-content/uploads/2026/03/01-1400x400-1.jpg") center / auto; }
.home-airline::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .73; }
.home-airline .e-row { position: relative; width: min(1140px, 100%); margin: 0 auto; padding: 10px; }
.home-airline .e-row > * { padding: 10px; }
.home-airline .e-row > :first-child { flex: 0 0 calc((100% - 20px) * .2927); }
.home-airline p { margin: 0; }
@media (max-width: 767px) {
	.home-logos img { width: 100%; }
	.home-airline { padding: 20px; }
}

/* Canvas page (/39-icmart-world-congress-on-medical-acupuncture/) */
.canvas-intro { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 80px; text-align: center; }
.canvas-intro > * { margin: 0; line-height: 1; }

/* ---- Speakers --------------------------------------------------------- */
.speakers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 19px 10px; text-align: center; }
.speaker-card { display: flex; flex-direction: column; padding: 3px 0; background: #fff; border-radius: 3px; box-shadow: 0 0 10px rgba(0, 0, 0, .15); overflow: hidden; }
.speaker-card-photo { position: relative; display: block; padding-bottom: 95%; margin-bottom: 25px; overflow: hidden; }
.speaker-card-photo img { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); }
.speaker-card-name { margin: 0 4px 4px; font-size: 16px; line-height: 1; }
.speaker-card-org { margin: 0 4px 14px; color: #777; font-size: 13px; line-height: 1.5; }
@media (max-width: 1024px) { .speakers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
	.speakers { grid-template-columns: 1fr; }
	.speaker-card-photo { padding-bottom: 50%; }
}

/* Speaker page */
.person-section { padding: 40px 0; }
.person-back { width: var(--container); margin: -10px auto 20px; font-size: 15px; font-weight: 600; }
.person-back a:hover { text-decoration: underline; }
.person {
	display: flex;
	gap: 20px;
	width: var(--container);
	margin: 0 auto;
	padding: 40px;
	background: #fff;
	border-radius: 19px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}
.person-photo { flex: 0 0 17.391%; padding: 10px; }
.person-photo img { display: block; width: 100%; }
.person-body { flex: 1 1 0; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.person-body .person-name { margin: 0; font-size: 40px; line-height: 1; }
.person-org { margin: 0; }
.person-body hr { width: 100%; margin: 0; padding: 0; border: 0; height: 31px; background: linear-gradient(#000, #000) center / 100% 1px no-repeat; }
@media (max-width: 767px) {
	.person-section { padding: 20px 10px; }
	.person { flex-direction: column; padding: 20px; }
	.person-photo { flex-basis: auto; }
}

/* Speaker popup (site.js): Speakers / Keynote Speakers cards and Program links */
.sp-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 30px; }
.sp-modal[hidden] { display: none; }
.sp-backdrop { position: absolute; inset: 0; background: rgba(15, 22, 78, .75); }
.sp-dialog { position: relative; width: min(1000px, 100%); background: #fff; border-radius: 19px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); animation: sp-in .2s ease-out; }
.sp-dialog:focus { outline: none; }
.sp-content { max-height: calc(100vh - 60px); overflow-y: auto; overscroll-behavior: contain; border-radius: 19px; }
.sp-content .person { width: auto; border-radius: 0; box-shadow: none; padding: 30px; }
.sp-content .person-photo { flex-basis: 26%; }
.sp-content .person-name { font-size: 32px; padding-right: 30px; }
.sp-loading { padding: 80px 30px; text-align: center; color: var(--c3); }
.sp-close, .sp-nav { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c5); color: var(--c4); cursor: pointer; }
.sp-close:hover, .sp-nav:hover { background: var(--c2); color: #fff; }
.sp-close { top: 14px; right: 14px; }
.sp-close svg { width: 14px; height: 14px; fill: currentColor; }
.sp-nav { top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .9); }
.sp-nav svg { width: 22px; height: 22px; }
.sp-prev { left: -60px; }
.sp-next { right: -60px; }
.sp-nav[hidden] { display: none; }
.person-full { margin: 0; font-weight: 600; }
body.sp-open { overflow: hidden; }
@keyframes sp-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@media (max-width: 1120px) {
	.sp-prev { left: 8px; }
	.sp-next { right: 8px; }
	.sp-nav { top: auto; bottom: 8px; transform: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
	.sp-modal { padding: 20px 10px; }
}
@media (max-width: 767px) {
	.sp-content { max-height: calc(100vh - 40px); }
	.sp-content .person { padding: 20px 20px 70px; }
	.sp-content .person-photo { width: 60%; padding: 0; }
	.sp-content .person-name { font-size: 26px; }
}

/* ---- Program ---------------------------------------------------------- */
.program-top { padding: 10px; }
.program-body { padding: 10px; }
/* Program page: title band stays, content box uses the full page width */
.page-program .page-body .container { width: auto; margin: 0 40px; }
@media (max-width: 689.98px) { .page-program .page-body .container { margin: 0 6vw; } }

/* ---- Poster Programme ------------------------------------------------ */
.poster-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.poster-table { min-width: 640px; margin: 0; }
.poster-table th, .poster-table td { vertical-align: top; }
.poster-table td.poster-no { width: 70px; font-weight: 700; color: var(--c2); white-space: nowrap; }
.poster-table td.poster-name { width: 26%; text-align: left; font-weight: 600; color: #14243d; }
.poster-table td.poster-title { text-align: left; }
.poster-table th.poster-name, .poster-table th.poster-title { text-align: left; }
.poster-table tbody tr:nth-child(even) td { background: var(--c7); }
@media (max-width: 689.98px) {   /* phone: one card per poster (No + presenter, title below) */
	.poster-table { min-width: 0; border: 0; }
	.poster-table thead { display: none; }
	.poster-table tbody tr { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--c5); margin-bottom: 10px; }
	.poster-table td { border: 0; padding: .6em .9em; }
	.poster-table td.poster-no, .poster-table td.poster-name { width: auto; padding-bottom: 0; }
	.poster-table td.poster-title { grid-column: 1 / -1; }
}

/* ---- Awards ----------------------------------------------------------- */
.award-top { display: flex; justify-content: flex-end; margin-bottom: 14px; padding: 20px; }
.award-box { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; padding: 30px; border: 1px solid var(--c2); border-radius: 30px; }
.award-box > * { margin: 0; }
.award-box h4, .award-box h6 { line-height: 1; }

/* ---- Registration ----------------------------------------------------- */
.registration { display: flex; flex-direction: column; gap: 30px; padding: 10px; }
.registration > * { margin: 0; }
.fee-table table { margin: 0; }
.registration > h2, .registration > h3, .registration > h4 { line-height: 1; }


.date-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 10px; border: 3px solid var(--c2); border-radius: 30px; }
.date-box > * { margin: 0; }
.date-box h5 { line-height: 1; }
.date-box-regular { border-color: var(--accent); }
.date-box-onsite { border-color: #9b3b2e; }

/* ---- Accommodation ---------------------------------------------------- */
.hotel-main, .hotel-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; padding: 20px; border: 3px groove var(--c2); }
.hotel-list { border-color: rgba(231, 231, 231, .41); }
.hotel-main > h4, .hotel-list > h4 { margin: 0; line-height: 1; }
.hotel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 10px; }
.hotel { display: flex; gap: 20px; padding: 8px; background: rgba(231, 231, 231, .31); }
.hotel-photo { flex: 0 0 31%; min-height: 150px; background: center / cover no-repeat; }
.hotel-info { flex: 1 1 0; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.hotel-info p { margin: 0; }
.hotel-info .small { font-size: 13px; }
@media (max-width: 1024px) { .hotel-photo { flex-basis: 250px; } }
@media (max-width: 767px) {
	.hotel-grid { grid-template-columns: 1fr; }
	.hotel { flex-direction: column; }
	.hotel-photo { flex-basis: auto; }
}

/* ---- Tours ------------------------------------------------------------ */
.tours { display: flex; gap: 20px; padding: 10px; }
.tours-main { flex: 0 1 70%; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tours-main > p { margin: 0; }
.tours-side { flex: 0 1 30%; min-width: 0; }
.tour-intro { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.tour-intro p { margin: 0; }
.tour-price p { margin: 0 0 5px; color: var(--c1); }
.tour-stop { display: flex; gap: 20px; }
.tour-stop > div { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.tour-stop > div:first-child { flex: 0 1 70%; min-width: 0; }
.tour-stop > div:last-child { flex: 0 1 30%; min-width: 0; }
.tour-stop h6 { margin: 0; line-height: 1; }
.tour-stop img { border-radius: 20px; }
.tour-small, .tour-small p, .tour-small li { font-size: 14px; }
.tour-small p { margin: 0; }
.tour-schedule { padding: 10px; background: #fafafa; display: flex; flex-direction: column; gap: 20px; }
.tour-schedule h6 { margin: 0; line-height: 1; }
.tour-schedule table { margin: 0; }
.museums { padding: 10px; background: #eee; display: flex; flex-direction: column; gap: 20px; }
.museums > h5 { margin: 0; line-height: 1; }
.tour-guide { padding: 10px; background: #eee; display: flex; flex-direction: column; gap: 20px; }
.tour-guide > * { margin: 0; }
.tour-guide h5 { line-height: 1; }
@media (max-width: 767px) {
	.tours, .tour-stop { flex-direction: column; }
	.tours-main, .tour-stop > div:first-child { flex-basis: auto; }
}

/* ---- Venue ------------------------------------------------------------ */
.venue-block { display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.venue-block > h4 { margin: 0; line-height: 1; }
.venue-block > .text p:last-child { margin-bottom: 0; }
.venue-block .e-row > .w70 { flex: 0 1 70%; }
.venue-block .e-row > .w30 { flex: 0 1 30%; }
.venue-block a:hover img { opacity: .75; }
.map iframe { width: 100%; border: 0; }

/* ---- Contact ---------------------------------------------------------- */
.contact { display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.contact-head { text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 10px; }
.contact-card { display: flex; flex-direction: column; gap: 20px; padding: 16px; background: var(--c5); }
.contact-card > * { margin: 0; }
.contact-card h5 { line-height: 1; }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- 404 -------------------------------------------------------------- */
.not-found { padding: 60px 0; text-align: center; }
.not-found h1 { font-size: 30px; }

/* ---- Gala dinner popup (front page) ----------------------------------- */
.popup { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }
.popup-dialog { position: relative; width: 370px; max-width: 100%; background: #f8f3ef; animation: popup-in 1s; }
.popup-dialog > img { display: block; width: 100%; }
.popup-close { position: absolute; top: 0; right: 101%; padding: 4px; border: 0; background: none; color: #fff; cursor: pointer; }
.popup-close svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.popup-body { display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 10% 5%; text-align: center; }
.popup-body > * { margin: 0; }
.popup-kicker { color: #626060; font: 400 20px/25px Anton, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.popup-price { color: #000; font: 400 45px/1.2 Anton, sans-serif; letter-spacing: 4.25px; text-transform: uppercase; }
.popup-place { color: var(--c4); font-size: 25px; line-height: 1; }
.popup-btn { align-self: center; padding: 15px 20px; border: 1px solid #000; background: #000; color: #fff; font: 300 14px/1.3 Roboto, sans-serif; letter-spacing: 1.53px; text-transform: uppercase; }
.popup-btn:hover { background: transparent; color: #000; }
@keyframes popup-in { from { transform: translateX(100vw); } to { transform: none; } }
@media (max-width: 767px) {
	.popup-dialog { width: 320px; }
	.popup-body { gap: 15px; }
	.popup-kicker { font-size: 16px; }
	.popup-price { letter-spacing: 3.25px; }
	.popup-close { right: 0; top: -30px; }
}
