/* =====================================================
   MEI BEDDING — journal.css
   About page, contact, policy, FAQ, journal listing, article single, reels feed, search results, 404, reel viewer modal, Instagram-style highlights.
   Extracted from hifi-v2.css sections 30 (about) + appended sections 38-47.
   ===================================================== */

/* ---------- 30. About page ---------- */
.about-hero {
  background: var(--bone-soft);
  padding: var(--sp-8) 0;
  margin-bottom: var(--sp-7);
}
.about-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-soft);
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.about-hero-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
@media (min-width: 1024px) {
  .about-hero-title { font-size: 44px; }
}
.about-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}
.about-section {
  padding: var(--sp-7) var(--gutter);
}
.about-section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--sp-6);
  color: var(--ink);
}
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 1024px) {
  .about-story { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
.about-story-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bone-soft);
}
.about-story-img img { width: 100%; height: 100%; object-fit: cover; }
.about-story-text h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: var(--sp-4);
  color: var(--ink);
}
.about-story-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--sp-3);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: repeat(3, 1fr); }
}
.about-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.about-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone-soft);
  color: var(--ink);
}
.about-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}
.about-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-cta {
  background: var(--ink);
  color: var(--white);
  padding: var(--sp-8) 0;
  text-align: center;
  margin-top: var(--sp-7);
}
.about-cta h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: var(--sp-3);
  color: var(--white);
}
.about-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-5);
}
.about-cta-actions {
  display: inline-flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}
/* FIX: :visited state override — xem comment trong content.css cùng block. */
.about-cta .btn--filled,
.about-cta a.btn--filled,
.about-cta a.btn--filled:visited {
  background: var(--white);
  color: var(--ink);
}
.about-cta .btn--filled:hover,
.about-cta a.btn--filled:hover { background: var(--bone-soft); color: var(--ink); }
.about-cta .btn--outline,
.about-cta a.btn--outline,
.about-cta a.btn--outline:visited {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.about-cta .btn--outline:hover,
.about-cta a.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}


/* ---------- 38. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: var(--sp-6); }
}
.contact-info-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-info-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-info-item svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--ink); }
.contact-info-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; color: var(--muted); }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--ink); }
.contact-map { margin-top: var(--sp-6); border-radius: var(--radius-lg); overflow: hidden; background: var(--bone-soft); aspect-ratio: 21/9; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 39. Policy (tabs) ---------- */
.policy-tabs {
  display: flex;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
  overflow-x: auto;
}
.policy-tab {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  background: none;
}
.policy-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.policy-panel { display: none; max-width: 820px; }
.policy-panel.active { display: block; }
.policy-panel table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
  font-size: 13px;
}
.policy-panel th, .policy-panel td {
  padding: var(--sp-3);
  text-align: left;
  border: 1px solid var(--line);
}
.policy-panel th { background: var(--bone-soft); font-weight: 600; }

/* ---------- 40. FAQ ---------- */
.faq-chips {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.faq-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--white);
  cursor: pointer;
}
.faq-chip:hover { border-color: var(--ink); }
.faq-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq-list { display: flex; flex-direction: column; gap: var(--sp-2); max-width: 880px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--sp-4);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  background: var(--white);
}
.faq-q:hover { background: var(--bone-soft); }
.faq-q-arrow { transition: transform var(--t-fast) var(--ease); }
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 var(--sp-4) var(--sp-4);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-footer {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--bone-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* ---------- 41. Journal listing ---------- */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 640px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }
.post-card { display: block; color: inherit; text-align: left; }
.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bone-soft);
  margin-bottom: var(--sp-3);
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-cat {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}
.post-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--sp-2);
  text-align: left;
}
.post-card-excerpt { font-size: 13px; color: var(--ink-soft); margin-bottom: var(--sp-3); }
.post-card-meta { font-size: 11px; color: var(--muted); display: flex; gap: var(--sp-2); }

/* ---------- 42. Article single ---------- */
.article-header {
  padding: var(--sp-6) 0 var(--sp-5);
}
.article-header-inner {
  margin: 0 0 var(--sp-5);
  text-align: left;
}
.article-header-cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sale);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.article-header-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
}
@media (min-width: 1024px) { .article-header-title { font-size: 32px; } }
.article-header-meta {
  font-size: 13px;
  color: var(--muted);
}
.article-featured-img {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bone-soft);
}
.article-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding: var(--sp-7) 0 var(--sp-8);
}
@media (min-width: 1024px) {
  /* TOC sticky trái + body chiếm full chỗ còn lại (giống hifi). */
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-7); }
  /* Khi không có TOC: body full container width. */
  .article-layout--no-toc { grid-template-columns: minmax(0, 1fr); }
}
.article-toc {
  font-size: 13px;
}
@media (min-width: 1024px) {
  .article-toc { position: sticky; top: calc(var(--header-h) + var(--sp-5)); align-self: start; }
}
.article-toc-title { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-3); }
.article-toc a { display: block; padding: var(--sp-2) 0; color: var(--ink-soft); border-left: 2px solid var(--line); padding-left: var(--sp-3); }
.article-toc a:hover, .article-toc a.active { color: var(--ink); border-left-color: var(--ink); }
.article-body p { font-size: 15px; line-height: 1.8; margin-bottom: var(--sp-4); color: var(--ink-soft); }
.article-body h2 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; margin: var(--sp-6) 0 var(--sp-3); color: var(--ink); }
.article-body h3 { font-size: 18px; margin: var(--sp-5) 0 var(--sp-3); }
.article-body img { margin: var(--sp-5) 0; border-radius: var(--radius-lg); }
.article-body blockquote {
  border-left: 3px solid var(--ink);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-5) 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.article-body ul { padding-left: var(--sp-5); margin-bottom: var(--sp-4); }
.article-body ul li { list-style: disc; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--sp-2); }

.article-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
}
.article-tags { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.article-tag {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  background: var(--bone-soft);
  border-radius: 999px;
  color: var(--ink-soft);
}
.article-share { display: flex; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-5); font-size: 13px; }
.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bone-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.share-btn:hover { background: var(--ink); color: var(--white); }
.author-card {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bone-soft);
  border-radius: var(--radius-lg);
  align-items: center;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.author-info .name { font-weight: 600; font-size: 13px; }
.author-info .bio { font-size: 12px; color: var(--muted); }

.related-posts { background: var(--bone-soft); padding: var(--sp-7) 0; margin-top: var(--sp-6); }
.related-posts h2 { font-family: var(--font-serif); font-weight: 400; text-align: center; margin-bottom: var(--sp-5); }

/* ---------- 43. Reels / Instagram feed (mixed: video + image + carousel) ---------- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .reels-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .reels-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone-soft);
  display: block;
}
.reel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base) var(--ease); }
.reel-card:hover img { transform: scale(1.05); }
.reel-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--white);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
  z-index: 2;
}
.reel-icon svg { width: 20px; height: 20px; display: block; }
.reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
  color: var(--white);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.reel-card--video .reel-play { opacity: 1; }
.reel-card:hover .reel-play { opacity: 1; }
.reel-play svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.reel-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  font-size: 11px;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reel-card:hover .reel-caption { opacity: 1; }
.reels-footer { text-align: center; margin-top: var(--sp-6); }
.reels-footer p { color: var(--ink-soft); margin-bottom: var(--sp-3); }

/* ---------- 44. Search results ---------- */
.search-header {
  padding: var(--sp-6) 0 var(--sp-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
}
.search-form-big {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.search-form-big .input { flex: 1 1 100%; min-width: 0; padding: 14px 16px; font-size: 16px; }
.search-form-big .select { flex: 1 1 0; min-width: 140px; }
.search-form-big .btn { flex: 0 0 auto; }
@media (min-width: 768px) {
  .search-form-big { flex-wrap: nowrap; }
  .search-form-big .input { flex: 1 1 auto; }
  .search-form-big .select { flex: 0 0 160px; }
}
.search-result-meta { font-size: 13px; color: var(--muted); }
.search-result-meta strong { color: var(--ink); }
.search-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}
.search-empty h2 { font-family: var(--font-serif); font-weight: 400; margin-bottom: var(--sp-3); }
.search-empty p { color: var(--muted); margin-bottom: var(--sp-4); }
.search-suggest { display: flex; gap: var(--sp-2); flex-wrap: wrap; justify-content: center; }
.search-section + .search-section { margin-top: var(--sp-7); }
.search-section h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; margin-bottom: var(--sp-4); }

/* ---------- 45. 404 ---------- */
.error-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}
.error-illustration {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--sp-4);
  color: var(--ink-soft);
  opacity: 0.7;
}
.error-code {
  font-family: var(--font-serif);
  font-size: 84px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--sp-3);
}
@media (min-width: 768px) { .error-code { font-size: 120px; } }
.error-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: var(--sp-3);
}
.error-text { color: var(--ink-soft); margin-bottom: var(--sp-5); max-width: 480px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }


/* ---------- 46. Reel viewer (Instagram-style modal) ---------- */
.reel-card[type="button"] {
  background: var(--bone-soft);
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.reel-viewer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
}
.reel-viewer-backdrop.open { opacity: 1; visibility: visible; }
.reel-viewer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--white);
  border-radius: 8px;
  z-index: calc(var(--z-modal) + 1);
  max-width: 95vw;
  max-height: 92vh;
  width: 920px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease);
}
@media (min-width: 768px) {
  .reel-viewer { grid-template-columns: 1.4fr 1fr; }
}
.reel-viewer.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.reel-viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-size: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.reel-viewer-close:hover { background: var(--white); }
.reel-viewer-media {
  background: #000;
  position: relative;
  aspect-ratio: 1/1;
  max-height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .reel-viewer-media { aspect-ratio: auto; max-height: 92vh; }
}
.reel-viewer-media > img { width: 100%; height: 100%; object-fit: contain; max-height: 92vh; }
.reel-viewer-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel-viewer-video-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.reel-viewer-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reel-viewer-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  background: #000;
}
@media (min-width: 768px) {
  .reel-viewer-carousel { min-height: 80vh; }
}
/* Force parent media container có chiều cao khớp carousel/video */
.reel-viewer-media:has(.reel-viewer-carousel),
.reel-viewer-media:has(video) {
  aspect-ratio: auto;
  min-height: 60vh;
}
@media (min-width: 768px) {
  .reel-viewer-media:has(.reel-viewer-carousel),
  .reel-viewer-media:has(video) { min-height: 80vh; }
}
/* Video element luôn fill container, giữ aspect bằng contain */
.reel-viewer-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.reel-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.reel-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.reel-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 0;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s ease;
}
.reel-carousel-nav:hover { background: var(--white); }
.reel-carousel-prev { left: 12px; }
.reel-carousel-next { right: 12px; }
.reel-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.reel-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.reel-carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}
.reel-carousel-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
}
.reel-viewer-info {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  overflow-y: auto;
  max-height: 92vh;
}
.reel-viewer-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.reel-viewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bone-soft);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel-viewer-avatar img { width: 80%; height: 80%; object-fit: contain; }
.reel-viewer-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.reel-viewer-meta { font-size: 12px; color: var(--muted); }
.reel-viewer-caption {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
  flex: 1;
}
.reel-viewer-stats {
  display: flex;
  gap: var(--sp-4);
  font-size: 13px;
  color: var(--ink-soft);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-4);
}
.reel-viewer-ig-link {
  display: inline-block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reel-viewer-ig-link:hover { color: var(--sale); }

/* ---------- 47. Instagram-style highlights + view tabs ---------- */
.ig-highlights {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-3);
}
.ig-highlights::-webkit-scrollbar { display: none; }
.ig-highlight {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  color: var(--ink);
  font: inherit;
}
.ig-highlight-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #8134af);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ig-highlight-circle::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--white);
}
.ig-highlight-circle img {
  position: relative;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}
.ig-highlight-label {
  font-size: 12px;
  color: var(--ink);
  max-width: 80px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ig-highlight:hover .ig-highlight-circle { transform: scale(1.04); transition: transform var(--t-fast) var(--ease); }
@media (max-width: 767px) {
  .ig-highlight-circle { width: 60px; height: 60px; }
  .ig-highlight-label { font-size: 11px; }
}

/* Profile view tabs (grid / reels / tagged) */
.ig-tabs {
  display: flex;
  justify-content: center;
  gap: var(--sp-7);
  border-top: 1px solid var(--line);
  margin-bottom: var(--sp-2);
}
.ig-tab {
  background: none;
  border: 0;
  padding: var(--sp-3) var(--sp-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  border-top: 1px solid transparent;
  margin-top: -1px;
  font-family: inherit;
}
.ig-tab.active {
  color: var(--ink);
  border-top-color: var(--ink);
}
.ig-tab:hover { color: var(--ink); }

/* Pin icon for pinned posts (Instagram-style) */
.reel-icon--pin {
  background: rgba(0,0,0,0.55);
  border-radius: 4px;
  padding: 3px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4-col grid on desktop (per client v2.3 review) */
@media (min-width: 1024px) {
  .reels-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ---------- 48. Pagination (journal index, dùng chung style với shop) ---------- */
/* Duplicate từ shop.css để journal.css standalone (không depend shop bundle).    */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--white);
  transition: all var(--t-fast) var(--ease);
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.pagination .dots { border: none; background: transparent; }

/* ---------- 49. Article body — Gutenberg block fallbacks ---------- */
/* WP Gutenberg renders <p class="wp-block-..."> trong content. Ensure spacing match. */
.article-body .wp-block-image { margin: var(--sp-5) 0; }
.article-body .wp-block-image img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.article-body .wp-block-quote {
  border-left: 3px solid var(--ink);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-5) 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.article-body .wp-block-quote p { font-family: inherit; font-size: inherit; margin: 0; color: inherit; }
.article-body .wp-block-list,
.article-body ol { padding-left: var(--sp-5); margin-bottom: var(--sp-4); }
.article-body ol li { list-style: decimal; line-height: 1.7; color: var(--ink-soft); margin-bottom: var(--sp-2); }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--sale); }

/* ---------- 50. Reel viewer — video fallback styling ---------- */
.reel-viewer-media video {
  display: block;
  background: #000;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
