

/* =====================================
   HGEF EUROPE 2027 — DESIGN SETTINGS
   ===================================== */

#hgef27 {
  --navy: #071B38;
  --blue: #0055BF;
  --blue-bright: #0088FF;
  --gold: #c9a458;
  --ink: #14253f;
  --muted: #53667f;
  --line: #dfe6ef;

  /* Change if the website's sticky header height changes */
  --sticky-top: 175px;

  box-sizing: border-box;
  background: #fff;
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  padding: 36px clamp(17px, 3vw, 45px);
  font: 15px/1.6 Arial, Helvetica, sans-serif;
  text-align: left;
  border-radius: 10px;
}

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

#hgef27 h2,
#hgef27 h3,
#hgef27 p {
  margin-top: 0;
}

#hgef27 button,
#hgef27 input {
  font: inherit;
}

#hgef27 a {
  text-decoration: none;
}

/* FILTERS */

#hgef27 .hgef27-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 25px;
  margin-bottom: 29px;
  border-bottom: 1px solid var(--line);
}

#hgef27 .hgef27-filter {
  border: 1px solid #cfd9e8;
  border-radius: 24px;
  color: #294464;
  background: #fff;
  font: 700 12px/1.35 Arial, sans-serif;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

#hgef27 .hgef27-filter:hover {
  border-color: var(--blue);
  color: var(--blue);
}

#hgef27 .hgef27-filter[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* TWO COLUMNS */

#hgef27 .hgef27-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 32%);
  gap: clamp(20px, 3vw, 43px);
  align-items: stretch;
}

#hgef27 .hgef27-main,
#hgef27 .hgef27-aside {
  min-width: 0;
}

/* MAIN HEADING */

#hgef27 .hgef27-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 23px;
}

#hgef27 .hgef27-kicker {
  font: 800 12px/1.5 Arial, sans-serif;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 7px;
}

#hgef27 .hgef27-heading h2 {
  font: 500 clamp(35px, 3.5vw, 46px)/1.15
        Georgia, "Times New Roman", serif;
  color: var(--ink);
  margin: 0 0 9px;
}

#hgef27 .hgef27-heading p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

#hgef27-count {
  font: 500 12px/1.5 Arial, sans-serif;
  color: #6c7c8e;
  white-space: nowrap;
}

/* SEARCH */

#hgef27 .hgef27-search-label {
  display: block;
  color: #384f6c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}

#hgef27 #hgef27-search {
  display: block;
  width: 100%;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d3dce8;
  border-radius: 7px;
  padding: 13px 14px;
  font-size: 14px;
  margin-bottom: 18px;
  box-shadow: none;
}

/* AGENDA TIMELINE */

#hgef27 .hgef27-session {
  display: grid;
  grid-template-columns: 75px 23px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

#hgef27 .hgef27-time {
  font: 700 14px/1.5 Arial, sans-serif;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

#hgef27 .hgef27-time small {
  display: block;
  color: #73849a;
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
}

#hgef27 .hgef27-linewrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#hgef27 .hgef27-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
}

#hgef27 .hgef27-dot svg {
  width: 15px;
  height: 15px;
}

#hgef27 .hgef27-stem {
  flex: 1;
  min-height: 18px;
  width: 2px;
  background: #d9e4f1;
}

#hgef27 .hgef27-session.is-break {
  background: #f7f9fc;
  border-radius: 7px;
  padding: 16px 11px;
  margin: 6px 0;
}

#hgef27 .hgef27-session.is-break .hgef27-dot {
  background: #788da5;
}

#hgef27 .hgef27-session-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

#hgef27 .hgef27-type {
  font: 800 12px/1.5 Arial, sans-serif;
  color: var(--blue);
  letter-spacing: .45px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

#hgef27 .hgef27-session-title {
  font: 600 19px/1.4 Arial, Helvetica, sans-serif;
  color: var(--ink);
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

#hgef27 .hgef27-session.is-break .hgef27-session-title {
  font-size: 16px;
}

#hgef27 .hgef27-expand {
  flex: none;
  background: #fff;
  color: var(--blue);
  border: 1px solid #d4deeb;
  border-radius: 6px;
  width: 33px;
  height: 33px;
  padding: 0;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

#hgef27 .hgef27-expand:hover {
  background: var(--blue);
  color: #fff;
}

#hgef27 .hgef27-pending {
  font-size: 13px;
  color: #718399;
}

/* SPEAKERS IN AGENDA */

#hgef27 .hgef27-speaker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
}

#hgef27 .hgef27-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  padding: 3px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0088FF 0%, #0055BF 100%);
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.9),
    0 8px 18px rgba(7, 89, 201, .22);
}

#hgef27 .hgef27-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

#hgef27 .hgef27-speaker-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

#hgef27 .hgef27-speaker-role {
  font-size: 14px;
  line-height: 1.45;
  color: #576b82;
  margin-top: 4px;
}

#hgef27 .hgef27-speaker-company {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--blue);
  margin-top: 4px;
}

#hgef27 .hgef27-profile-open {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 0 2px;
  cursor: pointer;
  text-align: left;
}

#hgef27 .hgef27-profile-open:hover {
  text-decoration: underline;
}

#hgef27 .hgef27-session-description {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #50647d;
  font-size: 14px;
  line-height: 1.75;
}

#hgef27 .hgef27-session-description strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

#hgef27 .hgef27-session-description-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* SIDEBAR */

#hgef27 .hgef27-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
}

#hgef27 .hgef27-glance,
#hgef27 .hgef27-programme,
#hgef27 .hgef27-register,
#hgef27 .hgef27-speak {
  border-radius: 11px;
  overflow: hidden;
}

/* AT A GLANCE */

#hgef27 .hgef27-glance {
  background: #071B38;
  color: #fff;
  padding: 26px;
}

#hgef27 .hgef27-goldlabel {
  font: 800 12px/1.5 Arial, sans-serif;
  color: #e3c582;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

#hgef27 .hgef27-goldlabel::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  background: var(--gold);
  width: 20px;
  height: 3px;
  margin-right: 9px;
}

#hgef27 .hgef27-glance h3,
#hgef27 .hgef27-programme h3,
#hgef27 .hgef27-register h3,
#hgef27 .hgef27-speak h3 {
  font: 500 29px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: -.3px;
  margin: 0 0 17px;
}

#hgef27 .hgef27-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #39547a;
  padding: 2px 0 20px;
  margin-bottom: 22px;
}

#hgef27 .hgef27-stat b {
  font: 800 45px/1 Arial, sans-serif;
  color: #fff;
  letter-spacing: -2px;
}

#hgef27 .hgef27-stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
}

#hgef27 .hgef27-stat small {
  display: block;
  color: #c7d7ee;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 5px;
}

#hgef27 .hgef27-factgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
}

#hgef27 .hgef27-factgrid small {
  display: block;
  color: #e3c582;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

#hgef27 .hgef27-factgrid strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

#hgef27 .hgef27-factgrid span {
  display: block;
  color: #bacce6;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}

#hgef27 .hgef27-glance-foot {
  border-top: 1px solid #39547a;
  margin-top: 22px;
  padding-top: 16px;
}

#hgef27 .hgef27-glance-foot p {
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 8px;
}

/* Align the venue and reception markers on one consistent baseline. */
#hgef27 .hgef27-glance-foot .hgef27-glance-foot-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

#hgef27 .hgef27-glance-foot .hgef27-glance-foot-bullet {
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: #e3c582;
}

/* PREMIUM PROGRAMME PANEL */

#hgef27 .hgef27-programme {
  background: #fff;
  border: 1px solid #d9e3ef;
}

#hgef27 .hgef27-programme-hero {
  min-height: 204px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 23px;
  background-color: #071B38;
  background-size: cover;
  background-position: center;
}

#hgef27 .hgef27-programme-hero h3 {
  color: white;
  margin: 0 0 10px;
}

#hgef27 .hgef27-programme-hero > p:last-child {
  font-size: 14px;
  line-height: 1.55;
  color: #f0f4ff;
  margin: 0;
}

#hgef27 .hgef27-format-list {
  padding: 10px 21px;
}

#hgef27 .hgef27-format {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #e5ebf2;
}

#hgef27 .hgef27-format:last-child {
  border-bottom: 0;
}

#hgef27 .hgef27-format-icon {
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  background: #f1f5fa;
  border-radius: 8px;
  width: 43px;
  height: 43px;
}

#hgef27 .hgef27-format-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #ba944f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#hgef27 .hgef27-format strong {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}

#hgef27 .hgef27-format small {
  display: block;
  color: #61748c;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 4px;
}

#hgef27 .hgef27-programme-foot {
  padding: 23px;
  background: #071B38;
  color: #fff;
  font: 400 20px/1.45 Georgia, "Times New Roman", serif;
}

#hgef27 .hgef27-programme-foot::before {
  content: "";
  display: block;
  background: var(--gold);
  width: 37px;
  height: 3px;
  margin-bottom: 13px;
}

/* STICKY SIDEBAR */

#hgef27 .hgef27-sticky {
  position: sticky;
  top: var(--sticky-top);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* REGISTRATION PANEL */

#hgef27 .hgef27-register {
  background: #0055BF;
  color: #fff;
  box-shadow: 0 12px 30px rgba(10,41,83,.12);
}

#hgef27 .hgef27-register-image {
  height: 155px;
  display: flex;
  align-items: end;
  padding: 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background-color: #0055BF;
  background-size: cover;
  background-position: center;
}

#hgef27 .hgef27-register-body {
  padding: 22px 24px;
}

#hgef27 .hgef27-register-body .hgef27-goldlabel {
  font-size: 14px;
  color: #fff;
}

#hgef27 .hgef27-register h3 {
  font-size: 29px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: white;
}

#hgef27 .hgef27-register-body > p:not(.hgef27-goldlabel) {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 17px;
  color: #eef5ff;
}

/* APPLY TO SPEAK */

#hgef27 .hgef27-speak {
  background: #e9f2ff;
  border-left: 4px solid var(--gold);
  padding: 21px 23px;
  color: #071B38;
}

#hgef27 .hgef27-smalllabel {
  font: 800 12px/1.5 Arial, sans-serif;
  letter-spacing: .8px;
  color: #0055BF;
  margin: 0 0 11px;
}

#hgef27 .hgef27-speak h3 {
  font-size: 26px;
  color: #071B38;
  margin: 0 0 10px;
}

#hgef27 .hgef27-speak p:not(.hgef27-smalllabel) {
  font-size: 13px;
  line-height: 1.6;
  color: #48617f;
  margin: 0 0 15px;
}

/* ANIMATED BUTTONS */

#hgef27 .hgef27-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font: 800 14px/1.5 Arial, sans-serif;
  border: 1px solid;
  transition:
    transform .23s ease,
    background .23s ease,
    color .23s ease,
    box-shadow .23s ease;
}

#hgef27 .hgef27-button-white {
  background: #fff;
  color: #0055BF;
  border-color: #fff;
}

#hgef27 .hgef27-button-navy {
  background: #071B38;
  color: #fff;
  border-color: #071B38;
}

#hgef27 .hgef27-button-white:hover {
  background: #071B38;
  color: #fff;
  border-color: #071B38;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 9px 20px rgba(0,25,65,.27);
}

#hgef27 .hgef27-button-navy:hover {
  background: #0055BF;
  color: #fff;
  border-color: #0055BF;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 9px 20px rgba(7,89,201,.24);
}

#hgef27 button:focus-visible,
#hgef27 a:focus-visible,
#hgef27 input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* =====================================
   QUICK SPEAKER PROFILE POP-UP
   ===================================== */

.hgef27-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3,17,43,.8);
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.hgef27-overlay[aria-hidden="false"] {
  display: flex;
}

.hgef27-overlay * {
  box-sizing: border-box;
}

.hgef27-dialog {
  width: min(100%, 720px);
  max-height: 90dvh;
  overflow-y: auto;
  background: #fff;
  color: #14253f;
  border-radius: 12px;
  box-shadow: 0 30px 85px rgba(0,0,0,.32);
  outline: none;
}

.hgef27-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #071B38;
  color: #fff;
  padding: 19px 26px;
}

.hgef27-dialog-head strong {
  display: block;
  font: 800 16px/1.45 Arial, sans-serif;
  color: #e4c683;
  letter-spacing: .5px;
}

.hgef27-dialog-head span {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hgef27-dialog-close {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid #dfbd72;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.hgef27-dialog-close:hover {
  background: #0055BF;
}

.hgef27-dialog-body {
  padding: 29px;
}

.hgef27-dialog-person {
  display: flex;
  align-items: center;
  gap: 23px;
}

.hgef27-dialog-photo {
  flex: 0 0 130px;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #e7eff9;
  color: #0055BF;
  font-size: 31px;
  font-weight: 800;
}

.hgef27-dialog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hgef27-dialog-name {
  font: 600 31px/1.18 Georgia, "Times New Roman", serif;
  color: #071B38;
  margin: 0 0 10px;
}

.hgef27-dialog-role {
  font-size: 16px;
  color: #53657d;
  line-height: 1.45;
  margin: 0 0 5px;
}

.hgef27-dialog-company {
  color: #0055BF;
  font-size: 13px;
  font-weight: 800;
}

.hgef27-dialog-sessions {
  margin-top: 26px;
}

.hgef27-dialog-subhead {
  color: #9e783c;
  font: 800 12px/1.4 Arial, sans-serif;
  letter-spacing: .8px;
  margin: 0 0 12px;
}

.hgef27-dialog-session {
  background: #fbfaf7;
  border: 1px solid #e6d9bd;
  border-radius: 8px;
  padding: 17px 19px;
  margin-bottom: 10px;
}

.hgef27-dialog-session-type {
  font: 800 13px/1.45 Arial, sans-serif;
  color: #071B38;
  margin-bottom: 5px;
}

.hgef27-dialog-session-title {
  font: 600 16px/1.45 Arial, sans-serif;
  color: #263d60;
  margin-bottom: 8px;
}

.hgef27-dialog-session-time {
  color: #64768c;
  font-size: 13px;
}

.hgef27-dialog-about {
  border-top: 1px solid #dfe6ef;
  margin-top: 25px;
  padding-top: 23px;
}

.hgef27-dialog-about h3 {
  font: 600 23px/1.3 Georgia, serif;
  color: #071B38;
  margin: 0 0 12px;
}

.hgef27-dialog-bio {
  white-space: pre-line;
  font: 400 15px/1.8 Arial, sans-serif;
  color: #53657d;
}

.hgef27-dialog-links {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hgef27-dialog-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 17px;
  background: #071B38;
  color: #fff;
  border-radius: 6px;
  font: 800 13px/1.5 Arial, sans-serif;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.hgef27-dialog-links a:hover {
  background: #0055BF;
  color: #fff;
  transform: translateY(-3px);
}

.hgef27-dialog-close:focus-visible,
.hgef27-dialog-links a:focus-visible {
  outline: 3px solid #c9a458;
  outline-offset: 3px;
}

/* TABLETS */

@media (max-width: 1000px) {

  #hgef27 .hgef27-grid {
    grid-template-columns: 1fr;
  }

  #hgef27 .hgef27-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  #hgef27 .hgef27-sticky {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* MOBILE */

@media (max-width: 650px) {

  #hgef27 {
    padding: 22px 13px;
  }

  #hgef27 .hgef27-session {
    grid-template-columns: 57px 18px minmax(0,1fr);
    gap: 8px;
  }

  #hgef27 .hgef27-time {
    font-size: 12px;
  }

  #hgef27 .hgef27-time small {
    font-size: 11px;
  }

  #hgef27 .hgef27-dot {
    width: 18px;
    height: 18px;
  }

  #hgef27 .hgef27-dot svg {
    width: 12px;
    height: 12px;
  }

  #hgef27 .hgef27-session-title {
    font-size: 16px;
  }

  #hgef27 .hgef27-avatar {
    flex-basis: 65px;
    width: 65px;
    height: 65px;
    font-size: 18px;
  }

  #hgef27 .hgef27-speaker-name {
    font-size: 14px;
  }

  #hgef27 .hgef27-speaker-role {
    font-size: 12px;
  }

  #hgef27 .hgef27-aside,
  #hgef27 .hgef27-sticky {
    display: flex;
    flex-direction: column;
  }

  #hgef27 .hgef27-heading {
    align-items: start;
    flex-direction: column;
  }

  #hgef27 .hgef27-glance,
  #hgef27 .hgef27-register-body,
  #hgef27 .hgef27-speak {
    padding: 21px;
  }

  .hgef27-dialog-head {
    padding: 15px 17px;
  }

  .hgef27-dialog-head strong {
    font-size: 13px;
  }

  .hgef27-dialog-body {
    padding: 19px;
  }

  .hgef27-dialog-person {
    align-items: flex-start;
    gap: 12px;
  }

  .hgef27-dialog-photo {
    flex-basis: 85px;
    width: 85px;
    height: 85px;
    font-size: 22px;
  }

  .hgef27-dialog-name {
    font-size: 22px;
  }

  .hgef27-dialog-role {
    font-size: 13px;
  }
}

/* Avoid oversized sticky panels on short screens */

@media (min-width: 1001px) and (max-height: 900px) {
  #hgef27 .hgef27-sticky {
    position: static;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  #hgef27 .hgef27-button,
  .hgef27-dialog-links a {
    transition: none !important;
  }

  #hgef27 .hgef27-button:hover,
  .hgef27-dialog-links a:hover {
    transform: none !important;
  }
}




/* ==========================================
   HGEF EUROPE 2027
   TIMELINE ALIGNMENT & NETWORKING REDESIGN
   ========================================== */

/* 1. SAME ALIGNMENT FOR EVERY SESSION */

#hgef27 .hgef27-session,
#hgef27 .hgef27-session.is-break {
  display: grid !important;

  grid-template-columns:
    75px 23px minmax(0, 1fr) !important;

  gap: 12px !important;
  padding: 22px 0 !important;
  margin: 0 !important;

  background: #FFFFFF !important;

  border-radius: 0 !important;
  border-bottom: 1px solid #DFE6EF !important;
}

/* 2. CLEAR, CONSISTENT ICON OUTLINES */

#hgef27 .hgef27-dot svg {
  width: 16px !important;
  height: 16px !important;

  fill: none !important;
  stroke: #FFFFFF !important;
  stroke-width: 1.8 !important;

  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* 3. GOLD ACCENTS FOR NETWORKING AND MEETINGS */

#hgef27 .hgef27-session.is-break .hgef27-dot {
  background: #071B38 !important;
  border: 1.5px solid #C9A458 !important;
  box-shadow: 0 0 0 3px rgba(201,164,88,.10);
}

#hgef27 .hgef27-session.is-break
.hgef27-dot svg {
  stroke: #E5C783 !important;
}

/* 4. GOLD CATEGORY LABEL */

#hgef27 .hgef27-session.is-break
.hgef27-type {
  color: #92702F !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .65px !important;
}

/* 5. CONSISTENT TITLE SIZE */

#hgef27 .hgef27-session.is-break
.hgef27-session-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #14253F !important;
}

/* 6. GOLD-TINTED TIMELINE STEM */

#hgef27 .hgef27-session.is-break
.hgef27-stem {
  background: #E6D7B8 !important;
}

/* 7. SUBTLE HOVER FOR ALL SESSION ROWS */

#hgef27 .hgef27-session {
  transition: background-color .2s ease;
}

#hgef27 .hgef27-session:hover,
#hgef27 .hgef27-session.is-break:hover {
  background: #F8FAFD !important;
}

/* 8. MATCH TIMINGS ACROSS ALL SESSION TYPES */

#hgef27 .hgef27-time {
  padding: 0 !important;
  margin: 0 !important;
}

/* 9. MOBILE ALIGNMENT */

@media (max-width: 650px) {

  #hgef27 .hgef27-session,
  #hgef27 .hgef27-session.is-break {
    grid-template-columns:
      57px 18px minmax(0, 1fr) !important;

    gap: 8px !important;
    padding: 19px 0 !important;
  }

  #hgef27 .hgef27-session.is-break
  .hgef27-session-title {
    font-size: 16px !important;
  }

  #hgef27 .hgef27-dot svg {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hgef27 .hgef27-session {
    transition: none !important;
  }
}




/* Larger speaker photographs in the agenda */

#hgef27 .hgef27-avatar {
  width: 100px !important;
  height: 100px !important;
  flex: 0 0 100px !important;
  border-radius: 10px !important;
  overflow: hidden;
}

#hgef27 .hgef27-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Larger photograph inside speaker pop-up */

.hgef27-overlay .hgef27-dialog-photo {
  width: 150px !important;
  height: 150px !important;
  flex: 0 0 150px !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.hgef27-overlay .hgef27-dialog-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

/* Mobile */

@media (max-width: 650px) {

  #hgef27 .hgef27-avatar {
    width: 72px !important;
    height: 72px !important;
    flex-basis: 72px !important;
  }

  .hgef27-overlay .hgef27-dialog-photo {
    width: 90px !important;
    height: 90px !important;
    flex-basis: 90px !important;
  }

}




/* =========================================
   HGEF 2027 — MOBILE LAYOUT CORRECTIONS
   ========================================= */

@media (max-width: 767px) {

  /* Prevent the agenda from exceeding screen width */
  #hgef27 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 12px !important;
    overflow-x: clip;
  }

  #hgef27 .hgef27-grid,
  #hgef27 .hgef27-main,
  #hgef27 .hgef27-list {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Keep all session types aligned */
  #hgef27 .hgef27-session,
  #hgef27 .hgef27-session.is-break {
    grid-template-columns:
      45px 18px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 19px 0 !important;
    margin: 0 !important;
  }

  #hgef27 .hgef27-session > div:last-child {
    min-width: 0 !important;
  }

  #hgef27 .hgef27-time {
    font-size: 11px !important;
    white-space: nowrap;
  }

  #hgef27 .hgef27-time small {
    font-size: 10px !important;
  }

  /* Prevent session titles from overflowing */
  #hgef27 .hgef27-session-head > div:first-child {
    min-width: 0 !important;
    flex: 1 1 auto;
  }

  #hgef27 .hgef27-session-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere;
  }

  #hgef27 .hgef27-expand {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;
  }

  /* SPEAKER: photo and information */
  #hgef27 .hgef27-speaker {
    display: grid !important;
    grid-template-columns:
      62px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 15px 0 !important;
  }

  #hgef27 .hgef27-avatar {
    width: 62px !important;
    height: 62px !important;
    min-width: 0 !important;
    flex: none !important;
    border-radius: 8px !important;
    font-size: 18px !important;
  }

  #hgef27 .hgef27-speaker > div:last-child {
    width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }

  #hgef27 .hgef27-speaker-name {
    font-size: 14px !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere;
  }

  #hgef27 .hgef27-speaker-role {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  #hgef27 .hgef27-speaker-company {
    font-size: 11px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  /* Keep View Speaker Profile inside the session */
  #hgef27 .hgef27-profile-open {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    padding: 8px 0 !important;
    overflow-wrap: normal !important;
  }

  /* QUICK SPEAKER PROFILE POP-UP */
  .hgef27-overlay {
    padding: 10px !important;
  }

  .hgef27-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .hgef27-dialog-head {
    padding: 15px !important;
  }

  .hgef27-dialog-head strong {
    font-size: 12px !important;
    letter-spacing: .3px !important;
  }

  .hgef27-dialog-body {
    padding: 17px !important;
  }

  .hgef27-dialog-person {
    display: grid !important;
    grid-template-columns:
      78px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .hgef27-dialog-person > div:last-child {
    min-width: 0 !important;
  }

  .hgef27-dialog-photo {
    width: 78px !important;
    height: 78px !important;
    min-width: 0 !important;
    flex: none !important;
  }

  .hgef27-dialog-name {
    font-size: 22px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  .hgef27-dialog-role {
    font-size: 13px !important;
  }

  .hgef27-dialog-company {
    font-size: 11px !important;
    overflow-wrap: anywhere;
  }

  .hgef27-dialog-session {
    padding: 14px !important;
  }

  .hgef27-dialog-links a {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

}

/* Extra-small phones */
@media (max-width: 380px) {

  #hgef27 .hgef27-session,
  #hgef27 .hgef27-session.is-break {
    grid-template-columns:
      40px 16px minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  #hgef27 .hgef27-speaker {
    grid-template-columns:
      52px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  #hgef27 .hgef27-avatar {
    width: 52px !important;
    height: 52px !important;
  }

}



/* ==========================================
   HGEF 2027 — WIDER MOBILE AGENDA
   ========================================== */

@media (max-width: 767px) {

  /* Extend the agenda beyond its narrow parent */
  #hgef27 {
    width: min(
      calc(100vw - 24px),
      calc(100% + 52px)
    ) !important;

    max-width: none !important;

    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding: 20px 12px !important;
    border-radius: 8px !important;
  }

  /* Make sure the agenda uses available space */
  #hgef27 .hgef27-grid,
  #hgef27 .hgef27-main,
  #hgef27 .hgef27-list {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Compact timeline columns */
  #hgef27 .hgef27-session,
  #hgef27 .hgef27-session.is-break {
    grid-template-columns:
      43px 18px minmax(0, 1fr) !important;

    gap: 8px !important;
  }

  /* Use the extra space for speaker details */
  #hgef27 .hgef27-speaker {
    grid-template-columns:
      60px minmax(0, 1fr) !important;

    gap: 12px !important;
  }

  #hgef27 .hgef27-avatar {
    width: 60px !important;
    height: 60px !important;
  }

  #hgef27 .hgef27-speaker > div:last-child {
    min-width: 0 !important;
  }

  /* Keep profile link and arrow together */
  #hgef27 .hgef27-profile-open {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    text-align: left !important;
    padding: 8px 0 !important;
  }

  /* Reduce excessively large session headings */
  #hgef27 .hgef27-session-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  /* Avoid oversized gaps in speaker information */
  #hgef27 .hgef27-speaker-name {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  #hgef27 .hgef27-speaker-role {
    font-size: 12px !important;
  }

  #hgef27 .hgef27-speaker-company {
    font-size: 11px !important;
  }
}

/* Very small phones */
@media (max-width: 360px) {

  #hgef27 {
    width: calc(100vw - 16px) !important;
  }

  #hgef27 .hgef27-profile-open {
    font-size: 11px !important;
  }
}



/* ==========================================
   HGEF — Speaker popup refinements
   ========================================== */

/* Main speaker header area inside popup */
#hgef27 .hgef27-modal-card .hgef27-modal-top,
#hgef27 .hgef27-modal-card .hgef27-modal-speaker-top,
#hgef27 .hgef27-modal-card .hgef27-modal-speaker {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  column-gap: 24px !important;
  align-items: center !important;
}

/* Speaker image / initials block */
#hgef27 .hgef27-modal-card .hgef27-modal-avatar,
#hgef27 .hgef27-modal-card .hgef27-modal-speaker-photo,
#hgef27 .hgef27-modal-card .hgef27-modal-speaker-avatar {
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

/* Text block beside image */
#hgef27 .hgef27-modal-card .hgef27-modal-meta,
#hgef27 .hgef27-modal-card .hgef27-modal-speaker-meta,
#hgef27 .hgef27-modal-card .hgef27-modal-content-head {
  min-width: 0 !important;
  padding-left: 0 !important;
}

/* Mobile popup spacing */
@media (max-width: 767px) {
  #hgef27 .hgef27-modal-card .hgef27-modal-top,
  #hgef27 .hgef27-modal-card .hgef27-modal-speaker-top,
  #hgef27 .hgef27-modal-card .hgef27-modal-speaker {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    align-items: center !important;
  }

  #hgef27 .hgef27-modal-card .hgef27-modal-avatar,
  #hgef27 .hgef27-modal-card .hgef27-modal-speaker-photo,
  #hgef27 .hgef27-modal-card .hgef27-modal-speaker-avatar {
    width: 92px !important;
    height: 92px !important;
    border-radius: 14px !important;
  }

  #hgef27 .hgef27-modal-card h3,
  #hgef27 .hgef27-modal-card .hgef27-modal-speaker-name {
    margin: 0 0 8px 0 !important;
    line-height: 1.08 !important;
  }
}




/* Correct speaker photo/name spacing */
@media (max-width: 767px) {

  .hgef27-overlay .hgef27-dialog-person {
    display: grid !important;
    grid-template-columns: 85px minmax(0, 1fr) !important;
    column-gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
  }

  .hgef27-overlay .hgef27-dialog-photo {
    width: 85px !important;
    height: 85px !important;
    min-width: 85px !important;
    flex: none !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }

  .hgef27-overlay .hgef27-dialog-person > div:last-child {
    min-width: 0 !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .hgef27-overlay .hgef27-dialog-name {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
    overflow-wrap: break-word !important;
  }

  .hgef27-overlay .hgef27-dialog-role {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
  }

  .hgef27-overlay .hgef27-dialog-company {
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }
}





/* 1. MOBILE SPEAKER PROFILE SPACING */

@media (max-width: 767px) {

  .hgef27-overlay .hgef27-dialog-person {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 22px !important;
    column-gap: 22px !important;

    width: 100% !important;
    min-width: 0 !important;
  }

  .hgef27-overlay .hgef27-dialog-photo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 82px !important;

    flex: 0 0 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 10px !important;
  }

  .hgef27-overlay .hgef27-dialog-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .hgef27-overlay
  .hgef27-dialog-person > div:last-child {
    display: block !important;

    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow-wrap: break-word !important;
  }

  .hgef27-overlay .hgef27-dialog-name {
    display: block !important;
    font-size: 21px !important;
    line-height: 1.25 !important;

    margin: 0 0 9px !important;
    padding: 0 !important;

    overflow-wrap: break-word !important;
  }

  .hgef27-overlay .hgef27-dialog-role {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
  }

  .hgef27-overlay .hgef27-dialog-company {
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }

  /* Prevent modal content touching screen edges */

  .hgef27-overlay {
    padding: 12px !important;
  }

  .hgef27-overlay .hgef27-dialog {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .hgef27-overlay .hgef27-dialog-body {
    padding: 22px 18px !important;
  }

}

/* Extra-small phones */

@media (max-width: 360px) {

  .hgef27-overlay .hgef27-dialog-person {
    gap: 14px !important;
  }

  .hgef27-overlay .hgef27-dialog-photo {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 70px !important;
    flex-basis: 70px !important;
  }

  .hgef27-overlay .hgef27-dialog-name {
    font-size: 19px !important;
  }

}


/* 2. ENSURE THE AGENDA HEADING SCROLLS NORMALLY */

@media (max-width: 767px) {

  #hgef27 .hgef27-heading {
    position: static !important;
    top: auto !important;
    transform: none !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 9px !important;
    margin-bottom: 24px !important;
  }

  #hgef27 .hgef27-heading h2 {
    font-size: 36px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  #hgef27 .hgef27-heading p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  #hgef27 #hgef27-count {
    display: block !important;
    position: static !important;

    font-size: 12px !important;
    color: #62758c !important;

    margin-top: 3px !important;
  }

}


/* 3. MAKE ELEMENTOR'S MOBILE HEADER OPAQUE

   Stops agenda content showing through the
   transparent navigation while scrolling.
*/

@media (max-width: 767px) {

  .elementor-location-header,
  .elementor-location-header
  .elementor-sticky--active,
  .elementor-location-header
  .elementor-sticky--effects {
    background-color: #071C3B !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .elementor-location-header {
    z-index: 9999 !important;
  }

  /* Keep speaker popup above the header */

  .hgef27-overlay {
    z-index: 2147483500 !important;
  }

}





/* Main agenda heading */

#hgef27 .hgef27-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  margin-bottom: 27px !important;
}

/* Heading title */

#hgef27 .hgef27-heading h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(35px, 4vw, 46px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #071B38 !important;
  margin: 8px 0 12px !important;
}

/* Gold underline beneath Forum Agenda */

#hgef27 .hgef27-heading h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  background: #C9A458;
  margin-top: 13px;
  border-radius: 2px;
}

/* Date and time */

#hgef27 .hgef27-heading > div > p:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  color: #536783 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin: 4px 0 12px !important;
}

/* Session count */

#hgef27 #hgef27-count {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  color: #536783 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Outline icons */

#hgef27 .hgef27-heading-icon {
  display: inline-flex;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #607694;
}

#hgef27 .hgef27-heading-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile refinements */

@media (max-width: 767px) {

  #hgef27 .hgef27-heading h2 {
    font-size: 37px !important;
    margin-bottom: 13px !important;
  }

  #hgef27 .hgef27-heading > div > p:last-child,
  #hgef27 #hgef27-count {
    font-size: 13px !important;
    gap: 9px !important;
  }

  #hgef27 .hgef27-heading-icon,
  #hgef27 .hgef27-heading-icon svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

}




/* HGEF 2027 — EVENT LABEL ALIGNMENT */

#hgef27 .hgef27-heading .hgef27-kicker {
  position: relative !important;
  left: 7px !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-indent: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  #hgef27 .hgef27-heading .hgef27-kicker {
    left: 7px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
}



/* HGEF 2027 — FIX STICKING AGENDA HEADING */

/* Force the heading to scroll normally */
#hgef27 .hgef27-heading,
#hgef27 header.hgef27-heading {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 100% !important;
}

/* Ensure its contents are not independently sticky */
#hgef27 .hgef27-heading > div,
#hgef27 .hgef27-heading h2,
#hgef27 .hgef27-heading .hgef27-kicker,
#hgef27 #hgef27-count {
  position: static !important;
  transform: none !important;
  top: auto !important;
  z-index: auto !important;
}

/* Normal scrolling for the main agenda */
#hgef27 .hgef27-main {
  position: relative !important;
  top: auto !important;
}

/* Ensure the agenda itself is not fixed */
#hgef27 {
  position: relative !important;
  top: auto !important;
}




@media (max-width: 767px) {

  /* Main heading container */
  #hgef27 .hgef27-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    position: static !important;
    top: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    padding: 0 !important;
    margin: 0 0 26px !important;
    gap: 0 !important;

    background: #FFFFFF !important;
  }

  #hgef27 .hgef27-heading > div {
    width: 100% !important;
    min-width: 0 !important;
    position: static !important;
  }

  /* Event edition label */
  #hgef27 .hgef27-heading .hgef27-kicker {
    position: static !important;
    left: auto !important;
    transform: none !important;

    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #0055BF !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    line-height: 1.5 !important;
    text-indent: 0 !important;
  }

  /* Forum Agenda title */
  #hgef27 .hgef27-heading h2 {
    position: static !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(31px, 9vw, 40px) !important;
    font-weight: 600 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.5px !important;
    color: #071B38 !important;

    margin: 0 0 14px !important;
    padding: 0 !important;
  }

  /* Gold underline */
  #hgef27 .hgef27-heading h2::after {
    content: "" !important;
    display: block !important;
    width: 50px !important;
    height: 4px !important;
    background: #C9A458 !important;
    border-radius: 2px !important;
    margin: 14px 0 0 !important;
  }

  /* Event date and time */
  #hgef27 .hgef27-heading > div > p:last-child {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #536783 !important;

    margin: 0 0 10px !important;
    padding: 0 !important;
    white-space: normal !important;
  }

  /* Session count */
  #hgef27 #hgef27-count {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    position: static !important;
    top: auto !important;
    transform: none !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #536783 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* Calendar and list icons */
  #hgef27 .hgef27-heading-icon {
    display: inline-flex !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 1px !important;
    color: #607694 !important;
  }

  #hgef27 .hgef27-heading-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}




@media (max-width: 767px) {

  /* AGENDA HEADING: normal page flow */
  #hgef27 .hgef27-heading {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
    background: #FFFFFF !important;
    isolation: auto !important;
  }

  #hgef27 .hgef27-heading,
  #hgef27 .hgef27-heading * {
    scroll-margin-top: 0 !important;
  }

  /* SPEAKER POP-UP: two clear columns */
  .hgef27-overlay .hgef27-dialog-person {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
  }

  .hgef27-overlay .hgef27-dialog-photo {
    width: 78px !important;
    height: 78px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
  }

  /* Guaranteed 20px space after the photograph */
  .hgef27-overlay
  .hgef27-dialog-person > div:nth-child(2) {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 0 0 20px !important;
    margin: 0 !important;
  }

  .hgef27-overlay .hgef27-dialog-name {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin: 0 0 9px !important;
    overflow-wrap: break-word !important;
  }

  .hgef27-overlay .hgef27-dialog-role {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .hgef27-overlay .hgef27-dialog-company {
    font-size: 12px !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }
}

/* Editor-ready desktop sticky fix: original HTML intentionally disabled sticky
   at 900px height; keep the two panels sticky where they fit. */
@media (min-width: 1001px) {
  #hgef27 .hgef27-sticky {
    position: sticky !important;
    top: min(var(--sticky-top), max(12px, calc(100vh - 720px))) !important;
  }
}


/* Version 0.9.9 — modal top-layer takes precedence over all legacy overlay rules.
   Previous :target rules removed: they forcibly hid non-fragment popups. */
dialog.hgef27-native-dialog {
  box-sizing: border-box !important;
  margin: auto !important;
  width: 100vw !important;
  max-width: none !important;
  max-height: none !important;
  border: 0 !important;
  padding: 16px !important;
  background: rgba(3,17,43,.8) !important;
  color: inherit;
  inset: 0 !important;
  overflow: auto !important;
}
dialog.hgef27-native-dialog[open] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
dialog.hgef27-native-dialog:not([open]) {
  display: none !important;
}
dialog.hgef27-native-dialog::backdrop {
  background: rgba(3,17,43,.35);
}
dialog.hgef27-native-dialog .hgef27-dialog-close {
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
}
#hgef27 button.hgef27-profile-open {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0 !important;
  color: var(--blue);
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
}


/* ========================================================
   HGEF 0.10.0 — INLINE SPEAKER BIOGRAPHY (NO POP-UP)
   Native <details> keeps biography behaviour independent of
   Elementor/theme JavaScript and the old dialog CSS.
   ======================================================== */
#hgef27 .hgef27-speaker {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  column-gap: 16px;
  row-gap: 9px;
  align-items: center;
}
#hgef27 .hgef27-speaker-info {
  min-width: 0;
  overflow-wrap: anywhere;
}
#hgef27 .hgef27-bio-details {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
#hgef27 .hgef27-bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  color: #0055BF;
  font: 800 13px/1.5 Arial, Helvetica, sans-serif;
  cursor: pointer;
  padding: 6px 0;
  user-select: none;
}
#hgef27 .hgef27-bio-toggle::-webkit-details-marker { display: none; }
#hgef27 .hgef27-bio-toggle::marker { content: ''; }
#hgef27 .hgef27-bio-toggle:hover { text-decoration: underline; }
#hgef27 .hgef27-bio-toggle:focus-visible {
  outline: 3px solid #c9a458;
  outline-offset: 3px;
  border-radius: 3px;
}
#hgef27 .hgef27-bio-chevron {
  font-size: 20px;
  line-height: 0.8;
  display: inline-block;
  transform-origin: center;
  transition: transform .15s ease;
}
#hgef27 .hgef27-bio-details[open] .hgef27-bio-chevron { transform: rotate(180deg); }
#hgef27 .hgef27-bio-panel {
  margin-top: 7px;
  padding: 18px 20px;
  border: 1px solid #dce6f2;
  border-left: 3px solid #c9a458;
  border-radius: 7px;
  background: #f7faff;
  color: #53657d;
  font: 400 14px/1.7 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
}
#hgef27 .hgef27-bio-panel h4 {
  margin: 0 0 8px;
  color: #071B38;
  font: 600 19px/1.4 Georgia, 'Times New Roman', serif;
}
#hgef27 .hgef27-bio-copy { white-space: pre-line; }
#hgef27 .hgef27-bio-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
#hgef27 .hgef27-bio-links a {
  color: #0055BF;
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  #hgef27 .hgef27-speaker {
    grid-template-columns: 60px minmax(0,1fr) !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
  }
  #hgef27 .hgef27-bio-toggle { font-size: 12px; }
  #hgef27 .hgef27-bio-panel { padding: 14px 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #hgef27 .hgef27-bio-chevron { transition: none; }
}


/* ==========================================
   HGEF 2027 — VERSION 0.10.3 FINAL OVERRIDES
   ========================================== */
#hgef27 .hgef27-avatar {
  border-radius: 24px !important;
  padding: 3px !important;
  background: linear-gradient(180deg, #0088FF 0%, #0055BF 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.9),
    0 8px 18px rgba(7, 89, 201, .22) !important;
}
#hgef27 .hgef27-avatar img {
  border-radius: 20px !important;
}
#hgef27 .hgef27-session-description-copy {
  white-space: pre-wrap !important;
  overflow-wrap: anywhere;
}


/* HGEF 0.10.5 — restrained button lift on desktop hover.
   Keep the original white/navy backgrounds and existing brand colour changes. */
#hgef27 a.hgef27-button {
  transition: transform .22s cubic-bezier(.2,.7,.3,1),
              box-shadow .22s ease,
              background-color .22s ease,
              color .22s ease !important;
  transform: translateY(0) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  #hgef27 a.hgef27-button:hover {
    transform: translateY(-4px) scale(1.012) !important;
    box-shadow: 0 10px 22px rgba(6, 34, 77, .25) !important;
  }
  #hgef27 a.hgef27-button:active {
    transform: translateY(-1px) scale(.997) !important;
    box-shadow: 0 4px 9px rgba(6, 34, 77, .18) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hgef27 a.hgef27-button,
  #hgef27 a.hgef27-button:hover,
  #hgef27 a.hgef27-button:active {
    transition: none !important;
    transform: none !important;
  }
}

/* HGEF Europe brand values — Primary #0055BF, Secondary #0088FF, Navy #071B38.
   Deliberately retain the original white/navy CTAs and their restrained hover lift. */


/* HGEF Europe 0.10.8 — one discoverable session-overview action.
   Replaces both the '+' control and the duplicate under-speaker text link.
   HGEF primary #0055BF, secondary #0088FF and navy #071B38. */
#hgef27 .hgef27-session-head > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
#hgef27 .hgef27-overview-action {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #aac8ed;
  border-radius: 7px;
  background: #eaf3ff;
  box-shadow: 0 2px 5px rgba(7,27,56,.055);
  color: #071B38;
  font: 700 12px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: .04px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
#hgef27 .hgef27-overview-action:hover {
  background: #d6eaff;
  border-color: #0088FF;
  box-shadow: 0 4px 10px rgba(0,85,191,.12);
  transform: translateY(-1px);
}
#hgef27 .hgef27-overview-action[aria-expanded="true"] {
  border-color: #0055BF;
  background: #0055BF;
  color: #fff;
}
#hgef27 .hgef27-overview-action[aria-expanded="true"]:hover {
  background: #074aa0;
}
#hgef27 .hgef27-overview-action:focus-visible {
  outline: 3px solid #0088FF;
  outline-offset: 3px;
}
#hgef27 .hgef27-overview-chevron {
  display: inline-block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
#hgef27 .hgef27-overview-chevron.is-open {
  margin-top: 3px;
  transform: rotate(225deg);
}
@media (max-width: 800px) {
  #hgef27 .hgef27-session-head {
    flex-wrap: wrap;
    gap: 5px 9px;
  }
  #hgef27 .hgef27-overview-action {
    margin: 0 0 7px;
    padding: 8px 12px;
    font-size: 12px;
  }
}
@media (max-width: 440px) {
  #hgef27 .hgef27-session-head {
    flex-direction: column;
    align-items: flex-start;
  }
  #hgef27 .hgef27-overview-action {
    align-self: flex-start;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hgef27 .hgef27-overview-action,
  #hgef27 .hgef27-overview-chevron { transition: none; transform: none; }
}

/* HGEF Europe v0.10.13: purpose label for Leadership Exchange meetings. */
#hgef27 .hgef27-meeting-subline {
  font: 400 13px/1.5 Arial, Helvetica, sans-serif;
  color: #718399;
  margin: 0;
}
