@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d1b3f;
  --teal: #11b6ad;
  --teal-dark: #079b95;
  --bg: #f4f9fb;
  --text: #10213f;
  --sub: #64748b;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --danger: #e5484d;
  --shadow: 0 14px 36px rgba(13, 27, 63, .08);
}

body {
  min-height: 100vh;
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* =============================================
   BASE LAYOUT
   ============================================= */

.live-admin-main {
  padding: 0 32px 56px;
  background:
    radial-gradient(circle at top right, rgba(17, 182, 173, .12), transparent 420px),
    linear-gradient(180deg, #f8fcfd, #f4f9fb);
}

.content {
  padding: 0 0 52px;
}

#lectureListView,
#lectureDetailView,
#toolDetailView {
  display: none;
}

/* =============================================
   TOP BAR
   ============================================= */

.instructor-topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, .75);
  margin-bottom: 22px;
}

.instructor-topbar h1 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -.045em;
}

.instructor-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tk-btn {
  height: 42px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
}

.tk-btn-soft {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(13, 27, 63, .06);
}

.tk-btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(17, 182, 173, .18);
}

/* =============================================
   COMMON BUTTONS
   ============================================= */

.btn-create {
  border: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(17, 182, 173, .2);
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 14px;
}

.btn-sm {
  border: none;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 900;
}

.btn-sm.light,
.modal-cancel,
.detail-close {
  background: #f1f5f9;
  color: #475569;
  border: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 14px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(13, 27, 63, .06);
}

/* =============================================
   LECTURE LIST
   ============================================= */

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.view-header h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.lecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.lecture-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: .2s;
  box-shadow: var(--shadow);
}

.lecture-card:hover {
  border-color: #b8ede7;
  box-shadow: 0 18px 44px rgba(17, 182, 173, .15);
  transform: translateY(-3px);
}

.lecture-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lc-status {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.lc-status.waiting {
  background: #fff8e6;
  color: #d97706;
}

.lc-status.active {
  background: #ecfdf5;
  color: #059669;
}

.lc-status.ended {
  background: #f1f5f9;
  color: #64748b;
}

.lecture-card h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
}

.lecture-card-meta {
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tool-chip {
  background: #eefbf9;
  color: var(--teal-dark);
  border: 1px solid #c8f0e9;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 900;
}

.lecture-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lecture-empty {
  background: #fff;
  border-radius: 22px;
  padding: 64px;
  text-align: center;
  border: 1.5px dashed var(--line);
  grid-column: 1 / -1;
}

.lecture-empty p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  margin: 14px 0 20px;
}

/* =============================================
   LECTURE HERO
   ============================================= */

.lecture-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #10213f, #0f766e);
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 22px;
  box-shadow: 0 22px 56px rgba(13, 27, 63, .16);
}

.lecture-hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%);
  pointer-events: none;
}

.lecture-hero-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.local-live-kicker {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  margin-bottom: 10px;
}

.lecture-hero h1 {
  color: #fff;
  font-size: 29px;
  font-weight: 950;
  margin-bottom: 12px;
  letter-spacing: -.04em;
}

.lecture-hero-meta {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hero-btn {
  border: none;
  border-radius: 15px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}

.hero-btn.ghost {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .26);
}

.hero-btn.danger {
  background: #fff1f2;
  color: var(--danger);
  border: 1px solid #ffd7d7;
}

/* =============================================
   TOOLS SECTION
   ============================================= */

.tools-section h2,
.section-head h2 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 950;
  margin-bottom: 0;
}

.tools-section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 16px;
}

.section-kicker {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  margin-bottom: 4px;
}

.section-desc {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.btn-tool-add,
.tool-add-btn {
  border: none;
  background: #14b8a6;
  color: #fff;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 10px 22px rgba(20, 184, 166, .18);
  flex-shrink: 0;
}

.btn-tool-add:hover,
.tool-add-btn:hover {
  transform: translateY(-2px);
  background: #0f9f92;
}

/* =============================================
   ROOM TOOL CARD - FINAL
   기존 강의 도구 카드 느낌 기반
   ============================================= */

.room-tool-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
  gap: 22px;
  align-items: stretch;
  justify-content: flex-start;
}

.room-tool-card {
  --tool-accent: #64748b;
  --tool-accent-rgb: 100, 116, 139;
  --tool-bg1: #ffffff;
  --tool-bg2: #f8fafc;
  --tool-line: #e2e8f0;

  position: relative;
  min-height: 360px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--tool-line);
  background:
    radial-gradient(circle at 82% 10%, rgba(var(--tool-accent-rgb), .08), transparent 34%),
    linear-gradient(145deg, var(--tool-bg1) 0%, var(--tool-bg2) 100%);
  box-shadow: 0 24px 56px rgba(15, 23, 42, .065);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.room-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(15, 23, 42, .11);
  border-color: rgba(var(--tool-accent-rgb), .22);
}

/* category colors */
.room-tool-card--icebreaking {
  --tool-accent: #8b5cf6;
  --tool-accent-rgb: 139, 92, 246;
  --tool-bg1: #fbf9ff;
  --tool-bg2: #f7f2ff;
  --tool-line: #eadfff;
}

.room-tool-card--diagnosis {
  --tool-accent: #ef5d7a;
  --tool-accent-rgb: 239, 93, 122;
  --tool-bg1: #fffafd;
  --tool-bg2: #fff3f8;
  --tool-line: #f9e1eb;
}

.room-tool-card--selfcheck {
  --tool-accent: #10b981;
  --tool-accent-rgb: 16, 185, 129;
  --tool-bg1: #fbfffd;
  --tool-bg2: #f0fbf7;
  --tool-line: #dff5ec;
}

.room-tool-card--survey,
.room-tool-card--realtime {
  --tool-accent: #3b82f6;
  --tool-accent-rgb: 59, 130, 246;
  --tool-bg1: #fbfdff;
  --tool-bg2: #f2f7ff;
  --tool-line: #e2edff;
}

.room-tool-card--activity {
  --tool-accent: #f59e0b;
  --tool-accent-rgb: 245, 158, 11;
  --tool-bg1: #fffdf7;
  --tool-bg2: #fff8e8;
  --tool-line: #fcefc4;
}

.room-tool-card--general {
  --tool-accent: #64748b;
  --tool-accent-rgb: 100, 116, 139;
  --tool-bg1: #ffffff;
  --tool-bg2: #f8fafc;
  --tool-line: #e2e8f0;
}

/* top */
.room-tool-card-top {
  display: grid;
  grid-template-columns: 36px 1fr 32px;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tool-order-badge {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(var(--tool-accent-rgb), .72);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(var(--tool-accent-rgb), .14);
}

.room-tool-category {
  justify-self: end;
  min-width: 0;
  max-width: 120px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--tool-accent);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(var(--tool-accent-rgb), .055);
  backdrop-filter: blur(8px);
}

/* 삭제 버튼 정렬 */
.room-tool-delete-btn {
  justify-self: end;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: rgba(239, 68, 68, .74);
  font-size: 0;
  font-weight: 950;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(239, 68, 68, .055);
  transition: background .16s ease, color .16s ease, transform .16s ease, opacity .16s ease;
  opacity: .72;
}

.room-tool-delete-btn::before {
  content: '×';
  font-size: 18px;
  line-height: 1;
}

.room-tool-delete-btn:hover {
  background: #fff;
  color: #ef4444;
  transform: translateY(-1px);
  opacity: 1;
}

/* icon */
.room-tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(var(--tool-accent-rgb), .095));
  color: var(--tool-accent);
  font-size: 26px;
  box-shadow: 0 18px 34px rgba(var(--tool-accent-rgb), .065);
}

/* text */
.room-tool-card h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.35;
  margin-bottom: 22px;
}

.room-tool-card p {
  color: #66758a;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.75;
  min-height: 66px;
}

/* footer */
.room-tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}

.room-tool-card-footer span {
  color: #8491a5;
  font-size: 12px;
  font-weight: 950;
}

/* 열기 버튼 */
.room-tool-open-btn {
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #334155;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .055);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.room-tool-open-btn:hover {
  background: var(--tool-accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* =============================================
   TOOL ROW
   ============================================= */

.tool-row {
  background: #fff;
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: .16s;
  box-shadow: 0 12px 30px rgba(13, 27, 63, .055);
}

.tool-row:hover {
  border-color: #b8ede7;
  box-shadow: 0 16px 36px rgba(17, 182, 173, .13);
  transform: translateY(-2px);
}

.tool-row-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0faf8, #eef6ff);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.tool-row-info {
  flex: 1;
}

.tool-row-name {
  color: var(--navy);
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 4px;
}

.tool-row-desc {
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
}

.tool-row-count {
  text-align: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.tool-row-count-val {
  color: var(--navy);
  font-size: 26px;
  font-weight: 950;
  display: block;
}

.tool-row-count-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.tool-delete-btn {
  border: none;
  background: #fee2e2;
  color: #dc2626;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 16px;
}

/* =============================================
   STATS / ANSWERS
   ============================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.stat-card,
.answer-card,
.empty-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(13, 27, 63, .05);
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-card span {
  display: block;
  color: var(--sub);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}

.stat-card strong {
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.answer-card {
  padding: 18px;
  cursor: pointer;
  transition: .16s;
}

.answer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 27, 63, .09);
}

.answer-card.is-public {
  border-color: #a7f3d0;
}

.answer-card.is-private {
  border-color: #fcd34d;
}

.answer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.answer-card-head strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.answer-card-head span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.is-public .answer-card-head span {
  background: #ecfdf5;
  color: #059669;
}

.is-private .answer-card-head span {
  background: #fff8e6;
  color: #d97706;
}

.answer-q {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 3px;
}

.answer-v {
  color: #1a202c;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.btn-toggle {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 900;
}

.btn-hide {
  background: #fee2e2;
  color: #dc2626;
}

.btn-show {
  background: #ecfdf5;
  color: #059669;
}

.empty-card {
  padding: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  grid-column: 1 / -1;
}

/* =============================================
   MODAL
   ============================================= */

.modal,
.detail-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 63, .42);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.detail-modal {
  z-index: 9998;
}

.modal.open,
.detail-modal.open {
  display: flex;
}

.modal-box,
.detail-modal-box {
  background: #fff;
  border-radius: 28px;
  padding: 32px;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 90px rgba(13, 27, 63, .22);
}

.detail-modal-box {
  width: min(560px, 100%);
}

.modal-box h2 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 6px;
}

.modal-sub {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.modal-section-label {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  margin: 18px 0 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e6f7f4;
}

.modal-field {
  margin-bottom: 14px;
}

.modal-field label {
  display: block;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-field input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--navy);
  outline: none;
}

.modal-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(17, 182, 173, .1);
}

.modal-field input::placeholder {
  color: #cbd5e1;
}

.tool-checks {
  display: grid;
  gap: 10px;
}

.tool-check {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  cursor: pointer;
  transition: .15s;
}

.tool-check:hover {
  border-color: #b8ede7;
  background: #f0faf9;
}

.tool-check.selected {
  border-color: var(--teal);
  background: #eefbf9;
}

.tool-check input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.tool-check-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.tool-check-name {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.tool-check-desc {
  color: var(--sub);
  font-size: 11px;
  font-weight: 700;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions button {
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 900;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.detail-name {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.file-upload-box {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 17px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
  background: #fafafa;
}

.file-upload-box:hover,
.file-upload-box.has-file {
  border-color: var(--teal);
  background: #eefbf9;
}

.file-upload-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.file-upload-text {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}

.file-upload-name {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  margin-top: 4px;
}

.file-preview {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.file-preview-head {
  background: #f8fafc;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 900;
  color: #475569;
  display: flex;
  justify-content: space-between;
}

.file-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.file-preview th {
  background: #f1f5f9;
  padding: 7px 10px;
  font-weight: 900;
  color: #374151;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.file-preview td {
  padding: 7px 10px;
  color: #1a202c;
  border-bottom: 1px solid #f8fafc;
  font-weight: 600;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
  .live-admin-main {
    padding: 0 20px 56px;
  }

  .room-tool-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 860px) {
  .content {
    padding: 0 0 48px;
  }

  .instructor-topbar {
    height: auto;
    padding: 20px 0;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .lecture-hero-top,
  .tool-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .tools-section-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-tool-card-grid {
    grid-template-columns: 1fr;
  }
}