/* GNU-IBS 2026: Indico public conference layout, 2026-10-20.
   Adapted from ../참고자료/cubes-2026.css (CUBES 2026, W. S. Cho).
   Jinju nightscape A, reused from the 2025 workshop photo materials.
   Public conference selectors only; no administration or timetable overrides. */

/* Tall photographic header with a translucent navy layer and centered title. */
.confheader {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 450px !important;
  min-height: 450px !important;
  background: #0e304c url("https://indico.ibs.re.kr/event/1444/images/869-jinjuseong-night.jpg") center 73% / cover no-repeat !important;
  border-color: transparent !important;
  overflow: hidden;
}
.confheader::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(rgba(14, 48, 76, .36), rgba(14, 48, 76, .18));
  pointer-events: none;
}
.confheader::after { display: none; }
.confheader > * { position: relative; z-index: 1; }
.confheader .confTitleBox,
.confheader .confSubTitleBox {
  background: transparent !important;
  border-color: transparent !important;
  height: auto !important;
  width: 100% !important;
  float: none !important;
}
.confheader .confTitleBox {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.confheader .confTitleBox .confTitle,
.confheader .confSubTitleBox .confSubTitleContent {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.confheader .confTitleBox .confTitle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100% !important;
  min-width: 0;
  padding: 1.5rem 1.25rem .75rem;
}
.confheader .confTitleBox,
.confheader .confTitleBox .confTitle,
.confheader .confTitleBox .confTitle h1 {
  text-align: center !important;
  line-height: 1.23 !important;
}
.confheader .confTitleBox .confTitle h1 {
  width: 100%;
  max-width: 1050px;
  margin: 0 !important;
}
.confheader .conference-title-link,
.confheader .confTitle h1 > a {
  display: block !important;
  color: #fff !important;
  font-size: clamp(2rem, 3.5vw, 3.2rem) !important;
  line-height: 1.23 !important;
  padding: 0 !important;
  margin: 0 !important;
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-align: center !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55), 0 0 1px rgba(0, 0, 0, .85);
}
/* Keep the requested visual line break in the banner only.
   The original title stays available to assistive technology and metadata.
   If the event title changes, update these two display lines as well. */
.confheader .conference-title-link { position: relative; }
.confheader .conference-title-link::before {
  content: "GNU-IBS Workshop on\A Particle Physics and Cosmology 2026" / "";
  display: block;
  font-size: inherit;
  line-height: inherit;
  white-space: pre;
  overflow-wrap: normal;
}
.confheader .conference-title-link span[itemprop="title"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap !important;
}

/* Equal outer columns center date/place while the translucent search stays right. */
.confheader .confSubTitleBox { flex: 0 0 auto; }
.confheader .confSubTitleBox .confSubTitleContent.flexrow {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: 0 1.25rem 1.4rem;
}
.confheader .confSubTitleContent.flexrow .confSubTitle {
  grid-column: 2;
  min-width: 0;
  color: #fff !important;
  text-align: center !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
}
.confheader .confSubTitleContent .datePlace {
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: 1.12rem;
  line-height: 1.5;
}
.confheader .datePlace .timezone {
  color: rgba(244, 241, 227, .8) !important;
  font-size: .9rem;
}
.confheader .confSubTitleContent.flexrow #event-search-box {
  grid-column: 3;
  justify-self: end;
  width: 100%;
  max-width: 240px;
  min-width: 0;
}
.confheader #event-search-box .ui.input {
  width: 100%;
  min-width: 0;
}
.confheader #event-search-box input {
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(14, 48, 76, .38) !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  border-radius: 8px !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.confheader #event-search-box input::placeholder {
  color: rgba(255, 255, 255, .8);
}
.confheader #event-search-box i.search.icon {
  color: rgba(255, 255, 255, .85) !important;
}

/* Preserve the legacy menu/body structure within a centered fluid container. */
#confSectionsBox {
  width: calc(100% - 2.5rem) !important;
  max-width: 1100px !important;
  margin: 1.75rem auto !important;
  box-sizing: border-box;
  display: flow-root;
}
#confSectionsBox .conf_leftMenu {
  float: left;
  width: 200px !important;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
#confSectionsBox .confBodyBox {
  float: none !important;
  width: calc(100% - 230px) !important;
  max-width: none !important;
  min-width: 0;
  margin-left: 230px !important;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
#confSectionsBox #main-content.conferenceDetails,
#confSectionsBox .description.js-mathjax.editor-output,
#confSectionsBox .description.js-mathjax.editor-output > div {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}
#confSectionsBox .description.js-mathjax.editor-output h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem) !important;
  line-height: 1.25 !important;
  text-align: center !important;
  margin: 0 0 1.5rem;
}
#confSectionsBox .description.js-mathjax.editor-output h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 1.6rem;
  /* Existing blue left border, color and padding remain in the overview HTML. */
}
#confSectionsBox .description.js-mathjax.editor-output p {
  line-height: 1.7;
  text-align: justify !important;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}
#confSectionsBox .description.js-mathjax.editor-output > div > h3:first-child {
  margin-top: 0 !important;
}
#confSectionsBox .description :is(ul, ol) {
  padding-inline-start: 1.4em;
  line-height: 1.65;
}
#confSectionsBox .description li { margin-bottom: .35rem; }
#confSectionsBox .confBodyBox a {
  white-space: normal;
  overflow-wrap: anywhere;
}
#confSectionsBox .description table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
}
#confSectionsBox .description :is(th, td) {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
}
#confSectionsBox .description img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  .confheader {
    height: 460px !important;
    min-height: 460px !important;
    background-position: center 70% !important;
  }
  .confheader .confTitleBox .confTitle { padding: 1.75rem 1rem 1rem; }
  .confheader .conference-title-link,
  .confheader .confTitle h1 > a {
    font-size: clamp(14px, 5vw, 32px) !important;
  }
  .confheader .confSubTitleBox .confSubTitleContent.flexrow {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 1rem 1rem;
  }
  .confheader .confSubTitleContent.flexrow .confSubTitle,
  .confheader .confSubTitleContent.flexrow #event-search-box {
    grid-column: 1;
    justify-self: center;
  }
  .confheader .confSubTitleContent.flexrow #event-search-box { max-width: 320px; }
  #confSectionsBox { width: calc(100% - 2rem) !important; margin: 1rem auto !important; }
  #confSectionsBox .conf_leftMenu {
    float: none;
    width: 100% !important;
    margin: 0 0 1.25rem;
  }
  #confSectionsBox .confBodyBox {
    clear: both;
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* Wrap the public event toolbar instead of widening narrow screens. */
@media (max-width: 768px) {
  .event-page-header .main-action-bar,
  .event-page-header .button-bar,
  .event-page-header .button-bar .toolbar,
  .event-page-header .button-bar .group {
    flex-wrap: wrap;
  }
  .event-page-header .button-bar,
  .event-page-header .button-bar .toolbar {
    min-width: 0;
    max-width: 100%;
  }
  .event-page-header .session-bar { margin-left: auto; }
}

/* Overview speaker list. Use the available content width, including beside the menu. */
#confSectionsBox .description ul.invited-speaker-list {
  container: invited-speakers / inline-size;
  display: grid;
  grid-template-columns: fit-content(42%) minmax(0, 1fr);
  column-gap: .5rem;
  list-style: disc outside;
  margin-block: .25rem 1.15rem;
  margin-inline-end: 0;
}
#confSectionsBox .description .invited-speaker-list > li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  row-gap: .18rem;
  align-items: start;
  margin: 0;
  padding: .15rem 0;
  text-align: left;
}
#confSectionsBox .description .invited-speaker-identity,
#confSectionsBox .description .invited-speaker-talk {
  min-width: 0;
  overflow-wrap: anywhere;
}
#confSectionsBox .description .invited-speaker-affiliation {
  display: block;
  color: #566475;
  font-size: .85em;
  line-height: 1.38;
}
#confSectionsBox .description .invited-speaker-talk {
  display: flex;
  align-items: baseline;
  gap: .45em;
  padding-top: .14em;
  line-height: 1.48;
}
#confSectionsBox .description .invited-speaker-talk > :first-child { min-width: 0; }
#confSectionsBox .description .invited-speaker-status {
  flex: none;
  padding: .08em .48em;
  border-radius: .3em;
  background: #eef3f8;
  color: #465e75;
  font-size: .74em;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
@container invited-speakers (min-width: 40rem) {
  #confSectionsBox .description .invited-speaker-list > li {
    grid-template-columns: subgrid;
    column-gap: inherit;
  }
}