@font-face {
  font-family: "Khamenei";
  src: url("assets/khamenei-bold.woff2?v=20260805-1") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy-950: #02121b;
  --navy-900: #061d28;
  --navy-800: #0a2a36;
  --gold: #d4a94c;
  --gold-light: #f0d383;
  --ivory: #f7efda;
  --muted: #a6b6b8;
  --line: rgba(226, 197, 125, 0.28);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--ivory);
  font-family: "Khamenei", sans-serif;
  font-weight: 700;
}

button,
a,
input,
textarea,
select { font: inherit; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.page {
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  position: relative;
  background: var(--navy-950);
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

.page::before {
  inset: 8px;
  border: 1px solid rgba(212, 169, 76, 0.18);
}

.page::after {
  top: 0;
  right: 50%;
  width: 76px;
  height: 2px;
  background: var(--gold);
  transform: translateX(50%);
}

.topbar {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(143, 169, 174, 0.18);
  position: relative;
  z-index: 12;
  overflow: hidden;
}

.topbar::after,
.course-highlights::after,
.benefits-title i::after,
.speakers-heading i::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: 0;
  width: 18px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #f4d77f 32%, #fffbea 50%, #f4d77f 68%, transparent);
  box-shadow: 0 0 5px rgba(240, 211, 131, 0.95);
  animation: separator-glint 16s linear infinite;
}

.course-highlights::after { animation-delay: 4s; }
.benefits-title i::after { animation-delay: 8s; }
.speakers-heading i::after { animation-delay: 12s; }

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 89px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(91%) sepia(21%) saturate(508%) hue-rotate(354deg) brightness(106%) contrast(94%);
}

.topbar-meta,
.organizer-marks {
  display: flex;
  align-items: center;
}

.topbar-meta { gap: 13px; }

.organizer-marks {
  height: 38px;
  gap: 7px;
  padding-left: 13px;
  border-left: 1px solid rgba(143, 169, 174, 0.18);
}

.organizer-marks img {
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(43%) saturate(618%) hue-rotate(359deg) brightness(93%) contrast(90%);
  opacity: 0.8;
}

.organizer-marks .astan-logo { width: 33px; height: 35px; }
.organizer-marks .tebyan-logo { width: 37px; height: 37px; }

.registration-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8da1a5;
  font-size: 8px;
}

.registration-status i {
  width: 6px;
  height: 6px;
  position: relative;
  border-radius: 50%;
  background: #74c396;
  box-shadow: 0 0 0 3px rgba(116, 195, 150, 0.1);
  animation: status-blink 1.8s ease-in-out infinite;
}

.registration-status i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(116, 195, 150, 0.7);
  border-radius: 50%;
  animation: status-ring 1.8s ease-out infinite;
}

.landing {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto 56px;
  gap: 11px;
  padding: 18px 22px 15px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(2, 18, 27, 0.22) 0%, rgba(2, 18, 27, 0.55) 39%, rgba(2, 18, 27, 0.96) 59%, #02121b 75%),
    url("assets/rah-o-rasm-zendegi.jpeg?v=20260805-1");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  animation: shrine-drift 16s ease-in-out infinite;
}

.landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: rgba(1, 14, 21, 0.18);
  background-image: radial-gradient(circle at 61% 9%, rgba(240, 211, 131, 0.14), rgba(240, 211, 131, 0.035) 8%, transparent 20%);
  animation: minaret-glow 5.5s ease-in-out infinite;
}

@keyframes shrine-drift {
  0%,
  100% { background-position: center, center top; }
  50% { background-position: center, center -9px; }
}

@keyframes minaret-glow {
  0%,
  100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes status-blink {
  0%,
  100% { opacity: 0.55; }
  45%,
  60% { opacity: 1; }
}

@keyframes status-ring {
  0% { opacity: 0; transform: scale(0.65); }
  32% { opacity: 0.7; }
  75%,
  100% { opacity: 0; transform: scale(1.35); }
}

.hero-copy {
  width: min(680px, 100%);
  margin-inline: auto;
  align-self: center;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.course-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 10px;
}

.course-kicker i {
  width: 28px;
  height: 1px;
  background: rgba(240, 211, 131, 0.58);
}

.course-kicker strong {
  padding: 2px 7px 1px;
  border: 1px solid rgba(240, 211, 131, 0.55);
  color: var(--gold-light);
  font-size: 8px;
}

.hero-copy h1 {
  margin: 10px 0 9px;
  color: var(--gold-light);
  font-size: clamp(58px, 7.8vw, 112px);
  line-height: 1;
  letter-spacing: -2px;
  animation: quiet-gold-breath 5.5s ease-in-out infinite;
}

.hero-copy h1 span {
  color: var(--ivory);
  font-size: 0.55em;
}

@keyframes quiet-gold-breath {
  0%,
  100% {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46), 0 0 0 rgba(240, 211, 131, 0);
  }

  50% {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46), 0 0 24px rgba(240, 211, 131, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1,
  .landing,
  .landing::before,
  .registration-status i,
  .registration-status i::after,
  .topbar::after,
  .course-highlights::after,
  .benefits-title i::after,
  .speakers-heading i::after { animation: none; }
}

.course-intro {
  max-width: 590px;
  margin: 0 auto;
  color: #c1cccd;
  font-size: 13px;
  line-height: 1.9;
}

.course-highlights {
  width: min(620px, 100%);
  margin: 18px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
  position: relative;
  overflow: hidden;
}

.course-highlights li {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.course-highlights li:last-child { border-left: 0; }
.course-highlights small { margin-bottom: 2px; color: #81979b; font-size: 9.5px; }
.course-highlights strong { color: #eee7d5; font-size: 11.5px; }

.benefits-summary {
  width: min(620px, 100%);
  margin: 12px auto 0;
  text-align: right;
  text-shadow: none;
}

.benefits-title {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 9px;
}

.benefits-title i {
  height: 1px;
  flex: 1;
  position: relative;
  overflow: hidden;
  background: rgba(212, 169, 76, 0.22);
}

.benefits-title small { color: #6f858a; font-size: 7.5px; }

.benefits-preview {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(212, 169, 76, 0.22);
  list-style: none;
  text-align: right;
  text-shadow: none;
}

.benefits-preview li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-left: 1px solid rgba(138, 159, 163, 0.18);
  background: rgba(2, 18, 27, 0.16);
  -webkit-backdrop-filter: blur(12px) brightness(0.76) saturate(1.12);
  backdrop-filter: blur(12px) brightness(0.76) saturate(1.12);
}

.benefits-preview li:nth-child(2),
.benefits-preview li:nth-child(3) { background: rgba(8, 34, 45, 0.24); }

.benefits-preview li:last-child { border-left: 0; }

.benefits-preview span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 169, 76, 0.34);
  background: rgba(212, 169, 76, 0.06);
  color: var(--gold);
  font-size: 7px;
}

.benefits-preview strong {
  display: grid;
  color: #aebdbf;
  font-size: 9px;
  line-height: 1.3;
}

.benefits-preview strong small {
  margin-top: 2px;
  color: #8a9da0;
  font-size: 8.5px;
}

.quick-registration {
  width: min(620px, 100%);
  min-height: 38px;
  margin: 7px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  padding: 5px 14px;
  border-right: 2px solid var(--gold);
  background: rgba(6, 29, 40, 0.92);
  color: #7e9397;
  text-shadow: none;
}

.quick-action {
  margin: 0;
  display: grid;
  align-items: center;
  gap: 2px;
  color: #7e9397;
  font-size: 8px;
  text-decoration: none;
}

.quick-action strong {
  color: #c8d1d0;
  font-size: 9.5px;
}

.quick-action:hover span,
.quick-action:hover strong { color: var(--gold-light); }

.quick-registration i {
  width: 1px;
  height: 20px;
  background: rgba(138, 159, 163, 0.24);
}

.quick-registration bdi {
  direction: ltr;
  unicode-bidi: isolate;
}

.speakers {
  width: min(680px, 100%);
  margin-inline: auto;
}

.speakers-heading {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9daeaf;
  font-size: 9px;
}

.speakers-heading i {
  height: 1px;
  flex: 1;
  position: relative;
  overflow: hidden;
  background: rgba(138, 159, 163, 0.2);
}

@keyframes separator-glint {
  0%,
  1.5% {
    right: -20px;
    opacity: 0;
  }

  2% { opacity: 1; }

  12% {
    right: calc(100% + 20px);
    opacity: 1;
  }

  13%,
  100% {
    right: calc(100% + 20px);
    opacity: 0;
  }
}

.speakers-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  direction: ltr;
}

.speakers article {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.speaker-photo {
  width: 68px;
  height: 80px;
  border: 1px solid rgba(226, 197, 125, 0.46);
  border-radius: 18px 18px 4px 4px;
  background-image: url("assets/rah-o-rasm-zendegi.jpeg?v=20260805-1");
  background-repeat: no-repeat;
  background-size: 426.5px 640px;
  background-color: #0b3440;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
}

.speaker-davami { background-position: -32px -293px; }
.speaker-khalaj { background-position: -104px -293px; }
.speaker-rafeei { background-position: -178px -293px; }
.speaker-gholami { background-position: -249px -293px; }
.speaker-azizi { background-position: -326px -293px; }

.speakers article > span {
  overflow: hidden;
  color: #b9c5c6;
  font-size: 9px;
  line-height: 1.2;
  direction: rtl;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.course-actions {
  width: min(680px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(280px, 1.45fr);
  gap: 8px;
}

.register-button,
.course-details-button {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.register-button {
  border: 1px solid var(--gold-light);
  background: var(--gold);
  color: #10212a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.course-details-button {
  border: 1px solid rgba(226, 197, 125, 0.4);
  background: rgba(3, 23, 32, 0.9);
  color: var(--ivory);
}

.register-button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.register-button:active { transform: translateY(0); }

.course-details-button:hover {
  border-color: rgba(240, 211, 131, 0.72);
  background: var(--navy-800);
  transform: translateY(-1px);
}

.register-button > span,
.course-details-button > span {
  display: grid;
  text-align: right;
  line-height: 1.1;
}

.register-button small { margin-bottom: 2px; color: rgba(16, 33, 42, 0.65); font-size: 7px; }
.register-button strong { font-size: 15px; }

.course-details-button small { margin-bottom: 3px; color: #738b90; font-size: 6px; }
.course-details-button strong { font-size: 11px; }

.register-button b,
.course-details-button b {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 33, 42, 0.3);
  border-radius: 50%;
}

.register-button b svg,
.course-details-button b svg,
.dialog-register-button b svg {
  width: 14px;
  height: 14px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-details-button b {
  border-color: rgba(226, 197, 125, 0.28);
  color: var(--gold-light);
}

.dialog-layer[hidden] { display: none; }

.dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(1, 8, 12, 0.92);
}

.registration-dialog {
  width: min(510px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(231, 203, 135, 0.36);
  border-top: 3px solid var(--gold);
  border-radius: 13px 3px 13px 3px;
  background: var(--navy-900);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.52);
}

.course-dialog {
  width: min(870px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid rgba(231, 203, 135, 0.33);
  border-top: 3px solid var(--gold);
  border-radius: 13px 3px 13px 3px;
  background: #061a24;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.55);
}

.course-dialog-body { padding: 16px 18px 18px; }

.course-overview {
  margin: 0 0 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(142, 166, 170, 0.18);
}

.course-overview > div {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 13px;
  border-left: 1px solid rgba(142, 166, 170, 0.18);
}

.course-overview > div:last-child { border-left: 0; }
.course-overview dt { color: #70888d; font-size: 8.5px; }
.course-overview dd { margin: 0; color: #ede5d3; font-size: 11px; }

.details-columns {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.details-columns h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 12px;
}

.session-list,
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-list { border-top: 1px solid rgba(142, 166, 170, 0.16); }

.session-list li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px 1px;
  border-bottom: 1px solid rgba(142, 166, 170, 0.16);
}

.session-list li > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 169, 76, 0.34);
  color: var(--gold);
  font-size: 7px;
}

.session-list strong { display: block; color: #e9e2d2; font-size: 10px; }
.session-list p { margin: 2px 0 0; color: #82989c; font-size: 9.5px; line-height: 1.5; }

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.benefit-list li {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(142, 166, 170, 0.17);
  color: #bac7c8;
  background: rgba(255, 255, 255, 0.015);
  font-size: 9.5px;
  line-height: 1.65;
}

.benefit-list li::before {
  content: "—";
  margin-left: 5px;
  color: var(--gold);
}

.contact-card {
  margin-top: 10px;
  padding: 10px 12px;
  border-right: 2px solid var(--gold);
  background: #0a222d;
}

.contact-card p { margin: 0; color: #94a7aa; font-size: 9px; line-height: 1.9; }
.contact-card strong { color: #d9d3c5; }
.contact-card a { color: var(--gold-light); text-decoration: none; }
.contact-card bdi { direction: ltr; unicode-bidi: isolate; }

.dialog-logos {
  width: 100%;
  min-height: 94px;
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(12px, 4vw, 36px);
  padding: 14px 12px 3px;
  border-top: 1px solid rgba(142, 166, 170, 0.16);
}

.dialog-logos img {
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(43%) saturate(618%) hue-rotate(359deg) brightness(93%) contrast(90%);
  opacity: 0.78;
}

.dialog-logos .dialog-porsaan { width: clamp(88px, 26vw, 150px); height: auto; }
.dialog-logos .dialog-tebyan { width: clamp(58px, 8vw, 76px); height: auto; }
.dialog-logos .dialog-astan { width: clamp(54px, 7.4vw, 70px); height: auto; }

.dialog-register-button {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px 0 10px;
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  background: var(--gold);
  color: #10212a;
  cursor: pointer;
}

.dialog-register-button > span {
  display: grid;
  text-align: right;
  line-height: 1.1;
}

.dialog-register-button small {
  margin-bottom: 2px;
  color: rgba(16, 33, 42, 0.66);
  font-size: 7.5px;
}

.dialog-register-button strong { font-size: 12px; }

.dialog-register-button b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 33, 42, 0.3);
  border-radius: 50%;
}

.dialog-register-button:hover { background: var(--gold-light); }

.dialog-header {
  min-height: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 18px 12px;
  border-bottom: 1px solid rgba(142, 166, 170, 0.18);
}

.dialog-header p {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 9px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.dialog-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(142, 166, 170, 0.24);
  border-radius: 50%;
  background: transparent;
  color: #c8d1d2;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.dialog-close:hover { background: var(--navy-800); }

.dialog-description {
  margin: 0;
  padding: 16px 18px 14px;
  color: #afbec0;
  font-size: 11.5px;
  line-height: 2;
}

.dialog-description strong { color: var(--ivory); }

.channel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px 18px;
}

.channel-list a {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(142, 166, 170, 0.22);
  border-radius: 7px;
  color: inherit;
  background: rgba(255, 255, 255, 0.018);
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.channel-list a:hover {
  border-color: rgba(231, 203, 135, 0.55);
  background: var(--navy-800);
}

.channel-list img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.channel-list span { min-width: 0; display: grid; }
.channel-list strong { font-size: 12px; }
.channel-list small { margin-top: 2px; color: #778d91; font-size: 9px; direction: ltr; text-align: right; }
.channel-list i { color: #6f8589; font-style: normal; font-size: 9px; }

@media (max-width: 760px) {
  .page { grid-template-rows: 48px minmax(0, 1fr); }
  .page::before { inset: 5px; }
  .topbar { width: calc(100% - 24px); }
  .brand img { width: 80px; height: 27px; }
  .topbar-meta { gap: 9px; }
  .organizer-marks { gap: 5px; padding-left: 9px; }
  .organizer-marks .astan-logo { width: 27px; height: 29px; }
  .organizer-marks .tebyan-logo { width: 31px; height: 31px; }

  .landing {
    grid-template-rows: minmax(0, 1fr) auto 52px;
    gap: 8px;
    padding: 10px 12px max(30px, calc(env(safe-area-inset-bottom) + 12px));
    background-size: 100% 100%, auto 260%;
    background-position: center, center top;
  }

  .landing::before {
    background-image: radial-gradient(circle at 74% 8%, rgba(240, 211, 131, 0.15), rgba(240, 211, 131, 0.04) 8%, transparent 19%);
  }

  .hero-copy { align-self: center; }
  .course-kicker { font-size: 8px; }
  .hero-copy h1 { margin: 7px 0; font-size: clamp(40px, 13vw, 54px); letter-spacing: -1px; }
  .course-intro { max-width: 340px; padding-inline: 10px; font-size: 10px; }

  .course-highlights {
    width: min(360px, 100%);
    margin-top: 13px;
  }

  .course-highlights li { min-height: 42px; }
  .course-highlights small { font-size: 7.5px; }
  .course-highlights strong { font-size: 9px; }

  .benefits-summary {
    width: min(360px, 100%);
    margin-top: 10px;
  }

  .benefits-title {
    height: 20px;
    font-size: 8px;
  }

  .benefits-title small { font-size: 7px; }

  .benefits-preview {
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-preview li {
    min-height: 48px;
    grid-template-columns: 24px 1fr;
    gap: 7px;
    padding: 6px 10px;
  }

  .benefits-preview li:nth-child(even) { border-left: 0; }
  .benefits-preview li:nth-child(-n + 2) { border-bottom: 1px solid rgba(138, 159, 163, 0.18); }
  .benefits-preview span { width: 23px; height: 23px; font-size: 6px; }
  .benefits-preview strong { font-size: 9.5px; }
  .benefits-preview strong small { font-size: 8.5px; }

  .quick-registration {
    width: min(360px, 100%);
    min-height: 36px;
    margin-top: 5px;
    gap: 10px;
    padding: 4px 10px;
  }

  .quick-action { gap: 2px; font-size: 8px; }
  .quick-action strong { font-size: 9.5px; }
  .quick-registration i { height: 17px; }

  .speakers { width: min(345px, 100%); }
  .speakers-heading { margin-bottom: 5px; font-size: 8px; }
  .speakers-row { gap: 4px; }
  .speaker-photo {
    width: 56px;
    height: 64px;
    background-size: 360px 540px;
  }

  .speaker-davami { background-position: -27px -247px; }
  .speaker-khalaj { background-position: -88px -247px; }
  .speaker-rafeei { background-position: -150px -247px; }
  .speaker-gholami { background-position: -210px -247px; }
  .speaker-azizi { background-position: -275px -247px; }
  .speakers article > span { max-width: 64px; font-size: 6.5px; }

  .course-actions {
    width: min(380px, 100%);
    grid-template-columns: minmax(128px, 0.8fr) minmax(185px, 1.3fr);
    gap: 6px;
  }

  .register-button,
  .course-details-button {
    min-height: 52px;
    padding-right: 16px;
  }

  .register-button strong { font-size: 13px; }
  .course-details-button { padding: 0 12px 0 8px; }
  .course-details-button small { display: none; }
  .course-details-button strong { font-size: 9px; }
  .course-details-button b { width: 27px; height: 27px; }

  .course-dialog-body { padding: 13px; }
  .course-overview { grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
  .course-overview > div { min-height: 49px; }
  .course-overview > div:nth-child(2) { border-left: 0; }
  .course-overview > div:nth-child(-n+2) { border-bottom: 1px solid rgba(142, 166, 170, 0.18); }
  .details-columns { grid-template-columns: 1fr; gap: 17px; }
}

@media (max-width: 390px) {
  .registration-status { font-size: 7px; }
  .course-intro { font-size: 9.5px; }
  .speaker-photo {
    width: 52px;
    height: 60px;
    background-size: 340px 510px;
  }

  .speaker-davami { background-position: -26px -234px; }
  .speaker-khalaj { background-position: -83px -234px; }
  .speaker-rafeei { background-position: -142px -234px; }
  .speaker-gholami { background-position: -199px -234px; }
  .speaker-azizi { background-position: -260px -234px; }
  .speakers article > span { max-width: 54px; }
  .benefits-preview li { padding-inline: 5px; }
  .benefits-preview strong { font-size: 9px; }
  .quick-registration { gap: 5px; }

  .dialog-layer { padding: 9px; }
  .registration-dialog { max-height: calc(100dvh - 18px); }
  .dialog-header { min-height: 61px; padding: 12px 13px 9px; }
  .dialog-header h2 { font-size: 18px; }
  .dialog-description { padding: 12px 13px; font-size: 10px; }

  .channel-list {
    gap: 6px;
    padding: 0 12px 12px;
  }

  .channel-list a {
    min-height: 56px;
    grid-template-columns: 36px 1fr;
    gap: 7px;
    padding: 7px;
    border-radius: 5px;
  }

  .channel-list img { width: 36px; height: 36px; border-radius: 8px; }
  .channel-list i { display: none; }

  .course-dialog .dialog-header h2 { font-size: 15px; }
  .benefit-list li { padding: 8px; font-size: 8.5px; }
  .contact-card p { font-size: 8.5px; }
}

@media (max-width: 350px) {
  .course-actions {
    grid-template-columns: minmax(105px, 0.8fr) minmax(165px, 1.3fr);
  }

  .register-button,
  .course-details-button { padding-right: 10px; }
  .register-button strong { font-size: 11px; }
  .course-details-button strong { font-size: 8px; }
}

@media (max-height: 640px) and (max-width: 760px) {
  .page { grid-template-rows: 43px minmax(0, 1fr); }
  .landing {
    grid-template-rows: minmax(0, 1fr) auto 47px;
    gap: 5px;
    padding-top: 6px;
    padding-bottom: max(30px, calc(env(safe-area-inset-bottom) + 8px));
  }
  .course-intro { display: none; }
  .course-highlights { margin-top: 9px; }
  .course-highlights li { min-height: 36px; }
  .benefits-summary { margin-top: 7px; }
  .benefits-title { height: 18px; }
  .benefits-preview li { min-height: 43px; padding-block: 4px; }
  .benefits-preview strong { font-size: 9.5px; }
  .benefits-preview strong small { font-size: 8px; }
  .quick-registration { min-height: 32px; margin-top: 4px; }
  .quick-action { font-size: 8px; }
  .quick-action strong { font-size: 9.5px; }
  .hero-copy h1 { font-size: 40px; }
  .speaker-photo {
    width: 50px;
    height: 57px;
    background-size: 326px 489px;
  }

  .speaker-davami { background-position: -24px -224px; }
  .speaker-khalaj { background-position: -79px -224px; }
  .speaker-rafeei { background-position: -136px -224px; }
  .speaker-gholami { background-position: -190px -224px; }
  .speaker-azizi { background-position: -249px -224px; }
  .speakers article > span { font-size: 6.5px; }
  .register-button,
  .course-details-button { min-height: 47px; }
}
