﻿/* ==========================================================================
   Single Post Layouts — single-layouts.css
   Covers: single-1 through single-10
   Uses CSS custom properties defined by the theme color engine.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared Utilities
   -------------------------------------------------------------------------- */

/* Full-width body override */
body.is-fullwidth-layout .main-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

/* Shared badge styles */
.cat-badge {
  display: inline-block;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  text-decoration: none;
  transition: opacity .2s;
}
.cat-badge:hover { opacity: .85; }

.cat-badge--sm {
  font-size: .65rem;
  padding: .2rem .6rem;
}
.cat-badge--light {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.cat-badge--accent {
  background: var(--color-accent, var(--color-primary));
  color: #fff;
}

/* Shared separator */
.sl1-sep, .sl2-sep, .sl3-sep, .sl4-sep, .sl5-sep,
.sl6-sep, .sl7-sep, .sl8-sep, .sl9-sep, .sl10-sep {
  margin: 0 .3rem;
  opacity: .5;
}

/* ==========================================================================
   SINGLE-1 — Cinematic Hero
   ========================================================================== */

.sl1-article {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Hero */
.sl1-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.sl1-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.sl1-hero__bg--fallback { background: var(--color-secondary); }
.sl1-hero:hover .sl1-hero__bg { transform: scale(1); }
.sl1-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.1) 100%);
}
.sl1-hero__body {
  position: relative;
  z-index: 1;
  padding: 3rem 4rem;
  color: #fff;
  max-width: 900px;
}
.sl1-hero__title {
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 900;
  margin: .6rem 0 .75rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}
.sl1-hero__meta {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .1rem;
}
.sl1-hero__author {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-decoration: none;
}
.sl1-hero__author:hover { text-decoration: underline; }

/* Floating share */
.sl1-share-float {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.sl1-share-float__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
  writing-mode: vertical-rl;
  margin-bottom: .25rem;
}
.sl1-share-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.sl1-share-float__btn:hover { transform: scale(1.12); }
.sl1-share-float__btn--tw:hover { background: #000; color: #fff; border-color: #000; }
.sl1-share-float__btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.sl1-share-float__btn--li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }

/* Content */
.sl1-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.sl1-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.sl1-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl1-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-muted);
}

/* Tags */
.sl1-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.sl1-tag {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  font-size: .8rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.sl1-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Author card */
.sl1-author-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.sl1-author-card__avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.sl1-author-card__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: .35rem;
}
.sl1-author-card__name:hover { color: var(--color-primary); }
.sl1-author-card__bio { font-size: .875rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* Related */
.sl1-related {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}
.sl1-related__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.sl1-related__heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.75rem;
  color: var(--color-text);
}
.sl1-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sl1-related__card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow .25s, transform .25s;
}
.sl1-related__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sl1-related__thumb { display: block; height: 180px; overflow: hidden; }
.sl1-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl1-related__card:hover .sl1-related__thumb img { transform: scale(1.05); }
.sl1-related__card-body { padding: 1rem 1.1rem 1.25rem; }
.sl1-related__card-title { font-size: .95rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.sl1-related__card-title a { color: var(--color-text); text-decoration: none; }
.sl1-related__card-title a:hover { color: var(--color-primary); }
.sl1-related__card-meta { font-size: .75rem; color: var(--color-muted); margin: 0; }

@media (max-width: 1024px) {
  .sl1-hero__body { padding: 2rem; }
  .sl1-share-float { display: none; }
}
@media (max-width: 768px) {
  .sl1-hero { height: 55vh; }
  .sl1-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sl1-hero { height: 45vh; min-height: 300px; }
  .sl1-hero__body { padding: 1.5rem; }
  .sl1-hero__title { font-size: 1.5rem; }
  .sl1-content-wrap { padding: 2rem 1rem; }
  .sl1-related__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SINGLE-2 — Magazine Two-Column
   ========================================================================== */

.sl2-article {
  background: var(--color-bg);
  color: var(--color-text);
}

.sl2-header {
  padding: 3rem 4rem 2rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.sl2-header__inner { max-width: 900px; }
.sl2-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin: .6rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.sl2-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .875rem;
  color: var(--color-muted);
}
.sl2-header__avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-right: .35rem;
}
.sl2-header__author { font-weight: 600; color: var(--color-text); text-decoration: none; }
.sl2-header__author:hover { color: var(--color-primary); }

.sl2-featured-img { width: 100%; overflow: hidden; }
.sl2-featured-img img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: cover; }
.sl2-featured-img__caption { text-align: center; font-size: .8rem; color: var(--color-muted); padding: .5rem 1rem; background: var(--color-surface); margin: 0; }

.sl2-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 4rem;
  align-items: start;
}

.sl2-content {
  padding-right: 3rem;
  border-right: 1px solid var(--color-border);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 760px;
}
.sl2-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl2-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-muted);
}

.sl2-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl2-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl2-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.sl2-share { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sl2-share__label { font-size: .8rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; }
.sl2-share__btn { display: inline-block; padding: .4rem 1rem; border-radius: 5px; border: 1px solid var(--color-border); font-size: .8rem; font-weight: 600; color: var(--color-text); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sl2-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

/* Sidebar */
.sl2-sidebar { padding-left: 2.5rem; }
.sl2-sidebar__heading { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--color-primary); }

.sl2-sidebar__author { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.sl2-sidebar__author-avatar { width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; display: block; margin-bottom: .75rem; }
.sl2-sidebar__author-name { display: block; font-weight: 700; color: var(--color-text); text-decoration: none; margin-bottom: .4rem; }
.sl2-sidebar__author-name:hover { color: var(--color-primary); }
.sl2-sidebar__author-bio { font-size: .82rem; color: var(--color-muted); margin: 0; line-height: 1.55; }

.sl2-sidebar__related { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.sl2-sidebar__related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.sl2-sidebar__related-item { display: flex; gap: .75rem; align-items: flex-start; }
.sl2-sidebar__related-thumb { flex-shrink: 0; width: 64px; height: 48px; overflow: hidden; border-radius: 5px; display: block; }
.sl2-sidebar__related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sl2-sidebar__related-title { display: block; font-size: .85rem; font-weight: 700; color: var(--color-text); text-decoration: none; line-height: 1.35; margin-bottom: .2rem; }
.sl2-sidebar__related-title:hover { color: var(--color-primary); }
.sl2-sidebar__related-date { font-size: .72rem; color: var(--color-muted); margin: 0; }

.sl2-sidebar__cats-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.sl2-sidebar__cats-list li a { display: flex; justify-content: space-between; font-size: .875rem; color: var(--color-text); text-decoration: none; padding: .4rem 0; border-bottom: 1px solid var(--color-border); transition: color .2s; }
.sl2-sidebar__cats-list li a:hover { color: var(--color-primary); }
.sl2-sidebar__cats-list li a span { color: var(--color-muted); font-size: .8rem; }

@media (max-width: 1024px) {
  .sl2-layout { grid-template-columns: 1fr; padding: 2rem; }
  .sl2-content { padding-right: 0; border-right: none; border-bottom: 1px solid var(--color-border); padding-bottom: 2rem; margin-bottom: 2rem; max-width: 100%; }
  .sl2-sidebar { padding-left: 0; }
  .sl2-header { padding: 2rem; }
}
@media (max-width: 768px) { .sl2-header { padding: 1.5rem; } }
@media (max-width: 480px) { .sl2-layout { padding: 1rem; } }


/* ==========================================================================
   SINGLE-3 — Dark Immersive
   ========================================================================== */

.sl3-article {
  background: var(--color-secondary);
  color: #fff;
  min-height: 100vh;
}

.sl3-header {
  padding: 3rem 4rem 2rem;
  background: var(--color-secondary);
}
.sl3-header__inner { max-width: 860px; margin: 0 auto; }
.sl3-header__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  margin: .6rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}
.sl3-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}
.sl3-header__avatar { width: 36px !important; height: 36px !important; border-radius: 50%; object-fit: cover; margin-right: .35rem; }
.sl3-header__author { font-weight: 600; color: rgba(255,255,255,.85); text-decoration: none; }
.sl3-header__author:hover { color: var(--color-primary); }

.sl3-featured {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 0;
  padding: 0 4rem;
}
.sl3-featured__glow {
  position: absolute;
  inset: -20px;
  background: var(--color-primary);
  opacity: .12;
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
}
.sl3-featured img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
}
.sl3-featured__caption { text-align: center; font-size: .8rem; color: rgba(255,255,255,.45); padding: .5rem 0; margin: 0; position: relative; z-index: 1; }

.sl3-content-wrap { max-width: 760px; margin: 0 auto; padding: 3rem 2rem; }
.sl3-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,.85);
}
.sl3-content h2, .sl3-content h3, .sl3-content h4 { color: #fff; }
.sl3-content a { color: var(--color-primary); }
.sl3-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl3-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: rgba(255,255,255,.65);
}

.sl3-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.sl3-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); font-size: .8rem; color: rgba(255,255,255,.65); text-decoration: none; transition: border-color .2s, color .2s; }
.sl3-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.sl3-share { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.sl3-share__label { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.sl3-share__btn { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); text-decoration: none; transition: background .2s, color .2s; }
.sl3-share__btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.sl3-author-card { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem; background: rgba(255,255,255,.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.sl3-author-card__avatar { width: 72px !important; height: 72px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.sl3-author-card__name { display: block; font-weight: 700; font-size: 1rem; color: #fff; text-decoration: none; margin-bottom: .35rem; }
.sl3-author-card__name:hover { color: var(--color-primary); }
.sl3-author-card__bio { font-size: .875rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6; }

.sl3-related { background: rgba(0,0,0,.3); border-top: 1px solid rgba(255,255,255,.08); padding: 3rem 0; }
.sl3-related__inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sl3-related__heading { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.75rem; color: #fff; }
.sl3-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sl3-related__card { background: rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); transition: box-shadow .25s, transform .25s; }
.sl3-related__card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.4); transform: translateY(-3px); }
.sl3-related__thumb { display: block; height: 180px; overflow: hidden; }
.sl3-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl3-related__card:hover .sl3-related__thumb img { transform: scale(1.05); }
.sl3-related__card-body { padding: 1rem 1.1rem 1.25rem; }
.sl3-related__card-title { font-size: .95rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.sl3-related__card-title a { color: #fff; text-decoration: none; }
.sl3-related__card-title a:hover { color: var(--color-primary); }
.sl3-related__card-meta { font-size: .75rem; color: rgba(255,255,255,.45); margin: 0; }

@media (max-width: 1024px) {
  .sl3-header { padding: 2rem; }
  .sl3-featured { padding: 0 2rem; }
}
@media (max-width: 768px) {
  .sl3-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl3-header { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .sl3-featured { padding: 0 1rem; }
  .sl3-content-wrap { padding: 2rem 1rem; }
  .sl3-related__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SINGLE-4 — Newspaper Broadsheet
   ========================================================================== */

.sl4-article {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Georgia, 'Times New Roman', serif;
}

.sl4-header {
  padding: 3rem 4rem 2rem;
  border-bottom: 3px double var(--color-border);
  background: var(--color-bg);
}
.sl4-header__inner { max-width: 900px; margin: 0 auto; }
.sl4-header__top { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.sl4-header__date { font-size: .8rem; color: var(--color-muted); font-family: var(--font-sans); }
.sl4-header__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  margin: 0 0 .75rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.sl4-header__byline {
  font-size: .9rem;
  color: var(--color-muted);
  font-family: var(--font-sans);
  margin: 0;
}
.sl4-header__byline a { color: var(--color-text); font-weight: 600; text-decoration: none; }
.sl4-header__byline a:hover { color: var(--color-primary); }

.sl4-featured { width: 100%; overflow: hidden; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.sl4-featured img { width: 100%; height: auto; display: block; max-height: 500px; object-fit: cover; }
.sl4-featured__caption { text-align: center; font-size: .8rem; color: var(--color-muted); padding: .5rem 1rem; background: var(--color-surface); margin: 0; font-family: var(--font-sans); font-style: italic; }

.sl4-content-wrap { max-width: 1100px; margin: 0 auto; padding: 2.5rem 4rem; }
.sl4-content {
  columns: 2;
  column-gap: 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}
.sl4-content h2, .sl4-content h3 { column-span: all; font-family: var(--font-sans); }
.sl4-content img { max-width: 100%; height: auto; column-span: all; margin: 1rem 0; }
.sl4-content blockquote {
  column-span: all;
  border-left: none;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1.25rem 0;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-text);
  text-align: center;
  line-height: 1.5;
}

.sl4-footer-bar { max-width: 1100px; margin: 0 auto; padding: 1.5rem 4rem; border-top: 1px solid var(--color-border); }
.sl4-footer-bar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.sl4-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.sl4-tag { display: inline-block; padding: .25rem .75rem; border-radius: 3px; border: 1px solid var(--color-border); font-size: .78rem; color: var(--color-muted); text-decoration: none; font-family: var(--font-sans); transition: border-color .2s, color .2s; }
.sl4-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }
.sl4-share { display: flex; gap: .5rem; }
.sl4-share__btn { display: inline-block; padding: .35rem .9rem; border-radius: 4px; background: var(--color-surface); border: 1px solid var(--color-border); font-size: .8rem; font-weight: 600; color: var(--color-text); text-decoration: none; font-family: var(--font-sans); transition: background .2s, color .2s; }
.sl4-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

.sl4-related { background: var(--color-surface); border-top: 3px double var(--color-border); padding: 3rem 0; }
.sl4-related__inner { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }
.sl4-related__heading { font-size: 1.1rem; font-weight: 800; margin: 0 0 1.5rem; color: var(--color-text); text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-sans); border-bottom: 2px solid var(--color-primary); padding-bottom: .5rem; display: inline-block; }
.sl4-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sl4-related__card { background: var(--color-bg); border: 1px solid var(--color-border); }
.sl4-related__thumb { display: block; height: 160px; overflow: hidden; }
.sl4-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl4-related__card:hover .sl4-related__thumb img { transform: scale(1.04); }
.sl4-related__card-body { padding: .85rem 1rem 1rem; }
.sl4-related__card-title { font-size: .95rem; font-weight: 700; margin: .35rem 0 .4rem; line-height: 1.4; }
.sl4-related__card-title a { color: var(--color-text); text-decoration: none; }
.sl4-related__card-title a:hover { color: var(--color-primary); }
.sl4-related__card-meta { font-size: .72rem; color: var(--color-muted); margin: 0; font-family: var(--font-sans); }

@media (max-width: 1024px) {
  .sl4-content { columns: 1; }
  .sl4-header, .sl4-content-wrap, .sl4-footer-bar, .sl4-related__inner { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 768px) {
  .sl4-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl4-header { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .sl4-header, .sl4-content-wrap, .sl4-footer-bar, .sl4-related__inner { padding-left: 1rem; padding-right: 1rem; }
  .sl4-related__grid { grid-template-columns: 1fr; }
  .sl4-footer-bar__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   SINGLE-5 — Minimal Clean
   ========================================================================== */

.sl5-article { background: var(--color-bg); color: var(--color-text); }

/* Header centered */
.sl5-header { padding: 3.5rem 2rem 2rem; text-align: center; background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.sl5-header__inner { max-width: 1200px; margin: 0 auto; }
.sl5-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  line-height: 1.15; color: var(--color-text); margin: .6rem 0 1.25rem; letter-spacing: -.02em;
}
.sl5-header__meta {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: .82rem; color: var(--color-muted); flex-wrap: wrap;
}
.sl5-header__author { font-weight: 700; color: var(--color-text); text-decoration: none; }
.sl5-header__author:hover { color: var(--color-primary); }

/* Featured image: full-width */
.sl5-featured { margin: 0; overflow: hidden; }
.sl5-featured img { width: 100%; height: auto; display: block; max-height: 560px; object-fit: cover; }
.sl5-featured__caption { text-align: center; font-size: .78rem; color: var(--color-muted); padding: .5rem 2rem; background: var(--color-surface); margin: 0; }

/* Content */
.sl5-content { max-width: 720px; margin: 0 auto; padding: 3rem 2rem; font-size: 1.1rem; line-height: 1.85; color: var(--color-text); }
.sl5-content img { max-width: 100%; height: auto; border-radius: 6px; }
.sl5-content blockquote { border-left: 3px solid var(--color-primary); margin: 2rem 0; padding: 1rem 1.5rem; background: var(--color-surface); font-style: italic; color: var(--color-muted); }

/* Tags */
.sl5-tags { max-width: 720px; margin: 0 auto; padding: 0 2rem 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.sl5-tag { display: inline-block; padding: .28rem .8rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .78rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl5-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Author */
.sl5-author { max-width: 720px; margin: 0 auto 3rem; padding: 1.5rem 2rem; display: flex; gap: 1.25rem; align-items: flex-start; background: var(--color-surface); border-radius: 8px; border: 1px solid var(--color-border); }
.sl5-author__avatar { width: 64px !important; height: 64px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.sl5-author__info { flex: 1; }
.sl5-author__label { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .2rem; }
.sl5-author__name { display: block; font-weight: 800; font-size: .95rem; color: var(--color-text); text-decoration: none; margin-bottom: .3rem; }
.sl5-author__name:hover { color: var(--color-primary); }
.sl5-author__bio { font-size: .82rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* Related: 6 bài, 3 cột, full-width */
.sl5-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl5-related__header { max-width: 1400px; margin: 0 auto; padding: 0 4rem 1.5rem; display: flex; align-items: center; gap: 16px; }
.sl5-related__title { font-size: 1.1rem; font-weight: 900; margin: 0; color: var(--color-text); }
.sl5-related__header::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.sl5-related__grid { max-width: 1400px; margin: 0 auto; padding: 0 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--color-border); }
.sl5-related__card { display: flex; flex-direction: column; border-right: 1px solid var(--color-border); background: var(--color-surface); transition: background .2s; }
.sl5-related__card:last-child { border-right: none; }
.sl5-related__card:hover { background: color-mix(in srgb, var(--color-surface) 92%, var(--color-primary)); }
.sl5-related__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--color-border) center/cover no-repeat; }
.sl5-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sl5-related__card:hover .sl5-related__img img { transform: scale(1.05); }
.sl5-related__body { padding: 1rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.sl5-related__card-title { font-size: .9rem; font-weight: 700; line-height: 1.4; margin: 0; }
.sl5-related__card-title a { color: var(--color-text); text-decoration: none; transition: color .2s; }
.sl5-related__card-title a:hover { color: var(--color-primary); }
.sl5-related__meta { font-size: .68rem; color: var(--color-muted); margin-top: auto; }

@media (max-width: 1024px) {
  .sl5-related__grid { padding: 0 2rem; }
  .sl5-related__header { padding: 0 2rem 1.5rem; }
}
@media (max-width: 768px) {
  .sl5-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl5-related__card:nth-child(2n) { border-right: none; }
  .sl5-header { padding: 2.5rem 1.5rem 1.75rem; }
}
@media (max-width: 480px) {
  .sl5-content { padding: 2rem 1rem; font-size: 1rem; }
  .sl5-related__grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .sl5-related__card { border-right: none; border-bottom: 1px solid var(--color-border); }
  .sl5-author { flex-direction: column; margin: 0 1rem 2rem; }
  .sl5-tags { padding: 1.5rem 1rem; }
}

.sl5-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  transition: width .1s linear;
}

.sl5-header {
  padding: 4rem 2rem 2.5rem;
  text-align: center;
}
.sl5-header__inner { max-width: 1000px; margin: 0 auto; }
.sl5-header__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  margin: .75rem 0 1.5rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--color-text);
}
.sl5-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.sl5-header__avatar { width: 40px !important; height: 40px !important; border-radius: 50%; object-fit: cover; }
.sl5-header__meta-text { display: flex; flex-direction: column; align-items: flex-start; }
.sl5-header__author { font-weight: 700; color: var(--color-text); text-decoration: none; font-size: .9rem; }
.sl5-header__author:hover { color: var(--color-primary); }
.sl5-header__date-read { font-size: .8rem; color: var(--color-muted); }

.sl5-featured {
  max-width: 900px;
  margin: 0 auto 0;
  padding: 0 2rem;
}
.sl5-featured img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) * 2); box-shadow: var(--shadow-lg); }
.sl5-featured__caption { text-align: center; font-size: .8rem; color: var(--color-muted); padding: .5rem 0; margin: 0; }

.sl5-content-wrap { max-width: 680px; margin: 0 auto; padding: 3rem 2rem; }
.sl5-content {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--color-text);
}
.sl5-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl5-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 2.5rem 0;
  padding: 1.25rem 1.75rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-muted);
}

.sl5-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl5-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl5-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.sl5-share { margin-top: 2rem; padding: 1.5rem; background: var(--color-surface); border-radius: var(--radius); text-align: center; }
.sl5-share__label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: .75rem; }
.sl5-share__btns { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.sl5-share__btn { display: inline-block; padding: .5rem 1.25rem; border-radius: 6px; border: 1px solid var(--color-border); font-size: .85rem; font-weight: 600; color: var(--color-text); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sl5-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

.sl5-author-card { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 2.5rem; padding: 2rem; background: var(--color-surface); border-radius: var(--radius); border: 1px solid var(--color-border); }
.sl5-author-card__avatar { width: 80px !important; height: 80px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.sl5-author-card__label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: .25rem; }
.sl5-author-card__name { display: block; font-weight: 800; font-size: 1.05rem; color: var(--color-text); text-decoration: none; margin-bottom: .4rem; }
.sl5-author-card__name:hover { color: var(--color-primary); }
.sl5-author-card__bio { font-size: .875rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

.sl5-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl5-related__inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.sl5-related__heading { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.75rem; color: var(--color-text); }
.sl5-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sl5-related__card { background: var(--color-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow .25s, transform .25s; }
.sl5-related__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sl5-related__thumb { display: block; height: 180px; overflow: hidden; }
.sl5-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl5-related__card:hover .sl5-related__thumb img { transform: scale(1.05); }
.sl5-related__card-body { padding: 1rem 1.1rem 1.25rem; }
.sl5-related__card-title { font-size: .95rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.sl5-related__card-title a { color: var(--color-text); text-decoration: none; }
.sl5-related__card-title a:hover { color: var(--color-primary); }
.sl5-related__card-meta { font-size: .75rem; color: var(--color-muted); margin: 0; }

@media (max-width: 1024px) {
  .sl5-featured { padding: 0 1.5rem; }
}
@media (max-width: 768px) {
  .sl5-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl5-header { padding: 2.5rem 1.5rem 2rem; }
}
@media (max-width: 480px) {
  .sl5-content-wrap { padding: 2rem 1rem; }
  .sl5-content { font-size: 1.05rem; }
  .sl5-related__grid { grid-template-columns: 1fr; }
  .sl5-author-card { flex-direction: column; }
}

/* ==========================================================================
   SINGLE-6 — Bold Magazine
   ========================================================================== */

.sl6-article {
  background: var(--color-bg);
  color: var(--color-text);
}

.sl6-banner {
  background: var(--color-primary);
  padding: 4rem 4rem 3rem;
}
.sl6-banner__inner { max-width: 1000px; margin: 0 auto; }
.sl6-banner__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  margin: .75rem 0 1.25rem;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
}
.sl6-banner__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}
.sl6-banner__avatar { width: 36px !important; height: 36px !important; border-radius: 50%; object-fit: cover; margin-right: .35rem; }
.sl6-banner__author { font-weight: 600; color: rgba(255,255,255,.9); text-decoration: none; }
.sl6-banner__author:hover { text-decoration: underline; }

.sl6-featured {
  max-width: 1100px;
  margin: -2rem auto 0;
  padding: 0 4rem;
  position: relative;
  z-index: 1;
}
.sl6-featured img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.sl6-featured__caption { text-align: center; font-size: .8rem; color: var(--color-muted); padding: .5rem 0; margin: 0; }

.sl6-content-wrap { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.sl6-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.sl6-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl6-content blockquote {
  border-left: 5px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-muted);
}

.sl6-footer-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl6-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.sl6-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl6-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }
.sl6-share { display: flex; gap: .5rem; }
.sl6-share__btn { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; transition: background .2s, color .2s; }
.sl6-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

.sl6-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl6-related__inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sl6-related__heading { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.75rem; color: var(--color-text); }
.sl6-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sl6-related__card { background: var(--color-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow .25s, transform .25s; }
.sl6-related__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sl6-related__thumb { display: block; height: 200px; overflow: hidden; position: relative; }
.sl6-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl6-related__card:hover .sl6-related__thumb img { transform: scale(1.05); }
.sl6-related__thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%); opacity: 0; transition: opacity .3s; }
.sl6-related__card:hover .sl6-related__thumb-overlay { opacity: 1; }
.sl6-related__card-body { padding: 1rem 1.1rem 1.25rem; }
.sl6-related__card-title { font-size: .95rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.sl6-related__card-title a { color: var(--color-text); text-decoration: none; }
.sl6-related__card-title a:hover { color: var(--color-primary); }
.sl6-related__card-meta { font-size: .75rem; color: var(--color-muted); margin: 0; }

@media (max-width: 1024px) {
  .sl6-banner { padding: 2.5rem 2rem; }
  .sl6-featured { padding: 0 2rem; margin-top: -1rem; }
}
@media (max-width: 768px) {
  .sl6-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl6-banner { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .sl6-featured { padding: 0 1rem; margin-top: 0; }
  .sl6-content-wrap { padding: 2rem 1rem; }
  .sl6-related__grid { grid-template-columns: 1fr; }
  .sl6-footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   SINGLE-7 — Long-form with TOC
   ========================================================================== */

.sl7-article {
  background: var(--color-bg);
  color: var(--color-text);
}

.sl7-header {
  padding: 3rem 4rem 2rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.sl7-header__inner { max-width: 900px; }
.sl7-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin: .6rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.sl7-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .875rem;
  color: var(--color-muted);
}
.sl7-header__avatar { width: 36px !important; height: 36px !important; border-radius: 50%; object-fit: cover; margin-right: .35rem; }
.sl7-header__author { font-weight: 600; color: var(--color-text); text-decoration: none; }
.sl7-header__author:hover { color: var(--color-primary); }

.sl7-featured { width: 100%; overflow: hidden; }
.sl7-featured img { width: 100%; height: auto; display: block; max-height: 500px; object-fit: cover; }
.sl7-featured__caption { text-align: center; font-size: .8rem; color: var(--color-muted); padding: .5rem 1rem; background: var(--color-surface); margin: 0; }

/* TOC + Content layout */
.sl7-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 4rem;
  align-items: start;
}

/* TOC */
.sl7-toc {
  position: sticky;
  top: 5rem;
  padding-right: 2rem;
  border-right: 1px solid var(--color-border);
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}
.sl7-toc__inner { padding-bottom: 2rem; }
.sl7-toc__heading {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-primary);
}
.sl7-toc__placeholder { font-size: .82rem; color: var(--color-muted); margin: 0; }
.sl7-toc__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .1rem; }
.sl7-toc__item { }
.sl7-toc__item--h3 { padding-left: .85rem; }
.sl7-toc__link {
  display: block;
  font-size: .82rem;
  color: var(--color-muted);
  text-decoration: none;
  padding: .3rem .5rem;
  border-radius: 4px;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
.sl7-toc__link:hover { background: var(--color-surface); color: var(--color-primary); }

/* Content */
.sl7-content {
  padding-left: 3rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 760px;
}
.sl7-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl7-content blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-muted);
}
.sl7-content h2 { font-size: 1.6rem; font-weight: 800; margin-top: 2.5rem; }
.sl7-content h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; }

.sl7-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl7-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl7-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.sl7-share { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sl7-share__label { font-size: .8rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; }
.sl7-share__btn { display: inline-block; padding: .4rem 1rem; border-radius: 5px; border: 1px solid var(--color-border); font-size: .8rem; font-weight: 600; color: var(--color-text); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sl7-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

.sl7-author-card { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem; background: var(--color-surface); border-radius: var(--radius); border: 1px solid var(--color-border); }
.sl7-author-card__avatar { width: 72px !important; height: 72px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.sl7-author-card__name { display: block; font-weight: 700; font-size: 1rem; color: var(--color-text); text-decoration: none; margin-bottom: .35rem; }
.sl7-author-card__name:hover { color: var(--color-primary); }
.sl7-author-card__bio { font-size: .875rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

.sl7-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl7-related__inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sl7-related__heading { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.75rem; color: var(--color-text); }
.sl7-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sl7-related__card { background: var(--color-bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); transition: box-shadow .25s, transform .25s; }
.sl7-related__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sl7-related__thumb { display: block; height: 180px; overflow: hidden; }
.sl7-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl7-related__card:hover .sl7-related__thumb img { transform: scale(1.05); }
.sl7-related__card-body { padding: 1rem 1.1rem 1.25rem; }
.sl7-related__card-title { font-size: .95rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.4; }
.sl7-related__card-title a { color: var(--color-text); text-decoration: none; }
.sl7-related__card-title a:hover { color: var(--color-primary); }
.sl7-related__card-meta { font-size: .75rem; color: var(--color-muted); margin: 0; }

@media (max-width: 1024px) {
  .sl7-layout { grid-template-columns: 1fr; padding: 2rem; }
  .sl7-toc { position: static; padding-right: 0; border-right: none; border-bottom: 1px solid var(--color-border); padding-bottom: 1.5rem; margin-bottom: 2rem; max-height: none; }
  .sl7-content { padding-left: 0; max-width: 100%; }
  .sl7-header { padding: 2rem; }
}
@media (max-width: 768px) {
  .sl7-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sl7-layout { padding: 1rem; }
  .sl7-related__grid { grid-template-columns: 1fr; }
  .sl7-author-card { flex-direction: column; }
}

/* ==========================================================================
   SINGLE-8 — Breaking News
   ========================================================================== */

.sl8-article {
  background: var(--color-bg);
  color: var(--color-text);
}

.sl8-header {
  padding: 2.5rem 4rem 2rem;
  background: var(--color-surface);
  border-bottom: 3px solid #e53e3e;
}
.sl8-header__inner { max-width: 960px; margin: 0 auto; }
.sl8-header__badges { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }

/* Breaking badge */
.sl8-breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  background: #e53e3e;
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  animation: sl8-blink 1.5s ease-in-out infinite;
}
@keyframes sl8-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}

/* Live dot */
.sl8-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: sl8-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.sl8-live-dot--sm {
  width: 8px;
  height: 8px;
  background: #e53e3e;
  margin-right: .4rem;
}
@keyframes sl8-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.sl8-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--color-text);
}
.sl8-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem;
  font-size: .875rem;
  color: var(--color-muted);
}
.sl8-header__avatar { width: 32px !important; height: 32px !important; border-radius: 50%; object-fit: cover; margin-right: .35rem; }
.sl8-header__author { font-weight: 600; color: var(--color-text); text-decoration: none; }
.sl8-header__author:hover { color: var(--color-primary); }

.sl8-featured {
  border-left: 5px solid var(--color-primary);
  margin: 0;
}
.sl8-featured img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: cover; }
.sl8-featured__caption { font-size: .8rem; color: var(--color-muted); padding: .5rem 1rem; background: var(--color-surface); margin: 0; border-left: 5px solid var(--color-primary); }

.sl8-content-wrap { max-width: 900px; margin: 0 auto; padding: 3rem 2rem 6rem; }
.sl8-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.sl8-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.sl8-content blockquote {
  border-left: 4px solid #e53e3e;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-muted);
}

.sl8-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl8-tag { display: inline-block; padding: .3rem .85rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl8-tag:hover { border-color: #e53e3e; color: #e53e3e; }

/* Related list */
.sl8-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl8-related__inner { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.sl8-related__heading { font-size: 1.1rem; font-weight: 800; margin: 0 0 1.5rem; color: var(--color-text); display: flex; align-items: center; }
.sl8-related__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.sl8-related__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.sl8-related__item:last-child { border-bottom: none; }
.sl8-related__thumb { flex-shrink: 0; width: 100px; height: 70px; overflow: hidden; border-radius: 5px; display: block; }
.sl8-related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sl8-related__item:hover .sl8-related__thumb img { transform: scale(1.05); }
.sl8-related__item-body { flex: 1; min-width: 0; }
.sl8-related__item-title { font-size: .95rem; font-weight: 700; margin: .3rem 0 .4rem; line-height: 1.4; }
.sl8-related__item-title a { color: var(--color-text); text-decoration: none; }
.sl8-related__item-title a:hover { color: var(--color-primary); }
.sl8-related__item-meta { font-size: .75rem; color: var(--color-muted); margin: 0; }

/* Sticky bottom share bar */
.sl8-share-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: .75rem 2rem;
}
.sl8-share-bar__inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sl8-share-bar__title { font-size: .85rem; font-weight: 700; color: var(--color-text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl8-share-bar__btns { display: flex; gap: .5rem; flex-shrink: 0; }
.sl8-share-bar__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border-radius: 5px; background: var(--color-btn-bg, var(--color-primary)); color: var(--color-btn-text, #fff); font-size: .8rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: opacity .2s; }
.sl8-share-bar__btn:hover { opacity: .85; }

@media (max-width: 1024px) {
  .sl8-header { padding: 2rem; }
}
@media (max-width: 768px) {
  .sl8-share-bar__title { display: none; }
}
@media (max-width: 480px) {
  .sl8-content-wrap { padding: 2rem 1rem 6rem; }
  .sl8-header { padding: 1.5rem; }
  .sl8-share-bar { padding: .6rem 1rem; }
}

/* ==========================================================================
   SINGLE-9 — Magazine Editorial
   ========================================================================== */

.sl9-article { background: var(--color-bg); color: var(--color-text); }

/* Hero full-screen */
.sl9-hero {
  position: relative; width: 100%; height: 80vh; min-height: 480px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.sl9-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.sl9-hero__bg--fallback { background: var(--color-secondary); }
.sl9-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
}
.sl9-hero__body {
  position: relative; z-index: 1; padding: 3rem 5%;
  color: #fff; max-width: 860px;
}
.sl9-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900;
  margin: .6rem 0 1rem; line-height: 1.1; letter-spacing: -.025em; color: #fff;
}
.sl9-hero__meta {
  font-size: .85rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.sl9-hero__author { font-weight: 700; color: rgba(255,255,255,.85); }

/* Content + Sidebar layout */
.sl9-layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 0; max-width: 1200px; margin: 0 auto; padding: 3rem 5%;
  align-items: start;
}
.sl9-content {
  font-size: 1.1rem; line-height: 1.85; color: var(--color-text);
  padding-right: 3rem; border-right: 1px solid var(--color-border);
}
.sl9-content img { max-width: 100%; height: auto; border-radius: 6px; }
.sl9-content blockquote {
  border-left: 3px solid var(--color-primary); margin: 2rem 0;
  padding: 1rem 1.5rem; background: var(--color-surface);
  font-style: italic; color: var(--color-muted);
}

/* Tags */
.sl9-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl9-tag { display: inline-block; padding: .28rem .8rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .78rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl9-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Share */
.sl9-share { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sl9-share__label { font-size: .72rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.sl9-share__btn { display: inline-block; padding: .4rem 1rem; border-radius: 5px; border: 1px solid var(--color-border); font-size: .8rem; font-weight: 600; color: var(--color-text); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sl9-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

/* Sidebar */
.sl9-sidebar { padding-left: 2rem; position: sticky; top: 2rem; }
.sl9-sidebar__author {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .5rem; padding: 1.5rem; background: var(--color-surface);
  border-radius: 8px; border: 1px solid var(--color-border); margin-bottom: 1.5rem;
}
.sl9-sidebar__avatar { width: 72px !important; height: 72px !important; border-radius: 50%; object-fit: cover; }
.sl9-sidebar__name { font-weight: 800; font-size: .95rem; color: var(--color-text); text-decoration: none; }
.sl9-sidebar__name:hover { color: var(--color-primary); }
.sl9-sidebar__bio { font-size: .78rem; color: var(--color-muted); line-height: 1.55; margin: 0; }
.sl9-sidebar__info { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.sl9-sidebar__row { padding: .85rem 1rem; border-bottom: 1px solid var(--color-border); }
.sl9-sidebar__row:last-child { border-bottom: none; }
.sl9-sidebar__label { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .2rem; }
.sl9-sidebar__value { font-size: .85rem; font-weight: 600; color: var(--color-text); }

/* Related: 6 bài full-width 3 cols */
.sl9-related { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 3rem 0; }
.sl9-related__header { max-width: 1400px; margin: 0 auto; padding: 0 5% 1.5rem; display: flex; align-items: center; gap: 16px; }
.sl9-related__title { font-size: 1.1rem; font-weight: 900; margin: 0; color: var(--color-text); white-space: nowrap; }
.sl9-related__header::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.sl9-related__grid { max-width: 1400px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--color-border); }
.sl9-related__card { display: flex; flex-direction: column; border-right: 1px solid var(--color-border); background: var(--color-surface); transition: background .2s; }
.sl9-related__card:nth-child(3n) { border-right: none; }
.sl9-related__card:hover { background: color-mix(in srgb, var(--color-surface) 92%, var(--color-primary)); }
.sl9-related__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--color-border) center/cover no-repeat; }
.sl9-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sl9-related__card:hover .sl9-related__img img { transform: scale(1.05); }
.sl9-related__body { padding: 1rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.sl9-related__card-title { font-size: .9rem; font-weight: 700; line-height: 1.4; margin: 0; }
.sl9-related__card-title a { color: var(--color-text); text-decoration: none; transition: color .2s; }
.sl9-related__card-title a:hover { color: var(--color-primary); }
.sl9-related__meta { font-size: .68rem; color: var(--color-muted); margin-top: auto; }

@media (max-width: 1024px) {
  .sl9-layout { grid-template-columns: 1fr; padding: 2rem 5%; }
  .sl9-content { padding-right: 0; border-right: none; }
  .sl9-sidebar { padding-left: 0; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
}
@media (max-width: 768px) {
  .sl9-hero { height: 60vh; }
  .sl9-related__grid { grid-template-columns: repeat(2, 1fr); }
  .sl9-related__card:nth-child(3n) { border-right: 1px solid var(--color-border); }
  .sl9-related__card:nth-child(2n) { border-right: none; }
  .sl9-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sl9-hero { height: 50vh; min-height: 320px; }
  .sl9-layout { padding: 1.5rem 1rem; }
  .sl9-related__grid { grid-template-columns: 1fr; }
  .sl9-related__card { border-right: none; border-bottom: 1px solid var(--color-border); }
}
/* ==========================================================================
   SINGLE-10 — Modern Dark Header
   ========================================================================== */

.sl10-article { background: var(--color-bg); color: var(--color-text); }

/* Dark gradient header */
.sl10-header {
  background: var(--color-secondary);
  padding: 3.5rem 5% 2.5rem;
}
.sl10-header__inner { max-width: 860px; }
.sl10-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  margin: .6rem 0 1.5rem; line-height: 1.15; letter-spacing: -.02em; color: #fff;
}
.sl10-header__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.sl10-header__avatar { width: 40px !important; height: 40px !important; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sl10-header__author { font-weight: 700; color: rgba(255,255,255,.9); text-decoration: none; font-size: .88rem; }
.sl10-header__author:hover { color: var(--color-primary); }
.sl10-header__date-read { font-size: .78rem; color: rgba(255,255,255,.5); }
.sl10-sep { margin: 0 .25rem; opacity: .4; }

/* Featured image: full-width, no padding */
.sl10-featured { overflow: hidden; }
.sl10-featured img { width: 100%; height: auto; display: block; max-height: 580px; object-fit: cover; }
.sl10-featured__caption { font-size: .78rem; color: var(--color-muted); padding: .5rem 5%; background: var(--color-surface); margin: 0; }

/* Content */
.sl10-content { max-width: 760px; margin: 0 auto; padding: 3rem 5%; font-size: 1.1rem; line-height: 1.85; color: var(--color-text); }
.sl10-content img { max-width: 100%; height: auto; border-radius: 6px; }
.sl10-content blockquote {
  border-left: 3px solid var(--color-primary); margin: 2rem 0;
  padding: 1rem 1.5rem; background: var(--color-surface);
  font-style: italic; color: var(--color-muted);
}

/* Footer: tags + share + author */
.sl10-footer { max-width: 760px; margin: 0 auto; padding: 0 5% 3rem; display: flex; flex-direction: column; gap: 1.5rem; }

.sl10-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.sl10-tag { display: inline-block; padding: .28rem .8rem; border-radius: 20px; border: 1px solid var(--color-border); font-size: .78rem; color: var(--color-muted); text-decoration: none; transition: border-color .2s, color .2s; }
.sl10-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

.sl10-share { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sl10-share__label { font-size: .72rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: .25rem; }
.sl10-share__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.sl10-share__btn:hover { background: var(--color-primary); color: var(--color-btn-text); border-color: var(--color-primary); }

.sl10-author { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; background: var(--color-surface); border-radius: 8px; border: 1px solid var(--color-border); }
.sl10-author__avatar { width: 72px !important; height: 72px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.sl10-author__info { flex: 1; }
.sl10-author__name { display: block; font-weight: 800; font-size: .95rem; color: var(--color-text); text-decoration: none; margin-bottom: .3rem; }
.sl10-author__name:hover { color: var(--color-primary); }
.sl10-author__bio { font-size: .82rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* Related: 6 bài horizontal scroll full-width */
.sl10-related { background: var(--color-secondary); padding: 2.5rem 0; }
.sl10-related__header { padding: 0 5% 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.sl10-related__title { font-size: 1rem; font-weight: 900; margin: 0; color: #fff; }
.sl10-related__track {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  padding: 0 5%;
}
.sl10-related__track::-webkit-scrollbar { display: none; }
.sl10-related__card {
  flex: 0 0 280px; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04); transition: background .2s;
}
.sl10-related__card:hover { background: rgba(255,255,255,.08); }
.sl10-related__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: rgba(255,255,255,.08) center/cover no-repeat; }
.sl10-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sl10-related__card:hover .sl10-related__img img { transform: scale(1.05); }
.sl10-related__body { padding: .9rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.sl10-related__card-title { font-size: .85rem; font-weight: 700; line-height: 1.4; margin: 0; }
.sl10-related__card-title a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; }
.sl10-related__card-title a:hover { color: var(--color-primary); }
.sl10-related__date { font-size: .65rem; color: rgba(255,255,255,.4); }

@media (max-width: 768px) {
  .sl10-header { padding: 2.5rem 5% 2rem; }
  .sl10-related__card { flex: 0 0 240px; }
  .sl10-author { flex-direction: column; }
}
@media (max-width: 480px) {
  .sl10-header { padding: 2rem 1rem 1.5rem; }
  .sl10-content { padding: 2rem 1rem; font-size: 1rem; }
  .sl10-footer { padding: 0 1rem 2rem; }
  .sl10-related__track { padding: 0 1rem; }
  .sl10-related__card { flex: 0 0 200px; }
}
