/* =============================================
   Review Fones de Ouvido — Header v1.0.0
   Gradient identity: azul → ciano → verde → âmbar → laranja
============================================= */

:root {
  --rfo-gradient:   linear-gradient(90deg, #1e40af, #0284c7, #059669, #d97706, #ea580c);
  --rfo-gradient-d: linear-gradient(135deg, #1e40af 0%, #0284c7 30%, #059669 60%, #d97706 85%, #ea580c 100%);
  --rfo-dark:   #1e2d3d;
  --rfo-mid:    #374151;
  --rfo-light:  #6b7280;
  --rfo-border: #e5e7eb;
  --rfo-bg:     #f9fafb;
}

/* ── Sticky wrapper ── */
.rfo-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 1px 0 var(--rfo-border);
  transition: box-shadow 0.25s ease;
}
.rfo-site-header.rfo-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── Top bar ── */
.rfo-top-bar {
  background: #1e2d3d;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}
.rfo-top-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 15% 50%, rgba(37,99,235,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 100% at 85% 50%, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.rfo-top-bar p {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1;
}

/* ── Main header ── */
.rfo-main-header {
  background: #fff;
  border-bottom: 1px solid var(--rfo-border);
}
.rfo-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ── Logo ── */
.rfo-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.rfo-logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.rfo-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.rfo-logo-top {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}
.rfo-logo-bottom {
  font-family: 'Nunito', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4b5563;
}

/* ── Main nav ── */
.rfo-main-nav {
  margin-left: auto;
  flex-shrink: 0;
}
.rfo-main-nav > ul.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rfo-main-nav > ul.menu > li { list-style: none; position: relative; }
.rfo-main-nav > ul.menu > li > a {
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--rfo-mid) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.15s;
}
.rfo-main-nav > ul.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--rfo-gradient);
  border-radius: 2px;
  transition: width 0.2s ease;
}
.rfo-main-nav > ul.menu > li:hover > a,
.rfo-main-nav > ul.menu > .current-menu-item > a,
.rfo-main-nav > ul.menu > .current_page_item > a,
.rfo-main-nav > ul.menu > .current-menu-ancestor > a {
  color: var(--rfo-dark) !important;
}
.rfo-main-nav > ul.menu > li:hover > a::after,
.rfo-main-nav > ul.menu > .current-menu-item > a::after,
.rfo-main-nav > ul.menu > .current_page_item > a::after,
.rfo-main-nav > ul.menu > .current-menu-ancestor > a::after {
  width: 100%;
}
.rfo-main-nav .sub-menu { display: none !important; }

/* ── Search button ── */
.rfo-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rfo-light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.rfo-search-btn:hover { color: #1e40af; background: #eff6ff; }

/* ── Hamburger ── */
.rfo-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.rfo-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--rfo-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.rfo-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rfo-hamburger.is-active span:nth-child(2) { opacity: 0; }
.rfo-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Category strip ── */
.rfo-category-strip {
  background: #f9fafb;
  border-bottom: 1px solid var(--rfo-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.rfo-category-strip::-webkit-scrollbar { display: none; }
.rfo-category-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 40px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.rfo-category-strip-inner::-webkit-scrollbar { display: none; }
.rfo-category-strip-inner a {
  text-decoration: none !important;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rfo-light);
  white-space: nowrap;
  padding: 0 16px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.rfo-category-strip-inner a:first-child { padding-left: 0; }
.rfo-category-strip-inner a:hover { color: var(--rfo-dark); }
.rfo-category-strip-inner a:hover::after,
.rfo-category-strip-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rfo-gradient);
}
.rfo-category-strip-inner a.active {
  color: var(--rfo-dark);
  font-weight: 600;
}

/* ── Mobile menu ── */
.rfo-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--rfo-border);
}
.rfo-mobile-menu.is-open { display: block; }
.rfo-mobile-menu > ul.menu {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0 20px;
}
.rfo-mobile-menu > ul.menu > li { list-style: none; }
.rfo-mobile-menu > ul.menu > li > a {
  display: block;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 500;
  color: var(--rfo-mid) !important;
  padding: 12px 0;
  border-bottom: 1px solid var(--rfo-border);
  transition: color 0.15s;
}
.rfo-mobile-menu > ul.menu > li:last-child > a { border-bottom: none; }
.rfo-mobile-menu > ul.menu > li > a:hover { color: #1e40af !important; }

/* ── Search overlay ── */
.rfo-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rfo-search-overlay.is-open { pointer-events: all; opacity: 1; }
.rfo-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(2px);
}
.rfo-search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.rfo-search-form {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
}
.rfo-search-form > svg { color: var(--rfo-light); flex-shrink: 0; }
.rfo-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  height: 64px;
  color: var(--rfo-dark);
  background: transparent;
}
.rfo-search-input::placeholder { color: var(--rfo-border); }
.rfo-search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--rfo-light);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.rfo-search-close:hover { color: var(--rfo-dark); background: var(--rfo-border); }

/* ── Align titles left (Blocksy override) ── */
.entry-title,
.page-title,
h1.title,
.ct-post-title,
.blocksy-single-post-title {
  text-align: left !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .rfo-main-nav,
  .rfo-search-btn { display: none !important; }
  .rfo-hamburger { display: flex !important; }
  .rfo-header-inner { gap: 0; padding: 0 20px; }
  .rfo-category-strip-inner { padding: 0 20px; }
  .rfo-logo-top { font-size: 18px; }
}
@media (max-width: 420px) {
  .rfo-logo-bottom { display: none; }
  .rfo-top-bar p { font-size: 10px; }
}

/* =============================================
   Content Layout
============================================= */

.rfo-page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 64px;
}

/* ── Hero section (63/37 grid) ── */
.rfo-hero-section {
  display: grid;
  grid-template-columns: 1fr 37%;
  gap: 40px;
  margin-bottom: 56px;
  align-items: start;
}

/* ── Hero main (featured post) ── */
.rfo-hero-thumb-link { display: block; text-decoration: none !important; }
.rfo-hero-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rfo-border);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rfo-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.rfo-hero-thumb-link:hover .rfo-hero-thumb img { transform: scale(1.03); }
.rfo-hero-emoji { font-size: 64px; }

.rfo-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.rfo-tag {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--rfo-gradient);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
}

.rfo-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--rfo-dark);
  margin: 0 0 14px;
}
.rfo-hero-title a { text-decoration: none !important; color: inherit !important; }
.rfo-hero-title a:hover { color: #1e40af !important; }

.rfo-hero-excerpt {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rfo-light);
  margin: 0 0 18px;
}

.rfo-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: var(--rfo-light);
}
.rfo-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rfo-light);
  display: inline-block;
}

/* ── Rankings sidebar ── */
.rfo-rankings {
  border-left: 1px solid var(--rfo-border);
  padding-left: 32px;
}
.rfo-rankings-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rfo-light);
  margin: 0 0 10px;
}
.rfo-rankings-bar {
  height: 3px;
  background: var(--rfo-gradient);
  border-radius: 2px;
  margin-bottom: 20px;
}

.rfo-ranking-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rfo-border);
}
.rfo-ranking-item:last-child { border-bottom: none; }
.rfo-ranking-thumb {
  display: block;
  width: 72px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--rfo-border);
  flex-shrink: 0;
  text-decoration: none !important;
}
.rfo-ranking-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rfo-ranking-thumb span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 24px; }
.rfo-ranking-info { display: flex; flex-direction: column; justify-content: center; }
.rfo-ranking-cat {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284c7;
  margin: 0 0 4px;
}
.rfo-ranking-title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rfo-dark);
  margin: 0 0 5px;
}
.rfo-ranking-title a { text-decoration: none !important; color: inherit !important; }
.rfo-ranking-title a:hover { color: #1e40af !important; }
.rfo-ranking-date {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  color: var(--rfo-light);
}

/* ── Posts section (3-col grid) ── */
.rfo-posts-section { margin-top: 0; }

.rfo-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.rfo-section-label {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rfo-dark);
  white-space: nowrap;
}
.rfo-section-line {
  flex: 1;
  height: 2px;
  background: var(--rfo-gradient);
  border-radius: 2px;
}

.rfo-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Post card ── */
.rfo-post-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rfo-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.rfo-post-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.rfo-card-thumb-link { display: block; text-decoration: none !important; }
.rfo-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--rfo-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rfo-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.rfo-card-thumb-link:hover .rfo-card-thumb img { transform: scale(1.05); }
.rfo-card-emoji { font-size: 40px; }

.rfo-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rfo-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--rfo-dark);
  margin: 0 0 10px;
}
.rfo-card-title a { text-decoration: none !important; color: inherit !important; }
.rfo-card-title a:hover { color: #1e40af !important; }
.rfo-card-excerpt {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--rfo-light);
  margin: 0 0 auto;
  padding-bottom: 14px;
}
.rfo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--rfo-border);
  margin-top: 12px;
}
.rfo-card-date {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11.5px;
  color: var(--rfo-light);
}
.rfo-card-cta {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1e40af !important;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.rfo-card-cta:hover { color: #0284c7 !important; }

/* ── Empty state ── */
.rfo-empty-state {
  padding: 80px 0;
  text-align: center;
  color: var(--rfo-light);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
}

/* ── Footer ── */
.rfo-footer {
  background: var(--rfo-dark);
  padding: 48px 0 32px;
  margin-top: 64px;
}
.rfo-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.rfo-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.rfo-footer-brand {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rfo-footer-nav ul.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rfo-footer-nav ul.menu li { list-style: none; }
.rfo-footer-nav ul.menu a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 0.15s;
}
.rfo-footer-nav ul.menu a:hover { color: #fff !important; }
.rfo-footer-network {
  width: 100%;
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
}
.rfo-footer-network-label {
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 12px;
}
.rfo-footer-network-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.rfo-footer-network-list li { list-style: none; }
.rfo-footer-network-list a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.rfo-footer-network-list a:hover,
.rfo-footer-network-list a[aria-current="page"] {
  color: #fff !important;
}
.rfo-footer-network-list a[aria-current="page"] {
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.rfo-footer-copy {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #374151;
  width: 100%;
  text-align: center;
}

/* ── Content responsive ── */
@media (max-width: 1024px) {
  .rfo-hero-section { grid-template-columns: 1fr 42%; gap: 28px; }
  .rfo-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rfo-page-body { padding: 24px 20px 48px; }
  .rfo-hero-section { grid-template-columns: 1fr; }
  .rfo-rankings { border-left: none; padding-left: 0; border-top: 1px solid var(--rfo-border); padding-top: 28px; }
  .rfo-posts-grid { grid-template-columns: 1fr; }
  .rfo-footer-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .rfo-posts-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Single Post / Article
============================================= */

.rfo-article-page {
  background: #fff;
}
.rfo-article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Breadcrumb ── */
.rfo-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 24px 0 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--rfo-light);
}
.rfo-breadcrumb a {
  color: var(--rfo-light) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.rfo-breadcrumb a:hover { color: #1e40af !important; }
.rfo-breadcrumb span[aria-hidden] { color: var(--rfo-border); }
.rfo-breadcrumb-current {
  color: var(--rfo-mid);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

/* ── Article header ── */
.rfo-article-header {
  padding: 20px 0 0;
}
.rfo-article-cat {
  display: inline-block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--rfo-gradient);
  color: #fff !important;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 18px;
  text-decoration: none !important;
}
.rfo-article-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4.5vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--rfo-dark);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.rfo-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rfo-border);
  flex-wrap: wrap;
}
.rfo-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rfo-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rfo-gradient);
}
.rfo-meta-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rfo-meta-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--rfo-dark);
}
.rfo-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rfo-border);
  flex-shrink: 0;
}
.rfo-meta-date,
.rfo-meta-read {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--rfo-light);
}
.rfo-share-btn {
  margin-left: auto;
  background: none;
  border: 1px solid var(--rfo-border);
  border-radius: 8px;
  padding: 7px 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--rfo-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, color 0.15s;
}
.rfo-share-btn:hover { border-color: #1e40af; color: #1e40af; }

/* ── Hero image ── */
.rfo-article-hero {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--rfo-border);
}
.rfo-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Article body typography ── */
.rfo-article-body {
  padding-bottom: 48px;
}
.rfo-article-body p {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.78;
  color: var(--rfo-mid);
  margin-bottom: 24px;
}
.rfo-article-body h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--rfo-dark);
  margin: 48px 0 20px;
  padding-top: 8px;
  border-top: 1px solid var(--rfo-border);
}
.rfo-article-body h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--rfo-dark);
  margin: 36px 0 16px;
}
.rfo-article-body h4 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--rfo-dark);
  margin: 28px 0 12px;
}
.rfo-article-body a {
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: underline;
  text-decoration-color: #0284c7;
  font-weight: 500;
}
.rfo-article-body ul,
.rfo-article-body ol {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--rfo-mid);
  margin: 0 0 24px 24px;
  padding: 0;
}
.rfo-article-body li { margin-bottom: 8px; }
.rfo-article-body blockquote {
  background: var(--rfo-bg);
  border-left: 4px solid transparent;
  border-image: var(--rfo-gradient) 1;
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--rfo-mid);
}
.rfo-article-body blockquote p { font-size: 17px; margin: 0; }
.rfo-article-body img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 28px 0;
}
.rfo-article-body figure { margin: 28px 0; }
.rfo-article-body figcaption {
  font-size: 13px;
  color: var(--rfo-light);
  text-align: center;
  margin-top: 8px;
}
.rfo-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 28px 0;
}
.rfo-article-body th {
  background: var(--rfo-dark);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rfo-article-body td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--rfo-border);
  color: var(--rfo-mid);
}
.rfo-article-body tr:last-child td { border-bottom: none; }
.rfo-article-body tr:nth-child(even) td { background: var(--rfo-bg); }

/* ── Author bio ── */
.rfo-author-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--rfo-bg);
  border: 1px solid var(--rfo-border);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0 32px;
}
.rfo-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rfo-gradient);
}
.rfo-author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rfo-author-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--rfo-dark);
  margin-bottom: 3px;
}
.rfo-author-role {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.rfo-author-desc {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rfo-light);
}

/* ── Related posts ── */
.rfo-related {
  padding: 40px 0 0;
  border-top: 2px solid var(--rfo-dark);
  margin-top: 8px;
}
.rfo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.rfo-related-card {
  display: block;
  text-decoration: none !important;
}
.rfo-related-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--rfo-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.rfo-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rfo-related-emoji { font-size: 28px; }
.rfo-related-cat {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--rfo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.rfo-related-title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--rfo-dark) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  transition: color 0.15s;
}
.rfo-related-card:hover .rfo-related-title { color: #1e40af !important; }
.rfo-related-date {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  color: var(--rfo-light);
}

/* ── Single responsive ── */
@media (max-width: 768px) {
  .rfo-article-wrap { padding: 0 16px 60px; }
  .rfo-related-grid { grid-template-columns: 1fr 1fr; }
  .rfo-share-btn { display: none; }
}
@media (max-width: 480px) {
  .rfo-related-grid { grid-template-columns: 1fr; }
  .rfo-article-meta { gap: 8px; }
}
