.cems-block {
  margin: 1.5rem 0;
  clear: both;
}

.cems-block-preview {
  padding: 1rem 1.25rem;
  border: 2px dashed #b0bec5;
  border-radius: 8px;
  background: #f5f7fa;
  color: #546e7a;
  font-size: 0.95rem;
  text-align: center;
}

.cems-registration {
  text-align: center;
  margin: 2rem 0;
}

.cems-registration__button {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #a02323;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.cems-registration__button:hover {
  background: #7d1a1a;
  color: #fff !important;
}

.cems-registration__link {
  color: #a02323;
  font-weight: 600;
  font-size: 1.05rem;
}

.cems-registration__iframe {
  width: 100%;
  min-height: 720px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.cems-countdown {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.cems-countdown__label {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.cems-countdown__units {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cems-countdown__unit {
  min-width: 72px;
  padding: 0.75rem 0.5rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cems-countdown__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #a02323;
  line-height: 1.2;
}

.cems-countdown__name {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-top: 0.25rem;
}

.cems-countdown__expired {
  font-size: 1.25rem;
  font-weight: 600;
  color: #a02323;
}

.cems-speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.cems-speaker-card {
  width: 100%;
  max-width: 320px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cems-speaker-card__photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #f0f0f0;
}

.cems-speaker-card__body {
  padding: 1.25rem;
}

.cems-speaker-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.25rem;
}

.cems-speaker-card__title {
  font-size: 0.9rem;
  color: #a02323;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.cems-speaker-card__bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

.cems-speaker-card__bio p {
  margin: 0 0 0.65rem;
}

.cems-speaker-card__bio p:last-child {
  margin-bottom: 0;
}

.cems-speaker-card__bio ul,
.cems-speaker-card__bio ol {
  margin: 0 0 0.65rem;
  padding-left: 1.35rem;
}

.cems-speaker-card__bio li {
  margin-bottom: 0.25rem;
}

.cems-speaker-card__bio strong {
  font-weight: 700;
  color: #333;
}

.cems-speaker-card__bio em {
  font-style: italic;
}

.cems-speaker-card__bio u {
  text-decoration: underline;
}

.cems-speaker-card__bio a {
  color: #a02323;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cems-speaker-card__bio a:hover {
  color: #7d1a1a;
}

.cems-schedule {
  margin: 1.5rem 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.cems-schedule__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.cems-schedule__item:last-child {
  border-bottom: none;
}

.cems-schedule__item:nth-child(even) {
  background: #fafafa;
}

.cems-schedule__time {
  font-weight: 700;
  color: #a02323;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cems-schedule__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.35rem;
}

.cems-schedule__meta {
  font-size: 0.875rem;
  color: #666;
  margin: 0 0 0.35rem;
}

.cems-schedule__description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

.cems-gallery {
  margin: 2rem 0;
  isolation: isolate;
}

.cems-gallery__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.cems-gallery__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.cems-gallery__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.cems-gallery__count {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #a02323;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cems-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 0.5rem;
  padding: 0.5rem;
  min-height: 0;
}

.cems-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  min-height: 0;
  min-width: 0;
  background: #f1f5f9;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit !important;
  border: none !important;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.cems-gallery__item::before,
.cems-gallery__item::after {
  content: none !important;
  display: none !important;
}

.cems-gallery__item:focus-visible {
  box-shadow: 0 0 0 3px rgba(160, 35, 35, 0.35);
}

.cems-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.cems-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cems-gallery__item:hover img,
.cems-gallery__item:focus-visible img {
  transform: scale(1.04);
}

.cems-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}

.cems-gallery__item:hover .cems-gallery__overlay,
.cems-gallery__item:focus-visible .cems-gallery__overlay {
  background: rgba(15, 23, 42, 0.28);
}

.cems-gallery__zoom-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cems-gallery__zoom-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.cems-gallery__item:hover .cems-gallery__zoom-icon,
.cems-gallery__item:focus-visible .cems-gallery__zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.cems-gallery__item--more {
  background: linear-gradient(135deg, #a02323 0%, #7d1a1a 100%);
}

.cems-gallery__item--more img {
  opacity: 0.35;
}

.cems-gallery__more-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 0.5rem;
}

.cems-gallery__more-label span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.cems-gallery__footer {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid #f1f5f9;
}

.cems-gallery__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  background: #a02323;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.cems-gallery__cta::before,
.cems-gallery__cta::after {
  content: none !important;
  display: none !important;
}

.cems-gallery__cta:hover,
.cems-gallery__cta:focus-visible {
  background: #7d1a1a;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(160, 35, 35, 0.25);
}

.cems-gallery__cta svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.cems-gallery--link .cems-gallery__link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.cems-gallery__link-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fef2f2;
  color: #a02323;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cems-gallery__link-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.cems-gallery--link .cems-gallery__title {
  font-size: 1.25rem;
}

.cems-gallery__link-desc {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 28rem;
}

.cems-gallery__error {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  margin: 0.5rem;
}

@media (max-width: 768px) {
  .cems-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }

  .cems-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .cems-gallery__header {
    padding: 1rem 1.15rem;
  }

  .cems-gallery__title {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cems-gallery__item img,
  .cems-gallery__overlay,
  .cems-gallery__zoom-icon,
  .cems-gallery__cta {
    transition: none;
  }

  .cems-gallery__item:hover img,
  .cems-gallery__item:focus-visible img {
    transform: none;
  }
}

.cems-abstract-collection {
  text-align: center;
  margin: 2rem 0;
}

.cems-abstract-collection__button {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #a02323;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.cems-abstract-collection__button:hover {
  background: #7d1a1a;
  color: #fff !important;
}

.cems-abstract-collection__link {
  color: #a02323;
  font-weight: 600;
  font-size: 1.05rem;
}

.cems-event-files {
  margin: 2rem 0;
  isolation: isolate;
}

.cems-event-files__card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.cems-event-files__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.cems-event-files__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.cems-event-files__count {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #a02323;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cems-event-files__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}

.cems-event-files__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cems-event-files__item:hover {
  background: #f8fafc;
}

.cems-event-files__item + .cems-event-files__item {
  margin-top: 0.25rem;
}

.cems-event-files__thumb,
.cems-event-files__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cems-event-files__thumb {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.cems-event-files__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cems-event-files__icon {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.cems-event-files__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.cems-event-files__icon--pdf { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.cems-event-files__icon--doc { color: #2563eb; background: #eff6ff; border-color: #bfdbfe; }
.cems-event-files__icon--sheet { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.cems-event-files__icon--slides { color: #ea580c; background: #fff7ed; border-color: #fed7aa; }
.cems-event-files__icon--archive { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.cems-event-files__icon--image { color: #0891b2; background: #ecfeff; border-color: #a5f3fc; }

.cems-event-files__meta {
  flex: 1;
  min-width: 0;
}

.cems-event-files__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
}

.cems-event-files__name::before,
.cems-event-files__name::after {
  content: none !important;
  display: none !important;
}

a.cems-event-files__name:hover,
a.cems-event-files__name:focus-visible {
  color: #a02323;
}

.cems-event-files__desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cems-event-files__size {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cems-event-files__download {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #a02323;
  text-decoration: none !important;
  border: 1px solid #fecaca;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cems-event-files__download::before,
.cems-event-files__download::after {
  content: none !important;
  display: none !important;
}

.cems-event-files__download svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.cems-event-files__download:hover,
.cems-event-files__download:focus-visible {
  background: #a02323;
  color: #fff;
  border-color: #a02323;
}

.cems-event-files__footer {
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid #f1f5f9;
}

.cems-event-files__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  background: #a02323;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.cems-event-files__cta::before,
.cems-event-files__cta::after {
  content: none !important;
  display: none !important;
}

.cems-event-files__cta:hover,
.cems-event-files__cta:focus-visible {
  background: #7d1a1a;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(160, 35, 35, 0.25);
}

.cems-event-files__cta svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.cems-event-files--link .cems-event-files__link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
}

.cems-event-files__link-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fef2f2;
  color: #a02323;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cems-event-files__link-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.cems-event-files--link .cems-event-files__title {
  font-size: 1.25rem;
}

.cems-event-files__link-desc {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 28rem;
}

.cems-event-files__error {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  margin: 0.5rem;
}

@media (max-width: 640px) {
  .cems-event-files__item {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .cems-event-files__size {
    order: 3;
    margin-left: 3.6rem;
  }

  .cems-event-files__download {
    order: 2;
    margin-left: auto;
  }

  .cems-event-files__header {
    padding: 1rem 1.15rem;
  }

  .cems-event-files__title {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cems-event-files__item,
  .cems-event-files__download,
  .cems-event-files__cta {
    transition: none;
  }
}

.cems-event-news {
  margin: 1.5rem 0;
}

.cems-event-news__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.cems-event-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.cems-event-news__articles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cems-event-news__article {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cems-event-news__article:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.cems-event-news__article-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.cems-event-news__article-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #A02337;
  line-height: 1.4;
}

.cems-event-news__article-date {
  font-size: 0.85rem;
  color: #475569;
  white-space: nowrap;
}

.cems-event-news__article-content {
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.65;
}

.cems-event-news__article-content p {
  margin: 0 0 0.75rem;
}

.cems-event-news__article-content p:last-child {
  margin-bottom: 0;
}

.cems-event-news__article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.cems-event-news__article-content a {
  color: #A02337;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cems-event-news__article-content a:hover {
  color: #730c16;
}

.cems-event-news__article-content iframe {
  max-width: 100%;
}

.cems-event-news__article-link {
  display: inline-block;
  margin-top: 0.25rem;
  color: #A02337;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cems-event-news__article-link:hover {
  color: #730c16;
  text-decoration: underline;
}

.cems-event-news__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.cems-event-news__item:last-child {
  border-bottom: none;
}

.cems-event-news__item:nth-child(even) {
  background: #fafafa;
}

.cems-event-news__item-link {
  color: #a02323;
  font-weight: 600;
  text-decoration: none;
}

.cems-event-news__item-link:hover {
  text-decoration: underline;
}

.cems-event-news__item-date {
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
}

.cems-event-news__link {
  display: inline-block;
  margin-top: 1rem;
  color: #a02323;
  font-weight: 600;
}

.cems-event-news__loading,
.cems-event-news__error {
  padding: 2rem;
  text-align: center;
  color: #666;
  background: #f5f5f5;
  border-radius: 8px;
}

/* ── Loading skeletons (public view) ── */

@keyframes cems-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes cems-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cems-skeleton__bar,
.cems-skeleton__media,
.cems-skeleton__row {
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 40%, #ececec 80%);
  background-size: 200% 100%;
  animation: cems-shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}

.cems-skeleton__bar {
  display: block;
  height: 0.75rem;
  margin-bottom: 0.625rem;
}

.cems-skeleton__bar--title {
  height: 1.125rem;
  width: 55%;
  margin-bottom: 1rem;
}

.cems-skeleton__bar--short { width: 40%; }
.cems-skeleton__bar--medium { width: 70%; }
.cems-skeleton__bar--long { width: 90%; }

.cems-skeleton__media {
  display: block;
  width: 100%;
  border-radius: 0;
}

.cems-skeleton__row {
  height: 2.75rem;
  margin-bottom: 0.5rem;
}

.cems-skeleton__row:last-child {
  margin-bottom: 0;
}

.cems-skeleton {
  position: relative;
  overflow: hidden;
}

.cems-skeleton--speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 260px));
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.cems-skeleton__speaker-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cems-skeleton__speaker-card .cems-skeleton__media {
  height: 200px;
}

.cems-skeleton__speaker-card .cems-skeleton__body {
  padding: 1.25rem;
}

.cems-skeleton--schedule {
  margin: 1.5rem 0;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.cems-skeleton__schedule-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.cems-skeleton__schedule-row:last-child {
  border-bottom: none;
}

.cems-skeleton__schedule-row:nth-child(even) {
  background: #fafafa;
}

.cems-skeleton__time-col {
  width: 80%;
}

.cems-skeleton--gallery,
.cems-skeleton--list {
  margin: 1.5rem 0;
}

.cems-skeleton__gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 0.5rem;
  padding: 0.5rem;
}

.cems-skeleton__gallery-cell {
  border-radius: 8px;
  min-height: 130px;
}

.cems-skeleton__gallery-cell--featured {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .cems-skeleton__gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }

  .cems-skeleton__gallery-cell--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.cems-skeleton__list {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  padding: 0.5rem 0;
}

.cems-skeleton--list .cems-skeleton__bar--title {
  margin-bottom: 1rem;
}

.cems-skeleton__list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.cems-skeleton__list-row:last-child {
  border-bottom: none;
}

.cems-skeleton__list-row:nth-child(even) {
  background: #fafafa;
}

.cems-skeleton__list-label {
  flex: 1;
  max-width: 60%;
}

.cems-skeleton__list-meta {
  width: 4.5rem;
}

.cems-skeleton--inline {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.cems-skeleton__spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  border: 3px solid #e8e8e8;
  border-top-color: #a02323;
  border-radius: 50%;
  animation: cems-spin 0.75s linear infinite;
}

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

.cems-skeleton__status-text {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* Hide admin editor placeholder on public pages */
.cems-block[data-cems-block]:not(.cems-block--ready) .cems-block-preview {
  display: none !important;
}

/* CSS-only initial skeleton before JS hydrates blocks */
.cems-block[data-cems-block="speakers"]:not(.cems-block--ready) {
  min-height: 280px;
}

.cems-block[data-cems-block="schedule"]:not(.cems-block--ready) {
  min-height: 220px;
}

.cems-block[data-cems-block="gallery"]:not(.cems-block--ready),
.cems-block[data-cems-block="event-files"]:not(.cems-block--ready),
.cems-block[data-cems-block="event-news"]:not(.cems-block--ready) {
  min-height: 200px;
}

.cems-block[data-cems-block]:not(.cems-block--ready)::before {
  content: "";
  display: block;
  height: 0.75rem;
  width: 40%;
  margin-bottom: 1rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 40%, #ececec 80%);
  background-size: 200% 100%;
  animation: cems-shimmer 1.4s ease-in-out infinite;
}

.cems-block[data-cems-block="speakers"]:not(.cems-block--ready)::before {
  width: 30%;
}

/* Fade-in when block content is ready */
.cems-block--ready > :not(.cems-block-preview) {
  animation: cems-fade-in 0.35s ease-out both;
}

.cems-page-content {
  transition: opacity 0.25s ease;
}

.cems-page-content:not(.cems-page-content--ready) {
  opacity: 0.92;
}

.cems-page-content--ready {
  opacity: 1;
}

.cems-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1600;
  pointer-events: none;
  background: rgba(160, 35, 35, 0.15);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cems-page-loader::before {
  content: "";
  display: block;
  height: 100%;
  width: 35%;
  background: #a02323;
  transform: translateX(-100%);
}

.cems-page-loader--active {
  opacity: 1;
}

.cems-page-loader--active::before {
  animation: cems-page-progress 1.1s ease-in-out infinite;
}

@keyframes cems-page-progress {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(180%); }
  100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
  .cems-skeleton__bar,
  .cems-skeleton__media,
  .cems-skeleton__row,
  .cems-block[data-cems-block]:not(.cems-block--ready)::before {
    animation: none;
    background: #ececec;
  }

  .cems-skeleton__spinner {
    animation: none;
    border-top-color: #a02323;
  }

  .cems-block--ready > :not(.cems-block-preview) {
    animation: none;
  }

  .cems-page-content {
    transition: none;
  }

  .cems-page-loader--active::before {
    animation: none;
    transform: translateX(0);
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cems-schedule__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cems-skeleton__schedule-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ── Shared card shell ── */

.cems-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  margin: 1.5rem 0;
}

.cems-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.cems-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.cems-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #a02323;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.cems-card__empty {
  padding: 2rem 1.5rem;
  text-align: center;
  color: #64748b;
}

.cems-info-list {
  margin: 0;
  padding: 1rem 1.5rem 1.35rem;
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0.65rem 1rem;
}

.cems-info-list dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.cems-info-list dd {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.5;
}

.cems-info-list a {
  color: #a02323;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cems-info-list a:hover {
  color: #7d1a1a;
  text-decoration: underline;
}

.cems-event-sessions .cems-schedule {
  margin: 0;
  padding: 0.5rem 0.75rem 0.75rem;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cems-event-sessions .cems-schedule__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  grid-template-columns: unset;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cems-event-sessions .cems-schedule__item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.cems-event-sessions .cems-schedule__item:nth-child(even) {
  background: #fafafa;
}

.cems-event-sessions .cems-schedule__item:hover {
  border-color: #fecaca;
  box-shadow: 0 2px 10px rgba(160, 35, 35, 0.08);
}

.cems-event-session__index {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fef2f2;
  color: #a02323;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.cems-event-session__body {
  flex: 1;
  min-width: 0;
}

.cems-event-session__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.cems-event-sessions .cems-schedule__title {
  font-size: 1rem;
  margin: 0;
  line-height: 1.35;
  color: #1e293b;
  flex: 1;
  min-width: 0;
}

.cems-event-session__status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.cems-event-session__status--full {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.cems-event-session__status--open {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.cems-event-session__status--low {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.75rem;
  font-weight: 600;
}

.cems-event-session--full {
  background: #fafafa;
  border-color: #e5e7eb;
}

.cems-event-session--full .cems-event-session__index {
  background: #f1f5f9;
  color: #94a3b8;
}

.cems-event-session--full .cems-schedule__title {
  color: #64748b;
}

.cems-event-session--full:hover {
  border-color: #e5e7eb;
  box-shadow: none;
}

.cems-event-sessions__notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0.75rem 0.5rem;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cems-event-sessions__notice svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
}

.cems-event-sessions__notice--full {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.cems-event-session__capacity {
  color: #475569;
}

.cems-event-session__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  margin-top: 0.35rem;
}

.cems-event-session__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
}

.cems-event-session__meta-item svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.cems-event-session__time {
  color: #a02323;
  font-weight: 600;
}

@media (max-width: 600px) {
  .cems-event-sessions .cems-schedule {
    padding: 0.5rem;
  }

  .cems-event-sessions .cems-schedule__item {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .cems-event-session__index {
    width: 2rem;
    height: 2rem;
    font-size: 0.72rem;
  }

  .cems-event-session__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .cems-event-session__header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cems-event-sessions__notice {
    margin: 0 0.5rem 0.5rem;
  }
}

.cems-pricing__note {
  margin: 0;
  padding: 0.75rem 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

.cems-pricing__note--active {
  padding-top: 0.5rem;
}

.cems-pricing__note--expired {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0.75rem 0.25rem;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  line-height: 1.5;
}

.cems-pricing__note--expired svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
}

.cems-pricing__table {
  padding: 0.75rem 0.5rem 1rem;
}

.cems-pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.cems-pricing__row:hover {
  background: #f8fafc;
}

.cems-pricing__name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.cems-pricing__prices {
  font-weight: 700;
  color: #a02323;
  white-space: nowrap;
}

.cems-pricing__eb {
  color: #a02323;
}

.cems-pricing__current {
  color: #a02323;
}

.cems-pricing__regular {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.cems-faq__list {
  padding: 0.5rem;
}

.cems-faq__item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease;
}

.cems-faq__item[open] {
  border-color: #fecaca;
}

.cems-faq__question {
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}

.cems-faq__question::-webkit-details-marker {
  display: none;
}

.cems-faq__question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a02323;
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.cems-faq__item[open] .cems-faq__question::after {
  content: "−";
}

.cems-faq__answer {
  padding: 0 1.15rem 1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.cems-video__embed,
.cems-map-venue__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #f1f5f9;
}

.cems-video__embed iframe,
.cems-map-venue__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cems-video__caption,
.cems-map-venue__address {
  margin: 0;
  padding: 1rem 1.5rem 1.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cems-cta-banner {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.cems-cta-banner--primary {
  background: linear-gradient(135deg, #a02323 0%, #7d1a1a 100%);
  color: #fff;
}

.cems-cta-banner--outline {
  background: #fff;
  border: 2px solid #a02323;
  color: #1e293b;
}

.cems-cta-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 2rem;
}

.cems-cta-banner__headline {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.cems-cta-banner--primary .cems-cta-banner__headline,
.cems-cta-banner--primary .cems-cta-banner__description {
  color: #fff;
}

.cems-cta-banner__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.92;
}

.cems-cta-banner__button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.cems-cta-banner--primary .cems-cta-banner__button {
  background: #fff;
  color: #a02323 !important;
}

.cems-cta-banner--primary .cems-cta-banner__button:hover {
  background: #fef2f2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cems-cta-banner--outline .cems-cta-banner__button {
  background: #a02323;
  color: #fff !important;
}

.cems-cta-banner--outline .cems-cta-banner__button:hover {
  background: #7d1a1a;
}

.cems-block[data-cems-block="event-sessions"]:not(.cems-block--ready),
.cems-block[data-cems-block="contact"]:not(.cems-block--ready),
.cems-block[data-cems-block="event-info"]:not(.cems-block--ready),
.cems-block[data-cems-block="pricing"]:not(.cems-block--ready) {
  min-height: 200px;
}

@media (max-width: 640px) {
  .cems-info-list {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .cems-info-list dt {
    margin-top: 0.5rem;
  }

  .cems-cta-banner__inner {
    padding: 1.5rem;
  }

  .cems-cta-banner__headline {
    font-size: 1.25rem;
  }

  .cems-pricing__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
