/* ==========================================================================
   Category 6: Editorial & Luxury
   Styles 48–54: Editorial / Magazine, Kinetic Typography, Newspaper / Broadsheet,
   Luxury / High-Fashion, Typography-First, Literary / Book UI, Archival / Catalog Style.
   Offline-first, scoped component CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   48. Editorial / Magazine
   -------------------------------------------------------------------------- */
.style-card[data-style="editorial-magazine"] {
  --ed-bg: #ffffff;
  --ed-text: #1a1a1a;
  --ed-accent: #b91c1c;
  --ed-border: #e5e5e5;
}

.style-card[data-style="editorial-magazine"] .card-preview {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: var(--font-serif-editorial);
  color: #1a1a1a;
}

.style-card[data-style="editorial-magazine"] .preview-headline {
  color: #111111;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.style-card[data-style="editorial-magazine"] .preview-body {
  color: #555555;
  font-family: var(--font-sans-humanist);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.style-card[data-style="editorial-magazine"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="editorial-magazine"] .btn-primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 6px 16px;
  font-family: var(--font-sans-modern);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.style-card[data-style="editorial-magazine"] .btn-primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.style-card[data-style="editorial-magazine"] .btn-primary:active {
  background: #7f1d1d;
}

.style-card[data-style="editorial-magazine"] .btn-secondary {
  background: transparent;
  color: #111111;
  border: 1px solid #cccccc;
  border-radius: 0;
  padding: 6px 14px;
  font-family: var(--font-sans-modern);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.style-card[data-style="editorial-magazine"] .btn-secondary:hover {
  border-color: #111111;
}

.style-card[data-style="editorial-magazine"] .btn-secondary:active {
  background: #f5f5f5;
}

.style-card[data-style="editorial-magazine"] .preview-addon {
  display: inline-block;
  color: #b91c1c;
  font-family: var(--font-sans-modern);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   49. Kinetic Typography
   -------------------------------------------------------------------------- */
.style-card[data-style="kinetic-typography"] {
  --kt-bg: #0a0a0f;
  --kt-pink: #ff3366;
  --kt-white: #ffffff;
}

.style-card[data-style="kinetic-typography"] .card-preview {
  background: #0a0a0f;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 16px;
  box-shadow: 4px 4px 0 #ff3366;
  font-family: var(--font-display-grotesk);
  color: #ffffff;
}

.style-card[data-style="kinetic-typography"] .preview-headline {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.style-card[data-style="kinetic-typography"]:hover .preview-headline {
  transform: skewX(-4deg) scale(1.02);
  color: #ff3366;
}

.style-card[data-style="kinetic-typography"] .preview-body {
  color: #a3a3a3;
  font-family: var(--font-sans-modern);
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.style-card[data-style="kinetic-typography"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="kinetic-typography"] .btn-primary {
  background: #ff3366;
  color: #ffffff;
  border: 2px solid #ff3366;
  border-radius: 0;
  padding: 6px 18px;
  font-family: var(--font-display-grotesk);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.style-card[data-style="kinetic-typography"] .btn-primary:hover {
  background: #ffffff;
  color: #0a0a0f;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.style-card[data-style="kinetic-typography"] .btn-primary:active {
  transform: translateY(0);
}

.style-card[data-style="kinetic-typography"] .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 6px 14px;
  font-family: var(--font-display-grotesk);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="kinetic-typography"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.style-card[data-style="kinetic-typography"] .btn-secondary:active {
  background: rgba(255, 255, 255, 0.3);
}

.style-card[data-style="kinetic-typography"] .preview-addon {
  display: inline-block;
  background: #ffffff;
  color: #0a0a0f;
  font-family: var(--font-display-grotesk);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
}

/* --------------------------------------------------------------------------
   50. Newspaper / Broadsheet
   -------------------------------------------------------------------------- */
.style-card[data-style="newspaper-broadsheet"] {
  --np-bg: #f9f8f5;
  --np-ink: #111111;
  --np-rule: #d1cfc7;
}

.style-card[data-style="newspaper-broadsheet"] .card-preview {
  background: #f9f8f5;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 16px;
  box-shadow: inset 0 0 0 2px #f9f8f5, inset 0 0 0 3px #111111;
  font-family: var(--font-serif-news);
  color: #111111;
}

.style-card[data-style="newspaper-broadsheet"] .preview-headline {
  color: #111111;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  border-bottom: 2px solid #111111;
  padding-bottom: 6px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.style-card[data-style="newspaper-broadsheet"] .preview-body {
  color: #222222;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.style-card[data-style="newspaper-broadsheet"] .preview-body::first-letter {
  float: left;
  font-size: 2.2rem;
  line-height: 0.85;
  padding-right: 6px;
  font-weight: 900;
  color: #111111;
}

.style-card[data-style="newspaper-broadsheet"] .preview-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid #d1cfc7;
  padding-top: 8px;
  margin-bottom: 10px;
}

.style-card[data-style="newspaper-broadsheet"] .btn-primary {
  background: #111111;
  color: #f9f8f5;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 5px 14px;
  font-family: var(--font-serif-news);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="newspaper-broadsheet"] .btn-primary:hover {
  background: #333333;
}

.style-card[data-style="newspaper-broadsheet"] .btn-primary:active {
  background: #000000;
}

.style-card[data-style="newspaper-broadsheet"] .btn-secondary {
  background: transparent;
  color: #111111;
  border: 1px solid #111111;
  border-radius: 0;
  padding: 5px 12px;
  font-family: var(--font-serif-news);
  font-size: 0.78rem;
  cursor: pointer;
}

.style-card[data-style="newspaper-broadsheet"] .btn-secondary:hover {
  background: #eae7df;
}

.style-card[data-style="newspaper-broadsheet"] .btn-secondary:active {
  background: #d8d4c8;
}

.style-card[data-style="newspaper-broadsheet"] .preview-addon {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  border-top: 1px solid #111111;
  padding-top: 3px;
}

/* --------------------------------------------------------------------------
   51. Luxury / High-Fashion
   -------------------------------------------------------------------------- */
.style-card[data-style="luxury-high-fashion"] {
  --lux-black: #0c0c0e;
  --lux-gold: #c5a880;
  --lux-ivory: #fcfbf9;
}

.style-card[data-style="luxury-high-fashion"] .card-preview {
  background: #0c0c0e;
  border: 1px solid #2a2824;
  border-radius: 0;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  font-family: var(--font-serif-editorial);
  color: #fcfbf9;
  text-align: center;
}

.style-card[data-style="luxury-high-fashion"] .preview-headline {
  color: #fcfbf9;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.style-card[data-style="luxury-high-fashion"] .preview-body {
  color: #9c978f;
  font-family: var(--font-sans-humanist);
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.style-card[data-style="luxury-high-fashion"] .preview-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.style-card[data-style="luxury-high-fashion"] .btn-primary {
  background: transparent;
  color: #c5a880;
  border: 1px solid #c5a880;
  border-radius: 0;
  padding: 6px 18px;
  font-family: var(--font-sans-humanist);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.style-card[data-style="luxury-high-fashion"] .btn-primary:hover {
  background: #c5a880;
  color: #0c0c0e;
}

.style-card[data-style="luxury-high-fashion"] .btn-primary:active {
  background: #9b7e57;
}

.style-card[data-style="luxury-high-fashion"] .btn-secondary {
  background: transparent;
  color: #8c8780;
  border: 1px solid #3d3a35;
  border-radius: 0;
  padding: 6px 14px;
  font-family: var(--font-sans-humanist);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.style-card[data-style="luxury-high-fashion"] .btn-secondary:hover {
  border-color: #fcfbf9;
  color: #fcfbf9;
}

.style-card[data-style="luxury-high-fashion"] .btn-secondary:active {
  background: rgba(255, 255, 255, 0.05);
}

.style-card[data-style="luxury-high-fashion"] .preview-addon {
  display: block;
  color: #c5a880;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   52. Typography-First
   -------------------------------------------------------------------------- */
.style-card[data-style="typography-first"] {
  --tf-bg: #f8fafc;
  --tf-text: #0f172a;
  --tf-muted: #64748b;
}

.style-card[data-style="typography-first"] .card-preview {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  padding: 18px;
  font-family: var(--font-sans-modern);
  color: #0f172a;
}

.style-card[data-style="typography-first"] .preview-headline {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.style-card[data-style="typography-first"] .preview-body {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.style-card[data-style="typography-first"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="typography-first"] .btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 2px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="typography-first"] .btn-primary:hover {
  background: #334155;
  border-color: #334155;
}

.style-card[data-style="typography-first"] .btn-primary:active {
  background: #020617;
}

.style-card[data-style="typography-first"] .btn-secondary {
  background: transparent;
  color: #0f172a;
  border: 1px solid #94a3b8;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.style-card[data-style="typography-first"] .btn-secondary:hover {
  border-color: #0f172a;
}

.style-card[data-style="typography-first"] .btn-secondary:active {
  background: #e2e8f0;
}

.style-card[data-style="typography-first"] .preview-addon {
  display: inline-block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   53. Literary / Book UI
   -------------------------------------------------------------------------- */
.style-card[data-style="literary-book"] {
  --lb-paper: #f7f3e9;
  --lb-ink: #2b2b2b;
  --lb-ribbon: #8b263e;
}

.style-card[data-style="literary-book"] .card-preview {
  background: #f7f3e9;
  border: 1px solid #ded6c5;
  border-radius: 2px;
  padding: 18px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.06);
  font-family: var(--font-serif-literary);
  color: #2b2b2b;
  position: relative;
}

.style-card[data-style="literary-book"] .preview-headline {
  color: #1f1f1f;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.style-card[data-style="literary-book"] .preview-body {
  color: #444444;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 14px;
  text-align: justify;
}

.style-card[data-style="literary-book"] .preview-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.style-card[data-style="literary-book"] .btn-primary {
  background: #8b263e;
  color: #ffffff;
  border: 1px solid #8b263e;
  border-radius: 2px;
  padding: 5px 14px;
  font-family: var(--font-serif-literary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="literary-book"] .btn-primary:hover {
  background: #6e1d30;
}

.style-card[data-style="literary-book"] .btn-primary:active {
  background: #4f1422;
}

.style-card[data-style="literary-book"] .btn-secondary {
  background: transparent;
  color: #444444;
  border: 1px solid #c2b8a3;
  border-radius: 2px;
  padding: 5px 12px;
  font-family: var(--font-serif-literary);
  font-size: 0.78rem;
  cursor: pointer;
}

.style-card[data-style="literary-book"] .btn-secondary:hover {
  background: #ede6d6;
  color: #1f1f1f;
}

.style-card[data-style="literary-book"] .btn-secondary:active {
  background: #dfd7c2;
}

.style-card[data-style="literary-book"] .preview-addon {
  display: inline-block;
  color: #8b263e;
  font-size: 0.72rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   54. Archival / Catalog Style
   -------------------------------------------------------------------------- */
.style-card[data-style="archival-catalog"] {
  --ac-card: #ecebe4;
  --ac-ink: #1c1b18;
  --ac-stamp: #1e3a8a;
}

.style-card[data-style="archival-catalog"] .card-preview {
  background: #ecebe4;
  border: 1px solid #b8b7ae;
  border-radius: 0;
  padding: 16px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
  font-family: var(--font-mono-code);
  color: #1c1b18;
}

.style-card[data-style="archival-catalog"] .preview-headline {
  color: #1c1b18;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  border-bottom: 1px dashed #b8b7ae;
  padding-bottom: 4px;
}

.style-card[data-style="archival-catalog"] .preview-body {
  color: #3d3b35;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.style-card[data-style="archival-catalog"] .preview-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.style-card[data-style="archival-catalog"] .btn-primary {
  background: #1c1b18;
  color: #ecebe4;
  border: 1px solid #1c1b18;
  border-radius: 0;
  padding: 5px 14px;
  font-family: var(--font-mono-code);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.style-card[data-style="archival-catalog"] .btn-primary:hover {
  background: #383630;
}

.style-card[data-style="archival-catalog"] .btn-primary:active {
  background: #000000;
}

.style-card[data-style="archival-catalog"] .btn-secondary {
  background: transparent;
  color: #1c1b18;
  border: 1px solid #8c8b82;
  border-radius: 0;
  padding: 5px 12px;
  font-family: var(--font-mono-code);
  font-size: 0.75rem;
  cursor: pointer;
}

.style-card[data-style="archival-catalog"] .btn-secondary:hover {
  background: #dedcd3;
}

.style-card[data-style="archival-catalog"] .btn-secondary:active {
  background: #cecbbd;
}

.style-card[data-style="archival-catalog"] .preview-addon {
  display: inline-block;
  border: 1px solid #1e3a8a;
  color: #1e3a8a;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
