/* ============================================================================
   PHUOT 4P — FLAGSHIP EDITORIAL NEWS, SEO ARTICLE & TRUST POLICY SYSTEM
   100% synchronized with var(--vf-blue), --p4p-card-radius & 7 Holiday Modes
   Modern Web Guidance: rem + clamp() type, unitless line-height, 68ch prose,
   text-wrap balance/pretty, native searchable <details> FAQs & TOC.
   ============================================================================ */

.vf-ed-page {
  font-family: var(--p4p-font, "Be Vietnam Pro", "Inter", system-ui, -apple-system, sans-serif);
  background: var(--p4p-hol-page-bg, #F7F9F9);
  color: #1F2125;
  line-height: 1.6;
  text-align: start;
}

.vf-ed-wrap {
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Breadcrumb */
.vf-ed-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 1.25rem;
}
.vf-ed-crumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.16s ease;
}
.vf-ed-crumb a:hover {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-crumb .is-current {
  color: #14171A;
  font-weight: 800;
}

/* ============================================================================
   1. NEWS HUB MASTHEAD (/tin-tuc) — CLEAN MAGAZINE EDITORIAL HERO
   ============================================================================ */
.vf-ed-masthead {
  background: #FFFFFF;
  border-bottom: 1px solid var(--p4p-hol-surface-border, #E5EAF1);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem) 0 1.5rem;
}
.vf-ed-mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.vf-ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vf-blue, #1464F4);
  margin-bottom: 0.45rem;
}
.vf-ed-h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #14171A;
  text-wrap: balance;
}
.vf-ed-lead {
  margin: 0.65rem 0 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #526072;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Search & Category Filter Ribbon */
.vf-ed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #F1F5F9;
}
.vf-ed-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.vf-ed-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 2.25rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-cat-pill:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
  background: #FFFFFF;
}
.vf-ed-cat-pill.is-active {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}
.vf-ed-cat-count {
  font-size: 0.72rem;
  opacity: 0.78;
}

.vf-ed-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 20rem;
  min-width: 14rem;
}
.vf-ed-search-box {
  position: relative;
  flex: 1;
}
.vf-ed-search-box input {
  width: 100%;
  min-block-size: 2.35rem;
  padding: 0.4rem 1rem 0.4rem 2.35rem;
  border-radius: 999px;
  border: 1px solid #DCE3EC;
  background: #F8FAFC;
  color: #14171A;
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.vf-ed-search-box input:focus {
  border-color: var(--vf-blue, #1464F4);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--vf-blue-tint, rgba(20, 100, 244, 0.1));
}
.vf-ed-search-box i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.8rem;
  pointer-events: none;
}

/* ============================================================================
   2. MAGAZINE BENTO HERO (1 Large Feature + 2 Stacked Editorial Cards)
   ============================================================================ */
.vf-ed-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
}
@media (max-width: 960px) {
  .vf-ed-bento { grid-template-columns: 1fr; }
}

.vf-ed-hero-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: 26rem;
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  background: #0F141C;
  text-decoration: none;
  box-shadow: 0 20px 44px -26px rgba(15, 23, 42, 0.35);
}
.vf-ed-hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.vf-ed-hero-main:hover img {
  transform: scale(1.04);
}
.vf-ed-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.08) 0%, rgba(15, 20, 28, 0.45) 45%, rgba(15, 20, 28, 0.92) 100%);
}
.vf-ed-hero-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.vf-ed-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vf-ed-hero-main h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.8rem);
  font-weight: 900;
  line-height: 1.24;
  color: #FFFFFF;
  text-wrap: balance;
}
.vf-ed-hero-main p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vf-ed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
}
.vf-ed-hero-main .vf-ed-meta {
  color: rgba(255, 255, 255, 0.78);
}

.vf-ed-bento-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vf-ed-side-card {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  text-decoration: none;
  flex: 1;
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.16);
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}
.vf-ed-side-card:hover {
  transform: translateY(-3px);
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 18px 34px -20px rgba(20, 100, 244, 0.22);
}
@media (max-width: 560px) {
  .vf-ed-side-card { grid-template-columns: 1fr; }
}
.vf-ed-side-thumb {
  position: relative;
  min-block-size: 10.5rem;
  background: #F1F5F9;
  overflow: hidden;
}
.vf-ed-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.vf-ed-side-card:hover .vf-ed-side-thumb img {
  transform: scale(1.06);
}
.vf-ed-side-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.vf-ed-side-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #14171A;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}
.vf-ed-side-card:hover .vf-ed-side-body h3 {
  color: var(--vf-blue, #1464F4);
}

/* ============================================================================
   3. NEWS GRID + STICKY SEO SIDEBAR
   ============================================================================ */
.vf-ed-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}
.vf-ed-main-grid > *,
.vf-policy-grid > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .vf-ed-main-grid { grid-template-columns: minmax(0, 1fr); }
}

.vf-ed-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .vf-ed-cards { grid-template-columns: 1fr; }
}

.vf-ed-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.14);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease;
}
.vf-ed-card:hover {
  transform: translateY(-4px);
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 20px 38px -22px rgba(20, 100, 244, 0.25);
}
.vf-ed-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F1F5F9;
  overflow: hidden;
}
.vf-ed-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.vf-ed-card:hover .vf-ed-card-img img {
  transform: scale(1.06);
}
.vf-ed-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  background: rgba(15, 20, 28, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vf-ed-card-body {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.vf-ed-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.38;
  color: #14171A;
  text-wrap: balance;
  transition: color 0.16s ease;
}
.vf-ed-card:hover .vf-ed-card-title {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-card-excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #526072;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}
.vf-ed-card-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
}
.vf-ed-readmore {
  color: var(--vf-blue, #1464F4);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sticky Sidebar Widgets (Aligned with Global Sticky Header + Safe Clearance above #p4pHolidayDock) */
.vf-ed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--p4p-header-h, 72px) + 16px);
  padding-bottom: 5rem;
}
.vf-ed-sidebar > * {
  flex-shrink: 0;
}
.vf-ed-widget {
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  padding: 1.25rem;
  box-shadow: 0 10px 26px -22px rgba(15, 23, 42, 0.14);
}
.vf-ed-widget-title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #14171A;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.vf-ed-widget-bar {
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
}

.vf-ed-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.vf-ed-link-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.vf-ed-link-list a:hover,
.vf-ed-link-list a.is-active {
  background: var(--vf-blue-tint, rgba(20, 100, 244, 0.08));
  color: var(--vf-blue, #1464F4);
}
.vf-ed-link-list a i {
  margin-top: 0.2rem;
  color: var(--vf-blue, #1464F4);
  font-size: 0.76rem;
  flex-shrink: 0;
}

.vf-ed-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.vf-ed-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-tag:hover {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}

/* ============================================================================
   4. ARTICLE DETAIL & POLICY PROSE (68ch Optimal Readability + Auto TOC + FAQs)
   ============================================================================ */
.vf-ed-article-shell {
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  padding: clamp(1.35rem, 1rem + 1.8vw, 2.75rem);
  box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.14);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.vf-ed-article-h1 {
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.3rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #14171A;
  text-wrap: balance;
}
.vf-ed-article-lead {
  margin: 0 0 1.25rem;
  font-size: 1.04rem;
  line-height: 1.65;
  color: #475569;
  font-weight: 500;
  text-wrap: pretty;
}
.vf-ed-eeat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EAEFF5;
  margin-bottom: 1.5rem;
}
.vf-ed-eeat-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vf-ed-eeat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.vf-ed-featured-figure {
  margin: 0 0 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EAEFF5;
  background: #F1F5F9;
}
.vf-ed-featured-figure img {
  width: 100%;
  max-height: 29rem;
  object-fit: cover;
  display: block;
}

/* Auto Collapsible SEO Table of Contents (Native <details>) */
.vf-ed-toc {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3.5px solid var(--vf-blue, #1464F4);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.85rem;
}
.vf-ed-toc summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #14171A;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.vf-ed-toc summary::-webkit-details-marker { display: none; }
.vf-ed-toc-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.vf-ed-toc-list a {
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  display: inline-block;
  transition: color 0.15s ease;
}
.vf-ed-toc-list a:hover {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-toc-list li.is-h3 {
  padding-left: 1.15rem;
}
.vf-ed-toc-list li.is-h3 a {
  font-weight: 600;
  font-size: 0.84rem;
  color: #64748B;
}

/* Long-Form SEO Prose (Max 68ch, unitless line-height, crisp tables & searchable <details> FAQs) */
.vf-ed-prose {
  font-size: 1rem;
  line-height: 1.78;
  color: #2D3748;
  max-width: min(68ch, 100%);
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}
.vf-ed-prose h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.55rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #14171A;
  margin: 2.15rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEF2F6;
  text-wrap: balance;
  scroll-margin-top: 6rem;
}
.vf-ed-prose h3 {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.38;
  color: #1E293B;
  margin: 1.5rem 0 0.6rem;
  text-wrap: balance;
  scroll-margin-top: 6rem;
}
.vf-ed-prose p {
  margin: 0 0 1.1rem;
  text-wrap: pretty;
}
.vf-ed-prose ul,
.vf-ed-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.vf-ed-prose ul { list-style-type: disc; }
.vf-ed-prose ol { list-style-type: decimal; }
.vf-ed-prose li {
  margin-bottom: 0.5rem;
  text-wrap: pretty;
}
.vf-ed-prose a {
  color: var(--vf-blue, #1464F4);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vf-ed-prose a:hover {
  color: var(--vf-blue-hover, #0E50CC);
}
.vf-ed-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3.5px solid var(--vf-blue, #1464F4);
  background: var(--vf-blue-tint, rgba(20, 100, 244, 0.06));
  border-radius: 0 12px 12px 0;
  color: #1E293B;
  text-wrap: pretty;
}
.vf-ed-prose code {
  background: #F1F5F9;
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  font-size: 0.88em;
  color: #0F172A;
}
.vf-ed-prose .vf-ed-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.vf-ed-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  background: #FFFFFF;
}
.vf-ed-prose thead th {
  background: #F8FAFC;
  color: #14171A;
  font-weight: 800;
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid #E2E8F0;
  text-wrap: balance;
}
.vf-ed-prose tbody td {
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: top;
}
.vf-ed-prose tbody tr:last-child td {
  border-bottom: none;
}
.vf-ed-prose tbody tr:nth-child(even) {
  background: #FAFBFD;
}

/* Native Searchable SEO FAQ <details> inside Articles & FAQ page */
.vf-seo-faq {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: clip;
  transition: border-color 0.18s ease, box-shadow 0.2s ease;
}
.vf-seo-faq[open] {
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 10px 24px -18px rgba(20, 100, 244, 0.28);
}
.vf-seo-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #14171A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.vf-seo-faq summary::-webkit-details-marker { display: none; }
.vf-seo-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vf-blue, #1464F4);
  line-height: 1;
  flex-shrink: 0;
}
.vf-seo-faq[open] summary::after {
  content: "−";
}
.vf-seo-faq-body {
  padding: 0 1.15rem 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.85rem;
}

/* Related Real Products Strip inside SEO Article (Internal Link Conversion!) */
.vf-ed-products-box {
  margin-top: 2.25rem;
  padding: 1.4rem;
  border-radius: var(--p4p-card-radius, 14px);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.vf-ed-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .vf-ed-products-grid {
    grid-template-columns: repeat(var(--p4p-mobile-cols, 3), minmax(0, 1fr));
    gap: 0.5rem;
  }
  .vf-ed-prod-mini { padding: 0.45rem 0.35rem 0.6rem; border-radius: 11px; }
  .vf-ed-prod-mini-img { padding: 0.35rem; margin-bottom: 0.45rem; border-radius: 8px; }
  .vf-ed-prod-mini h4 { font-size: 0.72rem; line-height: 1.32; max-height: calc(3 * 1.32em); }
  .vf-ed-prod-mini strong { font-size: 0.84rem; white-space: nowrap; letter-spacing: -0.025em; }
}
.vf-ed-prod-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: var(--p4p-card-radius, 14px);
  padding: 0.8rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vf-ed-prod-mini:hover {
  border-color: var(--vf-blue, #1464F4);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.2);
}
.vf-ed-prod-mini-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F6F7FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  margin-bottom: 0.7rem;
}
.vf-ed-prod-mini-img img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.vf-ed-prod-mini h4 {
  margin: 0 0 0.45rem;
  font-family: var(--p4p-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0F172A;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vf-ed-prod-mini strong {
  margin-top: auto;
  font-family: var(--p4p-price-font, "Chakra Petch", "Montserrat", "Plus Jakarta Sans", sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--p4p-price-color, #EE4D2D);
  font-variant-numeric: tabular-nums;
}

/* Policy 2-Column Trust Layout */
.vf-policy-grid {
  display: grid;
  grid-template-columns: 18.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0 4rem;
}
@media (max-width: 960px) {
  .vf-policy-grid { grid-template-columns: 1fr; }
}

/* Subtle top reading bar on article detail */
#vfReadingBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--vf-blue, #1464F4);
  z-index: 1200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ============================================================================
   5. SHARED EDITORIAL COMPONENTS (Popular List, Concierge, Pagination, E-E-A-T)
   ============================================================================ */
.vf-ed-pop-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.vf-ed-pop-item {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  text-decoration: none;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #F1F5F9;
}
.vf-ed-pop-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.vf-ed-pop-thumb {
  width: 4.75rem;
  height: 3.55rem;
  border-radius: 9px;
  overflow: hidden;
  background: #F1F5F9;
  flex-shrink: 0;
}
.vf-ed-pop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.vf-ed-pop-item:hover .vf-ed-pop-thumb img {
  transform: scale(1.06);
}
.vf-ed-pop-title {
  margin: 0 0 0.25rem;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.38;
  color: #14171A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}
.vf-ed-pop-item:hover .vf-ed-pop-title {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-pop-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
}

/* Dark Architectural Showroom Concierge Widget */
.vf-ed-concierge {
  background: linear-gradient(155deg, #111827 0%, #0B0F17 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--p4p-card-radius, 14px);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.55);
}
.vf-ed-concierge-kicker {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93C5FD;
}
.vf-ed-concierge h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  color: #FFFFFF;
  text-wrap: balance;
}
.vf-ed-concierge p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.vf-ed-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 2.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease;
}
.vf-ed-btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.vf-ed-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 2.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.16s ease;
}
.vf-ed-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.vf-ed-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-block-size: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #DCE3EC;
  color: #1E293B;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}
.vf-ed-btn-outline:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
}

/* Active Filter Summary Bar & Sort Select */
.vf-ed-sort-select {
  min-block-size: 2.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #DCE3EC;
  background: #FFFFFF;
  color: #14171A;
  font-size: 0.8125rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
.vf-ed-sort-select:focus {
  border-color: var(--vf-blue, #1464F4);
}
.vf-ed-active-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #E5EAF1);
  font-size: 0.85rem;
  color: #334155;
}

/* Pagination */
.vf-ed-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}
.vf-ed-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-block-size: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #DCE3EC;
  color: #1E293B;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-page-btn:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
}
.vf-ed-page-btn.is-active {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}

/* Article Share + Tags + E-E-A-T Showroom Verification Box */
.vf-ed-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #EEF2F6;
}
.vf-ed-eeat-box {
  margin-top: 1.75rem;
  padding: 1.35rem 1.45rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.vf-ed-eeat-badge {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.vf-ed-related-section {
  margin-top: 2.25rem;
}
.vf-ed-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.vf-ed-section-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 900;
  color: #14171A;
  letter-spacing: -0.02em;
}

/* Policy Official Legal Entity Footer Box */
.vf-policy-legal-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--vf-blue, #1464F4);
}
.vf-policy-legal-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14171A;
}
.vf-policy-legal-box p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #475569;
}

/* Smooth Native <details> Progressive Disclosure (Modern Web Guidance) */
.vf-seo-faq::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.vf-seo-faq:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .vf-seo-faq::details-content {
    transition: block-size 0.25s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.25s allow-discrete;
  }
}

/* Prevent old floating mobile FAB from colliding with Holiday Dock on editorial pages */
body.vf-ed-page #mobileFab {
  display: none !important;
}
