/*
 * Conference detail pages (single conferences-archive posts): details panel,
 * card photo and back link from includes/single.php, plus a calmer frame for
 * Kadence's boxed single layout. Loaded only on those pages.
 */

body.single-conferences-archive .content-area {
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

body.single-conferences-archive .content-container {
  max-width: 920px;
}

body.single-conferences-archive article.entry.content-bg {
  border: 1px solid #e3e5ef;
  border-radius: 14px;
  box-shadow: 0 18px 40px -28px rgba(29, 29, 29, .35);
}

body.single-conferences-archive .entry-content-wrap {
  padding: 2.5rem 2.75rem 2.25rem;
}

/* Small "EAM congress" label above the page title. */
body.single-conferences-archive .entry-header::before {
  content: "EAM congress";
  display: block;
  margin-bottom: .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--global-palette1, #5a64ad);
}

body.single-conferences-archive .entry-header {
  margin-bottom: 1.5rem;
}

body.single-conferences-archive .entry-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
  text-transform: none;
  color: var(--global-palette3, #1d1d1d);
}

/* ---------- details panel ---------- */

.eam-conf-single__facts {
  display: grid;
  gap: .85rem;
  margin: 0 0 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--global-palette1, #5a64ad);
  border-radius: 0 10px 10px 0;
  background: #f5f6fa;
}

.eam-conf-single__badge {
  justify-self: start;
  padding: .3rem .7rem;
  border: 1px solid #c9cde6;
  border-radius: 999px;
  background: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3f4789;
}

.eam-conf-single__badge--up {
  border-color: var(--global-palette1, #5a64ad);
  background: var(--global-palette1, #5a64ad);
  color: #fff;
}

.eam-conf-single__list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.25rem;
  margin: 0;
}

.eam-conf-single__list > div {
  min-width: 0;
}

.eam-conf-single__list dt {
  margin: 0 0 .15rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5d6380;
}

.eam-conf-single__list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--global-palette3, #1d1d1d);
}

.eam-conf-single__summary {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
}

.eam-conf-single__links,
.eam-conf-single ul.eam-conf-single__links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Kadence's ".single-content ul" left padding would indent the button. */
.eam-conf-single ul.eam-conf-single__links > li {
  margin: 0;
  padding: 0;
}

.eam-conf-single__links a {
  display: inline-block;
  padding: .5rem .9rem;
  border: 1px solid var(--global-palette1, #5a64ad);
  border-radius: 6px;
  background: #fff;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--global-palette1, #5a64ad);
  text-decoration: none;
}

.eam-conf-single__links a:hover,
.eam-conf-single__links a:focus-visible {
  background: var(--global-palette1, #5a64ad);
  color: #fff;
}

.eam-conf-single__note {
  margin: 0;
  font-size: .92rem;
  color: #5d6380;
}

/* ---------- photo, body, back link ---------- */

.eam-conf-single__photo {
  margin: 0 0 2rem;
}

.eam-conf-single__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 10px;
}

.eam-conf-single__body {
  margin: 0 0 2rem;
}

.eam-conf-single__back {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e3e5ef;
}

.eam-conf-single__back a {
  font-weight: 600;
  color: var(--global-palette1, #5a64ad);
  text-decoration: none;
}

.eam-conf-single__back a:hover,
.eam-conf-single__back a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (max-width: 767px) {
  body.single-conferences-archive .content-area {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  body.single-conferences-archive .entry-content-wrap {
    padding: 1.6rem 1.25rem 1.5rem;
  }

  .eam-conf-single__facts {
    padding: 1rem 1.1rem;
  }

  .eam-conf-single__list {
    gap: .6rem 1.5rem;
  }
}
