/* ══════════════════════════════════════════════════════════════
   TEMPLATE: vita — home.css
   WebMD/Nature health & science. Calm, airy, trustworthy.
   ══════════════════════════════════════════════════════════════ */

/* ── STORIES ──────────────────────────── */
.vt-stories { max-width: var(--vt-max-w); margin: 20px auto 0; padding: 0 20px; }

/* ── BREAKING BAR ─────────────────────── */
.vt-breaking { background: color-mix(in srgb, var(--vt-accent-soft) 60%, var(--color-fff)); border-block: 1px solid var(--vt-accent-soft); }
.vt-breaking__inner { max-width: var(--vt-max-w); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.vt-breaking__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--vt-accent); color: #fff; padding: 5px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; flex-shrink: 0; }
.vt-breaking__badge .icon { width: 12px; height: 12px; }
.vt-breaking__wrap { flex: 1; min-width: 0; overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%); }
.vt-breaking__track { white-space: nowrap; display: inline-flex; gap: 24px; font-size: 13px; animation: vt-breaking-scroll 140s linear infinite; }
.vt-breaking__track:hover { animation-play-state: paused; }
@keyframes vt-breaking-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .vt-breaking__track { animation-name: vt-breaking-scroll-rtl; }
@keyframes vt-breaking-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.vt-breaking__item { color: var(--color-333); font-weight: 500; position: relative; padding-inline-end: 24px; }
.vt-breaking__item:not(:last-child)::after { content: '•'; position: absolute; inset-inline-end: 6px; color: var(--vt-accent); }
.vt-breaking__item:hover { color: var(--vt-accent-deep); }

/* ── LAYOUT: main + two sidebars ─────── */
.vt-layout { max-width: calc(var(--vt-max-w) + 360px); margin: 0 auto; padding: 28px 20px 60px; display: grid; grid-template-columns: 180px 1fr 180px; gap: 24px; }
.vt-main { min-width: 0; }
.vt-sidebar__sticky { position: sticky; top: 90px; padding-top: 0; }
.vt-sidebar__ad { margin-bottom: 16px; }
.vt-sidebar__ad:empty { display: none; }
.vt-sidebar__ad img { max-width: 100%; display: block; border-radius: var(--vt-radius-sm); }
@media (max-width: 1200px) {
  .vt-layout { grid-template-columns: 1fr; max-width: var(--vt-max-w); }
  .vt-sidebar { display: none; }
}
@media (max-width: 768px) {
  .vt-layout { padding: 16px 16px 40px; }
}
@media (max-width: 480px) {
  .vt-layout { padding: 12px 12px 30px; }
}

/* ── HERO: calm, gradient glow ───────── */
.vt-hero { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin: 0 0 44px; padding: 32px 0 24px; overflow: hidden; }
.vt-hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, var(--vt-accent-soft) 0%, transparent 60%); opacity: 0.7; pointer-events: none; z-index: -1; }
.vt-hero__lead-link { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; color: var(--color-000); }
.vt-hero__lead-fig { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--vt-radius); }
.vt-hero__lead-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vt-hero__lead-link:hover .vt-hero__lead-img { transform: scale(1.04); }
.vt-hero__lead-cat { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--vt-accent); padding: 5px 12px; border-radius: 999px; }
.vt-hero__lead-cat[style] { background: var(--cat-bg, var(--vt-accent)); color: var(--cat-text, #fff); }
.vt-hero__lead-body { min-width: 0; }
.vt-hero__lead-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; line-height: 1.2; color: var(--color-000); margin-bottom: 12px; letter-spacing: -0.015em; }
.vt-hero__lead-link:hover .vt-hero__lead-title { color: var(--vt-accent-deep); }
.vt-hero__lead-sub { font-size: 15px; color: var(--color-333); line-height: 1.65; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-hero__lead-meta { display: flex; gap: 16px; font-size: 12px; color: var(--color-555); flex-wrap: wrap; }
.vt-hero__lead-author, .vt-hero__lead-time { display: inline-flex; align-items: center; gap: 4px; }
.vt-hero__lead-author .icon, .vt-hero__lead-time .icon { width: 12px; height: 12px; color: var(--vt-accent); }
.vt-hero__lead-author { font-weight: 600; color: var(--color-333); }

.vt-hero__side { display: flex; flex-direction: column; gap: 16px; }
.vt-hero__side-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px; background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius-sm); transition: border-color 0.2s, transform 0.2s; }
.vt-hero__side-item:hover { border-color: var(--vt-accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(5,150,105,0.1); }
.vt-hero__side-img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--vt-radius-sm); flex-shrink: 0; }
.vt-hero__side-body { min-width: 0; }
.vt-hero__side-cat { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vt-accent-deep); margin-bottom: 4px; }
.vt-hero__side-title { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--color-000); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-hero__side-item:hover .vt-hero__side-title { color: var(--vt-accent-deep); }
.vt-hero__side-time { font-size: 11px; color: var(--color-555); }

/* ── SECTION ──────────────────────────── */
.vt-section { margin-bottom: 48px; }
.vt-section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.vt-section__title { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--color-000); letter-spacing: -0.01em; flex-shrink: 0; }
.vt-section__title .icon { width: 18px; height: 18px; color: var(--vt-accent); }
.vt-section__title a { color: inherit; }
.vt-section__title a:hover { color: var(--vt-accent-deep); }
.vt-section__line { flex: 1; height: 1px; background: linear-gradient(to var(--end), var(--vt-accent-soft), transparent); }
.vt-section__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--vt-accent-deep); flex-shrink: 0; }
.vt-section__more:hover { color: var(--vt-accent); }
.vt-section__more .icon { width: 11px; height: 11px; transition: transform 0.2s; }
.vt-section__more:hover .icon { transform: translateX(3px); }
[dir="rtl"] .vt-section__more .icon { transform: scaleX(-1); }
[dir="rtl"] .vt-section__more:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ── GRID: airy card layout ──────────── */
.vt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vt-card { background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.vt-card:hover { border-color: var(--vt-accent); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(5,150,105,0.12); }
.vt-card__link { display: flex; flex-direction: column; height: 100%; color: var(--color-000); }
.vt-card__fig { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-eee); }
.vt-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vt-card:hover .vt-card__img { transform: scale(1.05); }
.vt-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.vt-card__cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cat-text, var(--vt-accent-deep)); margin-bottom: 8px; }
.vt-card__title { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--color-000); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-card:hover .vt-card__title { color: var(--vt-accent-deep); }
.vt-card__sub { font-size: 13px; color: var(--color-555); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.vt-card__time { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-555); margin-top: auto; }
.vt-card__time .icon { width: 11px; height: 11px; color: var(--vt-accent); }

/* ── SHORTS ──────────────────────────── */
.vt-shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vt-shorts__card { text-decoration: none; color: var(--color-000); }
.vt-shorts__thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border-radius: var(--vt-radius-sm); margin-bottom: 10px; }
.vt-shorts__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vt-shorts__card:hover .vt-shorts__thumb img { transform: scale(1.05); }
.vt-shorts__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vt-shorts__play::after { content: ''; width: 40px; height: 40px; border-radius: 50%; background: rgba(5,150,105,0.85); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E"); background-size: 20px; background-repeat: no-repeat; background-position: 55% center; }
.vt-shorts__title { font-size: 13px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.vt-shorts__card:hover .vt-shorts__title { color: var(--vt-accent-deep); }
.vt-shorts__meta { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-555); }
.vt-shorts__meta .icon { width: 12px; height: 12px; color: var(--vt-accent); }

/* ── CATEGORY BLOCK ──────────────────── */
.vt-cat-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.vt-cat-block__featured a { color: var(--color-000); display: block; }
.vt-cat-block__feat-fig { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-eee); border-radius: var(--vt-radius); margin-bottom: 14px; }
.vt-cat-block__feat-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vt-cat-block__featured:hover .vt-cat-block__feat-fig img { transform: scale(1.04); }
.vt-cat-block__feat-cat { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--vt-accent); padding: 5px 12px; border-radius: 999px; }
.vt-cat-block__feat-cat[style] { background: var(--cat-bg, var(--vt-accent)); color: var(--cat-text, #fff); }
.vt-cat-block__feat-title { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-cat-block__featured:hover .vt-cat-block__feat-title { color: var(--vt-accent-deep); }
.vt-cat-block__feat-sub { font-size: 14px; color: var(--color-555); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.vt-cat-block__feat-time { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-555); }
.vt-cat-block__feat-time .icon { width: 11px; height: 11px; color: var(--vt-accent); }

.vt-cat-block__list { display: flex; flex-direction: column; gap: 0; }
.vt-cat-block__item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--color-eee); color: var(--color-000); align-items: center; transition: padding 0.2s; }
.vt-cat-block__item:first-child { padding-top: 0; }
.vt-cat-block__item:last-child { border-bottom: none; }
.vt-cat-block__item:hover { padding-inline-start: 6px; }
.vt-cat-block__item-img { width: 110px; height: 74px; object-fit: cover; border-radius: var(--vt-radius-sm); background: var(--color-eee); transition: transform 0.2s; }
.vt-cat-block__item:hover .vt-cat-block__item-img { transform: scale(1.03); }
.vt-cat-block__item-body { min-width: 0; }
.vt-cat-block__item-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vt-cat-block__item:hover .vt-cat-block__item-title { color: var(--vt-accent-deep); }
.vt-cat-block__item-time { font-size: 11px; color: var(--color-555); }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .vt-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .vt-shorts { grid-template-columns: repeat(3, 1fr); }
  .vt-hero__lead-link { grid-template-columns: 1fr; }
  .vt-hero__lead-fig { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .vt-hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; padding: 20px 0; }
  .vt-hero__side-item { grid-template-columns: 80px 1fr; padding: 12px; }
  .vt-hero__side-img { width: 80px; height: 80px; }
  .vt-cat-block { grid-template-columns: 1fr; gap: 20px; }
  .vt-shorts { grid-template-columns: repeat(2, 1fr); }
  .vt-section { margin-bottom: 36px; }
  .vt-section__head { margin-bottom: 18px; }
  .vt-section__title { font-size: 16px; }
}
@media (max-width: 480px) {
  .vt-grid { grid-template-columns: 1fr; gap: 18px; }
  .vt-hero__lead-title { font-size: 1.35rem; }
  .vt-hero__lead-sub { -webkit-line-clamp: 2; font-size: 14px; }
  .vt-shorts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vt-cat-block__item { grid-template-columns: 90px 1fr; gap: 12px; }
  .vt-cat-block__item-img { width: 90px; height: 62px; }
  .vt-cat-block__feat-title { font-size: 17px; }
}

/* ══════════════════════════════════════════════════════════════
   LISTING PAGES — category / author / search / page
   ══════════════════════════════════════════════════════════════ */

/* ── BREADCRUMB ───────────────────────── */
.vt-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 20px 0 14px; font-size: 12px; color: var(--color-555); }
.vt-breadcrumb a { color: var(--color-555); transition: color .15s; }
.vt-breadcrumb a:hover { color: var(--vt-accent-deep); }
.vt-breadcrumb a:last-child { color: var(--color-000); font-weight: 600; }
.vt-breadcrumb__sep { color: var(--color-999); opacity: .6; }

/* ── CATEGORY HEADER ──────────────────── */
.vt-cat-head { padding: 12px 0 28px; margin-bottom: 24px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.vt-cat-head::after { content: ''; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 60px; height: 3px; background: var(--cat-accent, var(--vt-accent)); border-radius: 2px; }
.vt-cat-head__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.015em; color: var(--color-000); margin: 0; line-height: 1.2; }
.vt-cat-head__desc { font-size: 15px; color: var(--color-555); line-height: 1.6; max-width: 720px; margin: 0; }
.vt-cat-head__follow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--vt-accent); color: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; border: 1px solid var(--vt-accent); transition: background .15s, color .15s; }
.vt-cat-head__follow:hover { background: var(--vt-accent-deep); border-color: var(--vt-accent-deep); }
.vt-cat-head__follow[data-action="unfollow"] { background: transparent; color: var(--vt-accent-deep); border-color: var(--vt-accent); }
.vt-cat-head__follow[data-action="unfollow"]:hover { background: var(--vt-accent-soft); }
.vt-cat-head__follow .icon { width: 14px; height: 14px; }

/* ── FEATURED CARD ────────────────────── */
.vt-cat-feat { margin-bottom: 28px; background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.vt-cat-feat:hover { border-color: var(--vt-accent); box-shadow: 0 10px 30px rgba(5,150,105,0.10); }
.vt-cat-feat__link { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; align-items: stretch; color: var(--color-000); }
.vt-cat-feat__fig { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-eee); }
.vt-cat-feat__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vt-cat-feat:hover .vt-cat-feat__img { transform: scale(1.04); }
.vt-cat-feat__cat { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 5px 12px; border-radius: 999px; }
.vt-cat-feat__body { display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; min-width: 0; }
.vt-cat-feat__title { font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 800; line-height: 1.25; color: var(--color-000); margin-bottom: 12px; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-cat-feat:hover .vt-cat-feat__title { color: var(--vt-accent-deep); }
.vt-cat-feat__sub { font-size: 14px; color: var(--color-555); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-cat-feat__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--color-555); }
.vt-cat-feat__author, .vt-cat-feat__time { display: inline-flex; align-items: center; gap: 4px; }
.vt-cat-feat__author .icon, .vt-cat-feat__time .icon { width: 12px; height: 12px; color: var(--vt-accent); }
.vt-cat-feat__author { font-weight: 600; color: var(--color-333); }

@media (max-width: 768px) {
  .vt-cat-feat__link { grid-template-columns: 1fr; }
  .vt-cat-feat__body { padding: 20px; }
}

/* ── CARD META (extends home.css .vt-card) ── */
.vt-card__meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--color-555); margin-top: auto; padding-top: 8px; }
.vt-card__author { font-weight: 600; color: var(--color-333); }
.vt-card__sep { color: var(--color-999); opacity: .6; }

/* ── EMPTY STATES ─────────────────────── */
.vt-empty { padding: 48px 20px; text-align: center; color: var(--color-555); font-size: 15px; background: color-mix(in srgb, var(--vt-accent-soft) 40%, var(--color-fff)); border: 1px dashed var(--vt-accent-soft); border-radius: var(--vt-radius); }
.vt-empty p { margin: 0; }
.vt-grid:empty { display: none; }

/* ══════════════════════════════════════════════════════════════
   SEARCH PAGE
   ══════════════════════════════════════════════════════════════ */
.vt-search-form { background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius); padding: 18px 20px; margin: 12px 0 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 18px rgba(0,0,0,0.04); }
.vt-search-form__main { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--vt-accent-soft); padding-bottom: 10px; }
.vt-search-form__main .icon { width: 20px; height: 20px; color: var(--vt-accent-deep); flex-shrink: 0; }
.vt-search-form__input { flex: 1; min-width: 0; font-size: 18px; font-weight: 500; padding: 6px 0; border: none; background: transparent; color: var(--color-000); outline: none; }
.vt-search-form__input::placeholder { color: var(--color-999); }
.vt-search-form__btn { background: var(--vt-accent); color: #fff; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 13px; border: none; cursor: pointer; transition: background .15s; white-space: nowrap; }
.vt-search-form__btn:hover { background: var(--vt-accent-deep); }
.vt-search-form__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-search-form__select { flex: 1 1 160px; min-width: 140px; padding: 9px 14px; font-size: 13px; color: var(--color-333); background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius-sm); cursor: pointer; outline: none; transition: border-color .15s; }
.vt-search-form__select:hover, .vt-search-form__select:focus { border-color: var(--vt-accent); }

.vt-search-head { padding: 8px 0 18px; }
.vt-search-head__title { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--color-000); }
.vt-search-head__title #LA7Query { color: var(--vt-accent-deep); font-weight: 800; }

@media (max-width: 640px) {
  .vt-search-form { padding: 14px; }
  .vt-search-form__filters { flex-direction: column; gap: 8px; }
  .vt-search-form__select { flex: 1 1 auto; }
  .vt-search-form__input { font-size: 15px; }
}

/* ══════════════════════════════════════════════════════════════
   TABS (author + search)
   ══════════════════════════════════════════════════════════════ */
.vt-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 2px solid var(--color-eee); flex-wrap: wrap; }
.vt-tab { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; background: transparent; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 13px; font-weight: 600; color: var(--color-555); cursor: pointer; transition: color .15s, border-color .15s, background .15s; border-radius: var(--vt-radius-sm) var(--vt-radius-sm) 0 0; }
.vt-tab:hover { color: var(--vt-accent-deep); background: color-mix(in srgb, var(--vt-accent-soft) 40%, transparent); }
.vt-tab.active { color: var(--vt-accent-deep); border-bottom-color: var(--vt-accent); background: var(--vt-accent-soft); }
.vt-tab .icon { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .vt-tab { padding: 10px 14px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   AUTHOR PAGE
   ══════════════════════════════════════════════════════════════ */
.vt-author-head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 36px 28px; margin: 12px 0 24px; background: color-mix(in srgb, var(--vt-accent-soft) 50%, var(--color-fff)); border: 1px solid var(--vt-accent-soft); border-radius: var(--vt-radius); align-items: start; overflow: hidden; }
.vt-author-head__glow { position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 60%; height: 180%; background: radial-gradient(ellipse, var(--vt-accent-soft) 0%, transparent 60%); opacity: .7; pointer-events: none; z-index: 0; }
.vt-author-head > *:not(.vt-author-head__glow) { position: relative; z-index: 1; }
.vt-author-head__avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid var(--color-fff); box-shadow: 0 6px 20px rgba(5,150,105,0.18); background: var(--color-eee); }
.vt-author-head__body { min-width: 0; }
.vt-author-head__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.2; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--color-000); letter-spacing: -0.015em; }
.vt-author-head__role { font-size: 10px; font-weight: 700; color: #fff; background: var(--vt-accent); padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.vt-author-head__follow { background: var(--vt-accent); color: #fff; border: 1.5px solid var(--vt-accent); padding: 6px 18px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; transition: background .15s, color .15s; }
.vt-author-head__follow:hover { background: var(--vt-accent-deep); border-color: var(--vt-accent-deep); }
.vt-author-head__follow[data-action="unfollow"] { background: transparent; color: var(--vt-accent-deep); }
.vt-author-head__follow[data-action="unfollow"]:hover { background: var(--color-fff); }
.vt-author-head__bio { font-size: 14px; color: var(--color-333); line-height: 1.6; margin: 0 0 14px; max-width: 640px; }
.vt-author-head__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; color: var(--color-555); }
.vt-author-head__stat { cursor: pointer; transition: color .15s; }
.vt-author-head__stat:hover { color: var(--vt-accent-deep); }
.vt-author-head__stat strong { color: var(--color-000); font-weight: 700; margin-inline-start: 4px; }
.vt-author-head__stat-sep { opacity: .4; color: var(--color-999); }
.vt-author-head__links { display: flex; gap: 8px; flex-wrap: wrap; }
.vt-author-head__link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-fff); color: var(--color-555); border: 1px solid var(--color-eee); transition: background .15s, color .15s, border-color .15s; }
.vt-author-head__link:hover { background: var(--vt-accent); color: #fff; border-color: var(--vt-accent); }
.vt-author-head__link .icon { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .vt-author-head { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; text-align: center; justify-items: center; }
  .vt-author-head__avatar { width: 100px; height: 100px; }
  .vt-author-head__name { justify-content: center; }
  .vt-author-head__stats { justify-content: center; }
  .vt-author-head__links { justify-content: center; }
  .vt-author-head__bio { text-align: start; }
}

/* ── COMMENTS ──────────────────────────── */
.vt-comments { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.vt-comment-card { padding: 16px 20px; background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius-sm); border-inline-start: 3px solid var(--vt-accent); transition: border-color .15s, box-shadow .15s; }
.vt-comment-card:hover { border-inline-start-color: var(--vt-accent-deep); box-shadow: 0 4px 14px rgba(5,150,105,0.08); }
.vt-comment-card__content { color: var(--color-000); line-height: 1.6; margin-bottom: 10px; font-size: 14px; }
.vt-comment-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--color-555); }
.vt-comment-card__meta a { color: var(--vt-accent-deep); font-weight: 600; }
.vt-comment-card__meta a:hover { color: var(--vt-accent); }
.vt-comment-card__meta .icon { width: 13px; height: 13px; vertical-align: -2px; }
.vt-comment-card__sep { opacity: .4; }

/* ── USER CARDS ────────────────────────── */
.vt-users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; padding-top: 12px; }
.vt-user-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--color-fff); border: 1px solid var(--color-eee); border-radius: var(--vt-radius-sm); transition: border-color .15s, box-shadow .15s; }
.vt-user-card:hover { border-color: var(--vt-accent); box-shadow: 0 4px 14px rgba(5,150,105,0.1); }
.vt-user-card__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; }
.vt-user-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--vt-accent-soft); }
.vt-user-card__info { min-width: 0; flex: 1; }
.vt-user-card__name { font-size: 14px; font-weight: 700; margin: 0 0 2px; color: var(--color-000); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-user-card__username { font-size: 12px; color: var(--color-999); margin: 0 0 2px; }
.vt-user-card__bio { font-size: 12px; color: var(--color-555); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.vt-user-card__action { background: transparent; border: 1.5px solid var(--vt-accent); color: var(--vt-accent-deep); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.vt-user-card__action:hover { background: var(--vt-accent); color: #fff; }
.vt-user-card__action[data-action="unfollow"] { background: var(--vt-accent); color: #fff; }
.vt-user-card__action[data-action="unfollow"]:hover { background: var(--vt-accent-deep); border-color: var(--vt-accent-deep); }

@media (max-width: 640px) {
  .vt-users-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE (static / breaking / error / delegated wrap)
   ══════════════════════════════════════════════════════════════ */
.vt-page-wrap { max-width: var(--vt-max-w); margin: 0 auto; padding: 20px; }

.vt-page-head { padding: 20px 0 16px; margin-bottom: 20px; border-bottom: 2px solid var(--vt-accent-soft); position: relative; }
.vt-page-head::after { content: ''; position: absolute; inset-inline-start: 0; inset-block-end: -2px; width: 80px; height: 2px; background: var(--vt-accent); }
.vt-page-head__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.2; margin: 0; color: var(--color-000); letter-spacing: -0.015em; }
.vt-page-thumb { margin: 0 0 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--vt-radius); background: var(--color-eee); }
.vt-page-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.vt-page-content { font-size: 16px; line-height: 1.75; color: var(--color-000); padding-bottom: 40px; max-width: 760px; }

@media (max-width: 640px) {
  .vt-page-content.rich_text:not([data-type="front"]) { padding: 0; }
}

/* ── ERROR ────────────────────────────── */
.vt-error { padding: 72px 20px; text-align: center; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.vt-error__code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 900; color: var(--vt-accent); line-height: 1; letter-spacing: -3px; }
.vt-error__title { font-size: 1.5rem; font-weight: 800; margin: 0; color: var(--color-000); letter-spacing: -0.015em; }
.vt-error__sub { font-size: 15px; color: var(--color-555); max-width: 560px; line-height: 1.6; margin: 4px 0 20px; }
.vt-error__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.vt-error__btn { display: inline-block; padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: 13px; border: 1.5px solid var(--vt-accent); color: var(--vt-accent-deep); background: transparent; transition: background .15s, color .15s, border-color .15s; }
.vt-error__btn:hover { background: var(--vt-accent-soft); }
.vt-error__btn--primary { background: var(--vt-accent); color: #fff; border-color: var(--vt-accent); }
.vt-error__btn--primary:hover { background: var(--vt-accent-deep); border-color: var(--vt-accent-deep); color: #fff; }

/* ── BREAKING LIST ────────────────────── */
.vt-breaking-list { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.vt-breaking-item { padding: 16px 20px; background: var(--color-fff); border: 1px solid var(--color-eee); border-inline-start: 4px solid var(--vt-accent); border-radius: var(--vt-radius-sm); position: relative; transition: border-color .15s, box-shadow .15s; }
.vt-breaking-item:hover { border-color: var(--vt-accent); box-shadow: 0 4px 16px rgba(5,150,105,0.08); }
.vt-breaking-item__time { display: inline-block; font-size: 12px; color: var(--color-999); margin-bottom: 6px; font-weight: 500; }
.vt-breaking-item__title { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--color-000); padding-inline-end: 40px; }
.vt-breaking-item__content { color: var(--color-555); line-height: 1.6; font-size: 14px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.vt-breaking-item.open .vt-breaking-item__content { max-height: 1200px; padding-top: 8px; }
.vt-breaking-item__icon-wrap { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vt-accent-soft); color: var(--vt-accent-deep); transition: background .2s; }
.vt-breaking-item.open .vt-breaking-item__icon-wrap { background: var(--vt-accent); color: #fff; }
.vt-breaking-item__icon .icon { width: 14px; height: 14px; transition: transform .2s; }
.vt-breaking-item.open .vt-breaking-item__icon .icon { transform: rotate(180deg); }

