/*
    DG65 — C2PA edition theme
    Revision of soeverein.css with a flatter, more readable layout:
      • shorter header (compact banner ratio + tighter padding)
      • larger body text, higher contrast
      • wider reading column
      • simpler title placement (no overlap on top of the banner)
*/

:root {
  /* Header */
  --conf-theme-header-bg: #95a8cb;
  --conf-theme-header-border-bottom: #879abd;
  --conf-theme-header-text: white;

  /* Subtitle area */
  --conf-theme-subtitle-bg: #f3f7fc;
  --conf-theme-subtitle-border: #d9e3ef;
  --conf-theme-subtitle-text: #2e3d52;

  /* Menu colors */
  --conf-theme-menu-bg: rgba(255, 255, 255, 0.78);
  --conf-theme-menu-border: rgba(120, 138, 166, 0.18);
  --conf-theme-menu-link: #3e526b;
  --conf-theme-menu-selected: #24507f;
  --conf-theme-menu-selected-bg: rgba(255, 255, 255, 0.95);
  --conf-theme-menu-selected-border: rgba(120, 138, 166, 0.2);
  --conf-theme-hover-bg: rgba(255, 255, 255, 0.9);
  --conf-theme-hover-color: #1d3f6b;
  --conf-theme-title-sprite-bg: transparent;
  --conf-theme-announcement-sprite-bg: transparent;
  --conf-theme-announcement-border-top: 1px solid var(--conf-theme-announcement-border);
  --conf-theme-announcement-border-bottom: none;

  /* Support box */
  --conf-theme-support-bg: rgba(255, 255, 255, 0.82);
  --conf-theme-support-border: rgba(120, 138, 166, 0.18);
  --conf-theme-support-header-bg: #5d7aae;
  --conf-theme-support-header-text: #f7f9fc;
  --conf-theme-support-text: #4b5d77;

  /* Background images */
  --conf-theme-sprite-image: url('/images/conf/sprites_blue.png');

  /* Announcement colors */
  --conf-theme-announcement-bg: #f6f9fd;
  --conf-theme-announcement-border: #d7e1ed;
  --conf-theme-announcement-text: #1f3551;

  /* Custom DG tokens */
  --dg-page-bg: #eef3f9;
  --dg-card-bg: rgba(255, 255, 255, 0.9);
  --dg-card-border: rgba(121, 139, 166, 0.18);
  --dg-shadow: 0 6px 18px rgba(43, 61, 93, 0.06);
  --dg-shadow-strong: 0 18px 38px rgba(44, 66, 110, 0.12);

  /* Higher contrast text (was #2d3d53 / #63748d) */
  --dg-text: #1f2c40;
  --dg-text-soft: #475a76;

  --dg-accent: #24507f;
  --dg-accent-soft: #e6eef9;
  --dg-shell-max-width: 1180px;
  --dg-content-max-width: 760px;
  --dg-banner-image: url("/event/73/logo-2347627234.png");

  /* Compact header sizing.
     The uploaded event banner is roughly 4:3 (1055×786) so we cap it
     by HEIGHT and let width follow naturally — the banner sits as a
     contained hero, not a stretched-across-the-page strip. */
  --dg-header-height: 200px;
  --dg-header-radius: 14px;
}

/* Base */
html,
body {
  background:
    radial-gradient(circle at top center, rgba(170, 188, 221, 0.28) 0, rgba(170, 188, 221, 0) 36%),
    linear-gradient(180deg, #f8fbff 0%, var(--dg-page-bg) 100%);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--dg-text);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  line-height: 1.65;
}

/* Center the shell */
.conference-page,
.confBodyBox,
.conference-page .page-body {
  max-width: var(--dg-shell-max-width);
  margin: 0 auto;
}

/* =========================================================
   HEADER — full-width banner hero.
   The C2PA artwork is rendered as a background image across the
   whole card; title / eyebrow / subline / meta strip overlay it
   on top of a left-to-right scrim. Same compact height as the
   timetable's .event-header. Mobile keeps the same shape.
   ========================================================= */

.confheader {
  position: relative;
  max-width: var(--dg-shell-max-width);
  margin: 14px auto 16px;
  padding: 28px 36px;
  /* Full-width banner: the event artwork sits behind everything as a
     cover background, with a darkening scrim so the title stays legible.
     !important + background-image win against Indico's stock theme +
     inline styles that try to set their own header background. */
  background:
    linear-gradient(90deg, rgba(15, 27, 46, 0.78) 0%, rgba(15, 27, 46, 0.55) 38%, rgba(15, 27, 46, 0.22) 72%, rgba(15, 27, 46, 0.05) 100%),
    var(--dg-banner-image) center / cover no-repeat,
    linear-gradient(135deg, #1f3551 0%, #24507f 100%) !important;
  background-image:
    linear-gradient(90deg, rgba(15, 27, 46, 0.78) 0%, rgba(15, 27, 46, 0.55) 38%, rgba(15, 27, 46, 0.22) 72%, rgba(15, 27, 46, 0.05) 100%),
    var(--dg-banner-image),
    linear-gradient(135deg, #1f3551 0%, #24507f 100%) !important;
  background-size: auto, cover, auto !important;
  background-position: center, center, center !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  border: 1px solid var(--dg-card-border) !important;
  border-radius: 22px !important;
  box-shadow: var(--dg-shadow-strong);
  overflow: hidden;
  min-height: 200px;

  /* Single grid that the inner containers participate in via display:contents
     — makes the layout robust whether .confLogoBox lives inside
     .confTitleBox (our demo) or as a sibling (some Indico templates). */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: end;
  gap: 18px;
}

.confheader::before { content: none; }
.confheader::after { content: none; }

.confheader > * { position: relative; z-index: 1; }

/* Flatten the structural wrappers so their children sit on the .confheader grid.
   .confSubTitleContent stays as a flex container though — it positions the
   date/place row + search box inside its grid cell. */
.confheader .confTitleBox,
.confheader .confSubTitleBox { display: contents; }

/* Defensive: kill any banner-image background on inner wrappers */
.confheader .confTitleBox,
.confheader .confSubTitleBox,
.confheader .confLogoBox,
.confheader .confTitle {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Eyebrow injected via CSS so it works against Indico's stock DOM.
   If the host page provides a real .dg-eyebrow element inside .confTitle
   (e.g. our demo or a custom template), suppress the pseudo so we don't
   double up. */
.confTitle::before {
  content: "DUTCH GUILD · EDITIE 65 · 23 JUNI 2026";
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(15, 25, 50, 0.4);
}
.confTitle:has(.dg-eyebrow)::before { content: none; }

.dg-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 10px rgba(15, 25, 50, 0.4);
}

.dg-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(110, 231, 183, 0.55);
  border-radius: 999px;
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: none;
}

.dg-verified svg {
  flex-shrink: 0;
  color: #6ee7b7;
}

/* ===== Provenance chain strip ===== */
.dg-chain {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 10px 14px;
  background: rgba(15, 27, 46, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  font-family: "JetBrains Mono", "SF Mono", "Menlo", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.dg-chain-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.dg-chain-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.18);
}

.dg-chain ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.dg-chain ol li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.dg-chain ol li + li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.55));
  position: relative;
}

.dg-chain ol li + li {
  position: relative;
}

.dg-chain-hash {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  white-space: nowrap;
}

/* The meta strip moves down one row when the chain is present */
.confheader:has(.dg-chain) .confSubTitleContent {
  grid-row: 3;
}

.confheader:has(.dg-chain) {
  grid-template-rows: auto auto auto;
}

.confTitleBox .confTitle,
.confTitleBox .confTitle h1,
.confTitleBox .conference-title-link {
  position: static;
}

.confTitleBox .confTitle { grid-column: 1; grid-row: 1; align-self: end; }
.confTitleBox .confTitle h1 { margin: 0; }

.confTitleBox .conference-title-link {
  display: block;
  color: inherit !important;
  text-decoration: none;
}

/* The big event title — left-aligned, bold, tight tracking */
.confTitleBox .conference-title-link > span[itemprop="title"] {
  display: block;
  position: static;
  left: auto !important;
  top: auto !important;
  margin: 0;
  padding: 0;
  max-width: none;
  color: #fff !important;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 18px rgba(15, 25, 50, 0.45);
  text-align: left;
  white-space: normal;
}

/* Subline injected after the title via CSS.
   Suppressed when a real .dg-subline element is present. */
.confTitleBox .confTitle::after {
  content: "Coalition for Content Provenance and Authenticity — herkomst en integriteit van digitale content.";
  display: block;
  margin-top: 12px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(15, 25, 50, 0.35);
}
.confTitleBox .confTitle:has(.dg-subline)::after { content: none; }

.dg-subline {
  display: block;
  margin: 12px 0 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(15, 25, 50, 0.35);
}

/* The artwork is rendered as the .confheader background now — hide the
   inline <img> + its wrapper so they don't take any layout space. */
.confLogoBox,
.confheader .conference-logo {
  display: none !important;
}
.confheader img,
.confLogoBox img,
.conference-logo img {
  display: none !important;
}

/* Meta strip under the title row.
   .confSubTitleBox is display:contents — styling moves to .confSubTitleContent. */
.confSubTitleBox {
  position: static;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  margin: 0;
  pointer-events: auto;
}

.confSubTitleContent {
  grid-column: 1;
  grid-row: 2;
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 22px;
  max-width: none;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.confSubTitleBox .datePlace {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  min-width: 0;
}

.confSubTitleBox .date,
.confSubTitleBox .place,
.confSubTitleBox .timezone {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(15, 25, 50, 0.4);
}

.confSubTitleBox .date::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.confSubTitleBox .place::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* Kill the legacy '·' separator now that we use dots */
.confSubTitleBox .date + .place::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  margin-right: 0;
}

.confSubTitleBox .confSubTitle {
  display: none !important;
}

.confSubTitleBox #event-search-box,
.confSubTitleContent .search-box {
  position: static;
  margin: 0;
  pointer-events: auto;
  flex-shrink: 0;
}

.confSubTitleContent .search-box input { width: 220px; }

/* Indico top bar polish (unchanged) */
.page-header.page-header-dark.event-page-header,
.page-header.page-header-dark.event-page-header .toolbar,
.page-header.page-header-dark.event-page-header .main-action-bar {
  background: rgba(27, 36, 52, 0.88) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(12, 19, 32, 0.18);
}

.page-header.page-header-dark.event-page-header {
  border-radius: 0 0 18px 18px;
}

@media (min-width: 981px) {
  .page-header.page-header-dark.event-page-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    transform: translateY(calc(-100% + 14px));
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  }
  .page-header.page-header-dark.event-page-header:hover {
    transform: translateY(0);
    background: rgba(27, 36, 52, 0.96) !important;
    box-shadow: 0 16px 36px rgba(12, 19, 32, 0.22);
  }
}

/* =========================================================
   CARDS — menu + main content
   ========================================================= */

.conf_leftMenu,
.sidemenu,
.conference-page .leftCol > div:first-child,
.conf_mainContent,
.conference-page .mainCol {
  background: var(--dg-card-bg);
  border: 1px solid var(--dg-card-border);
  box-shadow: var(--dg-shadow);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.conf_leftMenu,
.sidemenu {
  width: 100%;
  max-width: var(--dg-shell-max-width);
  margin: 10px auto 16px;
  padding: 6px;
  float: none;
  position: static;
  top: auto;
  z-index: 5;
  border-radius: 14px;
}

.conf_leftMenu nav,
.sidemenu nav { display: block; width: 100%; margin: 0; }
.event-menu-heading { display: none; }

#outer,
.conf_leftMenu ul,
.sidemenu ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

#outer > li,
.conf_leftMenu ul > li,
.sidemenu ul > li {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
}

#outer > li > a,
.conf_leftMenu ul > li > a,
.sidemenu ul > li > a { white-space: nowrap; }

/* Content padding */
.conf_mainContent,
.conference-page .mainCol {
  padding: 36px 44px 44px;
}

.conf_mainContent > :first-child,
.conference-page .mainCol > :first-child { margin-top: 0; }

/* Menu items */
.conf_leftMenu a,
.sidemenu a,
.conf_leftMenu .menuItem,
.sidemenu .menuItem {
  display: block;
  border-radius: 10px;
  transition: all 0.18s ease;
  font-weight: 500;
  padding: 10px 16px;
  color: var(--conf-theme-menu-link);
}

.conf_leftMenu a:hover,
.sidemenu a:hover,
.conf_leftMenu .menuItem:hover,
.sidemenu .menuItem:hover {
  text-decoration: none;
  background: var(--conf-theme-hover-bg);
  color: var(--conf-theme-hover-color);
  transform: none;
  box-shadow: 0 4px 14px rgba(41, 93, 156, 0.08);
}

.conf_leftMenu .selected,
.sidemenu .selected,
.conf_leftMenu .current,
.sidemenu .current {
  border-left: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--dg-accent-soft) 100%);
  box-shadow: 0 4px 14px rgba(41, 93, 156, 0.1);
  font-weight: 600;
  color: var(--conf-theme-menu-selected);
}

/* =========================================================
   TYPOGRAPHY — bigger, denser, higher contrast
   ========================================================= */

h1, h2, h3, h4 {
  font-family: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--dg-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.conf_mainContent h1,
.conference-page .mainCol h1 { font-size: 1.95rem; margin: 0 0 0.5em; }
.conf_mainContent h2,
.conference-page .mainCol h2 { font-size: 1.5rem; margin: 1.9em 0 0.55em; }
.conf_mainContent h3,
.conference-page .mainCol h3 { font-size: 1.18rem; margin: 1.5em 0 0.45em; }

p, li {
  color: var(--dg-text);
  line-height: 1.72;
  font-size: 1.02rem;
  text-wrap: pretty;
}

.conf_mainContent p,
.conference-page .mainCol p {
  max-width: var(--dg-content-max-width);
  margin: 0 0 1.05em;
}

.conf_mainContent ul,
.conf_mainContent ol,
.conference-page .mainCol ul,
.conference-page .mainCol ol {
  padding-left: 1.3rem;
  max-width: var(--dg-content-max-width);
}

.conf_mainContent li,
.conference-page .mainCol li { margin: 0.25em 0; }

.confTitle,
.conference-title,
.event-title {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.1;
}

strong, b { color: var(--dg-text); font-weight: 600; }

/* Links */
a { color: var(--dg-accent); text-decoration-color: rgba(36, 80, 127, 0.35); }
a:hover { color: #163a63; text-decoration-color: currentColor; }

/* Search */
.confheader input[type="text"],
.confheader input[type="search"],
.confheader .i-search-field,
.confSubTitleBox input[type="text"],
.confSubTitleBox input[type="search"] {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(15, 25, 50, 0.18);
  padding-inline: 14px;
  font-size: 0.96rem;
}

/* Tables / small boxes */
table, .i-table, .infoBox, .materials {
  border-radius: 10px;
  overflow: hidden;
}

* { border-color: rgba(120, 138, 166, 0.18); }

/* =========================================================
   TIMETABLE
   ========================================================= */

.event-wrapper {
  max-width: var(--dg-shell-max-width);
  margin: 0 auto;
}

.event-wrapper .event-header {
  position: relative;
  max-width: var(--dg-shell-max-width);
  min-height: 108px;
  margin: 10px auto 14px;
  padding: 18px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--dg-banner-image) center / cover no-repeat;
  border-radius: 20px;
  box-shadow: var(--dg-shadow-strong);
  overflow: hidden;
}

.event-wrapper .event-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 44, 64, 0.42) 0%, rgba(31, 44, 64, 0.10) 48%, rgba(31, 44, 64, 0) 72%);
  pointer-events: none;
}

.event-wrapper .event-title,
.event-wrapper .details { position: relative; z-index: 2; }

.event-wrapper .event-title { display: block; min-height: 0; }

.event-wrapper .event-title h1 {
  margin: 0;
  max-width: 60%;
  color: #fff;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-shadow: 0 4px 14px rgba(15, 25, 50, 0.35);
}

.event-wrapper .event-actions,
.event-wrapper .event-sub-header { display: none !important; }

.event-wrapper .details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 10px;
  color: #fff;
}

.event-wrapper .event-date,
.event-wrapper .event-location {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 4px 12px rgba(15, 25, 50, 0.3);
}

.event-wrapper .event-date i,
.event-wrapper .event-location i,
.event-wrapper .timezone { display: none !important; }

.event-wrapper .event-time-data,
.event-wrapper .event-location .text { color: inherit; }

.event-wrapper .event-body {
  max-width: 980px;
  margin: 0 auto 48px;
}

.event-wrapper .timetable-item-actions,
.event-wrapper .event-manage-button,
.event-wrapper .toolbar.right.thin { display: none !important; }

.event-wrapper .day-list,
.event-wrapper .meeting-timetable { margin: 0; padding: 0; list-style: none; }

.event-wrapper .timetable-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 14px;
  padding: 18px 22px;
  background: var(--dg-card-bg);
  border: 1px solid var(--dg-card-border);
  border-radius: 18px;
  box-shadow: var(--dg-shadow);
}

.event-wrapper .timetable-item.timetable-break {
  background: linear-gradient(180deg, rgba(230, 238, 249, 0.92) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.event-wrapper .timetable-time {
  color: var(--dg-accent);
  font-weight: 700;
  line-height: 1.45;
}

.event-wrapper .timetable-time.top-level { font-size: 1rem; }

.event-wrapper .timetable-item-body { min-width: 0; }

.event-wrapper .timetable-item-header {
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.event-wrapper .timetable-title {
  color: var(--dg-text);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.event-wrapper .timetable-title.top-level.break { color: #138896; }

.event-wrapper .timetable-duration {
  color: var(--dg-text-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}

.event-wrapper .session-details,
.event-wrapper .timetable-item .description { margin-top: 10px; color: var(--dg-text-soft); }

.event-wrapper .session-details .label,
.event-wrapper .session-details strong { color: var(--dg-text); }

.event-wrapper .session-details td,
.event-wrapper .session-details th { padding: 0 0 6px; border: 0; }

.confDetails, .conference-details, .confMeta,
.conference-page .details { gap: 12px; }

.conferenceDetails .infogrid { position: static; width: auto; margin-top: 18px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .confheader {
    padding: 22px 22px;
    border-radius: 18px;
    margin: 10px auto 14px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
    min-height: 180px;
  }

  .confTitleBox .confTitle { grid-column: 1; grid-row: 1; }
  .confSubTitleContent { grid-column: 1; grid-row: 2; }

  .confTitleBox .conference-title-link > span[itemprop="title"] {
    text-align: left;
  }

  .confSubTitleContent {
    justify-content: flex-start;
  }

  .confSubTitleBox .datePlace { justify-content: flex-start; }

  .conference-page,
  .confBodyBox,
  .conference-page .page-body { max-width: 100%; }

  .conference-page .leftCol,
  .conference-page .mainCol,
  .conf_leftMenu,
  .sidemenu,
  .conf_mainContent {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .conf_leftMenu, .sidemenu {
    margin: 8px 0 12px;
    padding: 6px;
    border-radius: 14px;
  }

  .conf_mainContent,
  .conference-page .mainCol {
    padding: 26px 22px;
    border-radius: 16px;
  }

  .conf_leftMenu a, .sidemenu a,
  .conf_leftMenu .menuItem, .sidemenu .menuItem { padding: 10px 14px; }

  .event-wrapper .event-header {
    min-height: 88px;
    margin: 8px auto 12px;
    padding: 14px 20px;
    border-radius: 14px;
  }

  .event-wrapper .event-title h1 {
    max-width: 64%;
    font-size: clamp(1rem, 1.9vw, 1.3rem);
  }

  .event-wrapper .details { margin-top: 8px; }
  .event-wrapper .event-date,
  .event-wrapper .event-location { font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .confheader {
    padding: 18px 16px;
    border-radius: 16px;
    min-height: 160px;
  }

  .confheader img,
  .confLogoBox img,
  .conference-logo img { display: none !important; }

  .confTitle::before {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .confTitleBox .confTitle::after {
    font-size: 0.96rem;
    max-width: none;
  }

  #event-search-box, .search-box { display: none !important; }

  html, body { font-size: 16px; }

  /* (legacy .confheader/.confTitleBox padding rules removed —
     handled by the redesigned hero block at the top of this @media) */

  .conf_mainContent,
  .conference-page .mainCol {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .conf_mainContent p,
  .conference-page .mainCol p { max-width: none; }

  .conf_leftMenu, .sidemenu,
  .conference-page .leftCol > div:first-child {
    border-radius: 12px;
    padding: 6px;
  }

  .conf_leftMenu a, .sidemenu a,
  .conf_leftMenu .menuItem, .sidemenu .menuItem {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.98rem;
  }

  .event-wrapper .event-header {
    min-height: 76px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .event-wrapper .event-title h1 {
    max-width: 70%;
    font-size: clamp(0.95rem, 4.4vw, 1.15rem);
    line-height: 1.15;
  }

  .event-wrapper .timetable-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
  }

  .event-wrapper .timetable-title { font-size: 1.02rem; }

  #outer,
  .conf_leftMenu ul,
  .sidemenu ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #outer::-webkit-scrollbar,
  .conf_leftMenu ul::-webkit-scrollbar,
  .sidemenu ul::-webkit-scrollbar { display: none; }

  table, .i-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}