/* CURADLE CSS TOPIC AUDIT — 2026-09-19
 * Status: MODIFIED
 * File upload name: event-pages(2).css
 * Backup: 00_BACKUP_ALL_81_ORIGINAL_CSS/event-pages(2).css
 */
/* Giao diện riêng cho trang sự kiện. */

.curadle-event-empty { width: 100%; text-align: center !important; }

/* Card listing: keep the event item inside its normal card instead of letting
 * the countdown/content expand to the full page width. */
.curadle-news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: min(1240px, calc(100% - 32px));
  margin: 64px auto !important;
  padding: 0 !important;
  justify-content: start;
}

.curadle-news-list-grid .article-card {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.curadle-news-list-grid .article-card .image {
  position: relative;
  display: block;
  height: 235px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8e7, #eaf6fb);
}

.curadle-news-list-grid .article-card .body {
  display: block;
  padding: 20px 20px 24px;
}

.curadle-news-list-grid .article-card time {
  display: block;
  margin: 0 0 14px;
  color: #929292;
  font-size: 16px;
  line-height: 1.4;
}

.curadle-news-list-grid .article-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.curadle-news-list-grid .article-card p {
  margin: 0;
  color: #666;
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .curadle-news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .curadle-news-list-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px !important;
  }
  .curadle-news-list-grid .article-card .image { height: 260px; }
}

.curadle-event-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-card.is-clickable {
  cursor: pointer;
}

.curadle-event-card-countdown {
  position: relative;
  overflow: hidden;
  display: flex;
  height: 100%;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: radial-gradient(circle at 50% 25%, #4a164f 0, #210a2c 52%, #120019 100%);
  color: #fff;
  text-align: center;
}

.curadle-event-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: #2e3d98;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.article-card .image { position: relative; }
.curadle-news-list-grid .article-card .image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center center;
}

.curadle-event-card-countdown::before,
.curadle-event-card-countdown::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 111, 190, .28);
  border-radius: 50%;
  pointer-events: none;
}
.curadle-event-card-countdown::before { width: 210px; height: 210px; }
.curadle-event-card-countdown strong { color: #ff78b8; font-size: 23px; letter-spacing: .04em; z-index: 1; }
.curadle-countdown-units { display: flex; align-items: center; gap: 7px; z-index: 1; }
.curadle-countdown-units span { display: flex; flex-direction: column; gap: 4px; }
.curadle-countdown-units b { min-width: 48px; padding: 8px 5px; border: 1px solid rgba(255, 110, 190, .55); border-radius: 10px; background: linear-gradient(#351044, #1b0929); box-shadow: 0 0 14px rgba(255, 65, 166, .35); color: #ff79ba; font-size: 28px; line-height: 1; text-shadow: 0 0 8px #ff4caa; }
.curadle-countdown-units small { color: #f6d9ee; font-size: 10px; text-transform: uppercase; }
.curadle-countdown-units i { color: #ff71b7; font-size: 24px; font-style: normal; margin-top: -18px; }

.curadle-event-detail-hero {
  width: min(1240px, calc(100% - 32px));
  height: auto;
  margin: 24px auto 0;
  position: relative;
  overflow: hidden;
  background: #f6f6f6;
}
.curadle-event-detail-hero-image { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }

.curadle-event-detail-countdown {
  position: absolute;
  top: 0;
  right: 0;
  transform: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 25%, #4a164f 0, #210a2c 52%, #120019 100%);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.curadle-event-detail-countdown[hidden] { display: none; }

.curadle-event-detail-countdown strong { color: #ff78b8; font-size: 24px; }
.curadle-event-detail-countdown .curadle-event-timezone { margin-top: -6px; color: #f6d9ee; font-size: 11px; font-weight: 500; line-height: 1.4; text-transform: none; }

.curadle-event-detail-content {
  width: min(1240px, calc(100% - 32px));
  margin: 32px auto 64px;
}

.curadle-event-price-overlay { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 10px; border-radius: 6px; background: rgba(255,255,255,.94); }
.curadle-event-price-overlay del { color: #777; font-size: 13px; line-height: 1.2; }
.curadle-event-price-overlay strong { color: #2e3d98; font-size: 14px; line-height: 1.25; }
.curadle-event-cart { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #e4e7ec; color: #fff; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(17,24,39,.08); }
.curadle-event-cart svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.curadle-event-cart:hover { background: #d5d9e0; }

/* Event products: bản sao độc lập của section Sản phẩm nổi bật trang chủ. */
.curadle-event-detail .curadle-featured-products { width: 100%; background: #fff; }
.curadle-event-detail .curadle-featured-inner { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.curadle-event-detail .curadle-featured-heading { margin: 0 0 32px; text-align: center; }
.curadle-event-detail .curadle-featured-heading h2 { margin: 0; color: #111; font-size: 40px; line-height: 1.2; font-weight: 700; }
.curadle-event-detail .curadle-featured-heading h2::after { content: ''; display: block; width: 62px; height: 4px; margin: 18px auto 0; border-radius: 99px; background: #2e3d98; }
.curadle-event-detail .curadle-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.curadle-event-detail .curadle-carousel-arrow--featured { display: none; }
.curadle-event-detail .curadle-featured-card { display: grid; grid-template-columns: 51% 49%; width: 100%; height: 308px; min-height: 308px; overflow: hidden; border: 1px solid #eee4dd; border-radius: 6px; background: #fff; }
.curadle-event-detail .curadle-featured-media { position: relative; display: flex; width: 100%; height: 308px; min-height: 308px; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.curadle-event-detail .curadle-featured-media > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.curadle-event-detail .curadle-featured-media img { display: block; width: 100%; height: 100%; padding: 16px 4px 16px 16px; object-fit: contain; object-position: center; border: 0; box-shadow: none; }
.curadle-event-detail .curadle-featured-content { display: grid; grid-auto-rows: max-content; align-content: center; min-width: 0; height: 308px; padding: 24px 26px 24px 0; }
.curadle-event-detail .curadle-featured-content h3 { margin: 0 0 10px; color: #111; font-size: 17px; line-height: 1.3; font-weight: 700; }
.curadle-event-detail .curadle-featured-content p { max-width: 285px; margin: 0 0 14px; color: #222; font-size: 13px; line-height: 1.55; }
.curadle-event-detail .curadle-featured-content ul { margin: 0 0 14px; padding: 0; list-style: none; }
.curadle-event-detail .curadle-featured-content li { position: relative; margin: 0 0 4px; padding-left: 18px; color: #222; font-size: 13px; line-height: 1.45; }
.curadle-event-detail .curadle-featured-content li::before { content: '✓'; position: absolute; left: 0; color: #2e3d98; font-weight: 700; }
.curadle-event-detail .curadle-featured-content a.curadle-featured-link { display: inline-flex; width: auto; margin: 0; color: #2e3d98; font-size: 13px; }

@media (max-width: 640px) {
  .curadle-event-detail-hero { width: 100%; height: auto; margin-top: 0; background-image: none !important; background-color: #fff; }
  .curadle-event-detail .curadle-featured-grid { gap: 16px; }
  .curadle-event-detail .curadle-featured-card { flex-basis: 100%; grid-template-columns: 1fr; }
  .curadle-event-detail .curadle-featured-media, .curadle-event-detail .curadle-featured-content { height: auto; min-height: 0; }
  .curadle-event-detail .curadle-featured-content { padding: 20px; }
  .curadle-event-detail .curadle-carousel-arrow--featured { display: inline-flex; }
}

.curadle-events{max-width:1200px;margin:auto;padding:48px 24px;color:#243047}.curadle-events header{margin-bottom:32px}.curadle-events h1{font-size:clamp(28px,4vw,42px);line-height:1.2}.curadle-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.curadle-event-card{overflow:hidden;border:1px solid #e3e7ed;border-radius:12px;background:#fff}.curadle-event-card a{color:inherit;text-decoration:none}.curadle-event-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.curadle-event-card a>div{padding:20px 20px 0}.curadle-event-card h2{font-size:21px;line-height:1.4;margin:12px 0}.curadle-event-card>p{margin:12px 20px 20px;line-height:1.7}.curadle-event-status{display:inline-block;padding:5px 10px;border-radius:6px;background:#edf2fc;color:#2d3c98;font-size:13px}.curadle-event-hero{display:block;width:100%;height:auto;margin:24px 0}.curadle-event-content{line-height:1.8}.curadle-event-content img{max-width:100%;height:auto}.curadle-events nav{margin-top:28px}.curadle-events nav a,.curadle-events nav span{display:inline-block;padding:8px 12px}@media(max-width:900px){.curadle-events-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.curadle-events{padding:28px 16px}.curadle-events-grid{grid-template-columns:1fr}}
