/* =====================================================================
   Conference in Europe — listing redesign (logo red + blue)
   Loaded after the site CSS in layouts/sub-page-app.blade.php.
   Selectors are prefixed with `body` so they win over older rules.
   ===================================================================== */
:root {
  --cie-navy: #0A1F5C;
  --cie-blue: #0B45A8;
  --cie-blue-dark: #0A1F5C;
  --cie-red: #D62828;
  --cie-red-soft: #FF8A8A;
  --cie-red-bg: #FDECEC;
  --cie-red-ink: #9B1C1C;
  --cie-ink: #0F172A;
  --cie-text: #334155;
  --cie-muted: #475569;
  --cie-line: #E2E8F0;
  --cie-line-soft: #F1F5F9;
  --cie-bg: #F6F8FB;
  --cie-card: #FFFFFF;
  --cie-radius: 14px;
}

/* ---------- page background + container ---------- */
body .cie-page { background: var(--cie-bg); }

/* ---------- buttons ---------- */
body .cie-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body .cie-btn i { font-size: 15px; }
body .cie-btn--red { background: var(--cie-red); color: #fff; }
body .cie-btn--red:hover { background: #B91C1C; color: #fff; }
body .cie-btn--blue { background: var(--cie-blue); color: #fff; }
body .cie-btn--blue:hover { background: var(--cie-navy); color: #fff; }
body .cie-btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
body .cie-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
body .cie-btn--outline { background: #fff; border-color: #CBD5E1; color: var(--cie-ink); }
body .cie-btn--outline:hover { border-color: var(--cie-blue); color: var(--cie-blue); }
body .cie-iconbtn {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: #334155; cursor: pointer;
}
body .cie-iconbtn:hover { border-color: var(--cie-blue); color: var(--cie-blue); }

/* ---------- HERO ---------- */
body .cie-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background-color: var(--cie-navy);
  padding: 120px 0 20px; /* top space clears the fixed navbar */
}
body .cie-hero__bg { position: absolute; inset: 0; z-index: -2; }
body .cie-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .cie-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,31,92,.94) 0%, rgba(10,31,92,.80) 45%, rgba(10,31,92,.40) 100%);
}
body .cie-hero__inner { display: flex; flex-direction: column; gap: 22px; }
body .cie-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
body .cie-hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
body .cie-hero__title { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
body .cie-hero__lead { margin: 0; font-size: 17px; line-height: 1.6; color: #E2E8F0; max-width: 680px; }
body .cie-hero__lead strong { color: var(--cie-red-soft); font-weight: 800; }
body .cie-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
body .cie-hero__credit { align-self: flex-end; margin: 0; font-size: 11px; color: #CBD5E1; }
body .cie-hero__credit a { color: #E2E8F0; text-decoration: underline; }
/* breadcrumb inside hero (partials/breadcrumb) */
body .cie-hero nav[aria-label="Breadcrumb"] { margin-top: 0 !important; font-size: 13px; color: #CBD5E1; }
body .cie-hero .container { padding: 0 !important; }

/* ---------- SEARCH (inside hero) ---------- */
body .cie-search {
  background: #fff; color: var(--cie-ink); border-radius: 16px; padding: 16px;
  box-shadow: 0 12px 32px rgba(2,6,23,.30);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px; align-items: end;
}
body .cie-search__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body .cie-search__field label { font-size: 13px; font-weight: 700; color: #334155; }
body .cie-search__field select {
  width: 100%; height: 48px; border-radius: 10px; border: 1px solid #CBD5E1; background-color: #fff;
  padding: 0 36px 0 12px; font-size: 15px; color: var(--cie-ink); font-family: inherit;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
body .cie-search__field select:focus { outline: 2px solid var(--cie-blue); outline-offset: 1px; }
body .cie-search__btn { height: 48px; padding: 0 26px; }

/* ---------- LAYOUT ---------- */
body .cie-listing { padding-top: 28px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
body .cie-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
body .cie-side { flex: 1 1 300px; max-width: 360px; min-width: 0; }

/* ---------- INTRO CONTENT ---------- */
body .cie-intro { background: #fff; border: 1px solid var(--cie-line); border-radius: 16px; padding: 22px; }
body .cie-intro, body .cie-intro p { font-size: 15px; line-height: 1.75; color: var(--cie-text); }
body .cie-intro p { margin: 0 0 10px; }
body .cie-intro strong, body .cie-intro b { color: var(--cie-ink); }
body .cie-intro h3 { font-size: 17px; font-weight: 700; color: var(--cie-ink); margin: 12px 0 6px; }
body .cie-intro details summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--cie-blue); margin-top: 6px; }
body .cie-intro details summary::-webkit-details-marker { display: none; }

/* ---------- QUICK FILTER CHIPS ---------- */
body .cie-chips { display: flex; flex-direction: column; gap: 10px; }
body .cie-chips__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body .cie-chips__label { width: 64px; font-size: 13px; font-weight: 700; color: var(--cie-muted); }
body .cie-chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid #CBD5E1; color: var(--cie-ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
body .cie-chip:hover { border-color: var(--cie-blue); color: var(--cie-blue); }
body .cie-chip.is-active { background: var(--cie-navy); border-color: var(--cie-navy); color: #fff; }

/* ---------- LIST HEADER ---------- */
body .cie-listhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--cie-line); padding-bottom: 12px; }
body .cie-listhead h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--cie-ink); }
body .cie-listhead span { font-size: 14px; color: var(--cie-muted); }

/* ---------- EVENT CARD ---------- */
body #listing-wrapper { margin-top: 0 !important; }
body #post-data { padding: 0 !important; }
body #post-data ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
body .cie-card { background: #fff; border: 1px solid var(--cie-line); border-radius: var(--cie-radius); padding: 16px; display: flex; gap: 16px; align-items: center; }
body .cie-card.is-featured { border-color: var(--cie-red); }
body .cie-date { width: 64px; flex-shrink: 0; text-align: center; border-radius: 12px; background: var(--cie-navy); padding: 9px 0; display: flex; flex-direction: column; gap: 2px; }
body .cie-date__mon { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--cie-red-soft); }
body .cie-date__day { font-size: 26px; font-weight: 800; line-height: 1; color: #fff; }
body .cie-date__yr { font-size: 11px; color: #CBD5E1; }
body .cie-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
body .cie-badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cie-red-ink); background: var(--cie-red-bg); border-radius: 6px; padding: 3px 8px; }
body .cie-card__title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
body .cie-card__title a { color: var(--cie-ink); text-decoration: none; }
body .cie-card__title a:hover { color: var(--cie-blue); text-decoration: underline; }
body .cie-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--cie-muted); align-items: center; }
body .cie-card__meta i { color: var(--cie-red); margin-right: 6px; }
body .cie-card__actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }

/* ---------- PAGINATION ---------- */
body .cie-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
body .cie-pager a, body .cie-pager span {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 15px; text-decoration: none;
}
body .cie-pager a { background: #fff; border: 1px solid #CBD5E1; color: var(--cie-ink); }
body .cie-pager a:hover { border-color: var(--cie-blue); color: var(--cie-blue); }
body .cie-pager .is-current { background: var(--cie-blue); color: #fff; font-weight: 700; }
body .cie-pager .is-gap { color: var(--cie-muted); min-width: 28px; padding: 0; }

/* ---------- FAQ ---------- */
body .cie-faq { background: #fff; border: 1px solid var(--cie-line); border-radius: 16px; padding: 22px; }
body .cie-faq > h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--cie-ink); }
body .cie-faq details { border-top: 1px solid var(--cie-line-soft); padding: 14px 0; }
body .cie-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body .cie-faq summary::-webkit-details-marker { display: none; }
body .cie-faq summary h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--cie-ink); }
body .cie-faq summary::after { content: "+"; font-size: 20px; font-weight: 700; color: var(--cie-blue); }
body .cie-faq details[open] summary::after { content: "–"; }
body .cie-faq__a { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--cie-text); }

/* ---------- SIDEBAR (restyles existing partials, markup unchanged) ---------- */
body .cie-side > div { display: flex; flex-direction: column; gap: 18px; }
body .sidebar-box { background: #fff !important; border: 1px solid var(--cie-line) !important; border-radius: 16px !important; padding: 18px !important; box-shadow: none !important; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
body .sidebar-header { background: none !important; padding: 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0 !important; }
body .sidebar-header > div { display: flex; align-items: center; gap: 10px; }
body .sidebar-header > div > i:first-child {
  width: 32px; height: 32px; border-radius: 9px; background: var(--cie-navy); color: var(--cie-red-soft) !important;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
body .sidebar-header h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--cie-ink); }
body .sidebar-count { font-size: 12px; font-weight: 700; color: var(--cie-red-ink) !important; background: var(--cie-red-bg) !important; border-radius: 999px; padding: 3px 9px; }
body .sidebar-search-wrap { padding: 0 !important; }
body .sidebar-search {
  width: 100%; box-sizing: border-box; height: 44px; border-radius: 10px !important; border: 1px solid var(--cie-line) !important;
  background: #F8FAFC !important; padding: 0 12px 0 36px !important; font-size: 14px !important; color: var(--cie-ink) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: 12px center !important;
}
body .sidebar-search:focus { outline: 2px solid var(--cie-blue); outline-offset: 0; }
body .sidebar-empty { font-size: 14px; color: var(--cie-muted); margin: 0; }
body .sidebar-scroll { max-height: 360px; overflow-y: auto; padding: 0 !important; }
body .sidebar-accordion { border-radius: 12px; background: #F8FAFC; margin-bottom: 6px; border: 0 !important; }
body .sidebar-accordion-header { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px !important; font-size: 14px; font-weight: 700; color: var(--cie-ink); background: none !important; }
body .sidebar-accordion-header::-webkit-details-marker { display: none; }
body .sidebar-accordion-header i:first-child { color: var(--cie-blue) !important; }
body .sidebar-link { display: flex !important; align-items: center; gap: 8px; padding: 9px 8px !important; border-radius: 8px; font-size: 14px; color: #334155 !important; text-decoration: none; background: none !important; }
body .sidebar-link:hover { background: #EEF2FF !important; color: var(--cie-blue) !important; }
body .sidebar-link-icon { font-size: 11px; color: #94A3B8 !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  body .cie-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-search__btn { grid-column: 1 / -1; width: 100%; }
  body .cie-side { max-width: none; }
}
@media (max-width: 640px) {
  body .cie-hero { padding: 96px 0 16px; }
  body .cie-hero__lead { font-size: 15px; }
  body .cie-hero__actions .cie-btn { flex: 1 1 auto; }
  body .cie-search { grid-template-columns: 1fr; padding: 12px; }
  body .cie-card { flex-wrap: wrap; align-items: flex-start; }
  body .cie-date { width: 54px; }
  body .cie-date__day { font-size: 22px; }
  body .cie-card__actions { width: 100%; }
  body .cie-card__actions .cie-btn { flex: 1; }
  body .cie-chips__label { width: 100%; }
  body .cie-listhead h2 { font-size: 19px; }
}
body #pagination:empty { display: none; }
body .cie-main { order: 1; }
body .cie-side { order: 2; }

/* =====================================================================
   HOME PAGE
   ===================================================================== */
body .cie-hero--home { padding-bottom: 24px; }
body .cie-hero__title--xl { font-size: clamp(32px, 4.6vw, 52px); }
body .cie-home-hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
body .cie-home-hero__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
body .cie-home-hero__side { flex: 1 1 320px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
body .cie-eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(214,40,40,.22); border: 1px solid rgba(255,138,138,.5); border-radius: 999px; padding: 6px 12px; }
body .cie-eyebrow__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--cie-red-soft); }
body .cie-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #CBD5E1; }
body .cie-popular a { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
body .cie-popular a:hover { background: rgba(255,255,255,.2); }
body .cie-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body .cie-stat { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
body .cie-stat strong { font-size: 24px; font-weight: 800; color: #fff; }
body .cie-stat span { font-size: 12px; color: #CBD5E1; }
body .cie-soon { background: #fff; color: var(--cie-ink); border-radius: 16px; padding: 16px; border-top: 4px solid var(--cie-red); display: flex; flex-direction: column; }
body .cie-soon__title { margin: 0 0 8px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; color: var(--cie-ink); }
body .cie-soon__title a { font-size: 13px; font-weight: 600; color: var(--cie-blue); }
body .cie-soon__item { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--cie-line-soft); color: var(--cie-ink); text-decoration: none; }
body .cie-soon__item:hover .cie-soon__name { color: var(--cie-blue); }
body .cie-date--sm { width: 46px; padding: 6px 0; border-radius: 10px; }
body .cie-date--sm .cie-date__day { font-size: 18px; }
body .cie-date--sm .cie-date__mon { font-size: 10px; }
body .cie-soon__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body .cie-soon__name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body .cie-soon__place { font-size: 12px; color: var(--cie-muted); }
body .cie-stripe { height: 4px; background: linear-gradient(90deg, var(--cie-red) 0 50%, var(--cie-blue) 50% 100%); }

body .cie-home { padding: 48px 0 64px; }
body .cie-home-sec { margin-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
body .cie-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
body .cie-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cie-red); margin-bottom: 6px; }
body .cie-sec-title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--cie-ink); }
body .cie-empty { color: var(--cie-muted); }
body .cie-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .cie-btn--outline-blue { background: #fff; border: 2px solid var(--cie-blue); color: var(--cie-blue); }
body .cie-btn--outline-blue:hover { background: #EEF2FF; color: var(--cie-blue); }

/* about */
body .cie-about { background: #fff; border: 1px solid var(--cie-line); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
body .cie-about__text { flex: 999 1 520px; min-width: 0; }
body .cie-about__body, body .cie-about__body p { font-size: 16px; line-height: 1.75; color: var(--cie-text); }
body .cie-about__body { margin-top: 12px; }
body .cie-about__more summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--cie-blue); margin-top: 8px; }
body .cie-about__more summary::-webkit-details-marker { display: none; }
body .cie-about__why { flex: 1 1 280px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .cie-why { background: #F8FAFC; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--cie-muted); line-height: 1.5; }
body .cie-why strong { font-size: 14px; color: var(--cie-ink); }
body .cie-why__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--cie-navy); color: var(--cie-red-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* featured */
body .cie-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body .cie-feat__card { background: #fff; border: 1px solid var(--cie-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; color: var(--cie-ink); text-decoration: none; }
body .cie-feat__card:hover { border-color: var(--cie-blue); }
body .cie-feat__img { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #DCE6F7, #F3D9D9); display: block; }
body .cie-feat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .cie-feat__tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--cie-red); border-radius: 6px; padding: 4px 8px; }
body .cie-feat__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
body .cie-feat__date { font-size: 13px; font-weight: 700; color: var(--cie-blue); }
body .cie-feat__name { font-size: 16px; font-weight: 700; line-height: 1.35; }
body .cie-feat__place { font-size: 14px; color: var(--cie-muted); }

/* upcoming */
body .cie-upcoming { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .cie-upcoming__item { background: #fff; border: 1px solid var(--cie-line); border-radius: 14px; padding: 14px; display: flex; gap: 14px; align-items: center; }
body .cie-upcoming__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
body .cie-upcoming__text .cie-card__title { font-size: 15px; }
body .cie-upcoming__place { font-size: 13px; color: var(--cie-muted); }
body .cie-upcoming__place i { color: var(--cie-red); }

/* countries */
body .cie-countries { background: #fff; border: 1px solid var(--cie-line); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
body .cie-country { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--cie-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
body .cie-country:hover { background: #F1F5F9; color: var(--cie-blue); }
body .cie-country__ini, body .cie-field__ini { width: 28px; height: 28px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
body .is-blue { background: var(--cie-blue); }
body .is-red { background: var(--cie-red); }

/* cities */
body .cie-citycards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body .cie-citycard { position: relative; height: 170px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #5A73A8, #2B4277 60%, #8A6A7A); isolation: isolate; }
body .cie-citycard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
body .cie-citycard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,31,92,0) 30%, rgba(10,31,92,.92) 100%); }
body .cie-citycard__name { font-size: 18px; font-weight: 800; }
body .cie-az { background: #fff; border: 1px solid var(--cie-line); border-radius: 18px; overflow: hidden; }
body .cie-az__head { padding: 16px 20px; border-bottom: 1px solid var(--cie-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
body .cie-az__head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--cie-ink); }
body .cie-az__find input { width: 260px; max-width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--cie-line); background: #F8FAFC; padding: 0 12px; font-size: 14px; }
body .cie-az__letters { padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--cie-line-soft); }
body .cie-az__letters button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--cie-line); background: #fff; color: var(--cie-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
body .cie-az__letters button[aria-pressed="true"] { background: var(--cie-navy); border-color: var(--cie-navy); color: #fff; }
body .cie-az__panel { padding: 20px; }
body .cie-az__count { margin: 0 0 12px; font-size: 14px; color: var(--cie-muted); }
body .cie-az__count strong { font-size: 26px; color: var(--cie-red); margin-right: 8px; }
body .cie-az__group + .cie-az__group:not([hidden]) { margin-top: 18px; }
body .cie-az__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
body .cie-az__grid a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 10px; background: #F8FAFC; border: 1px solid #EEF2F7; color: var(--cie-ink); font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body .cie-az__grid a:hover { border-color: var(--cie-blue); color: var(--cie-blue); }
body .cie-az__grid a[hidden] { display: none; }

/* topics */
body .cie-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
body .cie-field { background: #fff; border: 1px solid var(--cie-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
body .cie-field__head { display: flex; align-items: center; gap: 12px; }
body .cie-field__ini { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; }
body .cie-field__head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--cie-ink); line-height: 1.25; }
body .cie-field__head span { font-size: 13px; color: var(--cie-muted); }
body .cie-field__tags { display: flex; flex-wrap: wrap; gap: 6px; }
body .cie-field__tags a { font-size: 13px; color: #1E293B; background: #F1F5F9; border-radius: 7px; padding: 6px 10px; text-decoration: none; }
body .cie-field__tags a:hover { background: #EEF2FF; color: var(--cie-blue); }
body .cie-field__more summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--cie-blue); margin-bottom: 8px; }
body .cie-field__more summary::-webkit-details-marker { display: none; }

/* worldwide + cta */
body .cie-world { border-radius: 22px; padding: 32px; background: var(--cie-navy); color: #fff; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
body .cie-world__text { flex: 1 1 380px; }
body .cie-world__text h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #fff; }
body .cie-world__text p { margin: 0; font-size: 15px; color: #CBD5E1; }
body .cie-world__links { flex: 1 1 420px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body .cie-world__links a { height: 52px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
body .cie-world__links a:hover { background: rgba(255,255,255,.18); }
body .cie-cta { border-radius: 22px; background: #fff; border: 1px solid var(--cie-line); border-left: 8px solid var(--cie-red); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
body .cie-cta__text { flex: 1 1 360px; }
body .cie-cta__text h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: var(--cie-ink); }
body .cie-cta__text p { margin: 0; font-size: 15px; color: var(--cie-muted); }
body .cie-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1023px) {
  body .cie-feat, body .cie-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .cie-citycards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-az__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body .cie-home-hero__side { max-width: none; }
}
@media (max-width: 640px) {
  body .cie-home { padding: 28px 0 48px; }
  body .cie-home-sec { margin-bottom: 40px; }
  body .cie-feat, body .cie-fields, body .cie-upcoming { grid-template-columns: 1fr; }
  body .cie-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-az__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-about { padding: 20px; }
  body .cie-about__why { grid-template-columns: 1fr 1fr; }
  body .cie-world, body .cie-cta { padding: 22px; }
  body .cie-world__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .cie-citycard { height: 130px; }
}

/* =====================================================================
   UNIFORM PAGE WIDTH — same as the site's Tailwind `.container`
   (navbar, event page, footer): 100% + 16px side padding, capped at
   640 / 768 / 1024 / 1280 / 1536px per breakpoint.
   ===================================================================== */
body .cie-hero__inner,
body .cie-listing,
body .cie-home-sec {
  width: 100%; margin-left: auto; margin-right: auto; box-sizing: border-box;
}
/* Side padding = navbar: .container (16px) + inner px-4 / sm:px-6 / lg:px-8.
   Content edges then line up with the logo and the Subscribe button. */
body .cie-hero__inner, body .cie-listing, body .cie-home-sec,
body .container.cie-container { padding-left: 32px; padding-right: 32px; }
@media (min-width: 640px)  { body .cie-hero__inner, body .cie-listing, body .cie-home-sec, body .container.cie-container { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1024px) { body .cie-hero__inner, body .cie-listing, body .cie-home-sec, body .container.cie-container { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 640px)  { body .cie-hero__inner, body .cie-listing, body .cie-home-sec { max-width: 640px; } }
@media (min-width: 768px)  { body .cie-hero__inner, body .cie-listing, body .cie-home-sec { max-width: 768px; } }
@media (min-width: 1024px) { body .cie-hero__inner, body .cie-listing, body .cie-home-sec { max-width: 1024px; } }
@media (min-width: 1280px) { body .cie-hero__inner, body .cie-listing, body .cie-home-sec { max-width: 1280px; } }
@media (min-width: 1536px) { body .cie-hero__inner, body .cie-listing, body .cie-home-sec { max-width: 1536px; } }

/* ---- Sub-page hero: taller, smaller title (home hero unchanged) ---- */
body .cie-hero:not(.cie-hero--home) {
  min-height: 480px;
  /* equal space above and below the content; 67px = fixed navbar (64px + 3px red line) */
  padding: calc(67px + 56px) 0 56px;
  display: flex; flex-direction: column; justify-content: center;
}
body .cie-hero:not(.cie-hero--home) .cie-hero__inner { width: 100%; }
body .cie-hero:not(.cie-hero--home) .cie-hero__title {
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
}
body .cie-hero:not(.cie-hero--home) .cie-hero__lead { font-size: 15px; }
@media (max-width: 640px) {
  body .cie-hero:not(.cie-hero--home) { min-height: 380px; padding: calc(67px + 32px) 0 32px; }
  body .cie-hero:not(.cie-hero--home) .cie-hero__title { font-size: 22px; }
  body .cie-hero:not(.cie-hero--home) .cie-hero__lead { font-size: 14px; }
}

/* ---- Home hero: content centred, equal space top and bottom ---- */
body .cie-hero.cie-hero--home { padding: calc(67px + 56px) 0 56px; display: flex; flex-direction: column; justify-content: center; }
body .cie-hero.cie-hero--home .cie-hero__inner { width: 100%; }
@media (max-width: 640px) {
  body .cie-hero.cie-hero--home { padding: calc(67px + 32px) 0 32px; }
}

/* ---- Hero category pills (journal pages) ---- */
body .cie-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
body .cie-hero__chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); transition: background .15s, border-color .15s; }
body .cie-hero__chip:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }
body .cie-hero__chip.is-active { background: var(--cie-red); border-color: var(--cie-red); }

/* ---- Journal list pages ---- */
body .cie-jr { width: 100%; margin: 0 auto; box-sizing: border-box; padding: 28px 32px 56px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px)  { body .cie-jr { padding-left: 40px; padding-right: 40px; max-width: 640px; } }
@media (min-width: 768px)  { body .cie-jr { max-width: 768px; } }
@media (min-width: 1024px) { body .cie-jr { padding-left: 48px; padding-right: 48px; max-width: 1024px; } }
@media (min-width: 1280px) { body .cie-jr { max-width: 1280px; } }
@media (min-width: 1536px) { body .cie-jr { max-width: 1536px; } }
body .cie-jr__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
body .cie-jr__head > div { display: flex; flex-direction: column; gap: 4px; }
body .cie-jr__search { position: relative; flex: 0 1 340px; }
body .cie-jr__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--cie-muted); font-size: 14px; }
body .cie-jr__search input { width: 100%; height: 44px; box-sizing: border-box; padding: 0 14px 0 40px; border: 1px solid var(--cie-line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--cie-ink); }
body .cie-jr__search input:focus { outline: 2px solid var(--cie-blue); outline-offset: 1px; border-color: transparent; }
body .cie-jr__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
body .cie-jcard { background: #fff; border: 1px solid var(--cie-line); border-top: 3px solid var(--cie-blue); border-radius: var(--cie-radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, border-color .2s, transform .2s; }
body .cie-jcard:hover { box-shadow: 0 10px 28px rgba(10,31,92,.12); border-top-color: var(--cie-red); transform: translateY(-2px); }
body .cie-jcard[hidden] { display: none; }
body .cie-jcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body .cie-jcard__icon { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #EEF3FC; color: var(--cie-blue); font-size: 16px; }
body .cie-badge--blue { text-transform: none; letter-spacing: 0; align-self: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #EEF3FC; color: var(--cie-blue); font-size: 12px; font-weight: 700; }
body .cie-jcard__title { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--cie-navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 67px; }
body .cie-jcard__meta { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--cie-line-soft); border-bottom: 1px solid var(--cie-line-soft); }
body .cie-jcard__meta div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
body .cie-jcard__meta dt { color: var(--cie-muted); }
body .cie-jcard__meta dd { margin: 0; font-weight: 700; color: var(--cie-ink); font-variant-numeric: tabular-nums; }
body .cie-jcard__btn { margin-top: auto; width: 100%; box-sizing: border-box; justify-content: center; }
@media (max-width: 640px) {
  body .cie-jr { padding-top: 20px; padding-bottom: 40px; }
  body .cie-jr__search { flex: 1 1 100%; }
}

/* ---- Home hero title: smaller ---- */
body .cie-hero--home .cie-hero__title,
body .cie-hero--home .cie-hero__title--xl { font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
body .cie-hero--home .cie-hero__lead { font-size: 16px; }
@media (max-width: 640px) {
  body .cie-hero--home .cie-hero__title,
  body .cie-hero--home .cie-hero__title--xl { font-size: 24px; }
  body .cie-hero--home .cie-hero__lead { font-size: 14px; }
}

/* =====================================================================
   Media associates page
   ===================================================================== */
body .cie-mp__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
body .cie-mp { background: #fff; border: 1px solid var(--cie-line); border-radius: var(--cie-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
body .cie-mp:hover { box-shadow: 0 10px 28px rgba(10,31,92,.12); transform: translateY(-2px); border-color: #C9D6EE; }
body .cie-mp__logo { height: 130px; display: flex; align-items: center; justify-content: center; padding: 18px; background: #F8FAFD; border-bottom: 1px solid var(--cie-line-soft); }
body .cie-mp__logo img { max-height: 90px; max-width: 100%; object-fit: contain; }
body .cie-mp__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; text-align: center; }
body .cie-mp__name { margin: 0; font-size: 16px; font-weight: 700; color: var(--cie-navy); }
body .cie-mp__role { margin: 0; font-size: 13px; font-weight: 600; color: var(--cie-red); }
body .cie-mp__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cie-text); }
body .cie-mp__btn { margin-top: auto; align-self: center; min-height: 38px; font-size: 13px; }
body .cie-mp__why h2, body .cie-cta h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--cie-ink); }
body .cie-mp__why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
body .cie-mp__tile { background: #fff; border: 1px solid var(--cie-line); border-left: 3px solid var(--cie-blue); border-radius: 12px; padding: 16px; }
body .cie-mp__tile i { color: var(--cie-blue); font-size: 18px; }
body .cie-mp__tile h3 { margin: 10px 0 4px; font-size: 15px; font-weight: 700; color: var(--cie-navy); }
body .cie-mp__tile p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cie-text); }
body .cie-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(100deg, #0A1F5C, #0B45A8); color: #fff; }
body .cie-cta h2 { color: #fff; margin-bottom: 4px; }
body .cie-cta p { margin: 0; color: #DCE3F2; font-size: 14px; }

/* =====================================================================
   Static pages theme layer (.cie-static wraps about, contact, faq,
   policies, partner pages, login, register, subscribe, all-city/country).
   Maps the old blue / indigo / purple / green / orange accents to the
   logo palette: navy #0A1F5C, blue #0B45A8, red #D62828.
   ===================================================================== */
body .cie-static { background: var(--cie-bg); }
body .cie-static .bg-gradient-to-b.from-slate-50,
body .cie-static .bg-gradient-to-b.from-white { background-image: none !important; background-color: transparent !important; }

/* Card headers / hero strips */
body .cie-static .bg-gradient-to-r.from-blue-700,
body .cie-static .bg-gradient-to-r.from-blue-600.to-blue-900,
body .cie-static .bg-gradient-to-r.to-blue-900,
body .cie-static .bg-gradient-to-br.from-blue-700,
body .cie-static .bg-gradient-to-r.from-emerald-600,
body .cie-static .bg-sidebar-gradient {
  background-image: linear-gradient(100deg, #0A1F5C 0%, #0B45A8 100%) !important;
  border-bottom: 3px solid var(--cie-red);
}
body .cie-static .text-blue-100, body .cie-static .text-blue-200, body .cie-static .text-blue-300,
body .cie-static .text-purple-100, body .cie-static .text-green-100 { color: #DCE3F2 !important; }
body .cie-static .text-amber-300 { color: var(--cie-red-soft) !important; }
body .cie-static .gradient-text { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--cie-red) !important; }

/* Primary buttons: red. Solid blue buttons: brand blue */
body .cie-static .bg-gradient-to-r.from-blue-600,
body .cie-static a.bg-gradient-to-r, body .cie-static button.bg-gradient-to-r,
body .cie-static .bg-gradient-to-r.to-amber-500 {
  background-image: none !important; background-color: var(--cie-red) !important; color: #fff !important; border-color: var(--cie-red) !important;
}
body .cie-static a.bg-gradient-to-r:hover, body .cie-static button.bg-gradient-to-r:hover { background-color: #B71F1F !important; }
body .cie-static .bg-blue-600, body .cie-static .bg-blue-700 { background-color: var(--cie-blue) !important; }
body .cie-static .hover\:bg-blue-700:hover, body .cie-static .hover\:bg-blue-600:hover { background-color: var(--cie-navy) !important; }
body .cie-static .bg-red-700 { background-color: var(--cie-red) !important; }
body .cie-static .hover\:bg-red-800:hover { background-color: #B71F1F !important; }

/* Icon and accent text */
body .cie-static .text-blue-500, body .cie-static .text-blue-600, body .cie-static .text-blue-700,
body .cie-static .text-indigo-600, body .cie-static .text-purple-600, body .cie-static .text-teal-600,
body .cie-static .text-teal-400, body .cie-static .text-sky-500, body .cie-static .text-pink-600,
body .cie-static .text-emerald-600, body .cie-static .text-green-600, body .cie-static .text-green-500,
body .cie-static .text-green-700, body .cie-static .text-orange-600, body .cie-static .text-orange-700 { color: var(--cie-blue) !important; }
body .cie-static .text-red-500, body .cie-static .text-red-600, body .cie-static .text-rose-800 { color: var(--cie-red) !important; }
body .cie-static .group:hover .group-hover\:text-blue-700,
body .cie-static .group:hover .group-hover\:text-blue-600 { color: var(--cie-red) !important; }

/* Icon circles and soft boxes */
body .cie-static .bg-blue-100, body .cie-static .bg-purple-100, body .cie-static .bg-green-100,
body .cie-static .bg-orange-100, body .cie-static .bg-indigo-100, body .cie-static .bg-pink-100,
body .cie-static .bg-teal-100, body .cie-static .bg-emerald-100 { background-color: #EEF3FC !important; }
body .cie-static .bg-red-100 { background-color: var(--cie-red-bg) !important; }
body .cie-static .group:hover .group-hover\:bg-blue-200, body .cie-static .group:hover .group-hover\:bg-purple-200,
body .cie-static .group:hover .group-hover\:bg-green-200, body .cie-static .group:hover .group-hover\:bg-orange-200,
body .cie-static .group:hover .group-hover\:bg-indigo-200, body .cie-static .group:hover .group-hover\:bg-pink-200,
body .cie-static .group:hover .group-hover\:bg-red-200 { background-color: #DCE6F8 !important; }
body .cie-static .bg-blue-50, body .cie-static .bg-purple-50, body .cie-static .bg-green-50,
body .cie-static .bg-orange-50, body .cie-static .bg-amber-50 { background-color: #F4F7FD !important; }
body .cie-static .bg-red-50 { background-color: var(--cie-red-bg) !important; }
body .cie-static .bg-gradient-to-r.from-blue-50 { background-image: none !important; background-color: #FDF3F3 !important; border: 1px solid #F6D2D2; }
body .cie-static .hover\:bg-blue-50:hover, body .cie-static .hover\:bg-blue-100:hover,
body .cie-static .hover\:bg-green-50:hover, body .cie-static .hover\:bg-orange-50:hover { background-color: #EEF3FC !important; }
body .cie-static .hover\:bg-red-100:hover { background-color: var(--cie-red-bg) !important; }
body .cie-static .border-blue-100, body .cie-static .border-blue-200, body .cie-static .border-amber-200 { border-color: #D5DFF2 !important; }

/* Form focus */
body .cie-static .focus\:border-blue-500:focus, body .cie-static .hover\:border-blue-500:hover { border-color: var(--cie-blue) !important; }
body .cie-static .focus\:ring-blue-500\/20:focus, body .cie-static .focus\:ring-blue-500:focus,
body .cie-static .focus\:ring-blue-100:focus { --tw-ring-color: rgba(11,69,168,.2) !important; }

/* Cards: softer shadow, theme radius */
body .cie-static .shadow-2xl { box-shadow: 0 10px 30px rgba(10,31,92,.08) !important; }
body .cie-static .rounded-3xl { border-radius: 18px !important; }
body .cie-static h1, body .cie-static h2, body .cie-static h3 { letter-spacing: -0.01em; }
body .cie-static .text-slate-900, body .cie-static .text-gray-800 { color: var(--cie-navy) !important; }

/* ---- Home topic / country initials: always readable ---- */
body .cie-field__ini, body .cie-country__ini {
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  font-size: 18px !important; font-weight: 800 !important; line-height: 1 !important;
  font-family: inherit !important; text-shadow: none !important; opacity: 1 !important;
}
body .cie-country__ini { font-size: 13px !important; }
body .cie-field__ini.is-blue, body .cie-country__ini.is-blue { background: #0B45A8 !important; }
body .cie-field__ini.is-red, body .cie-country__ini.is-red { background: #D62828 !important; }

/* =====================================================================
   Footer (redesign): navy, red accent, readable contrast
   ===================================================================== */
body .cie-foot { margin-top: 48px; background: #0A1F5C; color: #DCE3F2; border-top: 3px solid #D62828; font-size: 14px; }
body .cie-foot__inner { width: 100%; margin: 0 auto; box-sizing: border-box; padding: 48px 32px 0; }
@media (min-width: 640px)  { body .cie-foot__inner { padding-left: 40px; padding-right: 40px; max-width: 640px; } }
@media (min-width: 768px)  { body .cie-foot__inner { max-width: 768px; } }
@media (min-width: 1024px) { body .cie-foot__inner { padding-left: 48px; padding-right: 48px; max-width: 1024px; } }
@media (min-width: 1280px) { body .cie-foot__inner { max-width: 1280px; } }
@media (min-width: 1536px) { body .cie-foot__inner { max-width: 1536px; } }
body .cie-foot__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px)  { body .cie-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
body .cie-foot p { margin: 16px 0 0; line-height: 1.7; color: #DCE3F2; }
body .cie-foot__logos { display: flex; align-items: center; gap: 16px; }
body .cie-foot__logo { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
body .cie-foot__qr { width: 72px; height: 72px; background: #fff; border-radius: 10px; padding: 4px; }
body .cie-foot__title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .01em; }
body .cie-foot__links, body .cie-foot__contact, body .cie-foot__social { list-style: none; margin: 0; padding: 0; }
body .cie-foot__links li + li { margin-top: 10px; }
body .cie-foot__links a { color: #DCE3F2; text-decoration: none; transition: color .15s; }
body .cie-foot__links a:hover, body .cie-foot__links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body .cie-foot__contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
body .cie-foot__contact li + li { margin-top: 12px; }
body .cie-foot__contact i { color: #FF8A8A; margin-top: 4px; width: 14px; }
body .cie-foot__contact a { color: #fff; text-decoration: none; }
body .cie-foot__contact a:hover { text-decoration: underline; }
body .cie-foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
body .cie-foot__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.1); text-decoration: none; transition: background .15s; }
body .cie-foot__social a:hover, body .cie-foot__social a:focus-visible { background: #D62828; }
body .cie-foot__bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: #C5D0E6; font-size: 13px; }
body .cie-foot__cta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #D62828; color: #fff; font-weight: 600; text-decoration: none; }
body .cie-foot__cta:hover { background: #B71F1F; color: #fff; }

/* ---- Home ad banners (one markup for all screens) ---- */
body .cie-ads { margin-top: 28px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
body .cie-ads::-webkit-scrollbar { display: none; }
body .cie-ads__item { flex: 0 0 85%; scroll-snap-align: start; display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(10,31,92,.12); background: #EEF3FC; }
body .cie-ads__item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
body .cie-ads__item:hover img { transform: scale(1.03); }
@media (min-width: 640px)  { body .cie-ads__item { flex-basis: 60%; } }
@media (min-width: 1024px) { body .cie-ads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; } }

/* ---- Sidebar on paginated pages (page 2+) ---- */
body .cie-sidecompact { background: #fff; border: 1px solid var(--cie-line); border-radius: var(--cie-radius); padding: 16px 18px; }
body .cie-sidecompact__title { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--cie-navy); }
body .cie-sidecompact ul { list-style: none; margin: 0; padding: 0; }
body .cie-sidecompact li + li { border-top: 1px solid var(--cie-line-soft); }
body .cie-sidecompact a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--cie-blue); font-size: 14px; font-weight: 600; text-decoration: none; }
body .cie-sidecompact a:hover { color: var(--cie-red); }
body .cie-sidecompact i { width: 16px; color: var(--cie-blue); }

/* ---- HERO_MOBILE_IMAGE=false: no hero photo on phones (navy background shows) ---- */
@media (max-width: 640px) {
  body .cie-hero__img--nomobile { display: none !important; }
}

/* ---- Home: Featured Conferences block ---- */
body .cie-featured { margin-top: 32px; }
body .cie-featured__title { margin: 0; }
body .cie-featured .cie-ads { margin-top: 16px; }
@media (max-width: 640px) {
  body .cie-featured--nomobile { display: none !important; }
}

/* ---- Home: latest blog posts ---- */
body .cie-blog .cie-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
body .cie-blog__all { color: var(--cie-blue); font-weight: 600; font-size: 14px; text-decoration: none; }
body .cie-blog__all:hover { color: var(--cie-red); }
body .cie-blog__grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px)  { body .cie-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body .cie-blog__grid { grid-template-columns: repeat(4, 1fr); } }
body .cie-blog__card { background: #fff; border: 1px solid var(--cie-line); border-radius: var(--cie-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
body .cie-blog__card:hover { box-shadow: 0 10px 28px rgba(10,31,92,.12); transform: translateY(-2px); }
body .cie-blog__img { display: block; aspect-ratio: 16 / 9; background: #EEF3FC; overflow: hidden; }
body .cie-blog__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .cie-blog__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--cie-blue); font-size: 28px; }
body .cie-blog__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body .cie-blog__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--cie-muted); }
body .cie-blog__cat { background: var(--cie-red-bg); color: var(--cie-red); font-weight: 700; padding: 2px 8px; border-radius: 999px; }
body .cie-blog__title { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 700; }
body .cie-blog__title a { color: var(--cie-navy); text-decoration: none; }
body .cie-blog__title a:hover { color: var(--cie-blue); }
body .cie-blog__excerpt { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cie-text); }
body .cie-blog__more { margin-top: auto; color: var(--cie-red); font-weight: 600; font-size: 14px; text-decoration: none; }
body .cie-blog__card { border-top: 3px solid var(--cie-blue); }
body .cie-blog__card:hover { border-top-color: var(--cie-red); }
