/* Page variant: news-detail congress announcement */
.congress {
  --congress-navy: #0b203d;
  --congress-blue: #163d6d;
  --congress-teal: #00a896;
  --congress-cyan: #dff8ff;
  --congress-gold: #ffc55a;
  --congress-line: rgba(11, 32, 61, .14);
  color: #172033;
}

.congress--2026 {
  --congress-hero-image: url("/assets/images/news_announcements/2026/biyoistatistik-kongresi-2026-content.jpg");
}

.congress * {
  box-sizing: border-box;
}

.congress-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin: 1rem 0 2rem;
  border-radius: 8px;
  color: #fff;
  background: var(--congress-navy);
  isolation: isolate;
}

.congress-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 20, 39, .94) 0%, rgba(6, 20, 39, .78) 46%, rgba(6, 20, 39, .28) 100%),
    var(--congress-hero-image);
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.congress-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--congress-gold), var(--congress-teal));
  z-index: -1;
}

.congress-hero-inner {
  display: grid;
  align-content: center;
  min-height: 430px;
  max-width: 680px;
  padding: clamp(2rem, 6vw, 4rem);
}

.congress-kicker,
.congress-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--congress-cyan);
  background: rgba(255, 255, 255, .08);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.congress-kicker {
  margin-bottom: 1rem;
  padding: .45rem .75rem;
}

.congress-hero h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
}

.congress-hero-title-note {
  display: block;
  margin-top: .45rem;
  color: var(--congress-gold);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.congress-hero-copy {
  max-width: 58ch;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.75;
}

.congress-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}

.congress-fact {
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
}

.congress-fact span,
.congress-meta span,
.congress-date-day span {
  display: block;
  color: rgba(255, 255, 255, .64);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.congress-fact strong {
  display: block;
  margin-top: .25rem;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
}

.congress-stack {
  display: grid;
  gap: 1.5rem;
}

.congress-two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.congress-two-up>.congress-panel {
  height: 100%;
}

.congress-panel {
  overflow: hidden;
  border: 1px solid var(--congress-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(11, 32, 61, .08);
}

.congress-panel-body {
  padding: clamp(1.1rem, 3vw, 1.65rem);
}

.congress-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.congress-section-head h2 {
  margin: 0;
  color: var(--congress-navy);
  font-size: 1.25rem;
  font-weight: 700;
}

.congress-label {
  padding: .35rem .6rem;
  border-color: rgba(0, 168, 150, .22);
  color: var(--congress-blue);
  background: rgba(0, 168, 150, .08);
  font-weight: 700;
  letter-spacing: .04em;
}

.congress-invitation {
  display: grid;
  gap: 1rem;
  color: #344054;
  font-size: 1rem;
  line-height: 1.8;
}

.congress-invitation p {
  margin: 0;
}

.congress-signature {
  display: grid;
  gap: .15rem;
  margin-top: .35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--congress-line);
  color: var(--congress-blue);
}

.congress-signature strong {
  color: var(--congress-navy);
}

.congress-meta-grid {
  display: grid;
  gap: .85rem;
}

.congress-meta {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
}

.congress-meta i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--congress-navy);
  background: rgba(255, 197, 90, .26);
}

.congress-meta span {
  color: #667085;
}

.congress-meta strong {
  display: block;
  margin-top: .12rem;
  color: #172033;
  line-height: 1.45;
}

.congress-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: fit-content;
  justify-self: end;
  margin-top: 1rem;
  padding: .3rem .75rem;
  border: 1px solid rgba(11, 32, 61, .16);
  border-radius: 8px;
  color: var(--congress-navy);
  background: var(--congress-gold);
  font-weight: 700;
  text-decoration: none;
}

.congress-link:hover,
.congress-link:focus {
  color: var(--congress-navy);
  filter: brightness(.96);
}

.congress-timeline {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: .2rem;
}

.congress-date {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  position: relative;
  padding: .45rem 0 .45rem .9rem;
  border-left: 2px solid rgba(0, 168, 150, .2);
  background: transparent;
}

.congress-date::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--congress-teal);
  box-shadow: 0 0 0 2px rgba(0, 168, 150, .18);
  transform: translateY(-50%);
}

.congress-date-day {
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: .34rem .35rem;
  border-radius: 8px;
  color: #fff;
  background: rgba(11, 32, 61, .94);
}

.congress-date-day strong {
  display: block;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}

.congress-date-day span {
  color: rgba(255, 255, 255, .72);
  font-size: .63rem;
}

.congress-date h3 {
  margin: 0;
  color: var(--congress-navy);
  font-size: .96rem;
  font-weight: 700;
}

.congress-date p {
  margin: .2rem 0 0;
  color: #667085;
  font-size: .88rem;
}

.congress-practical-flow {
  width: 100%;
}

@media (max-width: 991px) {
  .congress-two-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {

  .congress-hero,
  .congress-hero-inner {
    min-height: 0;
  }

  .congress-hero-inner {
    padding: 2rem 1.15rem;
  }

  .congress-facts {
    grid-template-columns: 1fr;
  }

  .congress-date {
    grid-template-columns: 76px minmax(0, 1fr);
  }
}