/* ==========================================================================
   THIÊN BLOG — Style bài viết Edge Thinking / Tư Duy Nền Tảng
   thienvv.com
   Upload file này lên Media Library (WordPress) và trỏ <link rel="stylesheet">
   trong từng bài viết đến URL của file sau khi upload.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
  /* Bảng màu Thiên Blog */
  --tb-bg-main: #F2F4F7;
  --tb-bg-content: #FFFFFFE6;
  --tb-accent: #0060AA;
  --tb-heading: #1E293B;
  --tb-content: #334155;
  --tb-link: #0060AA;
  --tb-link-hover: #3079C6;

  /* Sắc độ phụ trợ, suy ra từ bảng màu gốc */
  --tb-border: rgba(0,96,170,0.18);
  --tb-shadow: rgba(30,41,59,0.10);
  --tb-shadow-soft: rgba(30,41,59,0.06);
  --tb-accent-soft: rgba(0,96,170,0.08);
}

/* ---------- Reset cục bộ (chỉ áp dụng trong phạm vi bài viết) ---------- */
.tb-article-root, .tb-article-root * {
  box-sizing: border-box;
}

.tb-article-root {
  font-family: 'Be Vietnam Pro', sans-serif;
  line-height: 1.75;
  color: var(--tb-content);
  background: var(--tb-bg-main);
}

.tb-article-root a {
  color: var(--tb-link);
  text-decoration: none;
  transition: color 0.2s ease;
}
.tb-article-root a:hover {
  color: var(--tb-link-hover);
  text-decoration: underline;
}

.tb-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HERO ---------- */
.tb-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--tb-bg-main) 100%);
  padding: 64px 0 32px;
  text-align: center;
}

.tb-hero .tb-kicker {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tb-accent);
  margin-bottom: 18px;
}

.tb-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.3;
  color: var(--tb-heading);
  margin: 0 0 20px;
}

.tb-hero .tb-subtitle {
  font-size: 17px;
  color: var(--tb-content);
  opacity: 0.85;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 28px;
}

.tb-hero .tb-meta {
  font-size: 13px;
  color: var(--tb-accent);
  font-weight: 500;
}

/* ---------- COVER SVG ---------- */
.tb-cover-wrap {
  max-width: 760px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.tb-cover-wrap svg {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px var(--tb-shadow);
}

/* ---------- ARTICLE BODY ---------- */
.tb-article {
  padding: 48px 0 80px;
}

.tb-article h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--tb-heading);
  margin: 48px 0 20px;
  position: relative;
  padding-left: 18px;
}

.tb-article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--tb-accent);
  border-radius: 2px;
}

.tb-article h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--tb-heading);
  margin: 32px 0 14px;
}

.tb-article p {
  font-size: 17px;
  color: var(--tb-content);
  margin: 0 0 20px;
}

.tb-article ul,
.tb-article ol {
  margin: 0 0 24px 22px;
}

.tb-article li {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--tb-content);
}

.tb-article strong { color: var(--tb-heading); }

/* ---------- PULL QUOTE ---------- */
.tb-pull-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1.55;
  color: var(--tb-accent);
  border-left: 3px solid var(--tb-accent);
  padding: 4px 0 4px 24px;
  margin: 36px 0;
}

/* ---------- GLASS CARD ---------- */
.tb-glass-card {
  background: var(--tb-bg-content);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--tb-border);
  border-radius: 18px;
  padding: 28px 30px;
  margin: 36px 0;
  box-shadow: 0 8px 30px var(--tb-shadow-soft);
}

.tb-glass-card h3 {
  margin-top: 0;
  font-size: 19px;
}

.tb-glass-card p:last-child {
  margin-bottom: 0;
}

/* ---------- DIVIDER ---------- */
.tb-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 44px 0;
}
.tb-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tb-accent);
  opacity: 0.5;
}

/* ---------- FAQ ---------- */
.tb-faq-section {
  margin-top: 56px;
}
.tb-faq-section > h2 {
  padding-left: 0;
}
.tb-faq-section > h2::before {
  display: none;
}
.tb-faq-item {
  background: var(--tb-bg-content);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--tb-border);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
}
.tb-faq-item h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--tb-accent);
}
.tb-faq-item p {
  font-size: 15.5px;
  margin: 0;
  color: var(--tb-content);
  opacity: 0.9;
}

/* ---------- AUTHOR BOX ---------- */
.tb-author-box {
  margin-top: 60px;
  padding: 28px;
  background: var(--tb-bg-content);
  border: 1px solid var(--tb-border);
  border-radius: 18px;
  text-align: center;
}
.tb-author-box .tb-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--tb-heading);
  margin-bottom: 6px;
}
.tb-author-box .tb-tagline {
  font-size: 14px;
  color: var(--tb-accent);
  font-style: italic;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .tb-hero h1 { font-size: 30px; }
  .tb-hero .tb-subtitle { font-size: 15.5px; }
  .tb-article h2 { font-size: 23px; }
  .tb-pull-quote { font-size: 19px; }
}
