/* ============================================================
   ChrysCapital Domestic AGM 2027 - Global CSS (Concept B "The Invitation")
   Project 1434. Replace the full global CSS with this file.
   ASCII only. No field/widget ids: hooks are Stylesheet Classes
   (chx-*) set in the CMS, with a label-based JS fallback.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --o1: #C9532F;
  --o2: #E36F3E;
  --o3: #F5A050;
  --grad: linear-gradient(100deg, #D4603A 0%, #E8763F 55%, #F5A050 100%);
  --cream: #FDF7F1;
  --cream2: #FBEFE4;
  --peach: #FEF3EA;
  --line: #F1DCCB;
  --ink: #2B2522;
  --ink2: #5B4D45;
  --muted: #8A776B;
  --green: #0d4638;
  --err: #B3261E;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --pill: 999px;
  --sh-card: 0 30px 60px -45px rgba(140, 60, 20, 0.45);
  --sh-btn: 0 14px 30px -12px rgba(201, 83, 47, 0.65);
  --sh-btn-hv: 0 20px 36px -12px rgba(201, 83, 47, 0.70);
  --ring: 0 0 0 4px rgba(227, 111, 62, 0.14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream) !important;
  color: var(--ink);
  font-family: var(--sans) !important;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body, input, select, textarea, button { font-family: var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--o1); text-decoration: none; }
a:hover { color: var(--o2); }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; color: var(--ink); }
.chx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.head-padding, .region-headertop.empty { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }
.container-mobile { width: 100%; }

/* ============================================================
   Header: slim bar (logo + nav) and the invitation hero
   ============================================================ */
.fHeader {
  position: relative !important;
  background: transparent !important;
  padding: 0 !important;
  min-height: 0 !important;
  z-index: 20 !important;
}
.fHeader::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--grad);
}
.fheaderToptwo { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.fHeader .navbar-header, .navbar-header {
  width: 100% !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.navbar-header .wrap {
  width: 100% !important;
  max-width: 1264px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
}
.region-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 24px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Logo (Image widget, class fLogo) */
.region-header .fLogo {
  order: 1;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 88px;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.fLogo .fModuleContent, .fLogo .fGalleryImages, .fLogo .fGalleryItem, .fLogo .fGalleryImage {
  display: block !important; margin: 0 !important; padding: 0 !important; list-style: none !important; width: auto !important;
}
.fLogo img {
  display: block !important;
  height: 40px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

/* Navigation widget (Main Menu, class chx-nav) */
.region-header .chx-nav,
.region-header .f-module-pages-menu {
  order: 2;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.chx-nav .navbar-toggle-container, .f-module-pages-menu .navbar-toggle-container { display: none !important; }
.chx-nav nav, .f-module-pages-menu nav { display: block !important; }
.chx-nav ul.fMenu, .f-module-pages-menu ul.fMenu, #chx-stickybar ul.fMenu {
  display: flex !important;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chx-nav ul.fMenu li, .f-module-pages-menu ul.fMenu li, #chx-stickybar ul.fMenu li { margin: 0; padding: 0; float: none; }
.chx-nav ul.fMenu a, .f-module-pages-menu ul.fMenu a, #chx-stickybar ul.fMenu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink2);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.chx-nav ul.fMenu a:hover, .f-module-pages-menu ul.fMenu a:hover, #chx-stickybar ul.fMenu a:hover,
.chx-nav ul.fMenu li.selected a { background: var(--cream2); color: var(--o1); }
.chx-nav ul.fMenu a:focus-visible, #chx-stickybar ul.fMenu a:focus-visible { outline: 2px solid var(--o2); outline-offset: 2px; }
.chx-nav .menu-item-icon, #chx-stickybar .menu-item-icon {
  display: inline-block;
  width: 16px; height: 16px;
  background: no-repeat center / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E");
}
.chx-nav li.chx-menu-login .menu-item-icon, #chx-stickybar li.chx-menu-login .menu-item-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3'/%3E%3Cpath d='M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E");
}
.chx-nav li.chx-menu-logout .menu-item-icon, #chx-stickybar li.chx-menu-logout .menu-item-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3'/%3E%3Cpath d='M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
}

/* Sticky slim bar (built by global JS from the logo + nav; hero scrolls away) */
#chx-stickybar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 247, 241, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
}
body.chx-stuck #chx-stickybar { transform: translateY(0); }
#chx-stickybar .chx-sb-in {
  max-width: 1264px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
#chx-stickybar img { height: 30px; width: auto; display: block; }
#chx-stickybar .chx-sb-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--pill);
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--sh-btn);
}
#chx-stickybar .chx-sb-right { display: flex; align-items: center; gap: 8px; }

/* ---------- Invitation hero (Venue & Date Custom Text, class fHeaderbot) ---------- */
.region-header .fHeaderbot {
  order: 3;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: left !important;
  position: relative !important;
}
.fHeaderbot::before { display: none !important; content: none !important; }
.fHeaderbot .fModuleContent, .fHeaderbot .fModuleContent > div { width: 100%; position: relative; }

.chx-hero { position: relative; padding: 40px 0 64px; }
.chx-hero .chx-bf {
  position: absolute;
  right: -20px; top: -70px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 300px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(227, 111, 62, 0.18);
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.chx-hero .chx-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 60px;
  align-items: end;
}
.chx-hero .chx-hero-grid > * { min-width: 0; }
.chx-hero .chx-kick { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--o1); font-weight: 700; margin: 0; }
.chx-hero h3.chx-title, .chx-hero .chx-title {
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  font-size: 96px !important;
  line-height: .92 !important;
  letter-spacing: -.015em !important;
  color: var(--ink) !important;
  margin: 20px 0 26px !important;
  padding: 0 !important;
  text-align: left !important;
}
.chx-hero .chx-title span {
  display: block;
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 6px;
}
.chx-hero .chx-lead { font-size: 17px; line-height: 1.7; color: var(--ink2); max-width: 540px; margin: 0 0 32px; }
.chx-hero ul.chx-when {
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 6px 28px !important;
  border-left: 1.5px solid var(--o2);
  display: block !important;
  max-width: none !important;
}
.chx-hero ul.chx-when::after { display: none !important; content: none !important; }
.chx-hero ul.chx-when li {
  display: block !important; width: auto !important; max-width: none !important; flex: none !important;
  margin: 0 0 22px !important; padding: 0 !important; text-align: left !important; color: var(--ink) !important;
}
.chx-hero ul.chx-when li:last-child { margin-bottom: 0 !important; }
.chx-hero ul.chx-when small {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 6px;
}
.chx-hero ul.chx-when small svg { width: 14px; height: 14px; color: var(--o2); flex: none; }
.chx-hero ul.chx-when b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.chx-cd { display: flex; gap: 10px; margin-top: 6px; }
.chx-cd span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: center; min-width: 64px; }
.chx-cd strong { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--o1); font-weight: 600; }
.chx-cd em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.chx-hero li.chx-cd-li.chx-cd-done { display: none !important; }

/* Buttons used in widgets */
.chx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: var(--pill); border: 0;
  background: var(--grad); color: #fff !important;
  font: 700 14px var(--sans); letter-spacing: .04em; white-space: nowrap;
  cursor: pointer; box-shadow: var(--sh-btn);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chx-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-btn-hv); color: #fff !important; }
.chx-btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.chx-btn:hover svg { transform: translateX(4px); }
.chx-btn:focus-visible { outline: 3px solid rgba(227, 111, 62, .45); outline-offset: 3px; }

/* Ornamental rule under the hero */

/* Compact hero on every page except home */
body:not(.path-home-) .chx-hero { padding: 18px 0 30px; }
body:not(.path-home-) .chx-hero .chx-bf,
body:not(.path-home-) .chx-hero .chx-lead,
body:not(.path-home-) .chx-hero .chx-hero-cta,
body:not(.path-home-) .chx-hero .chx-cd-li,
body:not(.path-home-) .chx-hero .chx-kick { display: none !important; }
body:not(.path-home-) .chx-hero .chx-hero-grid { grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
body:not(.path-home-) .chx-hero .chx-title { font-size: 44px !important; margin: 0 !important; }
body:not(.path-home-) .chx-hero .chx-title span { display: inline; padding: 0; }
body:not(.path-home-) .chx-hero ul.chx-when { display: flex !important; gap: 28px; border-left: 0; padding: 0 !important; }
body:not(.path-home-) .chx-hero ul.chx-when li { margin: 0 !important; }
body:not(.path-home-) .chx-hero ul.chx-when b { font-size: 22px; }

/* ---------- CSS-drawn icons (widgets carry no SVG, so the editor cannot strip them) ---------- */
.chx-hero ul.chx-when small::before, .chx-hc h6::before {
  content: ""; display: inline-block; width: 15px; height: 15px; flex: none;
  background: no-repeat center / 15px 15px;
}
.chx-hero ul.chx-when li.chx-w-date small::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E36F3E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E"); }
.chx-hero ul.chx-when li.chx-w-venue small::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E36F3E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.chx-hero ul.chx-when li.chx-cd-li small::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E36F3E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.chx-hc h6::before { width: 18px; height: 18px; background-size: 18px 18px; }
.chx-hc.chx-hc-room h6::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V7M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11' r='1.6'/%3E%3C/svg%3E"); }
.chx-hc.chx-hc-help h6::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.chx-hc.chx-hc-event h6::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9532F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.chx-btn.chx-arrow::after {
  content: ""; width: 18px; height: 18px; flex: none;
  background: no-repeat center / 18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease);
}
.chx-btn.chx-arrow:hover::after { transform: translateX(4px); }
.chx-rule { position: relative; height: 14px; }
.chx-rule::before, .chx-rule::after { content: ""; position: absolute; top: 50%; height: 1px; width: calc(50% - 22px); }
.chx-rule::before { left: 0; background: linear-gradient(90deg, transparent, #EBC6AC); }
.chx-rule::after { right: 0; background: linear-gradient(90deg, #EBC6AC, transparent); }
.chx-rule b { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--o2); transform: rotate(45deg); font-size: 0; line-height: 0; color: transparent; overflow: hidden; }
body:not(.path-home-) .chx-rule { display: none; }

/* ============================================================
   Content area
   ============================================================ */
#fContent { padding: 0 0 72px; }
#fContent > .container, #fContent .fPageTitle .container {
  max-width: 1264px !important;
  margin: 0 auto;
  padding: 0 32px;
}
#fContent .row { margin: 0; }
#fMatter { padding: 0; }
main { padding: 0; background: transparent; }

.fPageTitle { display: block !important; margin: 26px 0 22px !important; }
.fPageTitle h1, #heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  color: var(--ink);
  background: none;
  padding: 0;
  border-radius: 0;
}
.fPageTitle h1::before, #heading::before { display: none; content: none; }
body.path-home- .fPageTitle,
body.cva-user-account-register .fPageTitle,
body.path-thank-you-for-your-registration- .fPageTitle { display: none !important; }

/* Home layout: steps aside + form (aside is injected by the home page head JS) */
body.path-home- #fContent { padding-top: 64px; }
#fMatter.chx-has-steps {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}
#fMatter.chx-has-steps > * { grid-column: 2; }
#fMatter.chx-has-steps > .chx-steps { grid-column: 1; grid-row: 1 / span 3; }
#fMatter.chx-has-steps > script, #fMatter.chx-has-steps > style { display: none; }

.chx-steps { position: sticky; top: 92px; }
.chx-steps h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 8px; }
.chx-steps p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 26px; }
.chx-steps ol { list-style: none; margin: 0; padding: 0; position: relative; }
.chx-steps ol::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1.5px; background: var(--line); }
.chx-steps li { position: relative; display: flex; gap: 16px; align-items: center; padding: 12px 0; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.chx-steps li .chx-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line);
  font-size: 13px; z-index: 1; flex: none;
  transition: background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.chx-steps li .chx-dot svg { width: 16px; height: 16px; display: none; }
.chx-steps li.done { color: var(--ink); }
.chx-steps li.done .chx-dot { background: var(--o2); border-color: var(--o2); color: #fff; }
.chx-steps li.done .chx-dot svg { display: block; }
.chx-steps li.done .chx-dot b { display: none; }
.chx-steps li.cur { color: var(--ink); }
.chx-steps li.cur .chx-dot { border-color: var(--o2); color: var(--o1); box-shadow: 0 0 0 5px rgba(227, 111, 62, .12); }
.chx-steps li.cur.done .chx-dot { color: #fff; }

/* ============================================================
   Forms (Registration Form layout + User Form layout/widget)
   ============================================================ */
.fForm {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: 34px 38px 30px;
  margin: 0 0 24px;
  overflow: visible;
  counter-reset: chxstep;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.fForm > fieldset, .fForm > .buttons, .fForm > .form-item-type-buttons, .fForm > input[type="hidden"] + .buttons { flex: 0 0 100%; width: 100%; }
.fForm fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fForm fieldset > legend { display: none; }
.fForm .f-fieldset-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  padding: 0;
}
.fForm .form-item { margin: 0 !important; padding: 0 !important; min-width: 0; float: none; }
.fForm .form-item.col-12 { flex: 0 0 100%; width: 100%; max-width: 100%; }
@media (min-width: 768px) {
  .fForm .form-item.col-md-6 { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); max-width: calc(50% - 10px); }
}

/* Section headings with STEP counter */
.fForm .form-item-type-heading { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; background: transparent !important; border: 0 !important; counter-increment: chxstep; }
.fForm .form-item-type-heading .form-heading {
  background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; display: block;
}
.fForm .form-item-type-heading .form-heading-legend {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--ink);
}
.fForm .form-item-type-heading .form-heading-legend::before {
  content: "STEP 0" counter(chxstep);
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--o1); font-weight: 700;
  flex: none;
}
.fForm .form-item-type-heading .chx-sub { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin: 6px 0 0; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.fForm .form-item-type-heading ~ .form-item-type-heading { border-top: 1px solid var(--line) !important; padding-top: 30px !important; margin-top: 14px !important; }

/* Labels / hints / errors */
.fForm label, body form.fForm label, body fieldset label {
  display: block; width: 100%; float: none; text-align: left; min-height: 0;
  margin: 0 0 8px; padding: 0;
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--ink2);
}
.fForm label i.chx-req { color: var(--o2); font-style: normal; }
.fForm .hint, body form.fForm .hint { display: block; margin: 8px 0 0 !important; font-size: 12.5px; line-height: 1.55; color: var(--muted) !important; }
.fForm .error, body form.fForm .error, .fForm .form-item-error .error { display: block; margin: 7px 0 0 !important; font-size: 12.5px; color: var(--err) !important; font-weight: 600; }
.fForm .form-item-error input, .fForm .form-item-error select, .fForm .form-item.chx-invalid input, .fForm .form-item.chx-invalid select { border-color: var(--err) !important; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12) !important; }
.fForm .form-item.chx-invalid .chx-seg { box-shadow: 0 0 0 2px rgba(179, 38, 30, .55); }
.fForm .form-item.chx-invalid .chx-chips { outline: 2px solid rgba(179, 38, 30, .45); outline-offset: 6px; border-radius: 14px; }
.chx-msg { display: none; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: var(--err); }
.form-item.chx-invalid .chx-msg { display: block; }

/* Inputs */
.fForm input[type="text"], .fForm input[type="email"], .fForm input[type="password"], .fForm input[type="tel"],
.fForm input[type="number"], .fForm input[type="date"], .fForm textarea, .fForm select,
body form input[type="text"], body form input[type="email"], body form input[type="password"], body form select, body form textarea {
  width: 100%; max-width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background-color: var(--peach);
  background-image: none;
  border-radius: var(--r-sm);
  font: 500 15px var(--sans);
  color: var(--ink);
  box-shadow: none;
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.fForm textarea, body form textarea { height: 110px; padding: 13px 16px; resize: vertical; }
.fForm input::placeholder, body form input::placeholder { color: #C29C86; }
.fForm input:hover, .fForm select:hover, .fForm textarea:hover { border-color: #EBC6AC; }
.fForm input:focus, .fForm select:focus, .fForm textarea:focus,
body form input:focus, body form select:focus, body form textarea:focus { border-color: var(--o2); background-color: #fff; box-shadow: var(--ring); }
.fForm select, body form select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E36F3E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px;
}

/* Country Code + Contact Number pair (no DOM move: widths only) */
.fForm .form-item.chx-cc { flex: 0 0 190px !important; width: 190px !important; max-width: 190px !important; }
.fForm .form-item.chx-phone { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; }
.fForm .form-item.chx-cc select { background-color: #fff; font-weight: 700; padding-left: 14px; padding-right: 34px; background-position: right 10px center; text-overflow: ellipsis; }
.fForm .form-item.chx-cc .hint { display: none !important; }
.fForm .form-item.chx-phone input { letter-spacing: .02em; }

/* Yes / No segmented control (enhances a native select, which stays in the DOM) */
.fForm .form-item.chx-yn { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; padding: 18px 0 !important; border-top: 1px solid var(--line); }
.fForm .form-item.chx-yn > label { grid-column: 1; text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.fForm .form-item.chx-yn > .hint { grid-column: 1; margin: 0 !important; font-size: 13px; }
.fForm .form-item.chx-yn > .chx-seg { grid-column: 2; grid-row: 1 / span 2; }
.fForm .form-item.chx-yn > .error, .fForm .form-item.chx-yn > .chx-msg { grid-column: 1 / -1; }
.fForm .form-item-type-heading + .form-item.chx-yn { border-top: 0; padding-top: 4px !important; }
.chx-enh select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; padding: 0 !important; border: 0 !important; }
.fForm .form-item.chx-enh { position: relative; }
.chx-seg { display: flex; background: var(--cream2); border-radius: var(--pill); padding: 4px; flex: none; }
.chx-seg button {
  all: unset; box-sizing: border-box;
  font: 700 13px var(--sans); color: var(--ink2);
  height: 40px; padding: 0 24px; border-radius: var(--pill); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, box-shadow .2s;
}
.chx-seg button:hover { color: var(--o1); }
.chx-seg button[aria-pressed="true"] { background: #fff; color: var(--o1); box-shadow: 0 4px 12px -4px rgba(140, 60, 20, .3); }
.chx-seg button:focus-visible, .chx-chips button:focus-visible { outline: 2px solid var(--o2); outline-offset: 2px; }

/* Dietary chips */
.fForm .form-item.chx-diet { padding-top: 18px !important; border-top: 1px solid var(--line); }
.fForm .form-item.chx-diet > label { text-transform: none; letter-spacing: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.chx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chx-chips button {
  all: unset; box-sizing: border-box; cursor: pointer;
  border: 1px solid var(--line); background: var(--peach);
  border-radius: var(--pill); padding: 10px 18px;
  font: 600 13.5px var(--sans); color: var(--ink2);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.chx-chips button:hover { border-color: #EBC6AC; transform: translateY(-1px); }
.chx-chips button[aria-pressed="true"] { background: var(--o2); border-color: var(--o2); color: #fff; }
.fForm .form-item.chx-diet-other { display: none; }
.fForm .form-item.chx-diet-other.chx-show { display: block; animation: chxFade .35s var(--ease) both; }

/* Buttons row */
.fForm .buttons, .fForm .form-item-type-buttons, .fForm .form-item.buttons {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  margin: 6px 0 0 !important; padding: 22px 0 0 !important;
  border-top: 1px solid var(--line);
  background: transparent !important;
}
.fForm .buttons a { display: none; }
.fForm .buttons .chx-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12.5px; color: var(--muted); }
.fForm .buttons .chx-note svg { width: 18px; height: 18px; color: var(--o1); flex: none; }
.fForm .buttons input[type="submit"], .fForm .buttons button[type="submit"], .fForm input[type="submit"] {
  -webkit-appearance: none; appearance: none;
  height: 52px; min-width: 170px;
  padding: 0 52px 0 28px !important;
  border: 0; border-radius: var(--pill) !important;
  background-color: var(--o2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"), var(--grad);
  background-repeat: no-repeat, no-repeat;
  background-position: right 22px center, center;
  background-size: 18px 18px, 100% 100%;
  color: #fff; font: 700 14px var(--sans); letter-spacing: .04em;
  cursor: pointer; box-shadow: var(--sh-btn);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .25s var(--ease);
}
.fForm input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--sh-btn-hv); background-position: right 18px center, center; }
.fForm input[type="submit"]:focus-visible { outline: 3px solid rgba(227, 111, 62, .45); outline-offset: 3px; }
.fForm input[type="submit"][disabled] { opacity: .6; cursor: wait; }

/* Checkbox / radio safety */
.fForm .checkbox { display: flex; align-items: center; gap: 10px; }
.fForm input[type="checkbox"], .fForm input[type="radio"] { width: auto; height: auto; -webkit-appearance: auto; appearance: auto; accent-color: var(--o2); }
.fForm .form-item-type-checkbox label, .fForm .form-item-type-radio .checkbox label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }

/* ============================================================
   Toasts (#f-messages and JS toasts) - restyled, same behaviour
   ============================================================ */
#f-messages:empty { display: none !important; }
body.cva-user-account-register #f-messages:not(:empty),
body.path-home- #f-messages:not(:empty) {
  position: fixed !important;
  top: 22px !important; left: 50% !important;
  z-index: 2147483647 !important;
  width: auto !important; min-width: 340px !important; max-width: 590px !important;
  margin: 0 !important; padding: 0 !important;
  opacity: 0;
  transform: translate(-50%, -130px) scale(.96);
  animation: ccToastIn .55s ease forwards, ccToastOutRight .65s ease 4.5s forwards;
  pointer-events: none !important;
}
body.cva-user-account-register #f-messages .item,
body.path-home- #f-messages .item {
  position: relative !important;
  background: #fff !important; color: var(--ink2) !important;
  border: 1px solid var(--line) !important; border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(43, 37, 34, .22) !important;
  padding: 16px 20px 16px 62px !important;
  font: 600 14px/1.4 var(--sans) !important;
  overflow: hidden !important; margin: 0 !important;
}
body.cva-user-account-register #f-messages .item::before,
body.path-home- #f-messages .item::before {
  content: "" !important; position: absolute !important; left: 0; top: 0; width: 6px; height: 100%; background: var(--grad) !important;
}
body.cva-user-account-register #f-messages .item::after,
body.path-home- #f-messages .item::after {
  content: "" !important; position: absolute !important; left: 26px; top: 20px; width: 16px; height: 9px;
  border-left: 3px solid var(--o1) !important; border-bottom: 3px solid var(--o1) !important; transform: rotate(-45deg) !important;
}
body.path-home- #f-messages .item.error, body.cva-user-account-register #f-messages .item.error { color: var(--err) !important; }
@keyframes ccToastIn { 0% { opacity: 0; transform: translate(-50%, -130px) scale(.96); } 70% { opacity: 1; transform: translate(-50%, 8px) scale(1); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes ccToastOutRight { 0% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(130vw, 0) scale(.98); } }

/* ============================================================
   Footer: hotel cards (class chx-foot-hotel) + brand bar (class chx-foot-brand)
   ============================================================ */
footer, #fFooter {
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
#fFooter > .container { max-width: 1264px !important; margin: 0 auto; padding: 0 32px; }
#fFooter .region-footer { display: block; }
#fFooter .fModule { width: 100%; margin: 0; padding: 0; float: none; }
#fFooter .fModuleTitle, #fFooter .f-module-title { display: none; }

.chx-hotel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 72px; }
.chx-hc { background: var(--cream2); border-radius: var(--r-md); padding: 24px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.chx-hc:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(140, 60, 20, .5); }
.chx-hc h6 { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--o1); }
.chx-hc h6 svg { width: 18px; height: 18px; flex: none; }
.chx-hc p { margin: 0 0 4px; font-size: 14px; line-height: 1.65; color: var(--ink2); text-align: left !important; }
.chx-hc a { color: var(--o1); font-weight: 700; }
.chx-hc a:hover { text-decoration: underline; }

.chx-brandbar {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(180deg, #E36F3E, #D9623A);
  color: #fff;
}
.chx-brandbar .chx-bb-in { max-width: 1264px; margin: 0 auto; padding: 40px 32px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.chx-brandbar img { height: 36px; width: auto; filter: brightness(0) invert(1); display: block; }
.chx-brandbar p { margin: 0; font-size: 13px; line-height: 1.6; text-align: right; opacity: .95; color: #fff; }
.chx-brandbar a { color: #fff; font-weight: 700; }

/* ============================================================
   Back to top (CMS #nav-up, restyled; JS swaps icon to SVG)
   ============================================================ */
#nav-up {
  position: fixed !important;
  right: 24px !important; bottom: 24px !important; left: auto !important; top: auto !important;
  width: 48px !important; height: 48px !important; min-width: 0 !important; min-height: 0 !important;
  padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 50% !important;
  background: var(--grad) !important; color: #fff !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), var(--sh-btn) !important;
  display: flex !important; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999 !important;
  opacity: 0 !important; visibility: hidden !important;
  transform: translateY(12px) !important;
  animation: none !important;
  transition: opacity .3s ease, transform .3s ease, visibility .3s, box-shadow .2s !important;
}
body.chx-show-top #nav-up { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
#nav-up:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), var(--sh-btn-hv) !important; transform: translateY(-3px) !important; }
#nav-up:focus-visible { outline: 3px solid rgba(227, 111, 62, .5) !important; outline-offset: 3px; }
#nav-up svg { width: 20px; height: 20px; display: block; }
#nav-up i, #nav-up #btn-vibrate i { display: none !important; }
#nav-up #btn-vibrate { display: flex; animation: none !important; }
body.path-thank-you-for-your-registration- #nav-up { display: none !important; }

/* ============================================================
   Other pages
   ============================================================ */
/* Login */
body.path-user-login- #fMatter form, body.path-user-account-recover- #fMatter form { max-width: 560px; margin: 0 auto 24px; }
body.path-user-login- .fForm .form-item, body.path-user-account-recover- .fForm .form-item { flex: 0 0 100%; width: 100%; }
.path-user-account-recover- form #form-item-username { width: 100%; }
.chx-login-intro { max-width: 560px; margin: 0 auto 18px; font-size: 14px; color: var(--muted); line-height: 1.6; }
body.path-user-login- .fPageTitle, body.path-user-account-recover- .fPageTitle { text-align: center; }
body.path-user-login- .fPageTitle h1, body.path-user-account-recover- .fPageTitle h1 { max-width: 560px; margin: 0 auto; text-align: left; }
body.path-user-login- .buttons a, body.path-user-account-recover- .buttons a { display: inline-block !important; font-size: 13px; font-weight: 600; color: var(--o1); }

/* Tables (dashboards) */
.content-wrap table, #fMatter table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-card); }
.content-wrap table thead, #fMatter table thead { background: var(--grad); }
.content-wrap table thead th, #fMatter table thead th { color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.content-wrap table td, .content-wrap table th, #fMatter table td, #fMatter table th { padding: 12px 14px; border: 1px solid var(--line); }
.content-wrap table tbody tr:nth-child(even) td { background: var(--peach); }

/* ============================================================
   Motion
   ============================================================ */
.chx-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s var(--ease); }
.chx-rv.chx-in { opacity: 1; transform: none; }
@keyframes chxFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chx-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .chx-hero h3.chx-title, .chx-hero .chx-title { font-size: 76px !important; }
  .chx-hero .chx-bf { font-size: 230px; }
}
@media (max-width: 900px) {
  .navbar-header .wrap, #fContent > .container, #fContent .fPageTitle .container, #fFooter > .container,
  #chx-stickybar .chx-sb-in, .chx-brandbar .chx-bb-in { padding-left: 20px !important; padding-right: 20px !important; }
  .region-header .fLogo { height: 70px; }
  .fLogo img { height: 32px !important; }
  .chx-nav .menu-item-text { display: none; }
  .chx-nav ul.fMenu a { width: 40px; padding: 0; justify-content: center; background: #fff; border: 1px solid var(--line); }
  .chx-nav li.chx-menu-text-keep .menu-item-text { display: inline; }
  #chx-stickybar .chx-sb-in { height: 58px; }
  #chx-stickybar img { height: 26px; }
  #chx-stickybar .menu-item-text { display: none; }

  .chx-hero { padding: 20px 0 40px; }
  .chx-hero .chx-bf { display: none; }
  .chx-hero .chx-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .chx-hero h3.chx-title, .chx-hero .chx-title { font-size: 54px !important; margin: 16px 0 20px !important; }
  .chx-hero .chx-lead { font-size: 15.5px; margin-bottom: 26px; }
  .chx-hero .chx-hero-cta .chx-btn { width: 100%; justify-content: center; }
  .chx-hero ul.chx-when b { font-size: 25px; }
  .chx-cd span { min-width: 0; flex: 1; }
  body:not(.path-home-) .chx-hero .chx-hero-grid { grid-template-columns: 1fr; gap: 12px; }
  body:not(.path-home-) .chx-hero .chx-title { font-size: 32px !important; }
  body:not(.path-home-) .chx-hero ul.chx-when { flex-direction: column; gap: 10px; }
  body:not(.path-home-) .chx-hero ul.chx-when b { font-size: 19px; }

  body.path-home- #fContent { padding-top: 40px; }
  #fMatter.chx-has-steps { display: block !important; }
  .chx-steps { position: static; margin: 0 0 24px; }
  .chx-steps p { display: none; }
  .chx-steps ol { display: flex; justify-content: space-between; }
  .chx-steps ol::before { left: 18px; right: 18px; top: 18px; bottom: auto; width: auto; height: 1.5px; }
  .chx-steps li { flex-direction: column; gap: 6px; font-size: 11.5px; padding: 0; text-align: center; }

  .fForm { padding: 24px 20px; border-radius: var(--r-md); gap: 16px; }
  .fForm .f-fieldset-body { gap: 16px; }
  .fForm .form-item-type-heading .form-heading-legend { flex-direction: column; gap: 4px; font-size: 25px; }
  .fForm .form-item.chx-yn { grid-template-columns: 1fr; row-gap: 12px; }
  .fForm .form-item.chx-yn > .chx-seg { grid-column: 1; grid-row: auto; width: 100%; }
  .chx-seg button { flex: 1; }
  .fForm .buttons, .fForm .form-item-type-buttons, .fForm .form-item.buttons { flex-direction: column-reverse; align-items: stretch; }
  .fForm .buttons input[type="submit"] { width: 100%; }

  .chx-hotel { grid-template-columns: 1fr; margin-bottom: 48px; }
  .chx-brandbar .chx-bb-in { flex-direction: column; align-items: flex-start; }
  .chx-brandbar p { text-align: left; }
  #nav-up { right: 16px !important; bottom: 16px !important; width: 44px !important; height: 44px !important; }
}
@media (max-width: 767px) {
  .fForm .form-item, .fForm .form-item.col-md-6 { flex: 0 0 100%; width: 100%; max-width: 100%; }
  .fForm .form-item.chx-cc { flex: 0 0 132px !important; width: 132px !important; max-width: 132px !important; }
  .fForm .form-item.chx-phone { flex: 1 1 0 !important; }
  .fForm input[type="text"], .fForm input[type="email"], .fForm input[type="password"], .fForm input[type="tel"], .fForm select { height: 48px; font-size: 16px; }
  body.cva-user-account-register #f-messages:not(:empty),
  body.path-home- #f-messages:not(:empty) {
    top: 12px !important; left: 12px !important; right: 12px !important;
    width: auto !important; min-width: 0 !important; max-width: none !important;
    transform: translateY(-130px) scale(.96);
    animation: ccToastInMobile .55s ease forwards, ccToastOutRightMobile .65s ease 4.5s forwards;
  }
}
@media (max-width: 420px) {
  .chx-hero h3.chx-title, .chx-hero .chx-title { font-size: 46px !important; }
  .chx-steps li { font-size: 11px; }
}
@keyframes ccToastInMobile { 0% { opacity: 0; transform: translateY(-130px) scale(.96); } 70% { opacity: 1; transform: translateY(8px) scale(1); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes ccToastOutRightMobile { 0% { opacity: 1; transform: translateX(0) scale(1); } 100% { opacity: 0; transform: translateX(130vw) scale(.98); } }

body{font-variant-numeric:lining-nums}

/* 2026-10-28 Ritu: heading bolder, clearer; countdown seconds */
.chx-hero h3.chx-title, .chx-hero .chx-title { font-weight: 700 !important; letter-spacing: -.01em !important; font-variant-numeric: lining-nums !important; }
.chx-hero .chx-title span { font-style: normal; font-weight: 700; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #C4501E; -webkit-text-fill-color: #C4501E; }
.chx-cd strong { font-variant-numeric: lining-nums tabular-nums; }
