/*
 * views-css.css — Views list page styles (/view/views)
 * Depends on: site.css (design tokens via :root --yv-* variables)
 */

/* ═══════════════════════════════════════════
   LIST PAGE — PAGE HEADER
═══════════════════════════════════════════ */
.yv-ph {
  background: var(--yv-sand);
  padding: 2.6rem 0 1.8rem;
  border-bottom: 1px solid rgba(233,150,10,.13);
  position: relative;
  overflow: hidden;
}
.yv-ph::before {
  content: '';
  position: absolute; top: -110px; right: -90px;
  width: 440px; height: 440px; border-radius: 50%;
  background: rgba(242,193,46,.11); filter: blur(80px);
  pointer-events: none;
}
.yv-ph::after {
  content: '';
  position: absolute; bottom: -80px; left: -70px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(217,95,59,.08); filter: blur(70px);
  pointer-events: none;
}
.yv-ph-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
}
.yv-eye {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--yv-font-mono); font-size: .63rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--yv-coral); margin-bottom: .7rem;
}
.yv-eye::before {
  content: ''; width: 18px; height: 2px;
  background: var(--yv-grad-sun); border-radius: 2px;
}
.yv-ph-h {
  font-family: var(--yv-font-display);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.01em;
  color: var(--yv-ink); margin-bottom: .5rem;
}
.yv-ph-h em {
  font-style: italic;
  background: var(--yv-grad-sun);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.yv-ph-sub {
  font-size: .9rem; color: var(--yv-muted);
  line-height: 1.7; max-width: 480px; margin-bottom: 1.4rem;
}

/* ═══════════════════════════════════════════
   LIST PAGE — CONTENT-TYPE TABS
═══════════════════════════════════════════ */
.yv-tabs { display: flex; gap: .45rem; flex-wrap: wrap; }
.yv-tab {
  display: inline-flex; align-items: center;
  padding: .45rem 1.1rem; border-radius: 60px;
  font-size: .82rem; font-weight: 600;
  border: 1.5px solid rgba(92,51,23,.14);
  color: var(--yv-bark);
  transition: all .2s; text-decoration: none;
}
.yv-tab:hover { border-color: var(--yv-coral); color: var(--yv-coral); background: rgba(217,95,59,.04); }
.yv-tab.active {
  background: var(--yv-grad-sun-light); color: #fff;
  border-color: transparent; box-shadow: 0 4px 14px rgba(217,95,59,.28);
}

/* ═══════════════════════════════════════════
   LIST PAGE — WRAPPER, SEARCH & TOOLBAR
═══════════════════════════════════════════ */
.yv-list-wrap {
  max-width: 1280px; margin: 0 auto; padding: 2.4rem 1.5rem 5rem;
}
.yv-search-row {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.4rem; flex-wrap: wrap;
}
.yv-search {
  display: flex; align-items: center; gap: .5rem;
  flex: 1; min-width: 220px; max-width: 420px;
  background: #fff; border: 1.5px solid rgba(92,51,23,.13);
  border-radius: 60px; padding: .45rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.yv-search i { color: var(--yv-muted); font-size: .85rem; flex-shrink: 0; }
.yv-search input {
  flex: 1; border: none; outline: none;
  font-family: var(--yv-font-body); font-size: .85rem;
  color: var(--yv-ink); background: transparent;
}
.yv-search input::placeholder { color: var(--yv-muted); }
.yv-search:focus-within {
  border-color: rgba(217,95,59,.35);
  box-shadow: 0 0 0 3px rgba(217,95,59,.08);
}
.yv-tb {
  display: flex; align-items: center;
  justify-content: space-between; gap: .7rem;
  flex-wrap: wrap; margin-bottom: 1.8rem;
}
.yv-tb-l { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.yv-tb-count {
  font-family: var(--yv-font-mono); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yv-muted); padding-right: .6rem;
/*  border-right: 1px solid rgba(156,117,88,.2);*/
}

/* ═══════════════════════════════════════════
   LIST PAGE — CARD GRID
═══════════════════════════════════════════ */
.yv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Single card */
.yv-card {
  background: #fff; border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.22);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s;
}
.yv-card:hover { transform: translateY(-5px); box-shadow: var(--yv-shadow-lift); border-color: transparent; }

/* 1. Author row */
.yv-c-author {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem .6rem;
}
.yv-c-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yv-grad-sun-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--yv-font-mono); font-size: .6rem;
  font-weight: 700; color: #fff; flex-shrink: 0;
  text-transform: uppercase;
}
.yv-c-an {
  font-family: var(--yv-font-body); font-size: .78rem;
  font-weight: 600; color: var(--yv-bark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .18s;
}
.yv-c-an:hover { color: var(--yv-coral); }

/* Card action buttons (bookmark, copy) */
.yv-c-actions {
  display: flex; align-items: center; gap: .1rem;
  margin-left: auto; flex-shrink: 0;
}
.yv-c-actions .btn {
  padding: 3px 5px; font-size: .82rem;
  color: var(--yv-muted); background: transparent;
  border: none; line-height: 1; transition: color .18s;
}
.yv-c-actions .btn:hover { color: var(--yv-coral); }
.yv-c-actions .btn .fa-bookmark,
.yv-c-actions .btn .heart-color { color: var(--yv-amber); }

/* 2. Thumbnail */
.yv-c-img {
  width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--yv-sand); flex-shrink: 0;
}
.yv-c-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.yv-card:hover .yv-c-img img { transform: scale(1.06); }

/* 3. Meta row */
.yv-c-meta {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; padding: .7rem 1rem .3rem;
}
.yv-cat {
  font-family: var(--yv-font-mono); font-size: .66rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--yv-coral); background: rgba(217,95,59,.08);
  border: 1px solid rgba(217,95,59,.15); border-radius: 60px;
  padding: .18rem .65rem; white-space: nowrap;
  transition: background .18s; text-decoration: none;
}
.yv-cat:hover { background: rgba(217,95,59,.15); }
.yv-ts {
  font-family: var(--yv-font-mono); font-size: .66rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--yv-light);
}
.yv-sponsored {
  font-family: var(--yv-font-mono); font-size: .52rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yv-amber); background: rgba(233,150,10,.1);
  border: 1px solid rgba(233,150,10,.2); border-radius: 60px;
  padding: .15rem .6rem;
}

/* 4. Title */
.yv-c-title {
  font-family: var(--yv-font-display); font-size: 1rem;
  font-weight: 700; line-height: 1.35; color: var(--yv-ink);
  padding: .1rem 1rem .4rem; transition: color .2s;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.yv-card:hover .yv-c-title { color: var(--yv-coral); }

/* 5. Excerpt */
.yv-c-desc {
  font-family: var(--yv-font-body); font-size: .8rem;
  line-height: 1.65; color: var(--yv-muted);
  padding: 0 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  margin: 0;
}

/* 6. Stats row */
.yv-c-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    border-top: 1px solid rgba(233,150,10,.09);
    /*margin-top: .75rem;*/
}
.yv-st {
    display: flex;
    align-items: center;
    gap: .28rem;
    font-family: var(--yv-font-mono);
    font-size: .82rem;
    color: var(--yv-muted);
    color: var(--yv-card-status-icon-color);
}
    .yv-st .btn {
        color: var(--yv-card-status-icon-color);
        padding: 0;
        background: transparent;
        border: none;
        font-family: var(--yv-font-mono);
        font-size: .82rem; /*color: var(--yv-muted);*/
        display: flex;
        align-items: center;
        gap: .28rem;
        transition: color .18s;
        cursor: pointer;
    }
.yv-st .btn:hover { color: var(--yv-coral); }
.yv-st .btn.heart-color,
.yv-st .btn .heart-color { color: var(--yv-coral); }

/* ═══════════════════════════════════════════
   LIST PAGE — PAGINATION
═══════════════════════════════════════════ */
.yv-pager {
  display: flex; align-items: center;
  gap: .32rem; margin-top: 2.4rem; flex-wrap: wrap;
}
.yv-pager .pagination {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .32rem; margin: 0; padding: 0; list-style: none;
}
.yv-pager .page-item .page-link {
  min-width: 36px; height: 36px; padding: 0 .55rem;
  border-radius: 8px; border: 1.5px solid rgba(92,51,23,.12);
  background: #fff; color: var(--yv-bark);
  font-family: var(--yv-font-body); font-size: .82rem;
  font-weight: 600; cursor: pointer; transition: all .17s;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; line-height: 1;
}
.yv-pager .page-item .page-link:hover {
  border-color: var(--yv-coral); color: var(--yv-coral);
  background: rgba(217,95,59,.04);
}
.yv-pager .page-item.active .page-link {
  background: var(--yv-grad-sun-light); color: #fff;
  border-color: transparent; box-shadow: 0 4px 12px rgba(217,95,59,.25);
}
.yv-pager .page-item.disabled .page-link {
  opacity: .35; cursor: default; pointer-events: none;
}

/* TRENDING PAGE — CAROUSEL SECTIONS */
.yv-trend-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin: 2.2rem 0 1rem;
}
.yv-trend-head h5 { margin: 0; font-weight: 700; }
.yv-trend-sub { color: var(--yv-muted); font-size: .8rem; }
.yv-tab.yv-tab-slim { padding: .4rem .9rem; font-size: .78rem; }

.yv-trend-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
}
/* default: 4 cards */
.yv-trend-col {
  flex: 0 0 auto;
  width: calc((100% - 3rem) / 4);
  display: flex;
}
.yv-trend-col > article {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.yv-trend-row .yv-card,
.yv-trend-row .yv-scard { height: 100%; }
.yv-trend-row .yv-c-title { min-height: calc(1.35em * 2); }
.yv-trend-row .yv-c-desc  { min-height: calc(1.65em * 3); }
.yv-trend-row .yv-scard-title { min-height: calc(1.4em * 3); }
.yv-trend-row .yv-scard-date { margin-top: auto; }
.yv-trend-controls .btn {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(92,51,23,.12); border-radius: 999px;
  background: #fff; color: var(--yv-bark);
  transition: all .18s;
}
.yv-trend-controls .btn:hover {
  border-color: var(--yv-coral); color: var(--yv-coral); background: rgba(217,95,59,.05);
}

/* ═══════════════════════════════════════════
   LIST PAGE — EMPTY STATE
═══════════════════════════════════════════ */
.yv-empty {
  grid-column: 1 / -1; text-align: center; padding: 5rem 2rem;
}
.yv-empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; display: block; }
.yv-empty-text {
  font-family: var(--yv-font-display); font-size: 1.4rem;
  font-weight: 600; color: var(--yv-muted);
}

/* CATEGORY PAGE — GRID */
.yv-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.yv-cat-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem;
  padding: .9rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  min-width: 0;
}
.yv-cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217,95,59,.2);
  box-shadow: var(--yv-shadow-lift);
}
.yv-cat-left { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; flex: 1; }
.yv-cat-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--yv-grad-sun-light);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.yv-cat-name {
  font-family: var(--yv-font-display); font-size: .95rem; font-weight: 700;
  color: var(--yv-ink);
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.yv-cat-count {
  font-family: var(--yv-font-mono); font-size: .62rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--yv-muted);
  padding: .3rem .6rem; border-radius: 999px;
  border: 1px solid rgba(156,117,88,.2);
  background: rgba(233,150,10,.08);
  flex-shrink: 0;
}

/* ABOUT PAGE */
.yv-about-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 5rem;
}
.yv-about-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
}
.yv-about-copy {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.1);
  padding: 1.6rem;
  line-height: 1.9;
  color: var(--yv-ink);
}
.yv-about-copy p { margin-bottom: 1rem; }
.yv-about-panel {
  background: var(--yv-sand);
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.6rem;
  box-shadow: var(--yv-shadow-card);
}
.yv-about-panel h3 {
  font-family: var(--yv-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .8rem;
  color: var(--yv-ink);
}
.yv-about-panel p { margin-bottom: .9rem; color: var(--yv-muted); line-height: 1.75; }

.yv-about-stats { margin-top: 2.4rem; }
.yv-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.yv-stat-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.2rem 1.2rem 1.1rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.yv-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,95,59,.2);
  box-shadow: var(--yv-shadow-lift);
}
.yv-stat-icon {
  width: 52px; height: 52px; margin: 0 auto .7rem;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yv-grad-sun-light);
  color: #fff; font-size: 1.2rem;
}
.yv-stat-title {
  font-family: var(--yv-font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .25rem;
}
.yv-stat-title a { color: inherit; }
.yv-stat-number {
  font-family: var(--yv-font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .15rem;
}
.yv-stat-sub {
  font-size: .78rem;
  color: var(--yv-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* CONTACT PAGE */
.yv-contact-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 5rem;
}
.yv-contact-cards { margin-bottom: 2rem; }
.yv-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.yv-contact-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.2rem 1.3rem;
  text-align: center;
  box-shadow: var(--yv-shadow-card);
}
.yv-contact-icon {
  width: 52px; height: 52px; margin: 0 auto .7rem;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yv-grad-sun-light);
  color: #fff; font-size: 1.2rem;
}
.yv-contact-card h4 {
  font-family: var(--yv-font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--yv-ink); margin-bottom: .4rem;
}
.yv-contact-card address {
  font-style: normal; color: var(--yv-muted);
  line-height: 1.7; margin-bottom: .7rem;
}
.yv-contact-flag { width: 40px; margin: .2rem auto .4rem; display: block; }
.yv-contact-meta {
  display: flex; flex-direction: column; gap: .25rem;
  color: var(--yv-muted); font-size: .82rem;
}
.yv-contact-meta i { margin-right: .35rem; color: var(--yv-coral); }
.yv-contact-note { color: var(--yv-muted); margin: .4rem 0; font-size: .85rem; }
.yv-contact-link {
  display: inline-block;
  color: var(--yv-coral);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: .6rem;
}
.yv-contact-link:hover { color: var(--yv-sienna); }

.yv-contact-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.yv-contact-left {
  background: var(--yv-sand);
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.5rem;
}
.yv-contact-left h3 {
  font-family: var(--yv-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .6rem;
}
.yv-contact-left p { color: var(--yv-muted); line-height: 1.8; }
.yv-contact-illus { width: 100%; max-width: 360px; margin-top: 1.2rem; }

.yv-contact-form {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.5rem;
}

/* USERS PAGE */
.yv-user-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.yv-user-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.22);
  padding: 1.1rem 1.1rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.yv-user-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,95,59,.2);
  box-shadow: var(--yv-shadow-lift);
}
.yv-user-av { display: inline-flex; align-items: center; justify-content: center; }
.yv-user-av img { border-radius: 50%; }
.yv-user-body { width: 100%; }
.yv-user-name {
  display: inline-flex; align-items: center; gap: .35rem;
  justify-content: center;
  font-family: var(--yv-font-display);
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .35rem;
}
.yv-user-name a { color: inherit; text-decoration: none; }
.yv-user-name i { color: var(--yv-amber); font-size: .9rem; }
.yv-user-meta {
  display: flex; flex-direction: column; gap: .25rem;
  color: var(--yv-muted); font-size: .82rem;
  margin-bottom: .5rem;
}
.yv-user-meta i { margin-right: .35rem; color: var(--yv-coral); }
.yv-user-loc {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem;
}
.yv-user-stats {
  display: flex; justify-content: center; gap: 1.2rem;
  font-family: var(--yv-font-mono);
  font-size: .78rem; color: var(--yv-bark);
}
.yv-user-stats i { color: var(--yv-coral); margin-right: .25rem; }
.yv-user-footer { margin-top: auto; }

/* FAQ PAGE */
.yv-faq-list { display: flex; flex-direction: column; gap: 1.4rem; }
.yv-faq-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.2rem;
  box-shadow: var(--yv-shadow-card);
  align-items: center;
}
.yv-faq-rev { grid-template-columns: 1fr 1.1fr; }
.yv-faq-rev .yv-faq-media { order: 2; }
.yv-faq-rev .yv-faq-body { order: 1; }
.yv-faq-media img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.yv-faq-body h3 {
  font-family: var(--yv-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .55rem;
}
.yv-faq-body p { color: var(--yv-muted); line-height: 1.7; margin-bottom: 1rem; }

/* HELP CENTER */
.yv-help-search {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.4rem;
  box-shadow: var(--yv-shadow-card);
  margin-bottom: 1.4rem;
}
.yv-help-title {
  font-family: var(--yv-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin: 0;
}
.yv-help-sub { color: var(--yv-muted); margin: .5rem 0 1rem; }
.yv-help-count { color: var(--yv-muted); }
.yv-help-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(217,95,59,.3);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--yv-coral);
  background: #fff;
}
.yv-help-add:hover { background: rgba(217,95,59,.08); }
.yv-help-list { display: flex; flex-direction: column; gap: 1rem; }
.yv-help-section {
  border-radius: 16px;
  border: 1.5px solid rgba(217,95,59,.22);
  padding: 1rem;
  box-shadow: var(--yv-shadow-card);
}
.yv-help-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem; margin-bottom: .6rem;
}
.yv-help-section-title {
  font-family: var(--yv-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin: 0;
  text-transform: capitalize;
}
.yv-help-count-pill {
  font-family: var(--yv-font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(217,95,59,.18);
  color: var(--yv-sienna);
  border-radius: 999px;
  padding: .25rem .6rem;
}
.yv-help-section .accordion-item {
  border: 1px solid rgba(217,95,59,.18);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .6rem;
}
.yv-help-section .accordion-item:last-child { margin-bottom: 0; }
.yv-help-section .accordion-button {
  background: #FFF4E8;
  color: var(--yv-bark);
}
.yv-help-section .accordion-button:not(.collapsed) {
  background: #FDE9DE;
  color: var(--yv-sienna);
}
.yv-help-section .accordion-body {
  background: #fff;
  color: #3a2510;
}
.yv-help-action {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(217,95,59,.25);
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: .4rem;
  text-decoration: none;
}
.yv-help-del { color: #b04a23; }
.yv-help-edit { color: var(--yv-coral); }
.yv-help-action:hover { background: rgba(217,95,59,.08); }

/* COOKIE POLICY */
.yv-policy-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}
.yv-policy-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1.6rem;
  box-shadow: var(--yv-shadow-card);
}
.yv-policy-head h2 {
  font-family: var(--yv-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .3rem;
}
.yv-policy-head p { color: var(--yv-muted); margin-bottom: 1rem; }
.yv-policy-body h5, .yv-policy-body h6 {
  font-family: var(--yv-font-display);
  color: var(--yv-ink);
  margin-top: 1.2rem;
}
.yv-policy-body p, .yv-policy-body span { color: var(--yv-muted); }
.yv-policy-body a { color: var(--yv-coral); }
.yv-policy-table {
  background: #FFF7EE;
  border: 1.5px solid rgba(217,95,59,.2) !important;
}
.yv-policy-table .table { margin-bottom: 0; }
.yv-policy-contact { background: #FFF7EE; border-color: rgba(217,95,59,.2) !important; }

/* NOT FOUND */
.yv-nf-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}
.yv-nf-card {
  background: #fff;
  padding: 2rem;
  text-align: center;
}
.yv-nf-code {
  font-family: var(--yv-font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  color: var(--yv-coral);
  letter-spacing: .04em;
  margin-bottom: .6rem;
}
.yv-nf-card h2 {
  font-family: var(--yv-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .5rem;
}
.yv-nf-card p { color: var(--yv-muted); margin-bottom: 1.4rem; }
.yv-nf-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* POST FORM */
.yv-post-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr);
  gap: 2rem;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
}
.yv-post-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
}
.yv-post-side {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex; flex-direction: column; gap: 1rem;
}
/* Inner content areas get padding instead of the card wrapper */
.yv-post-head,
#views-plain-form { padding: 1.5rem 1.5rem 0; }
#views-plain-form { padding-bottom: 1.5rem; }
.yv-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(233,150,10,.1);
}
.yv-post-title {
  font-family: var(--yv-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yv-ink);
}
.yv-post-sub { color: var(--yv-muted); font-size: .85rem; }
.yv-post-switch { flex-shrink: 0; }
.yv-post-switch .btn {
  border-radius: 999px;
  border: 1.5px solid rgba(92,51,23,.2);
  background: #fff;
  color: var(--yv-bark);
  white-space: nowrap;
}
.yv-post-switch .btn:hover {
  border-color: var(--yv-coral);
  color: var(--yv-coral);
  background: rgba(217,95,59,.05);
}
.yv-post-switch .dropdown-menu {
  border-radius: 12px;
  border: 1.5px solid rgba(233,150,10,.16);
  box-shadow: var(--yv-shadow-card);
}
.yv-post-switch .dropdown-item:hover {
  background: rgba(217,95,59,.08);
  color: var(--yv-sienna);
}
.yv-post-card .form-control,
.yv-post-card .form-select {
  border-radius: 10px;
  border: 1.5px solid rgba(233,150,10,.18);
  background: #fff;
}
.yv-post-card .form-control:focus,
.yv-post-card .form-select:focus {
  border-color: rgba(217,95,59,.55);
  box-shadow: 0 0 0 3px rgba(217,95,59,.12);
}
.yv-post-card .accordion-item {
  border: 1.5px solid rgba(233,150,10,.14);
  border-radius: 12px;
  overflow: hidden;
}
.yv-post-card .accordion-button {
  background: var(--yv-sand);
  color: var(--yv-bark);
}
.yv-post-card .accordion-button:not(.collapsed) {
  background: rgba(217,95,59,.08);
  color: var(--yv-sienna);
}
.yv-post-card .list-group-item { border-color: rgba(233,150,10,.12); }
.yv-post-card .badge.bg-primary { background: var(--yv-grad-sun); }
.yv-post-card .select2-container--default .select2-selection--single {
  border-radius: 10px;
  border: 1.5px solid rgba(233,150,10,.18);
  height: 42px;
}
.yv-post-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 12px;
  line-height: 42px;
}
.yv-post-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
}
/* POST FORM — sidebar blocks */
.yv-side-block {
  background: var(--yv-sand);
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.13);
  padding: 1.1rem 1.2rem;
  box-shadow: none;
}
.yv-side-head {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--yv-font-display); font-size: .88rem;
  font-weight: 700; color: var(--yv-ink);
  margin-bottom: .75rem;
}
.yv-side-list {
  margin: 0; padding-left: 1.1rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.yv-side-list li {
  font-size: .82rem; color: var(--yv-muted); line-height: 1.55;
}
.yv-side-link {
  display: inline-block; margin-top: .65rem;
  font-size: .78rem; font-weight: 600;
  color: var(--yv-coral); text-decoration: none;
}
.yv-side-link:hover { color: var(--yv-sienna); }

/* Format switcher in sidebar */
.yv-side-fmt { display: flex; flex-direction: column; gap: .5rem; }
.yv-fmt-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .75rem; border-radius: 10px;
  border: 1.5px solid rgba(233,150,10,.13);
  background: #fff; text-decoration: none;
  transition: border-color .18s, background .18s;
  cursor: pointer;
}
.yv-fmt-item:hover { border-color: rgba(217,95,59,.3); background: rgba(247,239,227,.8); }
.yv-fmt-item.active {
  border-color: var(--yv-coral); background: rgba(217,95,59,.06);
  cursor: default;
}
.yv-fmt-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: var(--yv-grad-sun-light); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.yv-fmt-icon .yvi { width: 14px; height: 14px; }
.yv-fmt-name {
  font-family: var(--yv-font-display); font-size: .85rem;
  font-weight: 700; color: var(--yv-ink);
}
.yv-fmt-item:hover .yv-fmt-name,
.yv-fmt-item.active .yv-fmt-name { color: var(--yv-coral); }
.yv-fmt-desc { font-size: .75rem; color: var(--yv-muted); }

.yv-post-actions {
  display: flex;
  justify-content: flex-end;
  gap: .8rem;
  flex-wrap: wrap;
}
.yv-file-action {
  background: var(--yv-grad-sun);
  color: #fff;
  border-radius: 999px;
  border: none;
  box-shadow: 0 10px 26px rgba(217,95,59,.35);
}
.yv-file-action:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217,95,59,.45);
}
.yv-file-action label,
.yv-file-action i {
  color: inherit;
}
.yv-complete-card .progress {
  height: 4px;
  background: rgba(233,150,10,.12);
  border-radius: 999px;
}
.yv-complete-card .progress-bar {
  background: var(--yv-grad-sun);
}
.yv-complete-title {
  font-family: var(--yv-font-display);
  font-size: 1.5rem;
  color: var(--yv-ink);
  margin-bottom: .35rem;
}
.yv-complete-sub {
  color: var(--yv-muted);
  font-size: .9rem;
}
.yv-complete-alert {
  background: var(--yv-sand);
  border: 1.5px solid rgba(233,150,10,.16);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}
.yv-complete-steps .btn-secondary {
  background: #fff;
  border: 1.5px solid rgba(92,51,23,.18);
  color: var(--yv-bark);
}
.yv-complete-steps .btn-primary {
  background: var(--yv-grad-sun);
  border-color: transparent;
  color: #fff;
}
.yv-audio-acc-btn {
  background: var(--yv-grad-sun) !important;
  color: #fff !important;
  border-radius: 12px;
  border: none;
}
.yv-audio-acc-btn::after {
  filter: brightness(0) invert(1);
}
.yv-audio-acc-ic {
  color: var(--yv-coral);
}
.yv-audio-acc-ic i {
  color: inherit;
}

/* AUTH PAGES */
.yv-auth-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.yv-auth-hero {
  background: var(--yv-sand);
  border-radius: 18px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yv-auth-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 2rem;
  box-shadow: var(--yv-shadow-card);
}
.yv-auth-card .form-label { font-weight: 600; }
.yv-auth-row { flex-wrap: wrap; gap: .6rem; }
.yv-auth-ext { margin-top: .6rem; }
.yv-auth-wide { max-width: 1200px; }
.yv-auth-lead {
  font-family: var(--yv-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yv-ink);
  margin-bottom: .25rem;
}
.yv-auth-sub { color: var(--yv-muted); margin-bottom: .8rem; }
.yv-auth-full {
  grid-template-columns: 1fr;
}

/* Auth form fields — theme */
.yv-auth-card .form-control,
.yv-auth-card .form-select {
  border-radius: 10px;
  border: 1.5px solid rgba(233,150,10,.18);
  background: #fff;
}
.yv-auth-card .form-control:focus,
.yv-auth-card .form-select:focus {
  border-color: rgba(217,95,59,.55);
  box-shadow: 0 0 0 3px rgba(217,95,59,.12);
}
.yv-auth-card .form-check-input:checked {
  background-color: var(--yv-coral);
  border-color: var(--yv-coral);
}
.yv-auth-card .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(217,95,59,.12);
}

/* Theme buttons for follow */
.yv-user-footer .btn-follow.btn-primary {
  background: var(--yv-grad-sun);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(217,95,59,.28);
}
.yv-user-footer .btn-follow.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217,95,59,.38);
}
.yv-user-footer .btn-follow.btn-outline-primary {
  color: var(--yv-coral);
  border-color: rgba(217,95,59,.35);
  background: #fff;
}
.yv-user-footer .btn-follow.btn-outline-primary:hover {
  background: rgba(217,95,59,.08);
  border-color: var(--yv-coral);
}

/* ═══════════════════════════════════════════
   STORY LIST PAGE — CARD GRID
═══════════════════════════════════════════ */
.yv-story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Story card */
.yv-scard {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s;
}
.yv-scard:hover { transform: translateY(-5px); box-shadow: var(--yv-shadow-lift); border-color: transparent; }

/* Thumbnail */
.yv-scard-img {
  width: 100%; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--yv-sand); flex-shrink: 0; position: relative;
}
.yv-scard-img a { display: block; width: 100%; height: 100%; }
.yv-scard-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.yv-scard:hover .yv-scard-img img { transform: scale(1.06); }

/* Story badge overlay */
.yv-story-tag {
  position: absolute; top: .65rem; left: .65rem; z-index: 3;
  background: var(--yv-grad-sun); color: #fff;
  font-family: var(--yv-font-mono); font-size: .52rem; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 60px;
  padding: .22rem .65rem;
  box-shadow: 0 2px 8px rgba(217,95,59,.35);
  pointer-events: none;
}

/* Card body */
.yv-scard-body {
  padding: .9rem 1rem 1rem;
  display: flex; flex-direction: column; flex: 1; gap: .32rem;
}

/* Title */
.yv-scard-title {
  font-family: var(--yv-font-body); font-size: .9rem; font-weight: 600;
  color: var(--yv-ink); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s; text-decoration: none; display: block;
}
.yv-scard:hover .yv-scard-title { color: var(--yv-coral); }

/* Category */
.yv-scard-cat {
  font-family: var(--yv-font-mono); font-size: .66rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--yv-coral);
  display: inline-flex; align-items: center; gap: .3rem; text-decoration: none;
}
.yv-scard-cat:hover { color: var(--yv-sienna); }

/* Date */
.yv-scard-date {
  font-family: var(--yv-font-mono); font-size: .66rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--yv-light);
  padding-top: .55rem;
  border-top: 1px solid rgba(233,150,10,.09);
  margin-top: auto;
}

/* Load-more button */
.yv-load-more-wrap { text-align: center; margin-top: 2.6rem; }
.yv-btn-load {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 2.4rem; border-radius: 60px;
  background: var(--yv-grad-sun); color: #fff;
  font-family: var(--yv-font-body); font-weight: 600; font-size: .88rem;
  border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(217,95,59,.32);
  transition: transform .22s, box-shadow .22s; text-decoration: none;
}
.yv-btn-load:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(217,95,59,.42); color: #fff; }

/* Story grid responsive */
@media (max-width: 1100px) { .yv-story-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px)  { .yv-story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .yv-story-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   LIST PAGE — RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .yv-grid { grid-template-columns: repeat(3, 1fr); }
  .yv-cat-grid { grid-template-columns: repeat(2, 1fr); }
  /* 3 cards */
  .yv-trend-col { width: calc((100% - 2rem) / 3); }
  .yv-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yv-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yv-contact-body { grid-template-columns: 1fr; }
  .yv-user-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yv-post-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px)  {
  .yv-grid { grid-template-columns: repeat(2, 1fr); }
  .yv-cat-grid { grid-template-columns: 1fr; }
  /* 2 cards */
  .yv-trend-col { width: calc((100% - 1rem) / 2); }
  .yv-user-grid { grid-template-columns: 1fr; }
  .yv-auth-wrap { grid-template-columns: 1fr; }
  .yv-faq-card { grid-template-columns: 1fr; }
  .yv-faq-rev .yv-faq-media { order: 0; }
  .yv-faq-rev .yv-faq-body { order: 0; }
  .yv-help-search .col-12.d-flex { flex-direction: column; }
  .yv-help-search .form-control { margin-right: 0 !important; margin-bottom: .6rem; }
  .yv-nf-card { padding: 1.4rem; }
  /* Post form head: stack title/switch vertically */
  .yv-post-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  /* Sidebar format items: 2 columns on tablet */
  .yv-side-fmt { flex-direction: row; flex-wrap: wrap; }
  .yv-fmt-item { flex: 1 1 calc(50% - .25rem); }
}
@media (max-width: 480px) {
  .yv-grid       { grid-template-columns: 1fr; }
  .yv-list-wrap  { padding: 1.6rem 1rem 3rem; }
  .yv-ph         { padding: 1.8rem 0 1.4rem; }
  .yv-tb         { flex-direction: column; align-items: flex-start; }
  .yv-post-wrap  { padding: 1.2rem .75rem 2.5rem; gap: 1.2rem; }
  .yv-post-head,
  #views-plain-form { padding: 1rem 1rem 0; }
  #views-plain-form { padding-bottom: 1rem; }
  .yv-post-actions { justify-content: stretch; }
  .yv-post-actions .btn { flex: 1; justify-content: center; }
  /* Format picker: full-width single column on mobile */
  .yv-side-fmt { flex-direction: column; }
  .yv-fmt-item { flex: none; width: 100%; }
  /* Tighter side blocks */
  .yv-side-block { padding: .9rem 1rem; }
  /* Word-count row wraps tidily */
  .yv-post-card .d-flex.justify-content-between { gap: .4rem; }
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — BREADCRUMB
═══════════════════════════════════════════ */
.yv-bc {
  max-width: 1280px; margin: 0 auto;
  padding: 1rem 1.5rem .4rem;
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.yv-bc a {
  font-family: var(--yv-font-body); font-size: .86rem;
  color: var(--yv-bark); text-decoration: none; transition: color .18s;
  font-weight: 500;
}
.yv-bc a:hover { color: var(--yv-coral); }
.yv-bc-sep { font-size: 1rem; color: var(--yv-light); }
.yv-bc-cur {
  font-family: var(--yv-font-body); font-size: .76rem;
  color: var(--yv-bark); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /*max-width: 320px;*/
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — PAGE LAYOUT
═══════════════════════════════════════════ */
.yv-page-body {
  max-width: 1280px; margin: 0 auto;
  padding: 1.4rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1fr 360px;
  gap: 2rem; align-items: start;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — ARTICLE
═══════════════════════════════════════════ */
.yv-art { min-width: 0; }

.yv-art-hero {
  width: 100%; border-radius: var(--yv-radius-sm);
  overflow: hidden; margin-bottom: 1.6rem;
  box-shadow: var(--yv-shadow-card);
}
.yv-art-hero img {
  width: 100%; display: block;
  /*aspect-ratio: 4/3; object-fit: cover;*/
}

.yv-art-meta {
  display: flex; align-items: center; gap: .65rem;
  flex-wrap: wrap; margin-bottom: .9rem;
}
.yv-cat-badge {
  font-family: var(--yv-font-mono); font-size: .59rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--yv-coral); background: rgba(217,95,59,.08);
  border: 1px solid rgba(217,95,59,.18); border-radius: 60px;
  padding: .2rem .72rem; text-decoration: none; transition: background .18s;
}
.yv-cat-badge:hover { background: rgba(217,95,59,.15); }
.yv-art-date {
  font-family: var(--yv-font-mono); font-size: .7rem;
  letter-spacing: .04em; color: var(--yv-light);
}
.yv-art-updated { font-size: .72rem; color: var(--yv-muted); }

.yv-art-title {
  font-family: var(--yv-font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700; line-height: 1.16; letter-spacing: -.01em;
  color: var(--yv-ink); margin-bottom: 1.3rem;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — AUTHOR STRIP
═══════════════════════════════════════════ */
.yv-auth-strip {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.1rem;
  background: var(--yv-sand); border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12); margin-bottom: 1.6rem;
  flex-wrap: nowrap;
}
.yv-auth-av {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(217,95,59,.22);
  background: var(--yv-grad-sun);
  display: flex; align-items: center; justify-content: center;
}
.yv-auth-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yv-auth-av-init { font-size: .85rem; font-weight: 700; color: #fff; }
.yv-auth-info { display: flex; flex-direction: column; }
.yv-auth-name {
  font-family: var(--yv-font-body); font-size: .88rem;
  font-weight: 700; color: var(--yv-ink); text-decoration: none; transition: color .18s;
}
.yv-auth-name:hover { color: var(--yv-coral); }
.yv-auth-role { font-size: .74rem; color: var(--yv-muted); margin-top: .1rem; }
.yv-art-actions {
  display: flex; align-items: center; gap: .15rem;
}
    .yv-art-actions .btn {
        padding: 4px 8px;
        font-size: .88rem;
        color: var(--yv-card-status-icon-color);
        background: transparent;
        border: none;
        transition: color .18s;
        cursor: pointer;
        line-height: 1;
    }
.yv-art-actions .btn:hover { color: var(--yv-coral); }
        .yv-art-actions .btn.saved,
        .yv-art-actions .btn.heart-color {
            font-size: 1rem;
            color: var(--yv-coral);
        }

/* ═══════════════════════════════════════════
   DETAIL PAGE — ACTION BAR
═══════════════════════════════════════════ */
.yv-act-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding: .9rem 0;
    border-top: 1px solid rgba(233,150,10,.12);
    border-bottom: 1px solid rgba(233,150,10,.12);
    margin-bottom: 0.6rem;
}
.yv-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--yv-font-mono);
    font-size: .7rem;
    color: var(--yv-card-status-icon-color);
    padding: .34rem .75rem;
    border-radius: 60px;
    border: 1.5px solid rgba(92,51,23,.11);
    background: #fff;
    cursor: default;
}
button.yv-stat-chip {
  cursor: pointer; transition: all .18s;
  font-family: var(--yv-font-mono); font-size: .7rem;
}
button.yv-stat-chip:hover { border-color: var(--yv-coral); color: var(--yv-coral); }
.yv-stat-chip.liked { color: var(--yv-coral); border-color: rgba(217,95,59,.3); }
.yv-act-sep { width: 1px; height: 18px; background: rgba(92,51,23,.1); flex-shrink: 0; }
.yv-act-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .9rem; border-radius: 60px;
  font-family: var(--yv-font-body); font-size: .76rem; font-weight: 600;
  border: 1.5px solid rgba(92,51,23,.14); color: var(--yv-bark);
  background: #fff; cursor: pointer; transition: all .18s;
  text-decoration: none; line-height: 1;
}
.yv-act-btn:hover { border-color: var(--yv-coral); color: var(--yv-coral); background: rgba(217,95,59,.04); }
.yv-act-btn.primary {
  background: var(--yv-grad-sun); color: #fff;
  border-color: transparent; box-shadow: 0 4px 14px rgba(217,95,59,.28);
}
.yv-act-btn.primary:hover {
  transform: translateY(-2px); box-shadow: 0 7px 22px rgba(217,95,59,.38); color: #fff;
}
.yv-act-btn.danger { color: #c0392b; }
.yv-act-btn.danger:hover { border-color: #c0392b; color: #c0392b; background: rgba(192,57,43,.04); }

/* ═══════════════════════════════════════════
   DETAIL PAGE — DIVIDER
═══════════════════════════════════════════ */
.yv-divider { height: 1px; background: rgba(233,150,10,.13); margin: 1.6rem 0; }

/* ═══════════════════════════════════════════
   DETAIL PAGE — ARTICLE BODY
═══════════════════════════════════════════ */
.yv-art-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--yv-muted);
}
    .yv-art-body * {
        margin-bottom: 1.1rem;
    }

    .yv-art-body pre {
        overflow: auto;
        /*background: var(--yv-card-status-icon-color);*/
        background-color: #fffcf7fa;
        padding: var(--yv-radius-sm);
        border-radius: 5px;
        color: var(--yv-ink);
        font-size: smaller;
    }

        .yv-art-body p {
            margin-bottom: 1.1rem;
        }
    .yv-art-body h1, .yv-art-body h2, .yv-art-body h3, .yv-art-body h4, .yv-art-body h5, .yv-art-body h6 {
        margin-bottom: 1.1rem;
        color: var(--yv-ink);
    }
 
.yv-art-body ul, .yv-art-body ol { margin-left: 0px; }
.yv-art-body li { margin-bottom: 0px; }
    .yv-art-body li::marker {
        color: var(--yv-ink);
    }


.yv-art-body blockquote {
  border-left: 3px solid var(--yv-coral); padding: .65rem 1rem;
  margin: 1.3rem 0; background: rgba(247,239,227,.5);
  font-style: italic; border-radius: 0 8px 8px 0;
}

    .yv-art-body blockquote *{
        margin-bottom: 0px;
    }

    .yv-art-body a {
        color: var(--yv-coral);
        text-decoration: underline;
    }
.yv-art-body a:hover { color: var(--yv-sienna); }
    .yv-art-body img {
        border-radius: 10px;
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
        display: block;
        margin: 10px auto;
    }
.yv-art-body strong { font-weight: 700; color: var(--yv-ink); }
.yv-art-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.1rem; font-size: .9rem; }
.yv-art-body th, .yv-art-body td { border: 1px solid rgba(233,150,10,.2); padding: .5rem .75rem; text-align: left; }
.yv-art-body th { background: var(--yv-sand); font-weight: 600; color: var(--yv-bark); }

/* DETAIL PAGE - AUDIO CARD */
.yv-audio-card {
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.12);
  padding: 1rem;
  margin: 1.2rem 0 1.6rem;
  box-shadow: 0 6px 18px rgba(217,95,59,.08);
}
.yv-audio-cover {
  width: 140px; aspect-ratio: 1 / 1;
  border-radius: 12px; overflow: hidden;
  background: var(--yv-sand);
  border: 1px solid rgba(233,150,10,.12);
}
.yv-audio-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yv-audio-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; margin-bottom: .6rem;
}
.yv-audio-label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--yv-font-mono); font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yv-coral);
}
.yv-audio-time {
  font-family: var(--yv-font-mono); font-size: .62rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--yv-muted);
}
.yv-audio-time-sep { margin: 0 .25rem; color: var(--yv-light); }
.yv-audio-controls {
  display: flex; align-items: center; gap: .75rem;
}
.yv-audio-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--yv-grad-sun); color: #fff;
  border: none; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(217,95,59,.32);
  transition: transform .2s, box-shadow .2s;
}
.yv-audio-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,95,59,.38); color: #fff; }
.yv-audio-progress { flex: 1; }
.yv-audio-progress .progress {
  background: rgba(233,150,10,.14);
  border-radius: 999px; overflow: hidden;
}
.yv-audio-progress .progress-bar { background: var(--yv-grad-sun); }

/* ═══════════════════════════════════════════
   DETAIL PAGE — TAGS
═══════════════════════════════════════════ */
.yv-tags-row {
  display: flex; align-items: center; gap: .45rem;
  flex-wrap: wrap; margin: 1.8rem 0 1.4rem;
}
.yv-tags-lbl {
  font-family: var(--yv-font-mono); font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--yv-muted);
}
.yv-tag {
  font-family: var(--yv-font-body); font-size: .75rem; font-weight: 500;
  color: var(--yv-bark); padding: .28rem .78rem; border-radius: 60px;
  border: 1.5px solid rgba(92,51,23,.14); background: #fff;
  transition: all .18s; text-decoration: none;
}
.yv-tag:hover {
  background: var(--yv-grad-sun); color: #fff;
  border-color: transparent; box-shadow: 0 3px 12px rgba(217,95,59,.28);
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — AUTHOR BIO CARD
═══════════════════════════════════════════ */
.yv-bio-card {
  background: #fff; border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.11);
  padding: 1.4rem; margin-top: 1.8rem;
}
.yv-bio-top {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: .9rem; flex-wrap: nowrap;
}
.yv-bio-av {
  width: 54px; height: 54px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2.5px solid rgba(217,95,59,.2);
  background: var(--yv-grad-sun);
  display: flex; align-items: center; justify-content: center;
}
.yv-bio-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yv-bio-av-init { font-size: .9rem; font-weight: 700; color: #fff; }
.yv-bio-name {
  font-family: var(--yv-font-display); font-size: 1.08rem;
  font-weight: 700; color: var(--yv-ink); text-decoration: none; transition: color .18s;
}
.yv-bio-name:hover { color: var(--yv-coral); }
.yv-bio-role {
    font-size: .75rem;
    color: var(--yv-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1 1 0%;
    overflow: hidden;
}
.yv-bio-txt {
    font-family: var(--yv-font-body);
    font-size: .83rem;
    line-height: 1.75;
    color: var(--yv-muted);
    margin-bottom: .65rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex: 1 1 0%;
    overflow: hidden;
}
.yv-bio-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.yv-bio-social a {
  font-size: .95rem; color: var(--yv-muted);
  transition: color .18s; text-decoration: none;
}
.yv-bio-social a:hover { color: var(--yv-coral); }

/* ═══════════════════════════════════════════
   DETAIL PAGE — COMMENTS & SOLUTIONS
═══════════════════════════════════════════ */
.yv-section-head {
  font-family: var(--yv-font-display); font-size: 1.1rem;
  font-weight: 700; color: var(--yv-ink);
  margin: 2rem 0 1rem; padding-bottom: .5rem;
  border-bottom: 2px solid rgba(233,150,10,.15);
  display: flex; align-items: center; gap: .45rem;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — SIDEBAR
═══════════════════════════════════════════ */
.yv-sidebar {
  display: flex; flex-direction: column; gap: 1.2rem;
  position: sticky; top: 84px;
/*  max-height: calc(100vh - 100px);*/
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.yv-sidebar::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Generic widget */
.yv-w {
  background: #fff; border-radius: 14px;
  border: 1.5px solid rgba(233,150,10,.1); overflow: hidden;
}
.yv-w-head {
  padding: .8rem 1.1rem;
  border-bottom: 1px solid rgba(233,150,10,.09);
  display: flex; align-items: center; justify-content: space-between;
}
.yv-w-title {
  font-family: var(--yv-font-mono); font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--yv-muted); font-weight: 400;
}
.yv-w-more {
  font-family: var(--yv-font-body); font-size: .82rem;
  font-weight: 600; color: var(--yv-coral);
  text-decoration: none; transition: color .18s;
}
.yv-w-more:hover { color: var(--yv-sienna); }
.yv-w-body { padding: .95rem 1.1rem; }

/* Sidebar post list */
.sidebar-data {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.sidebar-data-views {
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
}
.yv-post-list {
    display: flex;
    flex-direction: column;
}
.yv-post-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem 0; border-bottom: 1px solid rgba(233,150,10,.09);
  cursor: pointer;
}
.yv-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.yv-post-item:first-child { padding-top: 0; }
.yv-post-item:hover .yv-post-title { color: var(--yv-coral); }
.yv-post-thumb {
  width: 64px; height: 52px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
  background: var(--yv-sand); display: block;
}
.yv-post-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.yv-post-item:hover .yv-post-thumb img { transform: scale(1.07); }
.yv-post-info { flex: 1; min-width: 0; }
.yv-post-cat {
  font-family: var(--yv-font-mono); font-size: .63rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yv-coral); margin-bottom: .2rem;
}
.yv-post-title {
  font-family: var(--yv-font-body); font-size: .8rem; font-weight: 600;
  color: var(--yv-ink); line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color .18s; margin-bottom: .22rem; text-decoration: none;
  display: block;
}
.yv-post-meta {
  font-family: var(--yv-font-mono); font-size: .58rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--yv-light);
  display: flex; align-items: center; gap: .5rem;
}

/* ═══════════════════════════════════════════
   TOP VIEWS WIDGET
═══════════════════════════════════════════ */
.yv-tv-widget { overflow: hidden; }

.yv-tv-list {
  display: flex;
  flex-direction: column;
}

.yv-tv-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid rgba(233,150,10,.08);
  text-decoration: none;
  transition: background .18s;
  position: relative;
}
.yv-tv-item:last-child { border-bottom: none; }
.yv-tv-item:hover { background: rgba(233,150,10,.04); }

.yv-tv-rank {
  flex-shrink: 0;
  width: 22px;
  font-family: var(--yv-font-mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--yv-light);
  text-align: center;
  line-height: 1;
}
.yv-tv-rank--top {
  color: var(--yv-coral);
  font-size: .82rem;
}

.yv-tv-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--yv-sand);
}
.yv-tv-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease;
}
.yv-tv-item:hover .yv-tv-thumb img { transform: scale(1.06); }

.yv-tv-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.yv-tv-cat {
  font-family: var(--yv-font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yv-coral);
  line-height: 1;
}

.yv-tv-title {
  font-family: var(--yv-font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--yv-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}
.yv-tv-item:hover .yv-tv-title { color: var(--yv-coral); }

.yv-tv-meta {
  font-family: var(--yv-font-mono);
  font-size: .70rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--yv-light);
  display: flex;
  align-items: center;
  gap: .28rem;
  line-height: 1;
}
.yv-tv-meta .yvi { width: 10px; height: 10px; }

.yv-tv-ext-badge {
  display: inline-flex;
  align-items: center;
  font-size: .52rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yv-muted);
  background: rgba(233,150,10,.08);
  border: 1px solid rgba(233,150,10,.18);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.6;
  margin-left: .2rem;
}

/* ═══════════════════════════════════════════
   SIDEBAR NEWSLETTER WIDGET
═══════════════════════════════════════════ */
.yv-nl-sidebar {
  background: var(--yv-grad-deep);
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.35rem;
  position: relative;
  overflow: hidden;
}
.yv-nl-sidebar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 110%, rgba(233,150,10,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 10% -10%, rgba(217,95,59,.14) 0%, transparent 55%);
  pointer-events: none;
}

.yv-nl-sidebar-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
  position: relative; z-index: 1;
}
.yv-nl-sidebar-icon .yvi {
  width: 18px; height: 18px;
  color: var(--yv-gold);
}

.yv-nl-sidebar h4 {
  font-family: var(--yv-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .35rem;
  position: relative; z-index: 1;
}
.yv-nl-sidebar p {
  font-size: .76rem;
  color: rgba(255,255,255,.48);
  line-height: 1.65;
  margin: 0 0 .95rem;
  position: relative; z-index: 1;
}
.yv-nl-sidebar p strong { color: rgba(255,255,255,.78); }

.yv-nl-inp {
  width: 100%;
  padding: .62rem .9rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--yv-font-body);
  font-size: .82rem;
  outline: none;
  margin-bottom: .5rem;
  transition: border-color .2s, background .2s;
  display: block;
  position: relative; z-index: 1;
}
.yv-nl-inp::placeholder { color: rgba(255,255,255,.26); }
.yv-nl-inp:focus {
  border-color: rgba(242,193,46,.45);
  background: rgba(255,255,255,.1);
}

.yv-nl-btn {
  width: 100%;
  padding: .68rem;
  border-radius: 8px;
  background: var(--yv-grad-sun);
  color: #fff;
  border: none;
  font-family: var(--yv-font-body);
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(217,95,59,.3);
  transition: transform .2s, box-shadow .2s;
  position: relative; z-index: 1;
}
.yv-nl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,95,59,.42);
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — SIDEBAR: PAGES WIDGET
═══════════════════════════════════════════ */
.yv-pages-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .22rem .35rem;
}
.yv-page-lnk {
  font-family: var(--yv-font-body); font-size: .77rem;
  color: var(--yv-bark); padding: .22rem 0;
  transition: color .17s; text-decoration: none;
  display: flex; align-items: center; gap: .3rem;
}
.yv-page-lnk::before { content: '›'; color: var(--yv-light); font-size: .8rem; }
.yv-page-lnk:hover { color: var(--yv-coral); }

/* ═══════════════════════════════════════════
   DETAIL PAGE — SIDEBAR: ADDRESS WIDGET
═══════════════════════════════════════════ */
.yv-addr {
  font-family: var(--yv-font-body); font-size: .75rem;
  line-height: 1.95; color: var(--yv-muted);
}
.yv-addr strong {
  color: var(--yv-bark); font-weight: 600;
  display: block; margin-top: .42rem;
}
.yv-addr a { color: var(--yv-coral); text-decoration: none; transition: opacity .17s; }
.yv-addr a:hover { opacity: .75; }
.yv-addr-divider {
  margin: .65rem 0 .3rem;
  border-top: 1px dashed rgba(233,150,10,.2);
  padding-top: .55rem;
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — RESPONSIVE
═══════════════════════════════════════════ */

/* ── Tablet (≤960px): single-column, sidebar moves below content ── */
@media (max-width: 960px) {
  .yv-page-body {
    grid-template-columns: 1fr;
    padding: 1.2rem 1.2rem 3.5rem;
  }

  /* Sidebar is no longer sticky — it scrolls naturally below the article */
  .yv-sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1.5px solid rgba(233,150,10,.12);
    padding-top: 1.4rem;
    margin-top: .5rem;
  }

  /* All sidebar widgets full-width on tablet */
  .yv-sidebar > * {
    flex: 1 1 100%;
    min-width: 0;
  }

  /* Sidebar post widgets stack vertically, full width */
  .sidebar-data {
    position: static;
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem;
  }

  /* About */
  .yv-about-hero { grid-template-columns: 1fr; }
}

/* ── Mobile (≤600px): narrow single-column layout ── */
@media (max-width: 600px) {
  .yv-page-body { padding: 1rem 1rem 3rem; }

  /* Article text */
  .yv-art-title { font-size: 1.4rem; }
  .yv-art-body  { font-size: 1rem; }

  /* Breadcrumb */
  .yv-bc { padding: .8rem 1rem .3rem; }

  /* Author strip */
  .yv-auth-strip { padding: .7rem .85rem; gap: .65rem; }
  .yv-auth-av    { width: 36px; height: 36px; }

  /* Action bar — allow wrapping, smaller chips */
  .yv-act-bar    { gap: .3rem; padding: .7rem 0; }
  .yv-act-btn    { padding: .32rem .65rem; font-size: .7rem; }
  .yv-stat-chip  { padding: .28rem .55rem; font-size: .67rem; }
  /* Hide the vertical separator on very small screens — it breaks the wrap */
  .yv-act-sep    { display: none; }

  /* Bio card */
  .yv-bio-card   { padding: 1rem; }
  .yv-bio-av     { width: 44px; height: 44px; }

  /* Sidebar — full-width single column on mobile */
  .yv-sidebar {
    flex-direction: column;
    padding-top: 1.2rem;
  }
  .yv-sidebar > *,
  .sidebar-data {
    flex: 1 1 100%;
    min-width: 0;
  }

  /* Audio card */
  .yv-audio-card {
    grid-template-columns: 1fr;
    padding: .9rem;
  }
  .yv-audio-cover { width: 100%; }
  .yv-audio-controls { flex-direction: column; align-items: stretch; }
  .yv-audio-btn { align-self: flex-start; }

  /* Trending */
  .yv-trend-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  /* 1 card */
  .yv-trend-col { width: 100%; }

  /* About */
  .yv-about-hero { grid-template-columns: 1fr; }
  .yv-stat-grid { grid-template-columns: 1fr; }

  /* Contact */
  .yv-contact-grid { grid-template-columns: 1fr; }
  .yv-contact-illus { max-width: 280px; }

  /* Auth */
  .yv-auth-wrap { padding: 1.6rem 1rem 3rem; }
  .yv-auth-card { padding: 1.5rem; }
  .yv-auth-hero { display: none; }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
  .yv-auth-wrap { padding: 1.2rem .8rem 2.4rem; }
  .yv-auth-card { padding: 1.1rem; }
  .yv-auth-card .form-label { font-size: .85rem; }
  .yv-auth-card .form-control,
  .yv-auth-card .form-select {
    font-size: .85rem;
    padding: .5rem .6rem;
  }
  .yv-auth-row { flex-direction: column; align-items: flex-start; }
  .yv-auth-row .form-check { margin-bottom: .3rem; }
  .yv-auth-card .link-primary { font-size: .85rem; }
  .yv-auth-card .btn { font-size: .9rem; padding: .55rem .8rem; }
}

/* ── Very small (≤400px) ── */
@media (max-width: 400px) {
  .yv-act-btn { padding: .28rem .55rem; font-size: .67rem; }
  .yv-art-title { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════
   DETAIL PAGE — RELATED VIEWS SECTION
═══════════════════════════════════════════ */
.yv-rel-section { margin-top: 2rem; }

.yv-rel-head {
  display: flex; align-items: center;
  justify-content: space-between; gap: .75rem;
  margin-bottom: 1.2rem; flex-wrap: wrap;
}
/* Override section-head margin when it sits inside rel-head */
.yv-rel-head .yv-section-head { margin: 0; border: none; padding: 0; }

.yv-rel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 600px) {
  .yv-rel-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SIDEBAR — SKELETON LOADER
   Shown while sidebar-partial-data.js fetches
   the Views / Articles / Blogs widgets.
═══════════════════════════════════════════ */
@keyframes yv-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

.yv-skel-line,
.yv-skel-thumb,
.yv-skel-rank {
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(233,150,10,.08) 25%,
    rgba(233,150,10,.18) 50%,
    rgba(233,150,10,.08) 75%
  );
  background-size: 800px 100%;
  animation: yv-shimmer 1.4s infinite linear;
}

/* Skeleton thumbnail — same size as real .yv-tv-thumb */
.yv-skel-item .yv-skel-thumb {
  width: 72px; height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Skeleton rank number placeholder */
.yv-skel-item .yv-skel-rank {
  width: 22px; height: 14px;
  flex-shrink: 0;
  border-radius: 4px;
}

/* Skeleton text lines */
.yv-skel-heading { display: block; width: 60%; height: 10px; }
.yv-skel-cat     { height: 8px;  width: 40%; margin-bottom: .4rem; }
.yv-skel-title   { height: 10px; width: 90%; margin-bottom: .4rem; }
.yv-skel-meta    { height: 8px;  width: 55%; }

/* ═══════════════════════════════════════════
   USER POSTS (_UserPosts.cshtml)
═══════════════════════════════════════════ */

/* Card row */
.yv-up-card {
  background: #fff;
  border-bottom: 1px solid rgba(233,150,10,.13);
  border-radius: var(--yv-radius-sm);
  transition: box-shadow .18s, background .18s;
}
.yv-up-card:hover {
  background: var(--yv-blush);
  box-shadow: var(--yv-shadow-card);
}

/* Thumbnail */
.yv-up-thumb {
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(233,150,10,.15);
}

/* Post title */
.yv-up-title {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: var(--yv-ink);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color .18s;
}
.yv-up-title:hover { color: var(--yv-coral); }

/* Category pill link */
.yv-up-cat {
  font-size: .78rem;
  font-weight: 600;
  color: var(--yv-coral);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.yv-up-cat:hover { color: var(--yv-sienna); }

/* Time-ago / meta text */
.yv-up-meta {
  font-size: .8rem;
  color: var(--yv-muted);
}

/* Content excerpt */
.yv-up-excerpt {
  font-size: .85rem;
  color: var(--yv-muted);
  line-height: 1.5;
  margin: 4px 0 6px;
}

/* @mention link in comment type */
.yv-up-at { color: var(--yv-coral); font-weight: 600; }
.yv-up-at:hover { color: var(--yv-sienna); text-decoration: underline !important; }

/* Footer stats row */
.yv-up-footer {
  color: var(--yv-muted);
  margin-top: 6px;
}

/* Dropdown menu */
.yv-up-dropdown { border: 1px solid rgba(233,150,10,.15); border-radius: 10px; }
.yv-up-dd-item  { color: var(--yv-muted) !important; font-size: .87rem; }
.yv-up-dd-item:hover { color: var(--yv-coral) !important; background: rgba(217,95,59,.06) !important; }
.yv-up-dd-delete { color: #c0392b !important; font-size: .87rem; }
.yv-up-dd-delete:hover { background: rgba(192,57,43,.06) !important; }

/* Pagination — theme override */
.pagination .page-link {
  color: var(--yv-bark);
  border-color: rgba(233,150,10,.2);
  border-radius: 6px;
  font-size: .85rem;
}
.pagination .page-item.active .page-link {
  background: var(--yv-coral);
  border-color: var(--yv-coral);
  color: #fff;
}
.pagination .page-link:hover {
  background: rgba(217,95,59,.08);
  color: var(--yv-coral);
  border-color: rgba(217,95,59,.3);
}

/* ── Share button & dropdown ── */
.icon-share-container { position: relative; display: inline-flex; }

.yv-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /*border: 1.5px solid rgba(217,95,59,.25);*/
    border: none;
    outline: none;
    background: transparent;
    color: var(--yv-card-status-icon-color);
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    padding: 0;
}
.yv-share-btn:hover {
  background: rgba(217,95,59,.08);
  color: var(--yv-coral);
  border-color: rgba(217,95,59,.4);
}

.yv-share-panel {
  display: none;
  position: fixed;
  width: 220px;
  background: #fff;
  border: 1.5px solid rgba(233,150,10,.15);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(92,51,23,.16);
  z-index: 9999;
  overflow: hidden;
}
.yv-share-panel.open { display: block; }

.yv-share-panel-head {
  font-size: .75rem; font-weight: 700;
  color: var(--yv-muted);
  text-transform: uppercase; letter-spacing: .06em;
  padding: .6rem .9rem .4rem;
  border-bottom: 1px solid rgba(233,150,10,.1);
}

.yv-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: .35rem;
}

.yv-share-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 500;
  color: var(--yv-bark);
  padding: .45rem .6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.yv-share-item:hover { background: rgba(217,95,59,.07); color: var(--yv-coral); }

/* per-platform accent on hover */
.yv-share-item.yv-share-facebook:hover { color: #1877F2; background: rgba(24,119,242,.07); }
.yv-share-item.yv-share-twitter:hover  { color: #000;    background: rgba(0,0,0,.06); }
.yv-share-item.yv-share-linkedin:hover { color: #0A66C2; background: rgba(10,102,194,.07); }
.yv-share-item.yv-share-whatsapp:hover { color: #25D366; background: rgba(37,211,102,.07); }
.yv-share-item.yv-share-telegram:hover { color: #229ED9; background: rgba(34,158,217,.07); }
.yv-share-item.yv-share-reddit:hover   { color: #FF4500; background: rgba(255,69,0,.07); }
.yv-share-item.yv-share-email:hover    { color: var(--yv-coral); background: rgba(217,95,59,.07); }

.yv-share-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(233,150,10,.1);
  margin-top: 2px; padding-top: .5rem;
  color: var(--yv-muted);
  justify-content: center; gap: .5rem;
}
.yv-share-copy:hover { background: rgba(217,95,59,.07); color: var(--yv-coral); }

/* for editor */
.ck-editor__main{
    max-height: 500px;
    overflow: auto;
}
/* ── Global page spinner ───────────────────────────────── */
#yv-global-spinner {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(2px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}
#yv-global-spinner.active { display: flex; }
.yv-spinner-ring {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(217,95,59,.15);
    border-top-color: #D95F3B;
    border-radius: 50%;
    animation: yv-spin .7s linear infinite;
}
.yv-spinner-text {
    font-size: .8rem;
    font-weight: 600;
    color: #9c5a3c;
    letter-spacing: .02em;
}
@keyframes yv-spin { to { transform: rotate(360deg); } }

/* ── Follow button states ──────────────────────────────── */
.btn-follow {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem 1.1rem; border-radius: 60px;
    font-size: .82rem; font-weight: 600; cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    text-decoration: none; border: 1.5px solid;
}
.btn-follow.yv-btn-outline {
    background: #fff; color: #D95F3B;
    border-color: rgba(217,95,59,.4);
}
.btn-follow.yv-btn-following {
    background: linear-gradient(135deg,#D95F3B,#E9960A);
    color: #fff; border-color: transparent;
}
.btn-follow.yv-btn-unfollow {
    background: #fff; color: #c0392b;
    border-color: rgba(192,57,43,.4);
}

/* ── Dropdown menu positioning (positioned via JS as fixed) */
.dropdown-menu {
    display: none;
    min-width: 160px;
    max-width: calc(100vw - 1rem);
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(233,150,10,.18);
    box-shadow: 0 8px 24px rgba(92,51,23,.12);
    padding: .35rem 0;
}
.dropdown-menu.show { display: block; }

/* ── Line clamp utilities ──────────────────────────────── */
.line-clamp-1,
.line-clamp-2,
.line-clamp-3,
.line-clamp-4,
.line-clamp-5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.line-clamp-4 { -webkit-line-clamp: 4; }
.line-clamp-5 { -webkit-line-clamp: 5; }

/* ── Post form shared styles ───────────────────────────── */
.hp-field { position:absolute; left:-9999px; width:0; height:0; opacity:0; }

.select2-container .select2-selection--single { height:42px; cursor:pointer; display:block; user-select:none; -webkit-user-select:none; border:1.5px solid rgba(233,150,10,.18) !important; border-radius:10px !important; }
.select2-container .select2-selection--single .select2-selection__rendered { display:block; padding-left:.75rem; padding-right:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:42px; color:#2e1a0e; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height:42px; position:absolute; top:0; right:4px; width:20px; }
.select2-container--default.select2-container--focus .select2-selection--single { border-color:rgba(217,95,59,.5) !important; box-shadow:0 0 0 3px rgba(217,95,59,.1) !important; }

.yv-img-drop { border:2px dashed rgba(217,95,59,.3); border-radius:12px; background:var(--yv-sand,#fdf5e8); transition:border-color .2s,background .2s; overflow:hidden; }
.yv-img-drop:hover { border-color:rgba(217,95,59,.55); background:rgba(247,239,227,.8); }
.yv-img-drop-label { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.4rem; padding:1.2rem 1rem; cursor:pointer; color:var(--yv-muted,#9c7558); font-size:.82rem; text-align:center; }
.yv-img-drop-label svg { opacity:.5; }
.yv-img-drop-label strong { color:var(--yv-coral,#D95F3B); }
.yv-img-preview { display:none; margin:0; padding:.5rem; text-align:center; background:rgba(233,150,10,.06); border-top:1px solid rgba(233,150,10,.14); }
.yv-img-preview img { border-radius:8px; max-height:200px; object-fit:cover; display:inline-block; }
.yv-img-preview.has-image { display:block; }

.yv-wc { font-family:monospace; font-size:.72rem; }
.yv-wc.over { color:#c0392b !important; }

.ui-autocomplete { position:absolute !important; max-height:220px !important; overflow-y:auto !important; overflow-x:hidden !important; list-style:none !important; margin:2px 0 0 !important; padding:.35rem 0 !important; background:#fff !important; border:1.5px solid rgba(217,95,59,.25) !important; border-radius:10px !important; box-shadow:0 8px 24px rgba(92,51,23,.12) !important; font-family:inherit !important; font-size:.86rem !important; z-index:99999 !important; width:auto !important; }
.ui-autocomplete .ui-menu-item { padding:0 !important; }
.ui-autocomplete .ui-menu-item-wrapper { display:block !important; padding:.45rem .9rem !important; color:#5c3317 !important; cursor:pointer !important; background:transparent !important; border:none !important; margin:0 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.ui-autocomplete .ui-menu-item-wrapper:hover, .ui-autocomplete .ui-menu-item-wrapper.ui-state-active, .ui-autocomplete .ui-menu-item-wrapper.ui-state-focus { background:rgba(217,95,59,.08) !important; color:#D95F3B !important; border:none !important; outline:none !important; }
.ui-widget { font-family:inherit !important; }
.ui-widget-content { border:none !important; }
.ui-autocomplete.ui-front { z-index:99999 !important; }

/* audio post specific */
.yv-audio-upload { border:2px dashed rgba(233,150,10,.3); border-radius:14px; padding:2rem 1rem; text-align:center; background:rgba(233,150,10,.03); transition:border-color .2s; }
.yv-audio-upload:hover { border-color:rgba(217,95,59,.5); }
.yv-audio-upload svg { color:#D95F3B; margin-bottom:.5rem; }
.yv-audio-upload p { color:#9c7558; font-size:.85rem; margin:.25rem 0 0; }
.yv-audio-rec-btn { display:inline-flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,#D95F3B,#E9960A); border:none; cursor:pointer; color:#fff; box-shadow:0 4px 16px rgba(217,95,59,.3); transition:transform .15s; }
.yv-audio-rec-btn:hover { transform:scale(1.06); }
.yv-audio-tabs { display:flex; gap:.5rem; margin-bottom:1rem; }
.yv-audio-tab { flex:1; padding:.5rem; border-radius:10px; border:1.5px solid rgba(233,150,10,.2); background:#fff; font-size:.83rem; font-weight:600; color:#9c7558; cursor:pointer; text-align:center; }
.yv-audio-tab.active { background:linear-gradient(135deg,#D95F3B,#E9960A); color:#fff; border-color:transparent; }

/* ── Tokenfield theme ──────────────────────────────────── */
.tokenfield { display:flex !important; flex-wrap:wrap !important; border:1.5px solid rgba(233,150,10,.18) !important; border-radius:10px !important; min-height:42px !important; max-height:120px !important; overflow-y:auto !important; background:#fff !important; width:100% !important; padding:.25rem .5rem !important; }
.tokenfield .token { background:rgba(217,95,59,.1) !important; border:1px solid rgba(217,95,59,.22) !important; border-radius:60px !important; padding:.15rem .6rem !important; margin:.2rem !important; }
.tokenfield .token .token-label { color:#D95F3B !important; font-size:.82rem !important; }
.tokenfield .token a { color:#D95F3B !important; text-decoration:none !important; padding-left:.35rem !important; }
.tokenfield .token-input { border:0 !important; outline:none !important; flex:1; min-width:80px; }
