/* ===========================================
   MEMORY COMPOSER — Modal + Layout Templates
   =========================================== */

/* ── Overlay ── */
#mc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* ── Modal Shell ── */
#mc-modal {
  background: #1c1c1e;
  border-radius: 20px;
  width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* ── Header ── */
.mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.mc-header h2 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: 'SFPROTEXT', sans-serif;
}
.mc-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s;
  font-family: sans-serif;
}
.mc-close-btn:hover { background: rgba(255, 255, 255, 0.18); }

/* ── Body ── */
.mc-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* ── Sidebar ── */
.mc-sidebar {
  width: 170px;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mc-sidebar-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding: 8px 8px 4px;
  font-family: 'SFPROTEXT', sans-serif;
}
.mc-layout-thumb {
  border-radius: 10px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 8px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-layout-thumb:hover { background: rgba(255, 255, 255, 0.09); }
.mc-layout-thumb.active {
  border-color: #ea794c;
  background: rgba(234, 121, 76, 0.12);
}
.mc-thumb-icon {
  width: 38px;
  height: 28px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.mc-thumb-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-family: 'SFPROTEXT', sans-serif;
}

/* ── Theme Picker ── */
.mc-theme-pills {
  display: flex;
  gap: 8px;
  padding: 4px 8px 8px;
  flex-wrap: wrap;
}
.mc-theme-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}
.mc-theme-pill:hover { transform: scale(1.1); }
.mc-theme-pill.active { border-color: #ea794c; }
.mc-theme-pill[data-theme="light"] { background: #f5efe8; border: 2px solid rgba(255,255,255,0.2); }
.mc-theme-pill[data-theme="dark"]  { background: #1a1a1a; border: 2px solid rgba(255,255,255,0.2); }
.mc-theme-pill[data-theme="brand"] { background: linear-gradient(135deg, #ea794c, #f37442); }
.mc-theme-pill[data-theme="light"].active { border-color: #ea794c; }
.mc-theme-pill[data-theme="dark"].active  { border-color: #ea794c; }

/* ── Preview Wrapper ── */
.mc-preview-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #111;
  overflow: hidden;
  gap: 12px;
  position: relative;
}
.mc-preview-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'SFPROTEXT', sans-serif;
  flex-shrink: 0;
}

/* The actual layout preview container */
#mc-preview-area {
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  overflow: hidden;
}

/* ── Footer ── */
.mc-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.mc-status-text {
  margin-right: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'SFPROTEXT', sans-serif;
}
.mc-btn {
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  font-family: 'SFPROTEXT', sans-serif;
  white-space: nowrap;
}
.mc-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.mc-btn-secondary:hover { background: rgba(255, 255, 255, 0.18); }
.mc-btn-primary {
  background: #ea794c;
  color: #fff;
}
.mc-btn-primary:hover { background: #f37442; }
.mc-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mc-btn-success { background: #34c759 !important; }

/* ── Loading state ── */
.mc-loading {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: 'SFPROTEXT', sans-serif;
}
.mc-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ea794c;
  border-radius: 50%;
  animation: mc-spin 0.75s linear infinite;
}
@keyframes mc-spin { to { transform: rotate(360deg); } }

/* ── Mobile adjustments for the modal UI itself ── */
@media (max-width: 640px) {
  #mc-modal { border-radius: 14px; }
  .mc-sidebar { width: 130px; }
  .mc-thumb-label { font-size: 11px; }
  .mc-footer { padding: 12px 16px; gap: 8px; }
  .mc-btn { padding: 8px 14px; font-size: 12px; }
}


/* ===========================================
   LAYOUT: CHRONICLE (Newspaper)
   =========================================== */

.ml-chronicle {
  width: 800px;
  height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
  box-sizing: border-box;
}
.ml-chronicle.theme-light { background: #fdf8f3; color: #1a1a1a; }
.ml-chronicle.theme-dark  { background: #121212; color: #e8e0d8; }
.ml-chronicle.theme-brand { background: #fef6f0; color: #1a1a1a; }

.chr-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.chr-cover-placeholder {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.ml-chronicle.theme-light .chr-cover-placeholder { background: #f0e8de; }
.ml-chronicle.theme-dark  .chr-cover-placeholder { background: #222; }
.ml-chronicle.theme-brand .chr-cover-placeholder { background: #fde8dc; }

.chr-byline {
  padding: 6px 22px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.ml-chronicle.theme-light .chr-byline { border-bottom: 1.5px solid #c8c0b4; color: #6b5d52; }
.ml-chronicle.theme-dark  .chr-byline { border-bottom: 1.5px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.4); }
.ml-chronicle.theme-brand .chr-byline { border-bottom: 1.5px solid #e8c4b0; color: #a0614a; }

.chr-title {
  padding: 12px 22px 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
  flex-shrink: 0;
}

.chr-body {
  display: flex;
  flex: 1;
  padding: 8px 22px 10px;
  gap: 16px;
  overflow: hidden;
  min-height: 0;
}
.chr-body-photo {
  width: 140px;
  height: 112px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.chr-text {
  font-size: 12.5px;
  line-height: 1.65;
  overflow: hidden;
  flex: 1;
}
.chr-text p { margin: 0 0 5px; }

.chr-footer {
  padding: 7px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  flex-shrink: 0;
}
.ml-chronicle.theme-light .chr-footer { border-top: 1px solid #c8c0b4; color: #6b5d52; }
.ml-chronicle.theme-dark  .chr-footer { border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.35); }
.ml-chronicle.theme-brand .chr-footer { border-top: 1px solid #e8c4b0; color: #a0614a; }

.chr-marks { display: flex; gap: 10px; }
.chr-brand { font-weight: bold; letter-spacing: 0.04em; }
.ml-chronicle.theme-brand .chr-brand { color: #ea794c; }


/* ===========================================
   LAYOUT: GALLERY (Mosaic)
   =========================================== */

.ml-gallery {
  width: 600px;
  height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.ml-gallery.theme-light { background: #fff; }
.ml-gallery.theme-dark  { background: #0d0d0d; }
.ml-gallery.theme-brand { background: #1a0804; }

.gal-grid {
  flex: 1;
  display: grid;
  gap: 2px;
  overflow: hidden;
  min-height: 0;
}
.gal-grid.gal-1 { grid-template-columns: 1fr; }
.gal-grid.gal-2 { grid-template-columns: 1fr 1fr; }
.gal-grid.gal-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gal-grid.gal-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.gal-cell {
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.04);
}
.gal-cell.gal-main { grid-row: 1 / -1; }
.gal-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.gal-footer {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.ml-gallery.theme-light .gal-footer { color: #1a1a1a; }
.ml-gallery.theme-dark  .gal-footer { color: #e8e8e8; }
.ml-gallery.theme-brand .gal-footer { color: #f5ddd0; }

.gal-info { display: flex; flex-direction: column; gap: 2px; }
.gal-title {
  font-size: 13px;
  font-weight: 600;
  font-family: 'SFPROTEXT', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}
.gal-meta { font-size: 10.5px; opacity: 0.5; font-family: 'SFPROTEXT', sans-serif; }
.gal-brand { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; opacity: 0.5; font-family: 'SFPROTEXT', sans-serif; }
.ml-gallery.theme-brand .gal-brand { color: #ea794c; opacity: 1; }


/* ===========================================
   LAYOUT: POSTCARD
   =========================================== */

.ml-postcard {
  width: 900px;
  height: 600px;
  display: flex;
  overflow: hidden;
  box-sizing: border-box;
}
.ml-postcard.theme-light { background: #fffef9; }
.ml-postcard.theme-dark  { background: #111; }
.ml-postcard.theme-brand { background: #fff5ef; }

.pc-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.pc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, #ea794c40, #f3744220);
}

.pc-right {
  width: 310px;
  flex-shrink: 0;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  font-family: 'Georgia', serif;
}
.ml-postcard.theme-light .pc-right { border-left: 1px solid #ddd; background: #fffef9; color: #2a1f18; }
.ml-postcard.theme-dark  .pc-right { border-left: 1px solid rgba(255,255,255,0.08); background: #111; color: #e8e0d8; }
.ml-postcard.theme-brand .pc-right { border-left: 1px solid #f0d0c0; background: #fff5ef; color: #3a1f12; }

.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pc-postmark {
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.4;
  line-height: 1.5;
  font-family: 'SFPROTEXT', sans-serif;
}
.pc-stamp {
  width: 52px;
  height: 64px;
  border: 2px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 2px;
  padding: 4px;
  flex-shrink: 0;
  font-family: 'SFPROTEXT', sans-serif;
}
.ml-postcard.theme-light .pc-stamp { border-color: #c0b0a0; color: #7a6050; }
.ml-postcard.theme-dark  .pc-stamp { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.45); }
.ml-postcard.theme-brand .pc-stamp { border-color: #ea794c; color: #ea794c; }

.pc-stamp-icon { font-size: 20px; line-height: 1; }
.pc-stamp-year { font-weight: bold; font-size: 9px; }

.pc-divider { height: 1px; margin: 14px 0; flex-shrink: 0; }
.ml-postcard.theme-light .pc-divider { background: #ddd; }
.ml-postcard.theme-dark  .pc-divider { background: rgba(255,255,255,0.1); }
.ml-postcard.theme-brand .pc-divider { background: #f0c8b0; }

.pc-greeting {
  font-size: 10.5px;
  font-style: italic;
  opacity: 0.45;
  margin-bottom: 3px;
}
.pc-location {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 8px;
}
.pc-title {
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.7;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.pc-bottom { margin-top: auto; padding-top: 10px; }
.pc-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pc-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.pc-avatar-placeholder {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ea794c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  font-family: 'SFPROTEXT', sans-serif;
  flex-shrink: 0;
}
.pc-username { font-size: 11.5px; font-weight: 600; font-family: 'SFPROTEXT', sans-serif; }
.pc-brand {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'SFPROTEXT', sans-serif;
}
.ml-postcard.theme-brand .pc-brand { color: #ea794c; }
.ml-postcard.theme-light .pc-brand { opacity: 0.35; }
.ml-postcard.theme-dark  .pc-brand { opacity: 0.35; }


/* ===========================================
   LAYOUT: FILM STRIP
   =========================================== */

.ml-filmstrip {
  width: 900px;
  height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.ml-filmstrip.theme-light { background: #1a1209; }
.ml-filmstrip.theme-dark  { background: #080808; }
.ml-filmstrip.theme-brand { background: #1a0800; }

.fs-sprocket {
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.ml-filmstrip.theme-light .fs-sprocket { background: #110d04; }
.ml-filmstrip.theme-dark  .fs-sprocket { background: #040404; }
.ml-filmstrip.theme-brand .fs-sprocket { background: rgba(0, 0, 0, 0.6); }

.fs-hole {
  width: 17px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ml-filmstrip.theme-light .fs-hole { background: #3a2a10; }
.ml-filmstrip.theme-dark  .fs-hole { background: #1a1a1a; }
.ml-filmstrip.theme-brand .fs-hole { background: rgba(234, 121, 76, 0.2); }

.fs-frames {
  flex: 1;
  display: flex;
  gap: 2px;
  overflow: hidden;
  min-height: 0;
}
.fs-frame {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-left: 2px solid;
  border-right: 2px solid;
}
.ml-filmstrip.theme-light .fs-frame { border-color: #110d04; }
.ml-filmstrip.theme-dark  .fs-frame { border-color: #040404; }
.ml-filmstrip.theme-brand .fs-frame { border-color: rgba(0,0,0,0.4); }

.fs-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fs-frame-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.ml-filmstrip.theme-light .fs-frame-placeholder { background: #2a1e08; }
.ml-filmstrip.theme-dark  .fs-frame-placeholder { background: #111; }
.ml-filmstrip.theme-brand .fs-frame-placeholder { background: rgba(234, 121, 76, 0.08); }

.fs-footer {
  padding: 5px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.ml-filmstrip.theme-light .fs-footer { background: #110d04; }
.ml-filmstrip.theme-dark  .fs-footer { background: #040404; }
.ml-filmstrip.theme-brand .fs-footer { background: rgba(0, 0, 0, 0.6); }

.fs-title {
  font-family: 'Courier New', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8b090;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.ml-filmstrip.theme-brand .fs-title { color: #ea794c; }

.fs-meta {
  font-family: 'Courier New', monospace;
  font-size: 9.5px;
  color: rgba(200, 176, 144, 0.5);
  white-space: nowrap;
}
.ml-filmstrip.theme-brand .fs-meta { color: rgba(234, 121, 76, 0.45); }


/* ===========================================
   LAYOUT: STORY CARD (9:16)
   =========================================== */

.ml-story {
  width: 420px;
  height: 746px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.ml-story.theme-light { background: #e8e0d8; }
.ml-story.theme-dark  { background: #0a0a0a; }
.ml-story.theme-brand { background: #1a0700; }

.story-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  display: block;
}
.ml-story.theme-light .story-bg { filter: blur(22px) brightness(0.85) saturate(0.4); }
.ml-story.theme-dark  .story-bg { filter: blur(22px) brightness(0.3); }
.ml-story.theme-brand .story-bg { filter: blur(22px) brightness(0.25) saturate(1.4); }
/* Pre-blurred bg (server-side Pillow) — skip CSS filter so it isn't double-blurred */
.story-bg-preblurred { filter: none !important; }

.story-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px 22px;
  gap: 16px;
}
.story-photo {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  display: block;
  flex-shrink: 0;
}
.story-photo-placeholder {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}
.ml-story.theme-light .story-photo-placeholder { background: rgba(255,255,255,0.3); }
.ml-story.theme-dark  .story-photo-placeholder { background: rgba(255,255,255,0.07); }
.ml-story.theme-brand .story-photo-placeholder { background: rgba(234,121,76,0.12); }

.story-card-inner {
  border-radius: 16px;
  padding: 16px 18px;
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ml-story.theme-light .story-card-inner {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.ml-story.theme-dark .story-card-inner {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.ml-story.theme-brand .story-card-inner {
  background: rgba(234, 121, 76, 0.14);
  border: 1px solid rgba(234, 121, 76, 0.28);
}

.story-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  font-family: 'SFPROTEXT', sans-serif;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ml-story.theme-light .story-title { color: #1a1a1a; }
.ml-story.theme-dark  .story-title,
.ml-story.theme-brand .story-title { color: #fff; }

.story-author-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.story-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.story-avatar-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ea794c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  font-family: 'SFPROTEXT', sans-serif;
  flex-shrink: 0;
}
.story-username {
  font-size: 12px;
  font-weight: 600;
  font-family: 'SFPROTEXT', sans-serif;
}
.ml-story.theme-light .story-username { color: #333; }
.ml-story.theme-dark  .story-username,
.ml-story.theme-brand .story-username { color: rgba(255, 255, 255, 0.85); }

.story-date-loc {
  font-size: 11px;
  font-family: 'SFPROTEXT', sans-serif;
}
.ml-story.theme-light .story-date-loc { color: rgba(0, 0, 0, 0.45); }
.ml-story.theme-dark  .story-date-loc,
.ml-story.theme-brand .story-date-loc { color: rgba(255, 255, 255, 0.42); }

.story-footer-brand {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: 'SFPROTEXT', sans-serif;
}
.ml-story.theme-light .story-footer-brand { color: rgba(0, 0, 0, 0.22); }
.ml-story.theme-dark  .story-footer-brand { color: rgba(255, 255, 255, 0.22); }
.ml-story.theme-brand .story-footer-brand { color: rgba(234, 121, 76, 0.55); }
