/* ============================================================
   Company Updates page
   ============================================================ */

/* Reset base layout so this public page scrolls normally */
body {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
  display: block !important;
}

.main_container {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  align-items: unset !important;
  justify-content: unset !important;
}

/* Hide base authenticated header, footer and contact modal */
.header_container,
.footer_container,
#page_notification {
  display: none !important;
}

/* ---- Custom public header (Figma node 7848-17309) ---- */
.cu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: #fbfbfb;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-sizing: border-box;
}

.cu-header__logo {
  display: block;
  line-height: 0;
}

.cu-header__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 47px;
  background: linear-gradient(103.92deg, #000000 0%, #666666 114.42%);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

/* ---- Page wrapper ---- */
/* padding-top = fixed header height (~54px) + 32px breathing room */
.cu-wrapper {
  max-width: 1208px;
  margin: 0 auto;
  padding: 86px 40px 80px;
}

/* Heading */
.cu-heading {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #2d2308;
  margin: 0 0 28px;
  white-space: nowrap;
}

/* ---- Tab switcher ---- */
.cu-tabs {
  margin-bottom: 28px;
}

.cu-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f2f2f2;
  border: 1px solid #e4e4e4;
  border-radius: 64px;
  padding: 2px 4px;
}

.cu-tab-pill--briefing {
  padding: 2px 4px;
}

.cu-tab {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 48px;
  padding: 14px 21px;
  transition: background 0.15s, color 0.15s;
}

.cu-tab--active {
  background: #9560f1;
  color: #ffffff;
  font-weight: 700;
}

.cu-tab--inactive {
  color: #000000;
  padding: 16px 16px;
  cursor: pointer;
}

/* ---- Event cards ---- */
.cu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cu-card {
  display: block;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.cu-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.cu-card--detail {
  margin-top: 24px;
}

/* Card header row */
.cu-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cu-card__company {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

/* Avatar */
.cu-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.cu-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0;
  font-weight: 700;
  color: transparent;
}

.cu-avatar-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px #e4e4e4;
}

/* Company name + date */
.cu-company-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.cu-company-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cu-company-date {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #8b8b8b;
  line-height: normal;
}

/* ---- Category badges ---- */
.cu-badge {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom:auto
}

.cu-badge--earnings {
  background: rgba(59, 184, 122, 0.06);
  border: 1px solid rgba(59, 184, 122, 0.08);
  color: #3bb87a;
}

.cu-badge--filings {
  background: rgba(208, 157, 6, 0.06);
  border: 1px solid rgba(208, 157, 6, 0.08);
  color: #D09D06;
}

.cu-badge--acquisitions {
  background: rgba(255, 192, 8, 0.12);
  border: 1px solid rgba(255, 192, 8, 0.08);
  color: #ffc008;
}

.cu-badge--default {
  background: rgba(255, 192, 8, 0.12);
  border: 1px solid rgba(255, 192, 8, 0.08);
  color: #ffc008;
}

/* Listing page: all badge types share the same blue colour */
.cu-list .cu-badge,
.cu-detail-events .cu-badge,
.cu-detail-header .cu-badge {
  background: rgb(6 147 237 / 12%);
  border: 1px solid rgba(208, 157, 6, 0.08);
  color: #1b6099;
}

/* Divider */
.cu-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 12px -20px;
}

/* Description */
.cu-description {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5c5c5c;
  line-height: 22px;
  margin: 0;
}

.cu-description--placeholder {
  font-style: italic;
  color: #8b8b8b;
}

/* Empty state */
.cu-empty {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8b8b8b;
  text-align: center;
  padding: 48px 0;
}

/* ---- Pre-Market Briefing table ---- */
.cu-briefing {
  overflow-x: auto;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
}

.cu-briefing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
}

.cu-briefing-thead {
  background: rgba(242, 242, 242, 0.4);
}

.cu-briefing-th {
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #8b8b8b;
  padding: 22px 20px;
  border-bottom: 1px solid #e4e4e4;
  white-space: nowrap;
}

.cu-briefing-th--date {
  width: 210px;
  border-right: 1px solid #e4e4e4;
}

.cu-briefing-row {
  cursor: pointer;
  transition: background 0.12s;
}

.cu-briefing-row:hover {
  background: #f5f0ff;
}

.cu-briefing-td {
  padding: 20px 20px;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  border-bottom: 1px solid #e4e4e4;
  vertical-align: middle;
}

.cu-briefing-row:last-child .cu-briefing-td {
  border-bottom: none;
}

.cu-briefing-td--date {
  color: #000000;
  white-space: nowrap;
  font-weight: 400;
  font-size: 16px;
  border-right: 1px solid #e4e4e4;
}

.cu-briefing-td--headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cu-briefing-headline-text {
  color: #2e7cf6;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  flex: 1;
}

.cu-briefing-row:hover .cu-briefing-headline-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cu-briefing-arrow {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.12s;
  color: #9560f1;
}

.cu-briefing-row:hover .cu-briefing-arrow {
  opacity: 1;
}

/* Inner divider: only visible inside the mobile detail header card */
.cu-detail-inner-divider {
  display: none;
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 0;
}

/* CTA card sub-sections: transparent wrappers on desktop */
.cu-detail-cta__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Back link (detail page) */
.cu-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5c5c5c;
  text-decoration: none;
  margin-bottom: 20px;
}

.cu-back-link:hover {
  color: #2d2308;
}

/* ============================================================
   Detail page
   ============================================================ */

/* Company event header */
.cu-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #5c5c5c;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.cu-back-btn:hover {
  background: #f2f2f2;
  color: #2d2308;
}

.cu-detail-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.cu-detail-company-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #2d2308;
  line-height: 24px;
  margin: 0;
}

.cu-detail-meta {
  display: flex;
  align-items: center;
  gap: 13px;
}

.cu-detail-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cu-detail-date-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #5c5c5c;
  white-space: nowrap;
}

/* Large badge variant used in the detail header */
.cu-badge--lg {
  font-size: 13px;
  line-height: 17px;
  padding: 6px 12px;
}

.cu-detail-description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  line-height: 21px;
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.cu-detail-no-content {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #a0a0a0;
  font-style: italic;
  margin: 0;
}

/* Full-width section divider */
.cu-detail-divider {
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 0 0 32px;
}

/* Section heading ("Recent Events") */
.cu-detail-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2d2308;
  margin: 0 0 20px;
}

/* Two-column layout */
.cu-detail-columns {
  display: flex;
  gap: 24px;
  align-items: stretch;
  height: 460px;
}

/* ---- Recent events card (left column) ---- */
.cu-detail-events {
  flex: 1;
  min-width: 0;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  overflow-y: hidden;
}

.cu-detail-events--scrollable {
  overflow-y: auto;
}

.cu-detail-events .cu-badge {
  background: rgb(6 147 237 / 12%);
  border: 1px solid rgba(208, 157, 6, 0.08);
  color: #1b6099;
}

.cu-events-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  flex: 1;
}

.cu-events-empty__img {
  width: 122px;
  height: auto;
}

.cu-events-empty__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #8b8b8b;
  line-height: 25px;
  margin: 0;
  text-align: center;
  max-width: 206px;
}

.cu-detail-event-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cu-detail-event-item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cu-detail-event-item--link:hover .cu-detail-event-headline {
  color: #9560f1;
}

.cu-detail-event-date-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cu-detail-event-date-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #20130c;
  white-space: nowrap;
}

.cu-detail-event-headline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8b8b8b;
  line-height: 24px;
  margin: 0;
}

.cu-detail-event-divider {
  border: none;
  border-top: 2px dashed #e4e4e4;
  margin: 0;
}

/* ---- Signup CTA card (right column) ---- */
.cu-detail-cta {
  width: 430px;
  flex-shrink: 0;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 31px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.cu-detail-cta__logo {
  margin-bottom: 24px;
  line-height: 0;
}

.cu-detail-cta__title {
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #000000;
  line-height: 38px;
  letter-spacing: -0.64px;
  margin: 0 0 24px;
}

.cu-detail-cta__features-label {
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #8b8b8b;
  margin: 0 0 16px;
}

.cu-detail-cta__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cu-detail-cta__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Instrument Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2d2308;
}

.cu-detail-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9560f1;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 47px;
  padding: 15px 20px;
  margin-top: auto;
  transition: opacity 0.15s;
}

.cu-detail-cta__btn:hover {
  opacity: 0.88;
}

/* ---- Company Information iframe section ---- */
.cu-company-info-title {
  margin-top: 40px;
}

.cu-widget-card {
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cu-widget-card__iframe {
  width: 100%;
  max-width: 920px;
  min-height: 600px;
  border: none;
  display: block;
  padding-top: 26px;
}

.cu-widget-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #20130c;
  text-decoration: none;
  border-top: 1px solid #e4e4e4;
  align-self: flex-end;
}

.cu-widget-card__link:hover {
  opacity: 0.75;
}

/* ---- Detail page: responsive ---- */
@media (max-width: 768px) {
  .cu-detail-company-name {
    font-size: 20px;
  }

  .cu-detail-columns {
    flex-direction: column;
    gap: 20px;
  }

  .cu-detail-cta {
    width: 100%;
    padding: 20px;
  }

  .cu-detail-cta__title {
    font-size: 24px;
    line-height: 30px;
  }
}

/* ---- Mobile-only elements (hidden by default on desktop) ---- */
.cu-badge--mobile {
  display: none;
}

.cu-avatar-calendar {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cu-card-arrow {
  display: none;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cu-header {
    padding: 12px 16px;
  }

  .cu-header__login {
    padding: 8px 15px;
    font-size: 12px;
  }

  .cu-wrapper {
    padding: 78px 16px 60px;
  }

  .cu-heading {
    display: none;
  }

  /* ---- Tab switcher: full-width segmented control ---- */
  .cu-tab-pill,
  .cu-tab-pill--briefing {
    display: flex;
    width: 100%;
    background: #f2f2f2;
    border: none;
    border-radius: 6px;
    padding: 4px;
    gap: 0;
    height: 42px;
    box-sizing: border-box;
    align-items: center;
  }

  .cu-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 4px;
    font-size: 14px;
    padding: 0;
    text-align: center;
  }

  .cu-tab--active {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .cu-tab--inactive {
    background: none;
    color: #8b8b8b;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
  }

  /* ---- Card list: flat mobile layout ---- */
  .cu-list {
    gap: 0;
  }

  .cu-card {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #e4e4e4;
    padding: 16px 0;
    margin-bottom: 0;
    box-shadow: none;
  }

  .cu-card:hover {
    box-shadow: none;
  }

  .cu-card__header {
    align-items: flex-start;
  }

  .cu-card__company {
    align-items: flex-start;
    flex: 1;
  }

  /* Avatar: 40×40 circle, initials hidden, calendar icon shown */
  .cu-avatar-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .cu-avatar {
    width: 40px;
    height: 40px;
    font-size: 0;
    color: transparent;
  }

  .cu-avatar-calendar {
    display: block;
  }

  /* Company info: badge → name → date */
  .cu-company-info {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  /* Mobile badge: colored text only, no pill background */
  .cu-badge--mobile {
    display: block !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    max-width: 99%;
    white-space: normal;
    word-break: break-word;
  }

  .cu-badge--mobile.cu-badge--earnings,
  .cu-badge--mobile.cu-badge--filings,
  .cu-badge--mobile.cu-badge--acquisitions,
  .cu-badge--mobile.cu-badge--default { color: #1b6099; }

  .cu-company-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    max-width: 90%;
    word-break: break-word;
  }

  .cu-company-date {
    font-size: 12px;
    font-weight: 500;
    color: #8b8b8b;
  }

  /* Hide desktop-only elements */
  .cu-badge--desktop {
    display: none;
  }

  .cu-divider {
    display: none;
  }

  .cu-description {
    display: none;
  }

  /* Arrow icon on the right */
  .cu-card-arrow {
    display: block;
    margin-top: 14px;
  }

  /* ---- Pre-Market Briefing table: mobile ---- */
  .cu-briefing {
    border-radius: 12px;
  }

  .cu-briefing-th {
    font-size: 12px;
    font-weight: 500;
    padding: 10px 12px;
  }

  /* Date column: shrink to minimum needed width */
  .cu-briefing-th--date,
  .cu-briefing-td--date {
    width: 1%;
    white-space: nowrap;
  }

  .cu-briefing-td {
    font-size: 14px;
    font-weight: 500;
    padding: 14px 12px;
    color: #000000;
  }

  .cu-briefing-td--date {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
  }

  .cu-briefing-headline-text {
    font-size: 14px;
    font-weight: 500;
    color: #2e7cf6;
    line-height: 18px;
    white-space: normal;
  }

  /* ============================================================
     Detail page — mobile (matches Figma node 7924:14270)
     ============================================================ */

  .cu-back-btn {
    margin-bottom: 12px;
    padding: 6px 8px;
  }

  /* Header becomes a white card with shadow */
  .cu-detail-header {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 34px 0 rgba(0, 0, 0, 0.08);
    padding: 16px;
    margin-bottom: 24px;
    gap: 10px;
  }

  /* Reorder: company name first, then meta(badge+date), then divider, then description */
  .cu-detail-company-name { order: 1; font-size: 16px; line-height: 19px; margin: 0; }
  .cu-detail-meta { order: 2; }
  .cu-detail-inner-divider { display: block; order: 3; }
  .cu-detail-description { order: 4; font-size: 14px; line-height: 19px; }
  .cu-detail-no-content { order: 4; font-size: 14px; line-height: 22px; }

  /* Meta row: badge on left, date on right, full-width space-between */
  .cu-detail-header .cu-detail-meta {
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  /* Badge moves to left (order -1 beats default 0 of date-div) */
  .cu-detail-header .cu-detail-meta .cu-badge {
    order: -1;
    letter-spacing: 0.3px;
  }

  /* Earnings badge uses Figma yellow on mobile detail */
  .cu-detail-header .cu-badge--earnings {
    font-size: 13px;
    padding:2px 7px;
  }

  /* Hide calendar icon inside the header meta row */
  .cu-detail-date-icon {
    display: none;
  }

  .cu-detail-date-text {
    font-size: 14px;
    color: #8b8b8b;
  }

  /* Hide the section-level divider (card boundary replaces it) */
  .cu-detail-divider {
    display: none;
  }

  /* Recent Events section */
  .cu-detail-section-title {
    margin: 0 0 16px;
  }

  .cu-detail-events {
    padding: 16px;
    gap: 16px;
  }

  .cu-detail-event-headline {
    font-size: 14px;
    line-height: 22px;
  }

  .cu-detail-event-date-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4px;
  }

  .cu-detail-event-date-row .cu-badge {
    grid-column: 1 / -1;
    width: fit-content;
    margin-top: 6px;
  }

  .cu-detail-columns {
    gap: 20px;
    height: auto;
  }

  .cu-detail-events {
    overflow-y: visible;
  }

  /* CTA card: split into top (gray header) and bottom (white body) */
  .cu-detail-cta {
    border: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .cu-detail-cta__header {
    background: #f4f4f4;
    border: 1px solid #e4e4e4;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 16px;
  }

  .cu-detail-cta__body {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 0 0 12px 12px;
    padding: 16px;
    gap: 26px;
    flex: unset;
  }

  .cu-detail-cta__title {
    font-size: 28px;
    line-height: 35px;
    letter-spacing: -0.56px;
    margin: 0;
  }

  .cu-detail-cta__logo {
    margin-bottom: 12px;
  }

  .cu-detail-cta__features-label {
    margin: 0;
  }

  .cu-detail-cta__features {
    margin: 0;
  }

  .cu-detail-cta__btn {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 24px;
    font-size: 14px;
    margin-top: 0;
    max-width: 370px;
    margin:0 auto;
  }

  .cu-company-info-title {
    margin-top: 28px;
  }

  .cu-widget-card__iframe {
    max-width: 100%;
    min-height: 900px;
  }
}

/* ---- Pagination ---- */
.cu-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0 8px;
}

.cu-pagination__btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #9560f1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.cu-pagination__btn:hover {
  background: #f3eeff;
}

.cu-pagination__btn--disabled {
  color: #c0c0c0;
  cursor: default;
  border-color: #ebebeb;
}

.cu-pagination__info {
  font-size: 14px;
  color: #666;
}

/* ---- Scroll to top button ---- */
.cu-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: #383940;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 999;
}

.cu-scroll-top--visible {
  opacity: 1;
  visibility: visible;
}

.cu-scroll-top:hover {
  background: #4a4b54;
}

@media (min-width: 320px) and (max-width: 1180px) {
  .cu-detail-event-headline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
