/* Olive Review: single post design */
:root {
  --rv-bg: #FFFFFF;
  --rv-surface: #F5F6EF;
  --rv-ink: #1B2016;
  --rv-muted: #5C6553;
  --rv-line: #E2E6D8;
  --rv-accent: #5A6B2E;
  --rv-accent-deep: #2E3818;
  --rv-accent-soft: #EEF1E2;
  --rv-radius-sm: 8px;
  --rv-radius: 16px;
  --rv-shadow: 0 1px 2px rgba(46, 56, 24, 0.06), 0 12px 32px -12px rgba(46, 56, 24, 0.28);
  --rv-font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --rv-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --rv-ico-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  --rv-ico-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.5 13.2 17 22l-5-3-5 3 1.5-8.8'/%3E%3C/svg%3E");
  --rv-ico-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
  --rv-ico-help: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E");
  --rv-ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

.rv-single {
  font-family: var(--rv-font);
  color: var(--rv-ink);
  background: var(--rv-bg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 96px;
  box-sizing: border-box;
}
.rv-single *, .rv-single *::before, .rv-single *::after { box-sizing: border-box; }
.rv-single :where(h1, h2, h3, h4, p, ul, ol, figure, table, dl, dd) { margin: 0; }

/* Hero */
.rv-hero { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.rv-crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--rv-muted); }
.rv-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.rv-crumbs li + li::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--rv-ico-arrow) center / contain no-repeat; mask: var(--rv-ico-arrow) center / contain no-repeat; opacity: 0.6; }
.rv-crumbs a { color: var(--rv-muted); text-decoration: none; }
.rv-crumbs a:hover { color: var(--rv-accent); }
.rv-crumbs [aria-current] { color: var(--rv-ink); font-weight: 600; max-width: 34ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-cat { margin: 4px 0 0 !important; }
.rv-cat a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--rv-accent-soft); color: var(--rv-accent-deep); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.rv-cat a:hover { background: var(--rv-accent); color: #FFFFFF; }
.rv-title { font-size: clamp(2rem, 4.4vw, 3.25rem) !important; line-height: 1.08 !important; font-weight: 800 !important; letter-spacing: -0.03em !important; color: var(--rv-ink); margin: 0 !important; text-wrap: balance; }
.rv-dek p { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--rv-muted); max-width: 62ch; margin: 0; }
.rv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 6px; font-size: 0.875rem; color: var(--rv-muted); }
.rv-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.rv-meta__item svg { width: 16px; height: 16px; color: var(--rv-accent); flex: none; }
.rv-meta strong { color: var(--rv-ink); font-weight: 700; }

/* Featured image */
.rv-feature { margin: 36px 0 0 !important; }
.rv-feature img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--rv-shadow); }

/* Layout */
.rv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; margin-top: 56px; align-items: start; }
.rv-article { min-width: 0; max-width: 720px; }
.rv-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }

/* Content typography */
.rv-content { font-size: 1.125rem; line-height: 1.75; color: var(--rv-ink); }
.rv-content > * + * { margin-top: 1.25em !important; }
.rv-content p { max-width: 68ch; }
.rv-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; margin-top: 2.4em !important; padding-top: 18px; border-top: 1px solid var(--rv-line); scroll-margin-top: 24px; position: relative; }
.rv-content h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--rv-accent); }
.rv-content h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; margin-top: 1.8em !important; }
.rv-content a { color: var(--rv-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rv-content a:hover { color: var(--rv-accent-deep); }
.rv-content strong { font-weight: 700; }
.rv-content ul, .rv-content ol { padding-left: 0; list-style: none; }
.rv-content li { position: relative; padding-left: 28px; }
.rv-content li + li { margin-top: 0.55em; }
.rv-content ul > li::before { content: ""; position: absolute; left: 6px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--rv-accent); }
.rv-content ol { counter-reset: rv; }
.rv-content ol > li { counter-increment: rv; padding-left: 40px; }
.rv-content ol > li::before { content: counter(rv); position: absolute; left: 0; top: 0.15em; width: 26px; height: 26px; border-radius: 50%; background: var(--rv-accent-soft); color: var(--rv-accent-deep); font-size: 0.8125rem; font-weight: 800; line-height: 26px; text-align: center; }

/* Verdict callout */
.rv-content .rv-verdict { background: var(--rv-accent-soft); border-left: 4px solid var(--rv-accent); border-radius: 0 var(--rv-radius) var(--rv-radius) 0; padding: 26px 28px; }
.rv-content .rv-verdict > * + * { margin-top: 0.75em !important; }
.rv-content .rv-verdict h2, .rv-content .rv-verdict .rv-label { all: unset; display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-accent-deep); }
.rv-content .rv-verdict h2::before, .rv-content .rv-verdict .rv-label::before { content: ""; position: static; width: 20px; height: 20px; border-radius: 0; background: var(--rv-accent); -webkit-mask: var(--rv-ico-award) center / contain no-repeat; mask: var(--rv-ico-award) center / contain no-repeat; }
.rv-content .rv-verdict p { font-size: 1.0625rem; }

/* Key takeaways */
.rv-content .rv-takeaways { background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 24px 28px; }
.rv-content .rv-takeaways .rv-label { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rv-accent-deep); }
.rv-content .rv-takeaways .rv-label::before { content: ""; width: 18px; height: 18px; background: var(--rv-accent); -webkit-mask: var(--rv-ico-bolt) center / contain no-repeat; mask: var(--rv-ico-bolt) center / contain no-repeat; }
.rv-content .rv-takeaways ul { margin-top: 14px !important; }
.rv-content .rv-takeaways li { font-size: 1rem; line-height: 1.6; }
.rv-content .rv-takeaways li::before, .rv-content .rv-pros li::before { left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 0; background: var(--rv-accent); -webkit-mask: var(--rv-ico-check) center / contain no-repeat; mask: var(--rv-ico-check) center / contain no-repeat; }

/* Tables */
.rv-content .wp-block-table { margin-left: 0; margin-right: 0; overflow-x: auto; border: 1px solid var(--rv-line); border-radius: var(--rv-radius); }
.rv-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.9875rem; line-height: 1.5; border: 0; }
.rv-content .wp-block-table th, .rv-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--rv-line); padding: 14px 18px; text-align: left; vertical-align: top; }
.rv-content .wp-block-table tr:last-child td { border-bottom: 0; }
.rv-content .wp-block-table thead th { background: var(--rv-accent-deep); color: #FFFFFF; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rv-content .wp-block-table tbody tr:nth-child(even) td { background: var(--rv-surface); }
.rv-content .rv-specs tbody td:first-child { width: 38%; font-weight: 700; color: var(--rv-muted); }
.rv-content .wp-block-table figcaption { padding: 10px 18px; font-size: 0.8125rem; color: var(--rv-muted); border-top: 1px solid var(--rv-line); margin: 0; }

/* Pros and cons */
.rv-content .rv-proscons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 0; }
.rv-content .rv-proscons > .wp-block-column { margin: 0 !important; border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 22px 24px; background: var(--rv-bg); }
.rv-content .rv-pros { border-top: 4px solid var(--rv-accent) !important; }
.rv-content .rv-cons { border-top: 4px solid var(--rv-ink) !important; }
.rv-content .rv-proscons h3 { margin: 0 0 12px !important; font-size: 1.0625rem; }
.rv-content .rv-proscons li { font-size: 0.9875rem; line-height: 1.55; }
.rv-content .rv-cons li::before { left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 0; background: var(--rv-ink); -webkit-mask: var(--rv-ico-x) center / contain no-repeat; mask: var(--rv-ico-x) center / contain no-repeat; }

/* FAQ */
.rv-content .rv-faq { border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 6px 28px; }
.rv-content .rv-faq h3 { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; padding-top: 22px; font-size: 1.0625rem; }
.rv-content .rv-faq h3::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--rv-accent); -webkit-mask: var(--rv-ico-help) center / contain no-repeat; mask: var(--rv-ico-help) center / contain no-repeat; }
.rv-content .rv-faq p { margin-top: 8px !important; padding: 0 0 22px 32px; font-size: 1rem; line-height: 1.65; color: var(--rv-muted); border-bottom: 1px solid var(--rv-line); }
.rv-content .rv-faq p:last-child { border-bottom: 0; }

/* Rating card */
.rv-score { background: var(--rv-accent-deep); color: #FFFFFF; border-radius: 20px; padding: 28px; box-shadow: var(--rv-shadow); }
.rv-score__label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-accent-soft); opacity: 0.85; }
.rv-score__item { margin-top: 6px !important; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.rv-score__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.rv-score__value { font-size: 3.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.rv-score__value small { font-size: 1.125rem; font-weight: 600; opacity: 0.7; letter-spacing: 0; }
.rv-stars { position: relative; display: inline-block; width: 98px; height: 20px; margin-bottom: 8px; }
.rv-stars svg { position: absolute; inset: 0; width: 98px; height: 20px; }
.rv-stars__base { color: rgba(255, 255, 255, 0.22); }
.rv-stars__fill { position: absolute; inset: 0; overflow: hidden; color: var(--rv-accent-soft); }
.rv-score__facts { margin-top: 22px !important; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.rv-score__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.875rem; }
.rv-score__facts dt { opacity: 0.72; }
.rv-score__facts dd { font-weight: 700; text-align: right; }
.rv-score__best { margin-top: 16px !important; font-size: 0.875rem; line-height: 1.55; opacity: 0.9; }
.rv-score__best strong { color: var(--rv-accent-soft); }

/* Table of contents */
.rv-toc { border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 22px 24px; background: var(--rv-bg); }
.rv-toc__title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-muted); }
.rv-toc ol { list-style: none; padding: 0; margin: 14px 0 0; border-left: 2px solid var(--rv-line); }
.rv-toc li { margin: 0; }
.rv-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.4; color: var(--rv-ink); text-decoration: none; transition: color 0.15s ease, border-color 0.15s ease; }
.rv-toc a:hover, .rv-toc a:focus-visible { color: var(--rv-accent); border-left-color: var(--rv-accent); }

/* Related */
.rv-related { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--rv-line); }
.rv-related__head { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.rv-related__grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rv-related__card { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--rv-line); border-radius: var(--rv-radius); text-decoration: none; color: var(--rv-ink); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.rv-related__card:hover { border-color: var(--rv-accent); box-shadow: var(--rv-shadow); }
.rv-related__thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--rv-accent-soft), var(--rv-surface)); }
.rv-related__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-related__title { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.rv-related__date { margin-top: 6px !important; font-size: 0.8125rem; color: var(--rv-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .rv-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .rv-aside { position: static; order: -1; }
  .rv-article { max-width: none; }
}
@media (max-width: 680px) {
  .rv-single { padding: 24px 16px 72px; }
  .rv-crumbs li:last-child { display: none; }
  .rv-feature { margin-top: 24px !important; }
  .rv-feature img { border-radius: 14px; }
  .rv-content { font-size: 1.0625rem; }
  .rv-content .rv-proscons { grid-template-columns: 1fr; }
  .rv-content .rv-verdict, .rv-content .rv-takeaways { padding: 20px; }
  .rv-content .rv-faq { padding: 4px 20px; }
  .rv-related__grid { grid-template-columns: 1fr; }
  .rv-related__card { grid-template-columns: 104px 1fr; }
  .rv-score__value { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-single * { transition: none !important; }
}

/* Pages */
.rv-page .rv-hero { max-width: 760px; }
.rv-page__body { max-width: 760px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rv-line); }
.rv-page .rv-content h2:first-child { margin-top: 0 !important; }
.rv-content .rv-note { background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 20px 24px; font-size: 1rem; max-width: none; }

/* Contact form */
.rv-form-wrap { margin-top: 1.5em; }
.rv-form { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--rv-line); border-radius: 20px; background: var(--rv-surface); }
.rv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rv-form__field { display: flex; flex-direction: column; gap: 8px; }
.rv-form label { font-size: 0.875rem; font-weight: 700; color: var(--rv-ink); }
.rv-form input, .rv-form select, .rv-form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--rv-line); border-radius: 12px; background: var(--rv-bg); font: inherit; font-size: 1rem; color: var(--rv-ink); box-sizing: border-box; }
.rv-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.rv-form input:focus, .rv-form select:focus, .rv-form textarea:focus { outline: none; border-color: var(--rv-accent); box-shadow: 0 0 0 3px var(--rv-accent-soft); }
.rv-form__consent { font-size: 0.875rem !important; line-height: 1.55; color: var(--rv-muted); margin: 0 !important; }
.rv-form__submit { align-self: flex-start; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--rv-accent); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.15s ease; }
.rv-form__submit:hover, .rv-form__submit:focus-visible { background: var(--rv-accent-deep); }
.rv-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-form__notice { margin-bottom: 18px; padding: 14px 18px; border-radius: 12px; font-size: 1rem; font-weight: 600; }
.rv-form__notice--ok { background: var(--rv-accent-soft); color: var(--rv-accent-deep); border: 1px solid var(--rv-accent); }
.rv-form__notice--err { background: var(--rv-surface); color: var(--rv-ink); border: 1px solid var(--rv-ink); }
@media (max-width: 680px) {
  .rv-form { padding: 20px; }
  .rv-form__row { grid-template-columns: 1fr; }
  .rv-form__submit { align-self: stretch; }
}
/* Author box */
.rv-author { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 56px; padding: 28px; border: 1px solid var(--rv-line); border-radius: 20px; background: var(--rv-surface); font-family: var(--rv-font); }
.rv-author__avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; }
.rv-author__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-author__initial { display: grid; place-items: center; width: 100%; height: 100%; background: var(--rv-accent-deep); color: #FFFFFF; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; }
.rv-author__label { margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rv-accent); }
.rv-author__name { margin: 4px 0 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.rv-author__name a { color: var(--rv-ink); text-decoration: none; }
.rv-author__name a:hover { color: var(--rv-accent); }
.rv-author__bio { margin: 10px 0 0; font-size: 1rem; line-height: 1.65; color: var(--rv-muted); max-width: 62ch; }
.rv-author__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.rv-author__links a { font-size: 0.9375rem; font-weight: 700; color: var(--rv-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rv-author--page { margin: 0; padding: 0; border: 0; background: transparent; grid-template-columns: 96px minmax(0, 1fr); }
.rv-author--page .rv-author__avatar { width: 96px; height: 96px; }
.rv-author__h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
@media (max-width: 680px) {
  .rv-author { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; margin-top: 40px; }
  .rv-author__avatar { width: 64px; height: 64px; }
  .rv-author__initial { font-size: 1.625rem; }
  .rv-author--page { grid-template-columns: 72px minmax(0, 1fr); }
  .rv-author--page .rv-author__avatar { width: 72px; height: 72px; }
}