/* ENDOCON 2026 Workshop Design */
:root {
  --navy: #12264f;
  --blue: #246bdd;
  --deep-blue: #253f8f;
  --text: #263142;
  --muted: #5f6d7f;
  --line: #d7dde7;
  --soft: #f4f6f9;
  --soft-blue: #eef5ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  color: var(--white);
  padding: 36px 0 34px;
  background: rgb(247, 0, 104);
    background: -moz-linear-gradient(to left, rgba(247,0,104,1) 0%, rgba(68,16,102,1) 100%);
    background: -webkit-linear-gradient(to left, rgba(247,0,104,1) 0%, rgba(68,16,102,1) 100%);
    background: linear-gradient(to left, rgba(247, 0, 104) 0%, rgba(68, 16, 102, 1) 100%);
  border-bottom: 5px solid #2f78e7;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 5px;
  background: #2d72e5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 12px 0 2px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
	color: #fff;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(17px, 2.4vw, 22px);
}

.hero-details {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-details div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
  padding: 2px 0;
}

.hero-details strong {
  color: #fff;
}

.page-content {
  padding: 26px 0 60px;
}

.section {
  margin: 0 0 28px;
}

.section p {
  margin: 0 0 12px;
}

.section h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.section-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 9px;
  color: var(--deep-blue);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  border-bottom: 2px solid var(--line);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 34%;
  max-width: 390px;
  height: 3px;
  background: var(--blue);
}

.second-title {
  margin-top: 30px;
}

ul {
  margin: 0;
  padding-left: 24px;
}

li {
  margin-bottom: 5px;
}

.info-box {
  margin-top: 18px;
  padding: 14px 24px 18px;
  background: var(--soft-blue);
  border: 1px solid #b9cee9;
  border-left: 6px solid var(--blue);
  border-radius: 6px;
}

.info-box h3 {
  color: var(--deep-blue);
  font-size: 19px;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 42px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.highlight-card {
  min-height: 102px;
  padding: 14px 18px;
  background: #f8f9fb;
  border: 1px solid #d9dee7;
  border-left: 5px solid var(--blue);
  border-radius: 6px;
}

.highlight-card h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.two-column-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 34px;
}

.compact {
  margin-bottom: 8px;
}

.compact .section-title {
  font-size: 24px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

thead th {
  padding: 13px 16px;
  color: var(--white);
  background: var(--deep-blue);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
}

tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tbody tr:nth-child(odd) {
  background: var(--soft);
}

tbody td:first-child {
  width: 12%;
  font-weight: 700;
}

tbody td:nth-child(2) {
  width: 48%;
}

.schedule {
  margin-bottom: 20px;
}

.schedule-title {
  margin: 0 !important;
  padding: 11px 15px;
  color: var(--white);
  background: var(--deep-blue);
  font-size: 15px !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.schedule-row {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 16px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
}

.schedule-row:nth-child(odd) {
  background: var(--soft);
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  color: var(--deep-blue);
  background: #e3e8ff;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}

.partners {
  padding: 14px 18px;
  color: var(--deep-blue);
  background: var(--soft);
  border-radius: 7px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.04em;
}

.footer {
  padding: 20px 0;
  color: #67758a;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

@media (max-width: 820px) {
  .two-column-layout,
  .two-column-list,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .hero-details div {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 8px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 26px, 1120px);
  }

  .hero {
    padding: 26px 0;
  }

  .hero-tag {
    font-size: 10px;
  }

  .page-content {
    padding-top: 20px;
  }

  .info-box {
    padding: 14px 16px;
  }

  .section-title,
  .compact .section-title {
    font-size: 21px;
  }
}

@media print {
  .hero {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .highlight-card,
  .info-box,
  thead th,
  .schedule-title,
  tbody tr:nth-child(odd),
  .schedule-row:nth-child(odd) {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .section,
  .highlight-card,
  .schedule,
  table {
    break-inside: avoid;
  }
}
