/* =============================================================
   Art Spot Upcoming Events — Frontend Styles
   ============================================================= */

.ascu-wrapper {
  font-family: inherit;
  color: #2A1F16;
  max-width: 960px;
}

/* Critical: class selector (0,1,0) beats browser [hidden]{display:none} (0,0,1) */
.ascu-item[hidden] { display: none !important; }

/* ── Header ──────────────────────────────────────────────── */

.ascu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}

.ascu-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #2A1F16;
  line-height: 1.1;
  margin: 0;
}

.ascu-see-all {
  font-size: .82rem;
  font-weight: 700;
  color: #D4724A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap .18s;
}

.ascu-see-all::after {
  content: '→';
  transition: transform .18s;
}

.ascu-see-all:hover { gap: 8px; }
.ascu-see-all:hover::after { transform: translateX(2px); }

/* ── Filter pills ────────────────────────────────────────── */

.ascu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ascu-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  background-color: var(--ascu-pill, #D4724A) !important;
  background-image: none !important;
  border: 3px solid transparent;
  color: #fff;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  opacity: .7;
  box-shadow: 0 1px 4px rgba(0,0,0,.14);
  transition: opacity .18s, transform .18s, box-shadow .18s, border-color .18s;
}

.ascu-filter-pill:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.ascu-filter-pill-active {
  opacity: 1;
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
  transform: translateY(-1px);
}

.ascu-filter-pill:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  opacity: 1;
}

/* ── Shared badge elements ───────────────────────────────── */

.ascu-cat-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  flex-shrink: 0;
}

.ascu-proximity {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #FFF0E8;
  color: #D4724A;
  border: 1px solid #F5C9B0;
}

/* ── Buttons ─────────────────────────────────────────────── */

.ascu-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #D4724A;
  color: #fff !important;
  border-radius: 50px;
  padding: 7px 18px;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}

.ascu-btn-primary:hover {
  background: #B55A34;
  transform: translateY(-1px);
}

.ascu-btn-cal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8A7265;
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}

.ascu-btn-cal:hover { color: #D4724A; }

/* ── Empty state ─────────────────────────────────────────── */

.ascu-empty {
  padding: 40px 24px;
  text-align: center;
  color: #8A7265;
  background: #FBF8F4;
  border-radius: 12px;
  border: 1px solid #E8D9CC;
}

.ascu-empty-msg {
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT: CARDS (2-column grid)
═══════════════════════════════════════════════════════════ */

.ascu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ascu-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E8D9CC;
  box-shadow: 0 2px 12px rgba(42,31,22,.07);
  display: flex;
  flex-direction: column;
  /* Top accent stripe in category colour */
  border-top: 4px solid var(--ascu-cat, #D4724A);
  transition: transform .2s, box-shadow .2s;
}

.ascu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(42,31,22,.13);
}

.ascu-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.ascu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ascu-card:hover .ascu-card-img img {
  transform: scale(1.03);
}

.ascu-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EFE6DA 0%, #DED1C2 100%);
}

.ascu-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ascu-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ascu-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2A1F16;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0;
}

.ascu-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}

.ascu-card-title a:hover { color: #D4724A; }

.ascu-card-time {
  font-size: .8rem;
  font-weight: 600;
  color: #8A7265;
  margin: 0;
}

.ascu-card-desc {
  font-size: .84rem;
  color: #6B5A4E;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.ascu-card-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F0E8E0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT: LIST (horizontal rows with date box)
═══════════════════════════════════════════════════════════ */

.ascu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ascu-row {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E8D9CC;
  /* Left accent stripe in category colour */
  border-left: 5px solid var(--ascu-cat, #D4724A);
  box-shadow: 0 2px 8px rgba(42,31,22,.06);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.ascu-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(42,31,22,.12);
}

.ascu-datebox {
  width: 68px;
  flex-shrink: 0;
  background: #FBF8F4;
  border-right: 1px solid #E8D9CC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  gap: 1px;
}

.ascu-datebox-month {
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #D4724A;
}

.ascu-datebox-day {
  font-size: 1.7rem;
  font-weight: 900;
  color: #2A1F16;
  line-height: 1;
  letter-spacing: -.04em;
}

.ascu-datebox-dow {
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8A7265;
}

.ascu-row-thumb {
  width: 96px;
  flex-shrink: 0;
  overflow: hidden;
}

.ascu-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.ascu-row:hover .ascu-row-thumb img { transform: scale(1.05); }

.ascu-row-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 88px;
  background: linear-gradient(135deg, #EFE6DA 0%, #DED1C2 100%);
}

.ascu-row-body {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.ascu-row-top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ascu-row-title {
  font-size: .98rem;
  font-weight: 800;
  color: #2A1F16;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ascu-row-title a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}

.ascu-row-title a:hover { color: #D4724A; }

.ascu-row-time {
  font-size: .78rem;
  font-weight: 600;
  color: #8A7265;
  margin: 0;
}

.ascu-row-desc {
  font-size: .8rem;
  color: #6B5A4E;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ascu-row-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px 14px 8px;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT: COMPACT (tight clickable rows)
═══════════════════════════════════════════════════════════ */

.ascu-compact {
  display: flex;
  flex-direction: column;
}

.ascu-compact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid #E8D9CC;
  text-decoration: none;
  color: #2A1F16;
  transition: background .15s;
  cursor: pointer;
}

.ascu-compact-row:first-child { border-top: 1px solid #E8D9CC; }

.ascu-compact-date {
  width: 44px;
  flex-shrink: 0;
  text-align: center;
}

.ascu-compact-month {
  display: block;
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #D4724A;
}

.ascu-compact-day {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #2A1F16;
  line-height: 1;
  letter-spacing: -.03em;
}

.ascu-compact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ascu-compact-body {
  flex: 1;
  min-width: 0;
}

.ascu-compact-title {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #2A1F16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s;
}

.ascu-compact-sub {
  display: block;
  font-size: .74rem;
  color: #8A7265;
  font-weight: 600;
  margin-top: 2px;
}

.ascu-compact-arrow {
  color: #C8B8AA;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: color .18s, transform .18s;
}

.ascu-compact-row:hover .ascu-compact-title { color: #D4724A; }
.ascu-compact-row:hover .ascu-compact-arrow { color: #D4724A; transform: translateX(3px); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 700px) {
  .ascu-grid { grid-template-columns: 1fr; }

  .ascu-row-thumb { display: none; }

  .ascu-row-actions {
    flex-direction: row;
    align-items: center;
    padding: 0 12px 0 0;
  }

  .ascu-row-body { padding: 12px 12px; }

  .ascu-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .ascu-row-actions { display: none; }

  .ascu-row-title { white-space: normal; }

  .ascu-card-foot .ascu-btn-cal { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   EVENT MODAL  — matches calendar modal design
═══════════════════════════════════════════════════════════ */

.ascu-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(42,31,22,.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: ascuFadeIn .18s ease both;
}

@keyframes ascuFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ascu-modal-overlay[hidden] { display: none !important; }

.ascu-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(42,31,22,.22), 0 4px 16px rgba(42,31,22,.12);
  animation: ascuSlideUp .22s ease both;
  overscroll-behavior: contain;
}

@keyframes ascuSlideUp {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Close button — sticky like the calendar modal */
.ascu-modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 14px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(42,31,22,.08);
  color: #2A1F16;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .18s, color .18s;
}

.ascu-modal-close:hover {
  background: rgba(212,114,74,.16);
  color: #D4724A;
}

/* Featured image */
.ascu-modal-img {
  display: none;
  width: 100%;
  max-height: 240px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  clear: both;
}

.ascu-modal-img.has-image { display: block; }

.ascu-modal-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.ascu-modal-img-placeholder { display: none; }

/* Body */
.ascu-modal-body {
  padding: 22px 28px 30px;
  clear: both;
}

.ascu-modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ascu-modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #2A1F16;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.ascu-modal-time {
  font-size: .86rem;
  font-weight: 600;
  color: #8A7265;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ascu-modal-time::before {
  content: '';
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7265' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ascu-modal-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: #2A1F16;
  margin: 0 0 4px;
  white-space: pre-wrap;
}

/* Footer — matches .asc-modal-foot */
.ascu-modal-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #F0E8E0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ascu-modal-book {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #D4724A;
  color: #fff !important;
  border-radius: 50px;
  padding: 9px 22px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}

.ascu-modal-book:hover {
  background: #B55A34;
  transform: translateY(-1px);
}

.ascu-modal-gcal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8A7265;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}

.ascu-modal-gcal:hover { color: #D4724A; }

/* Clickable card / row hints */
.ascu-card { cursor: pointer; }
.ascu-row  { cursor: pointer; }

/* ── Pagination navigation ───────────────────────────── */

.ascu-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ascu-nav[hidden] { display: none !important; }

.ascu-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid #E8D9CC;
  background: #fff;
  color: #2A1F16;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}

.ascu-nav-btn:hover:not(:disabled) {
  background: #D4724A;
  border-color: #D4724A;
  color: #fff;
  transform: translateY(-1px);
}

.ascu-nav-btn:disabled {
  opacity: .4;
  cursor: default;
}

.ascu-nav-info {
  font-size: .82rem;
  font-weight: 600;
  color: #8A7265;
  min-width: 80px;
  text-align: center;
}

.ascu-load-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid #D4724A;
  background: transparent;
  color: #D4724A;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}

.ascu-load-more-btn:hover {
  background: #D4724A;
  color: #fff;
  transform: translateY(-1px);
}

.ascu-load-more-btn[hidden] { display: none !important; }

/* ── Multiple booking buttons in modal ───────────────── */

.ascu-modal-books {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.ascu-modal-book-secondary,
.ascu-modal-book.ascu-modal-book-secondary {
  background: transparent !important;
  color: #D4724A !important;
  border: 2px solid #D4724A !important;
}

.ascu-modal-book-secondary:hover,
.ascu-modal-book.ascu-modal-book-secondary:hover {
  background: rgba(212,114,74,.08) !important;
  transform: translateY(-1px);
}

/* ── Status pills on cards/rows ──────────────────────── */

.ascu-status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ascu-status-pill-sold-out {
  background: #FFF3CD;
  color: #8a6000;
  border: 1px solid #f0d060;
}

.ascu-status-pill-cancelled {
  background: #f5f0ee;
  color: #8A7265;
  border: 1px solid #E8D9CC;
}

/* Cancelled card/row — greyed appearance */
.ascu-item.ascu-status-cancelled {
  opacity: .7;
}

.ascu-item.ascu-status-cancelled .ascu-card-title,
.ascu-item.ascu-status-cancelled .ascu-row-title {
  text-decoration: line-through;
  color: #8A7265;
}

/* ── Status badge in modal meta ──────────────────────── */

.ascu-modal-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ascu-modal-status-badge[hidden] { display: none; }

.ascu-modal-status-sold-out {
  background: #FFF3CD;
  color: #8a6000;
  border: 1px solid #f0d060;
}

.ascu-modal-status-cancelled {
  background: #f5f0ee;
  color: #8A7265;
  border: 1px solid #E8D9CC;
}

/* ── Spots remaining pill on cards / rows ─────────────── */
.ascu-status-pill-low {
  background: #FFF3CD;
  color: #8a6000;
  border: 1px solid #f0d060;
}
.ascu-status-pill-spots {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

/* ── Spots remaining line in modal ───────────────────── */
.ascu-modal-spots {
  margin: 4px 0 10px;
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
}
.ascu-modal-spots[hidden] { display: none !important; }
.ascu-modal-spots-full {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}
.ascu-modal-spots-low {
  background: #FFF3CD;
  color: #8a6000;
  border: 1px solid #f0d060;
}
.ascu-modal-spots-ok {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

@media (max-width: 520px) {
  .ascu-modal-body  { padding: 20px 18px 24px; }
  .ascu-modal-img img { height: 180px; }
  .ascu-modal-title { font-size: 1.2rem; }
}

/* ── Add to Calendar dropdown (upcoming widget) ───────────── */

.ascu-atc-inner {
  position: relative;
  display: inline-block;
}

.ascu-card-foot .ascu-atc-wrap,
.ascu-row-actions .ascu-atc-wrap { display: inline-block; }

/* ── ATC core styles (self-contained so this widget works on pages
   that do NOT have the [artspot_calendar] shortcode, meaning
   artspot-calendar.css is NOT enqueued on those pages) ─────── */

/* Brand icons */
.asc-svc-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.asc-svc-apple   { background: #1c1c1e; color: #fff; }
.asc-svc-google  { background: #fff; border: 1.5px solid #dadce0; }
.asc-svc-outlook { background: #0078d4; }

.asc-atc-wrap {
  position: relative;
}

.asc-atc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #faf6f2;
  border: 1.5px solid #ddd0c5;
  border-radius: 50px;
  color: #4a3a30;
  font-size: .8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.asc-atc-toggle:hover,
.asc-atc-toggle.is-open {
  background: var(--asc-primary, #D4724A);
  border-color: var(--asc-primary, #D4724A);
  color: #fff;
}
.asc-atc-toggle:hover svg,
.asc-atc-toggle.is-open svg { stroke: #fff; }
.asc-atc-caret { font-size: .6rem; transition: transform .2s; opacity: .7; }
.asc-atc-toggle.is-open .asc-atc-caret { transform: rotate(180deg); }

/* Prevent themes that override [hidden]{display:block} from showing the dropdown */
.asc-atc-dropdown[hidden] { display: none !important; }

.asc-atc-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1.5px solid #e8d9cc;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(42,31,22,.16), 0 2px 8px rgba(42,31,22,.08);
  z-index: 9999;
  min-width: 210px;
  overflow: hidden;
  animation: ascAtcIn .14s ease both;
}
@keyframes ascAtcIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.asc-atc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: .84rem;
  font-family: inherit;
  color: #2a1f16;
  cursor: pointer;
  text-decoration: none;
  transition: background .12s;
  white-space: nowrap;
}
.asc-atc-option:hover { background: #faf6f2; }
.asc-atc-option + .asc-atc-option { border-top: 1px solid #f2ebe4; }

/* ── Modal footer layout ─────────────────────────────────── */

.ascu-modal-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* In the modal footer the dropdown opens downward (more space below) */
.ascu-modal-foot .asc-atc-wrap { position: relative; }

.ascu-modal-foot .asc-atc-dropdown {
  bottom: auto;
  top: calc(100% + 6px);
}
