/*
Theme Name: VelvetCurve
Theme URI: https://fatandbbw.com
Author: FatAndBBW
Description: Warm boudoir theme — deep wine, coral glow, generous curves. Built for fatandbbw.com.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: velvetcurve
*/

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --wine-900: #1d0a10;
  --wine-800: #2b1019;
  --wine-700: #3a1622;
  --wine-600: #4d1d2d;
  --coral: #ff7a59;
  --coral-soft: #ff9d7e;
  --peach: #ffc89e;
  --cream: #f7eadf;
  --cream-dim: #cfb6ab;
  --curve-lg: 2.75rem 1rem 2.75rem 1rem;
  --curve-md: 1.75rem .65rem 1.75rem .65rem;
  --curve-pill: 999px;
  --serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --sans: 'Trebuchet MS', Verdana, 'Segoe UI', sans-serif;
  --shadow-glow: 0 18px 50px -18px rgba(255, 122, 89, .35);
  --maxw: 1140px;
}

/* ── Base ───────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--cream);
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(255, 122, 89, .16), transparent 64%),
    radial-gradient(900px 600px at -180px 38%, rgba(255, 200, 158, .07), transparent 60%),
    linear-gradient(168deg, var(--wine-800) 0%, var(--wine-900) 58%, #160710 100%);
  background-attachment: fixed;
}
a { color: var(--coral-soft); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--peach); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--coral); color: var(--wine-900); }

h1, h2, h3, .vc-brand { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--cream); }

.vc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.1rem; }

/* ── Header ─────────────────────────────────────────────── */
.vc-top {
  padding: 1.15rem 0 1rem;
  border-bottom: 1px solid rgba(255, 200, 158, .14);
  background: rgba(29, 10, 16, .55);
  backdrop-filter: blur(6px);
}
.vc-top__inner { display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap; }
.vc-brand { font-size: 1.9rem; letter-spacing: -.02em; }
.vc-brand a { color: var(--cream); }
.vc-brand em { font-style: italic; color: var(--coral); }
.vc-brand a:hover em { color: var(--peach); }
.vc-tag { font-size: .82rem; color: var(--cream-dim); font-style: italic; }
.vc-search { margin-left: auto; display: flex; }
.vc-search input[type="search"] {
  background: var(--wine-700); border: 1px solid rgba(255, 200, 158, .18);
  border-radius: var(--curve-pill) 0 0 var(--curve-pill);
  color: var(--cream); padding: .42rem .55rem .42rem 1rem; width: 11rem; font-size: .88rem;
}
.vc-search input[type="search"]:focus { outline: 1px solid var(--coral); }
.vc-search button {
  background: var(--coral); color: var(--wine-900); border: 0; cursor: pointer;
  border-radius: 0 var(--curve-pill) var(--curve-pill) 0; padding: .42rem .95rem; font-weight: 700;
}
.vc-search button:hover { background: var(--peach); }

/* ── Hero ───────────────────────────────────────────────── */
.vc-hero { padding: 3.2rem 0 2.4rem; position: relative; overflow: hidden; }
.vc-hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.4rem); margin: 0 0 .65rem; max-width: 17ch;
}
.vc-hero h1 em { font-style: italic; color: var(--coral); }
.vc-hero p { color: var(--cream-dim); max-width: 52ch; margin: 0; }
.vc-hero::after {
  content: ''; position: absolute; right: -90px; top: -40px; width: 300px; height: 300px;
  border: 2px solid rgba(255, 122, 89, .25); border-radius: 58% 42% 64% 36% / 50% 60% 40% 50%;
  pointer-events: none;
}

/* ── Post grid ──────────────────────────────────────────── */
.vc-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  padding: 1.6rem 0 2.6rem;
  list-style: none; margin: 0;
}
.vc-card {
  position: relative; overflow: hidden;
  border-radius: var(--curve-lg);
  background: linear-gradient(165deg, var(--wine-700), var(--wine-800));
  border: 1px solid rgba(255, 200, 158, .12);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.vc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: rgba(255, 122, 89, .4); }
.vc-card__media { aspect-ratio: 4 / 5; overflow: hidden; }
.vc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vc-card:hover .vc-card__media img { transform: scale(1.05); }
.vc-card__body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.vc-chip {
  align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em;
  background: rgba(255, 122, 89, .16); color: var(--coral-soft);
  border-radius: var(--curve-pill); padding: .18rem .7rem;
}
a.vc-chip:hover { background: rgba(255, 122, 89, .3); color: var(--peach); }
.vc-card__title { font-size: 1.06rem; margin: 0; }
.vc-card__title a { color: var(--cream); }
.vc-card__title a:hover { color: var(--coral-soft); }
.vc-card__date { font-size: .76rem; color: var(--cream-dim); margin-top: auto; }

/* in-feed promo card */
.vc-card--promo a {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: .7rem; height: 100%; min-height: 300px; padding: 1.5rem;
  background: radial-gradient(420px 300px at 50% 0%, rgba(255, 122, 89, .28), transparent 70%);
}
.vc-card--promo .vc-live-dot { font-size: 1.9rem; line-height: 1; }
.vc-card--promo strong { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.vc-card--promo span { font-size: .82rem; color: var(--cream-dim); }

/* ── Single article ─────────────────────────────────────── */
.vc-article { max-width: 780px; margin: 0 auto; padding: 2.4rem 0 3rem; }
.vc-article__head { margin-bottom: 1.6rem; }
.vc-article__head h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); margin: .55rem 0 .6rem; }
.vc-article__meta { font-size: .8rem; color: var(--cream-dim); }
.vc-article__content { font-size: 1.05rem; }
.vc-article__content > p:first-of-type {
  font-size: 1.18rem; font-family: var(--serif); font-style: italic; color: var(--peach);
}
.vc-article__content h2 {
  font-size: 1.45rem; margin: 2.2rem 0 1rem; padding-left: .9rem;
  border-left: 4px solid var(--coral); border-radius: 2px;
}
.vc-article__content figure { margin: 1.3rem 0; }
.vc-article__content figure img {
  border-radius: var(--curve-md); width: 100%;
  border: 1px solid rgba(255, 200, 158, .1);
}
.vc-article__content ul { padding-left: 1.2rem; }
.vc-article__content li { margin: .45rem 0; }

.vc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.vc-tags a {
  font-size: .76rem; background: var(--wine-700); color: var(--cream-dim);
  border-radius: var(--curve-pill); padding: .25rem .8rem;
  border: 1px solid rgba(255, 200, 158, .12);
}
.vc-tags a:hover { color: var(--peach); border-color: rgba(255, 122, 89, .4); }

.vc-nav-posts {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 200, 158, .12);
  font-size: .9rem;
}

/* ── Affiliate CTA (in-article) ─────────────────────────── */
.vc-cta {
  margin: 2.4rem 0 0; padding: 1.8rem 1.6rem; text-align: center;
  border-radius: var(--curve-lg);
  background:
    radial-gradient(440px 220px at 50% -60px, rgba(255, 122, 89, .3), transparent 72%),
    linear-gradient(160deg, var(--wine-600), var(--wine-800));
  border: 1px solid rgba(255, 122, 89, .35);
}
.vc-cta strong { display: block; font-family: var(--serif); font-size: 1.45rem; margin-bottom: .35rem; }
.vc-cta p { color: var(--cream-dim); font-size: .9rem; margin: 0 0 1.1rem; }
.vc-btn {
  display: inline-block; background: var(--coral); color: var(--wine-900) !important;
  font-weight: 700; font-size: 1.02rem; padding: .75rem 2.1rem;
  border-radius: var(--curve-pill); box-shadow: var(--shadow-glow);
  transition: transform .18s ease, background .18s ease;
}
.vc-btn:hover { background: var(--peach); transform: translateY(-2px); }

/* ── Sticky bar ─────────────────────────────────────────── */
.vc-sticky {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: .9rem; z-index: 90;
  display: flex; align-items: center; gap: .9rem;
  background: rgba(43, 16, 25, .92); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 122, 89, .4); border-radius: var(--curve-pill);
  padding: .5rem .6rem .5rem 1.2rem; max-width: calc(100vw - 1.6rem);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .6);
}
.vc-sticky__txt { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-sticky .vc-btn { padding: .5rem 1.3rem; font-size: .88rem; white-space: nowrap; }
.vc-sticky__close {
  background: none; border: 0; color: var(--cream-dim); font-size: 1.1rem;
  cursor: pointer; padding: .2rem .45rem; line-height: 1;
}
.vc-sticky__close:hover { color: var(--cream); }

/* ── Archive (model page) ───────────────────────────────── */
.vc-archive-head { padding: 2.6rem 0 .6rem; max-width: 820px; }
.vc-archive-head h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); margin: 0 0 .7rem; }
.vc-archive-head h1 em { font-style: italic; color: var(--coral); }
.vc-archive-head .vc-desc { color: var(--cream-dim); font-size: .98rem; max-width: 62ch; }

/* ── Pagination ─────────────────────────────────────────── */
.vc-pagination { display: flex; gap: .45rem; justify-content: center; padding: 0 0 3rem; flex-wrap: wrap; }
.vc-pagination .page-numbers {
  min-width: 2.4rem; text-align: center; padding: .45rem .6rem;
  border-radius: var(--curve-pill); background: var(--wine-700); color: var(--cream-dim);
  border: 1px solid rgba(255, 200, 158, .12); font-size: .9rem;
}
.vc-pagination .page-numbers.current { background: var(--coral); color: var(--wine-900); font-weight: 700; }
.vc-pagination a.page-numbers:hover { color: var(--peach); border-color: rgba(255, 122, 89, .4); }

/* ── Editorial home ─────────────────────────────────────── */
.vc-editorial {
  max-width: 820px; margin: 0 auto; padding: 0 0 3rem;
  color: var(--cream-dim); font-size: .97rem;
}
.vc-editorial h2 {
  font-size: 1.35rem; color: var(--cream); margin: 2rem 0 .7rem;
  padding-left: .9rem; border-left: 4px solid var(--coral); border-radius: 2px;
}
.vc-editorial strong { color: var(--peach); font-weight: 600; }
.vc-editorial ul { padding-left: 1.2rem; }
.vc-editorial li { margin: .4rem 0; }
.vc-editorial__models { display: flex; flex-wrap: wrap; gap: .5rem; }

/* teintes promo (variantes in-feed) */
.vc-card--promo.vc-tint-peach .vc-btn { background: var(--peach); }
.vc-card--promo.vc-tint-peach a { background: radial-gradient(420px 300px at 50% 0%, rgba(255, 200, 158, .26), transparent 70%); }
.vc-card--promo.vc-tint-rose .vc-btn { background: #ff7aa2; }
.vc-card--promo.vc-tint-rose a { background: radial-gradient(420px 300px at 50% 0%, rgba(255, 122, 162, .26), transparent 70%); }
.vc-card--promo.vc-tint-gold .vc-btn { background: #ffb84d; }
.vc-card--promo.vc-tint-gold a { background: radial-gradient(420px 300px at 50% 0%, rgba(255, 184, 77, .24), transparent 70%); }

/* ── Quick answer (evergreen) + more models ─────────────── */
.vc-quick {
  margin: 1.4rem 0; padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--coral); border-radius: 0 var(--curve-md);
  background: rgba(255, 122, 89, .08); font-size: 1.02rem;
}
.vc-quick strong { color: var(--peach); }
.vc-more-models { margin-top: 2.2rem; }
.vc-more-models h2 { font-size: 1.25rem; margin-bottom: .8rem; }

/* ── Footer ─────────────────────────────────────────────── */
.vc-footer {
  border-top: 1px solid rgba(255, 200, 158, .12); margin-top: 1rem;
  padding: 2.2rem 0 6rem; font-size: .82rem; color: var(--cream-dim);
}
.vc-footer .vc-wrap { display: flex; flex-direction: column; gap: .55rem; }
.vc-footer a { color: var(--cream-dim); text-decoration: underline; }
.vc-footer a:hover { color: var(--peach); }
.vc-18 {
  align-self: flex-start; font-weight: 700; color: var(--coral);
  border: 1.5px solid var(--coral); border-radius: var(--curve-pill); padding: .1rem .65rem;
  font-size: .78rem;
}

/* ── 404 / empty ────────────────────────────────────────── */
.vc-empty { text-align: center; padding: 4.5rem 1rem; }
.vc-empty h1 { font-size: 2.2rem; }
.vc-empty p { color: var(--cream-dim); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .vc-top__inner { gap: .5rem; }
  .vc-tag { display: none; }
  .vc-search input[type="search"] { width: 7.5rem; }
  .vc-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .9rem; }
  .vc-card { border-radius: var(--curve-md); }
  .vc-card__body { padding: .7rem .8rem .9rem; }
  .vc-card__title { font-size: .92rem; }
  .vc-hero { padding: 2.2rem 0 1.6rem; }
  .vc-sticky__txt { display: none; }
}
