/* =====================================================
   THE VYBE REPORT — Editorial Theme v1
   Clean, newsroom-style design system.
   No external UI framework — plain CSS, mobile-first.
===================================================== */

:root {
  --ink: #15151a;
  --ink-soft: #3a3a42;
  --paper: #ffffff;
  --paper-muted: #f6f5f1;
  --line: #e6e4df;
  --muted: #6b6b6b;
  --red: #d62828;
  --red-dark: #a91d1d;
  --gold: #a3781a;
  --gold-bg: #fbf3df;
  --radius: 4px;
  --container: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.vy-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.vy-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* =====================================================
   TOP UTILITY BAR
===================================================== */
.vy-topbar {
  background: var(--ink);
  color: #c9c9cd;
  font-size: 12px;
}
.vy-topbar .vy-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px;
}
.vy-topbar-location { display: flex; align-items: center; gap: 6px; color: #9a9aa2; }
.vy-topbar-right { display: flex; align-items: center; gap: 18px; }
.vy-social { display: flex; align-items: center; gap: 12px; }
.vy-social a { color: #c9c9cd; display: flex; opacity: .85; transition: opacity .15s, color .15s; }
.vy-social a:hover { color: var(--red); opacity: 1; }
.vy-social svg { width: 14px; height: 14px; }
.vy-topbar-link { color: #c9c9cd; font-weight: 600; letter-spacing: .02em; }
.vy-topbar-link:hover { color: #fff; }

/* =====================================================
   MAIN HEADER
===================================================== */
.vy-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.vy-header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.vy-logo img { height: 40px; width: auto; }

.vy-nav { display: none; }
.vy-nav-list { display: flex; align-items: center; gap: 30px; }
.vy-nav-list > li { position: relative; }
.vy-nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 28px 0; letter-spacing: .01em;
}
.vy-nav-link:hover, .vy-nav-list > li.is-open .vy-nav-link { color: var(--red); }
.vy-nav-link svg { width: 10px; height: 10px; margin-top: 1px; }

.vy-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--red);
  min-width: 220px; padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .15s ease, transform .15s ease;
}
.vy-nav-list > li:hover .vy-dropdown,
.vy-nav-list > li.is-open .vy-dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.vy-dropdown a {
  display: block; padding: 9px 18px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap;
}
.vy-dropdown a:hover { background: var(--paper-muted); color: var(--red); }

.vy-header-actions { display: flex; align-items: center; gap: 6px; }
.vy-icon-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer; color: var(--ink); border-radius: 50%;
  transition: background .15s;
}
.vy-icon-btn:hover { background: var(--paper-muted); }
.vy-icon-btn svg { width: 18px; height: 18px; }
.vy-subscribe-btn {
  display: none;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: 30px; letter-spacing: .02em; margin-left: 8px;
  transition: background .15s;
}
.vy-subscribe-btn:hover { background: var(--red-dark); }

@media (min-width: 992px) {
  .vy-nav { display: block; }
  .vy-menu-toggle { display: none; }
  .vy-subscribe-btn { display: inline-block; }
}

/* Mobile menu toggle */
.vy-menu-toggle {
  width: 40px; height: 40px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.vy-menu-toggle svg { width: 22px; height: 22px; }

/* =====================================================
   OFFCANVAS MOBILE MENU
===================================================== */
.vy-offcanvas-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 299; opacity: 0; visibility: hidden; transition: opacity .25s;
}
.vy-offcanvas-overlay.is-active { opacity: 1; visibility: visible; }

.vy-offcanvas {
  position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 340px;
  background: var(--paper); z-index: 300; padding: 24px;
  transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto;
}
.vy-offcanvas.is-active { transform: translateX(0); }
.vy-offcanvas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.vy-offcanvas-head img { height: 30px; }
.vy-offcanvas-close { background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.vy-offcanvas-close svg { width: 20px; height: 20px; }

.vy-offcanvas-menu li { border-bottom: 1px solid var(--line); }
.vy-offcanvas-menu > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; font-size: 15px; font-weight: 600;
}
.vy-offcanvas-submenu { display: none; padding: 0 0 10px 12px; }
.vy-offcanvas-submenu.is-open { display: block; }
.vy-offcanvas-submenu a { display: block; padding: 8px 2px; font-size: 13.5px; color: var(--ink-soft); }
.vy-offcanvas-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.vy-offcanvas-foot p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }

/* =====================================================
   TRENDING STRIP
===================================================== */
.vy-trending {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.vy-trending .vy-container { display: flex; align-items: center; gap: 12px; height: 42px; }
.vy-trending-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase;
  letter-spacing: .04em; flex-shrink: 0;
}
.vy-trending-label svg { width: 13px; height: 13px; }
.vy-trending-text { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); overflow: hidden; }
.vy-trending-text a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vy-trending-text a:hover { color: var(--red); }

/* =====================================================
   DAILY VERSE STRIP
===================================================== */
.vy-verse-strip { background: var(--gold-bg); border-bottom: 1px solid #efe0bb; }
.vy-verse-strip .vy-container { padding-top: 12px; padding-bottom: 12px; }
.vy-verse-text { font-size: 14px; font-style: italic; color: #4a3a10; line-height: 1.6; margin: 0; }
.vy-verse-ref { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* =====================================================
   SECTION HEADS
===================================================== */
.vy-section { padding: 44px 0; }
.vy-section.is-muted { background: var(--paper-muted); }
.vy-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px;
}
.vy-section-head h2 {
  font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0;
  text-transform: uppercase;
}
.vy-section-head .vy-see-all { font-size: 12.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .03em; }
.vy-section-head .vy-see-all:hover { text-decoration: underline; }

/* =====================================================
   HERO GRID (lead / secondary / must-read)
===================================================== */
.vy-hero { padding: 32px 0 0; }
.vy-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 992px) {
  .vy-hero-grid { grid-template-columns: 1.15fr 1fr 0.85fr; gap: 36px; }
}

.vy-story-kicker {
  display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--red);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.vy-story-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-muted); border-radius: var(--radius); }
.vy-story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vy-story-card:hover .vy-story-media img { transform: scale(1.035); }

.vy-lead h1, .vy-lead h3 { font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 12px 0 8px; }
.vy-secondary h3 { font-size: 19px; font-weight: 750; line-height: 1.3; margin: 12px 0 6px; }
.vy-story-card { display: block; text-decoration: none; color: var(--ink); }
.vy-story-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.vy-story-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.vy-story-meta svg { width: 12px; height: 12px; }

.vy-mustread h2 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; border-left: 3px solid var(--red); padding-left: 10px; margin: 0 0 6px; }
.vy-mustread-list { border-top: 1px solid var(--line); }
.vy-mustread-list li { border-bottom: 1px solid var(--line); }
.vy-mustread-list a { display: block; padding: 14px 0; font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.vy-mustread-list a:hover { color: var(--red); }
.vy-mustread-list .vy-story-meta { margin-top: 6px; }

/* =====================================================
   CARD GRID (latest / category tabs)
===================================================== */
.vy-card-grid { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
@media (min-width: 640px) { .vy-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .vy-card-grid { grid-template-columns: repeat(3, 1fr); } }
.vy-card-grid.is-compact { gap: 24px 20px; }
@media (min-width: 992px) { .vy-card-grid.is-compact { grid-template-columns: repeat(4, 1fr); } }

.vy-card h3 { font-size: 16px; font-weight: 750; line-height: 1.35; margin: 10px 0 8px; }
.vy-card .vy-story-excerpt { font-size: 13px; -webkit-line-clamp: 2; }

/* =====================================================
   CATEGORY TABS
===================================================== */
.vy-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.vy-tab {
  padding: 8px 16px; font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; border: 1.5px solid var(--line); border-radius: 30px;
  background: var(--paper); cursor: pointer; transition: all .15s;
}
.vy-tab:hover { border-color: var(--ink); }
.vy-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* =====================================================
   EDITOR'S PICK — wide feature
===================================================== */
.vy-feature-wide {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 860px) { .vy-feature-wide { grid-template-columns: 1.2fr 1fr; } }
.vy-feature-wide .vy-story-media { aspect-ratio: 16/11; border-radius: 0; }
.vy-feature-wide-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.vy-feature-wide-body h3 { font-size: 24px; font-weight: 800; line-height: 1.3; margin: 10px 0 12px; }

/* =====================================================
   FOLLOW / SOCIAL
===================================================== */
.vy-follow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .vy-follow-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .vy-follow-grid { grid-template-columns: repeat(5, 1fr); } }
.vy-follow-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px;
  text-align: center; transition: border-color .15s, transform .15s;
}
.vy-follow-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.vy-follow-icon {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; color: #fff;
}
.vy-follow-icon svg { width: 18px; height: 18px; }
.vy-follow-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 4px; }
.vy-follow-handle { font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* =====================================================
   NEWSLETTER
===================================================== */
.vy-newsletter { background: var(--ink); color: #fff; padding: 40px 0; }
.vy-newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.vy-newsletter h2 { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.vy-newsletter p { font-size: 13.5px; color: #b6b6bc; margin: 0; }
.vy-newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; }
.vy-newsletter-form input {
  flex: 1; padding: 12px 16px; border: 1px solid #3a3a42; background: #202027; color: #fff;
  border-radius: 30px; font-size: 13.5px; outline: none;
}
.vy-newsletter-form input::placeholder { color: #8b8b93; }
.vy-newsletter-form input:focus { border-color: var(--red); }
.vy-newsletter-form button {
  padding: 12px 24px; background: var(--red); color: #fff; border: none; border-radius: 30px;
  font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .15s;
}
.vy-newsletter-form button:hover { background: var(--red-dark); }
.vy-newsletter-msg { font-size: 13px; font-weight: 600; margin-top: 10px; color: #9be29b; }

/* =====================================================
   PAGE HEADER (interior pages: About / Author / Contact)
===================================================== */
.vy-page-header { border-bottom: 1px solid var(--line); background: var(--paper-muted); padding: 36px 0 28px; }
.vy-breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.vy-breadcrumb a:hover { color: var(--red); }
.vy-breadcrumb span { margin: 0 6px; }
.vy-page-header h1 { font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.vy-page-header p.vy-lede { font-size: 15px; color: var(--muted); margin: 10px 0 0; max-width: 640px; }

/* =====================================================
   FOOTER
===================================================== */
.vy-footer { background: var(--ink); color: #d6d6db; padding: 52px 0 0; }
.vy-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
@media (min-width: 768px) { .vy-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.vy-footer-brand img { height: 34px; margin-bottom: 14px; }
.vy-footer-brand p { font-size: 13.5px; color: #9a9aa2; line-height: 1.7; max-width: 300px; }
.vy-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.vy-footer-social a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid #3a3a42;
  display: flex; align-items: center; justify-content: center; color: #d6d6db;
  transition: background .15s, border-color .15s;
}
.vy-footer-social a:hover { background: var(--red); border-color: var(--red); }
.vy-footer-social svg { width: 14px; height: 14px; }
.vy-footer h4 { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; margin: 0 0 16px; }
.vy-footer-links li { margin-bottom: 10px; }
.vy-footer-links a { font-size: 13.5px; color: #a5a5ac; }
.vy-footer-links a:hover { color: #fff; }
.vy-footer-contact li { font-size: 13.5px; color: #a5a5ac; display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-start; }
.vy-footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.vy-footer-bottom { border-top: 1px solid #2b2b32; padding: 18px 0; }
.vy-footer-bottom .vy-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vy-footer-bottom p { font-size: 12.5px; color: #83838a; margin: 0; }
.vy-footer-bottom ul { display: flex; gap: 20px; }
.vy-footer-bottom a { font-size: 12.5px; color: #83838a; }
.vy-footer-bottom a:hover { color: #fff; }

/* =====================================================
   SEARCH MODAL
===================================================== */
.vy-search-modal { position: fixed; inset: 0; z-index: 400; display: none; }
.vy-search-modal.is-active { display: block; }
.vy-search-overlay { position: absolute; inset: 0; background: rgba(10,10,12,.92); }
.vy-search-panel { position: relative; max-width: 640px; margin: 14vh auto 0; padding: 0 20px; }
.vy-search-form { position: relative; }
.vy-search-form input {
  width: 100%; padding: 18px 60px 18px 20px; font-size: 17px; border: none; border-radius: 6px;
  outline: none;
}
.vy-search-form button {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 46px;
  background: var(--red); border: none; border-radius: 4px; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vy-search-form button svg { width: 18px; height: 18px; }
.vy-search-close {
  position: absolute; top: -46px; right: 20px; background: none; border: none; color: #fff;
  cursor: pointer; padding: 6px;
}
.vy-search-close svg { width: 22px; height: 22px; }

/* =====================================================
   SKELETON LOADING
===================================================== */
.vy-sk {
  background: linear-gradient(90deg, #ececea 25%, #e0dfdb 50%, #ececea 75%);
  background-size: 400% 100%; animation: vy-shimmer 1.2s ease infinite; border-radius: 4px;
}
@keyframes vy-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.vy-empty-state { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 14px; }
.vy-empty-state a { color: var(--red); font-weight: 600; }

/* =====================================================
   GENERIC CONTENT (About / Author pages)
===================================================== */
.vy-prose h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.vy-prose p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin: 0 0 16px; }
.vy-prose blockquote {
  border-left: 3px solid var(--red); margin: 20px 0; padding: 4px 0 4px 18px;
  font-size: 16px; font-style: italic; color: var(--ink);
}
.vy-value-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
@media (min-width: 640px) { .vy-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .vy-value-grid { grid-template-columns: repeat(4, 1fr); } }
.vy-value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.vy-value-card svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 12px; }
.vy-value-card h4 { font-size: 14.5px; font-weight: 750; margin: 0 0 8px; }
.vy-value-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.vy-author-hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); }
.vy-author-photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--paper-muted); }
.vy-author-photo img { width: 100%; height: 100%; object-fit: cover; }
.vy-author-hero h1 { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.vy-author-role { font-size: 13.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.vy-author-hero p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; max-width: 560px; margin: 0 0 14px; }

.vy-contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 860px) { .vy-contact-grid { grid-template-columns: 1fr 1fr; } }
.vy-contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.vy-contact-card svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.vy-contact-card h4 { font-size: 14.5px; font-weight: 750; margin: 0 0 4px; }
.vy-contact-card p, .vy-contact-card a { font-size: 13.5px; color: var(--muted); }
.vy-contact-card a:hover { color: var(--red); }

/* =====================================================
   MISC
===================================================== */
.vy-back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s; z-index: 150;
}
.vy-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.vy-back-to-top svg { width: 18px; height: 18px; }

.vy-fade-in { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.vy-fade-in.is-visible { opacity: 1; transform: translateY(0); }
