/* ============================================
   セミナーページ (seminar.html / seminar/*.html)
   ============================================
   カラーは style.css / movie.css と共通:
     見出し #063179 / リンク #0E5394 / 淡色 #E4EBF9 / 補助テキスト #4a6280
*/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ページ導入 ---------- */

.sem-intro {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 0 0 8px;
}

.sem-intro-text {
  flex: 1;
}

/* ---------- セクション ---------- */

.sem-section {
  margin-top: 44px;
}

.sem-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.sem-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #063179;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.sem-section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 1.15em;
  background: #063179;
  border-radius: 2px;
}

.sem-section-count {
  color: #6b7d8f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sem-section-lead {
  flex-basis: 100%;
  margin: 0;
  color: #4a6280;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 開催予定 (調整中) ---------- */

.sem-upcoming-empty {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border: 1.5px dashed #b9c6da;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(228, 235, 249, 0.55), rgba(255, 255, 255, 0.9));
}

.sem-upcoming-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #063179;
  box-shadow: 0 2px 8px rgba(6, 49, 121, 0.08);
}

.sem-upcoming-title {
  margin: 0 0 4px;
  color: #063179;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sem-upcoming-text {
  margin: 0;
  color: #4a6280;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- カードグリッド ---------- */

.sem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px 24px;
  align-items: stretch; /* 同じ行のカードは同じ高さ（バナーは固定比率なので本文も揃う） */
}

.sem-empty {
  color: #777;
  font-size: 14px;
  padding: 24px 0;
  text-align: center;
}

/* ---------- カード ---------- */

.sem-card {
  position: relative;
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(6, 49, 121, 0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.sem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(6, 49, 121, 0.14);
  border-color: #c9d5e8;
}

.sem-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #222;
}

.sem-card-link:hover {
  opacity: 1;
}

/* ---------- キービジュアル（画像 or CSS 生成バナー） ---------- */

.sem-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

/* 画像バナーは 16:9 固定 */
.sem-visual-image {
  aspect-ratio: 16 / 9;
}

.sem-visual-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.sem-card:hover .sem-visual-image img {
  transform: scale(1.03);
}

/* 配色テーマ */
.sem-visual-navy {
  background: linear-gradient(120deg, #0a2f6e 0%, #124a9e 48%, #1d63c4 100%);
  --sem-accent: #e4437f;
  --sem-accent-2: rgba(255, 255, 255, 0.14);
  --sem-title: #fff;
  --sem-sub: rgba(255, 255, 255, 0.86);
  --sem-avatar-bg: #fff;
  --sem-avatar-fg: #0a2f6e;
  --sem-label-bg: rgba(255, 255, 255, 0.18);
}

.sem-visual-teal {
  background: linear-gradient(120deg, #0b5d66 0%, #12858f 50%, #1aa6ad 100%);
  --sem-accent: #ffd166;
  --sem-accent-2: rgba(255, 255, 255, 0.14);
  --sem-title: #fff;
  --sem-sub: rgba(255, 255, 255, 0.86);
  --sem-avatar-bg: #fff;
  --sem-avatar-fg: #0b5d66;
  --sem-label-bg: rgba(255, 255, 255, 0.18);
}

.sem-visual-sunset {
  background: linear-gradient(120deg, #f2b06b 0%, #e5813f 52%, #b8522a 100%);
  --sem-accent: rgba(255, 244, 214, 0.55);
  --sem-accent-2: rgba(120, 40, 10, 0.16);
  --sem-title: #fff;
  --sem-sub: rgba(255, 255, 255, 0.9);
  --sem-avatar-bg: #fff;
  --sem-avatar-fg: #a8471f;
  --sem-label-bg: rgba(90, 30, 5, 0.22);
}

.sem-visual-yellow {
  background: linear-gradient(120deg, #ffe37a 0%, #f9d34a 55%, #f2c22b 100%);
  color: #0f2f5a;
  --sem-accent: rgba(255, 255, 255, 0.55);
  --sem-accent-2: rgba(15, 47, 90, 0.08);
  --sem-title: #0f2f5a;
  --sem-sub: rgba(15, 47, 90, 0.82);
  --sem-avatar-bg: #0f2f5a;
  --sem-avatar-fg: #ffe37a;
  --sem-label-bg: rgba(15, 47, 90, 0.12);
}

/* 一覧カードのバナーは固定比率（16:10）。文字量が多い場合は下端で切れる前提で本文側を詰めている */
.sem-card .sem-visual-image {
  aspect-ratio: 16 / 10;
}

.sem-card .sem-visual-inner {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 14px 18px 12px;
}

.sem-card .sem-visual-eyebrow {
  max-width: 68%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sem-card .sem-visual-theme {
  -webkit-line-clamp: 1;
}

.sem-card .sem-visual-date {
  margin-top: 8px;
}

/* 登壇者は横並び（最大 2 名）で 1 行に収める */
.sem-card .sem-visual-speakers {
  flex-wrap: nowrap;
  gap: 8px 14px;
  padding-top: 10px;
}

.sem-card .sem-visual-speaker {
  flex: 1 1 0;
  min-width: 0;
}

.sem-card .sem-visual-speaker-aff {
  -webkit-line-clamp: 1;
  max-width: none;
}

/* 装飾（斜めの帯 + 円） */
.sem-visual-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sem-visual-deco::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -35%;
  width: 46%;
  height: 170%;
  background: var(--sem-accent-2);
  transform: rotate(16deg);
}

.sem-visual-deco::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -55%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 26px solid var(--sem-accent);
  opacity: 0.55;
}

.sem-visual-inner {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9; /* 16:9 を基本に、文字量が多いときは下に伸びる（overflow を持たない要素に指定） */
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
}

/* line-clamp 用に overflow:hidden を持つ要素が flex で潰れないようにする */
.sem-visual-inner > * {
  flex-shrink: 0;
}

.sem-visual-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sem-visual-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--sem-title);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  opacity: 0.95;
}

.sem-visual-label {
  flex: 0 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sem-label-bg);
  color: var(--sem-title);
  white-space: nowrap;
}

.sem-visual-title {
  color: var(--sem-title);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sem-visual-yellow .sem-visual-title {
  text-shadow: none;
}

.sem-visual-theme {
  margin-top: 4px;
  color: var(--sem-sub);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sem-visual-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-top: 10px;
  color: var(--sem-title);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.sem-visual-year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.sem-visual-md {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sem-visual-md-sep {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.9;
}

.sem-visual-dow {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.9;
}

.sem-visual-time {
  flex-basis: 100%;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.92;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

.sem-visual-speakers {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.sem-visual-speaker {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sem-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sem-avatar-bg);
  color: var(--sem-avatar-fg);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.sem-avatar-photo {
  object-fit: cover;
}

.sem-visual-speaker-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
  color: var(--sem-title);
}

.sem-visual-speaker-role {
  font-size: 9.5px;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.sem-visual-speaker-name {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.sem-visual-speaker-aff {
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.85;
  max-width: 230px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sem-visual-host {
  font-size: 12px;
  font-weight: 700;
  color: var(--sem-title);
  opacity: 0.9;
}

/* ---------- 本文（バッジ + 配信形式 / 日付 / 導線） ---------- */

.sem-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 14px 18px 16px;
}

.sem-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sem-badge-archive,
.sem-badge-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.sem-badge-archive {
  background: #fff3e0;
  color: #b25a00;
  border: 1px solid #f5d3a3;
}

.sem-badge-done {
  background: #f0f1f3;
  color: #4a576d;
}

/* フッター（配信形式 / 日付 / CTA） */
.sem-card-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.sem-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sem-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4a576d;
}

.sem-format-live {
  color: #d3382c;
}

.sem-format small {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b7d8f;
}

.sem-date-line {
  font-size: 13px;
  color: #4a576d;
  font-variant-numeric: tabular-nums;
}

.sem-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0E5394;
  white-space: nowrap;
  transition: gap 0.2s;
}

.sem-cta-archive {
  background: #063179;
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(6, 49, 121, 0.2);
  transition: gap 0.2s, background 0.2s;
}

.sem-card:hover .sem-cta {
  gap: 10px;
}

.sem-card:hover .sem-cta-archive {
  background: #0a4296;
}

/* ---------- 詳細ページ: ヒーロー版キービジュアル ---------- */

.sem-detail-visual {
  margin: 20px 0 16px;
}

.sem-visual-hero {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(6, 49, 121, 0.16);
}

.sem-visual-hero.sem-visual-image {
  aspect-ratio: 21 / 9;
}

.sem-visual-hero .sem-visual-inner {
  aspect-ratio: 21 / 9;
  padding: 26px 32px 22px;
}

.sem-visual-hero .sem-visual-deco::before {
  right: -10%;
  width: 38%;
}

.sem-visual-hero .sem-visual-deco::after {
  right: -2%;
  bottom: -70%;
  width: 46%;
  border-width: 34px;
}

.sem-visual-hero .sem-visual-eyebrow {
  font-size: 12.5px;
}

.sem-visual-hero .sem-visual-label {
  font-size: 12px;
  padding: 4px 12px;
}

.sem-visual-hero .sem-visual-title {
  font-size: 28px;
  -webkit-line-clamp: 2;
  max-width: 78%;
}

.sem-visual-hero .sem-visual-theme {
  font-size: 15px;
  -webkit-line-clamp: 2;
  max-width: 78%;
}

.sem-visual-hero .sem-visual-date {
  margin-top: 14px;
}

.sem-visual-hero .sem-visual-year {
  font-size: 16px;
}

.sem-visual-hero .sem-visual-md {
  font-size: 40px;
}

.sem-visual-hero .sem-visual-md-sep {
  font-size: 22px;
}

.sem-visual-hero .sem-visual-dow {
  font-size: 16px;
}

.sem-visual-hero .sem-visual-time {
  font-size: 14px;
  margin-top: 6px;
}

.sem-visual-hero .sem-visual-speakers {
  gap: 10px 28px;
  padding-top: 16px;
}

.sem-visual-hero .sem-avatar {
  width: 48px;
  height: 48px;
  font-size: 19px;
}

.sem-visual-hero .sem-visual-speaker-role {
  font-size: 11px;
}

.sem-visual-hero .sem-visual-speaker-name {
  font-size: 15px;
}

.sem-visual-hero .sem-visual-speaker-aff {
  font-size: 12px;
  max-width: 320px;
}

.sem-visual-hero .sem-visual-host {
  font-size: 14px;
}

/* バナー直下のステータス行（開催終了 / アーカイブ配信中） */
.sem-detail-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}

.sem-detail-status .sem-badge-done,
.sem-detail-status .sem-badge-archive {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 8px;
}

/* JavaScript 無効時のフォールバック（バナーの代わりに文字で表示） */
.sem-detail-fallback {
  background: #f5f8fd;
  border-left: 4px solid #063179;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
}

.sem-detail-fallback-title {
  margin: 0 0 4px;
  color: #063179;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.sem-detail-fallback p {
  margin: 0;
  color: #4a6280;
  font-size: 14px;
}

/* ---------- 詳細ページ ---------- */

.sem-breadcrumb {
  margin: 28px 0 -8px;
  font-size: 13px;
  color: #6b7d8f;
}

.sem-breadcrumb a {
  color: #0E5394;
}

.sem-breadcrumb span::before {
  content: "›";
  margin: 0 8px;
  color: #a9b6c8;
}

.sem-detail-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

/* 開催概要テーブルの幅調整 */
.sem-detail .spec-table-wrap {
  margin: 8px 0 0;
  max-width: none;
}

.sem-detail .spec-table th {
  width: 140px;
}

.sem-detail .spec-table td {
  text-align: left;
}

.sem-detail .speaker-name {
  font-size: 16px;
  font-weight: 600;
  color: #063179;
}

.sem-detail .speaker-affiliation {
  font-size: 13.5px;
  color: #4a6280;
  line-height: 1.7;
}

/* 終了のお知らせ */
.sem-closed-notice {
  display: block;
  background: #f0f1f3;
  border-left: 3px solid #6b7d8f;
  color: #444;
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 8px;
}

/* アーカイブ視聴セクション */
.sem-archive-panel {
  background: linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
  border: 1px solid #d5dce8;
  border-radius: 16px;
  padding: 28px 30px 30px;
  margin-top: 8px;
}

.sem-archive-lead {
  margin: 0 0 22px;
}

.sem-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: sem-step;
}

.sem-step {
  position: relative;
  background: #fff;
  border: 1px solid #d9e1ee;
  border-radius: 12px;
  padding: 18px 16px 16px;
  margin: 0;
  text-align: center;
}

.sem-step::before {
  counter-increment: sem-step;
  content: counter(sem-step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #063179;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.sem-step-title {
  display: block;
  color: #063179;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sem-step-text {
  display: block;
  color: #4a6280;
  font-size: 12.5px;
  line-height: 1.7;
}

.sem-archive-panel .movie-form {
  margin-top: 8px;
}

/* 固定ヘッダー分のアンカーオフセット
   申し込み完了後のスクロール先 (#request / #archive) と、他ページからの
   `materials.html#request` / `seminar/xxx.html#archive` リンクの両方で使う */
#request,
#archive {
  scroll-margin-top: 80px;
}

/* 申し込み完了 */
.sem-archive-done {
  text-align: center;
  padding: 10px 0 4px;
}

.sem-archive-done-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #E4EBF9;
  color: #063179;
  margin-bottom: 14px;
}

.sem-archive-done-title {
  color: #063179;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sem-archive-done-email {
  display: inline-block;
  background: #fff;
  border: 1px solid #d5dce8;
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 600;
  color: #063179;
  margin: 4px 0 12px;
  word-break: break-all;
}

.sem-archive-done p {
  font-size: 14px;
  line-height: 1.9;
}

.sem-archive-done .note {
  text-align: left;
  max-width: 560px;
  margin: 12px auto 0;
}

/* アーカイブなし */
.sem-archive-none {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f9fd;
  border: 1px solid #d9e1ee;
  border-radius: 12px;
  padding: 18px 22px;
  color: #4a6280;
  font-size: 14px;
  line-height: 1.8;
}

.sem-archive-none svg {
  flex: 0 0 auto;
  color: #8a9bb2;
}

/* 詳細ページの戻り導線 */
.sem-detail-back {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- 視聴ページ ---------- */

.sem-player-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #4a6280;
  font-size: 14px;
  padding: 40px 0;
}

.sem-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #E4EBF9;
  border-top-color: #063179;
  border-radius: 50%;
  animation: sem-spin 0.9s linear infinite;
}

@keyframes sem-spin {
  to { transform: rotate(360deg); }
}

.sem-player-meta {
  margin: 14px 0 0;
  text-align: center;
  color: #6b7d8f;
  font-size: 13px;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 768px) {
  .sem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sem-section {
    margin-top: 36px;
  }
  .sem-card .sem-visual-image,
  .sem-card .sem-visual-inner {
    aspect-ratio: 3 / 2;
  }
  .sem-visual-inner {
    padding: 14px 16px 12px;
  }
  .sem-visual-title {
    font-size: 17px;
  }
  .sem-visual-md {
    font-size: 23px;
  }
  .sem-card .sem-visual-speaker-name {
    font-size: 12px;
  }
  .sem-card-body {
    padding: 14px 16px 16px;
  }
  .sem-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .sem-cta {
    justify-content: center;
  }
  .sem-cta-archive {
    padding: 11px 16px;
  }
  .sem-detail-visual {
    margin: 16px 0 14px;
  }
  .sem-detail-status {
    margin-bottom: 18px;
  }
  .sem-visual-hero {
    border-radius: 12px;
  }
  .sem-visual-hero.sem-visual-image,
  .sem-visual-hero .sem-visual-inner {
    aspect-ratio: 16 / 9;
  }
  .sem-visual-hero .sem-visual-inner {
    padding: 16px 16px 14px;
  }
  .sem-visual-hero .sem-visual-title {
    font-size: 19px;
    max-width: none;
  }
  .sem-visual-hero .sem-visual-theme {
    font-size: 12.5px;
    -webkit-line-clamp: 1;
    max-width: none;
  }
  .sem-visual-hero .sem-visual-md {
    font-size: 26px;
  }
  .sem-visual-hero .sem-visual-year,
  .sem-visual-hero .sem-visual-dow {
    font-size: 13px;
  }
  .sem-visual-hero .sem-visual-time {
    font-size: 12px;
  }
  .sem-visual-hero .sem-avatar {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .sem-visual-hero .sem-visual-speaker-name {
    font-size: 13px;
  }
  .sem-visual-hero .sem-visual-speaker-aff {
    font-size: 10.5px;
    max-width: 200px;
  }
  .sem-upcoming-empty {
    padding: 20px 18px;
    gap: 14px;
  }
  .sem-upcoming-icon {
    width: 44px;
    height: 44px;
  }
  .sem-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sem-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    text-align: left;
    padding: 14px 16px;
  }
  .sem-step::before {
    grid-row: 1 / span 2;
    margin: 2px 0 0;
  }
  .sem-archive-panel {
    padding: 20px 16px 22px;
  }
  .sem-detail .spec-table th {
    width: 92px;
  }
}
