/* =========================================================
   IU Conferences Page
========================================================= */

.iu-conf-page {
  color: #0b265f;
  background: #ffffff;
}

.iu-conf-page svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Hero */

.iu-conf-hero {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  background: #082b6f;
}

.iu-conf-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}

.iu-conf-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      112deg,
      rgba(2, 38, 104, 1) 0%,
      rgba(3, 53, 139, 0.98) 36%,
      rgba(4, 71, 164, 0.62) 54%,
      rgba(255, 255, 255, 0) 54.2%
    ),
    linear-gradient(
      90deg,
      rgba(3, 38, 104, 0.92) 0%,
      rgba(3, 38, 104, 0.46) 48%,
      rgba(3, 38, 104, 0.06) 100%
    );
}

.iu-conf-hero::after {
  content: "";
  position: absolute;
  left: 55px;
  bottom: 32px;
  width: 120px;
  height: 84px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 14px 14px;
  opacity: 0.7;
}

.iu-conf-hero .container {
  position: relative;
  z-index: 2;
}

.iu-conf-hero-inner {
  display: flex;
  align-items: center;
  min-height: 350px;
  padding: 42px 0;
}

.iu-conf-hero-copy {
  max-width: 760px;
  color: #fff;
}

.iu-conf-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-transform: uppercase;
}

.iu-conf-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
  line-height: 1.75;
}

/* Main */

.iu-conf-content {
  padding: 34px 0 70px;
}

.iu-conf-main {
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.iu-conf-section {
  background: #fff;
}

.iu-conf-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.iu-conf-section-title span {
  width: 0;
}

.iu-conf-section-title h2 {
  color: #063c9c;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.iu-conf-section-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-left: -30px;
  transform: translateY(24px);
  background: #e2272e;
  border-radius: 999px;
}

/* Feature grid */

.iu-conf-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
}

.iu-conf-feature-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 118px;
  padding: 8px 22px;
  border-right: 1px solid #e5edf7;
}

.iu-conf-feature-grid article:last-child {
  border-right: 0;
}

.iu-conf-feature-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 50%;
  font-size: 1.55rem;
}

.iu-conf-feature-grid h2 {
  margin: 0 0 8px;
  color: #063c9c;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-conf-feature-grid p {
  margin: 0;
  color: #42577c;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Contact + Map */

.iu-conf-contact-map {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.iu-conf-contact-card,
.iu-conf-map {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
}

.iu-conf-contact-card {
  padding: 26px;
}

.iu-conf-contact-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.iu-conf-contact-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.iu-conf-contact-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 10px;
  font-size: 1.15rem;
}

.iu-conf-contact-list p {
  margin: 0;
}

.iu-conf-contact-list strong,
.iu-conf-contact-list em {
  display: block;
}

.iu-conf-contact-list strong {
  margin-bottom: 4px;
  color: #063c9c;
  font-size: 0.9rem;
  font-weight: 900;
}

.iu-conf-contact-list em {
  color: #1d3157;
  font-size: 0.92rem;
  line-height: 1.55;
  font-style: normal;
  font-weight: 700;
}

.iu-conf-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Year toolbar */

.iu-conf-year-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.iu-conf-year-toolbar label {
  color: #5e7190;
  font-size: 0.9rem;
  font-weight: 800;
}

.iu-conf-year-toolbar select {
  min-width: 190px;
  height: 44px;
  padding: 0 38px 0 14px;
  color: #063c9c;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  font-weight: 900;
}

/* Accordion */

.iu-conf-accordion {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
}

.iu-conf-year-item + .iu-conf-year-item {
  border-top: 1px solid #e8eef8;
}

.iu-conf-year-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  color: #063c9c;
  background: #fff;
  border: 0;
  font-weight: 900;
  text-align: left;
}

.iu-conf-year-head span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.iu-conf-year-head span svg {
  color: #063c9c;
  font-size: 1.05rem;
}

.iu-conf-year-head em {
  color: #063c9c;
  font-style: normal;
  transition: transform 0.18s ease;
}

.iu-conf-year-head[aria-expanded="true"] em {
  transform: rotate(180deg);
}

.iu-conf-year-panel {
  padding: 0 24px 24px;
}

/* Table */

.iu-conf-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
}

.iu-conf-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
}

.iu-conf-table th {
  padding: 18px 16px;
  color: #fff;
  background: #2f398e;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.iu-conf-table th:first-child,
.iu-conf-table td:first-child {
  width: 70px;
  text-align: center;
}

.iu-conf-table th:last-child,
.iu-conf-table td:last-child {
  width: 110px;
  text-align: center;
}

.iu-conf-table td {
  padding: 18px 16px;
  color: #1d3157;
  border-top: 1px solid #e8eef8;
  font-size: 0.92rem;
  line-height: 1.55;
  vertical-align: top;
}

.iu-conf-table td:nth-child(2) {
  min-width: 280px;
}

.iu-conf-table td strong,
.iu-conf-title-link {
  display: block;
  color: #063c9c;
  font-weight: 900;
}

.iu-conf-title-link:hover {
  color: #e2272e;
}

.iu-conf-table td small {
  display: block;
  margin-top: 6px;
  color: #53688a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.iu-conf-table td b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  margin-top: 6px;
  padding: 0 10px;
  color: #e2272e;
  background: #ffe8ea;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.iu-conf-table td span {
  display: block;
  color: #263b63;
  font-weight: 700;
}

.iu-conf-empty {
  padding: 22px;
  color: #5e7190;
  background: #f7fbff;
  border: 1px dashed #c7d8ef;
  border-radius: 10px;
}

.iu-conf-empty p {
  margin: 0;
}

.iu-conf-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #063c9c;
  font-size: 0.9rem;
  font-weight: 900;
}

.iu-conf-source-link:hover {
  color: #e2272e;
}

.iu-conf-note {
  margin: 14px 0 0;
  color: #697998;
  font-size: 0.9rem;
  font-style: italic;
}

/* Useful links */

.iu-conf-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px;
  background: #f7fbff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
}

.iu-conf-link-card {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  color: inherit;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.iu-conf-link-card:hover {
  transform: translateY(-2px);
  border-color: #b9ceec;
  box-shadow: 0 12px 26px rgba(14, 45, 103, 0.08);
}

.iu-conf-link-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 12px;
  font-size: 1.35rem;
}

.iu-conf-link-card strong {
  color: #063c9c;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-conf-link-card em {
  color: #063c9c;
  font-style: normal;
}

/* Responsive */

@media (max-width: 1180px) {
  .iu-conf-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iu-conf-feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .iu-conf-feature-grid article:nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid #e5edf7;
  }

  .iu-conf-contact-map {
    grid-template-columns: 1fr;
  }

  .iu-conf-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .iu-conf-hero,
  .iu-conf-hero-inner {
    min-height: 320px;
  }

  .iu-conf-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(2, 38, 104, 0.96),
      rgba(2, 38, 104, 0.72)
    );
  }

  .iu-conf-hero h1 {
    font-size: 3rem;
  }

  .iu-conf-feature-grid {
    grid-template-columns: 1fr;
  }

  .iu-conf-feature-grid article,
  .iu-conf-feature-grid article:nth-child(2),
  .iu-conf-feature-grid article:nth-child(n + 3) {
    border-right: 0;
    border-top: 1px solid #e5edf7;
  }

  .iu-conf-feature-grid article:first-child {
    border-top: 0;
  }

  .iu-conf-year-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .iu-conf-year-toolbar select {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .iu-conf-hero h1 {
    font-size: 2.35rem;
  }

  .iu-conf-hero p {
    font-size: 0.96rem;
  }

  .iu-conf-feature-grid,
  .iu-conf-contact-card,
  .iu-conf-link-grid {
    padding: 18px;
  }

  .iu-conf-feature-grid article,
  .iu-conf-contact-list div,
  .iu-conf-link-card {
    grid-template-columns: 1fr;
  }

  .iu-conf-link-grid {
    grid-template-columns: 1fr;
  }

  .iu-conf-year-head {
    padding: 0 16px;
  }

  .iu-conf-year-panel {
    padding: 0 16px 18px;
  }
}
