/*
Theme Name: ViralsDaily
Theme URI: https://viralsdaily.co.uk
Author: SAM Marketing Agency
Author URI: https://sammarketingagency.com
Description: ViralsDaily is a premium search-first theme for word, slang, synonym and meaning sites. A navy & gold homepage with an elegant serif hero, big AJAX live search, latest-post cards with category badges, popular words and browse-by-category sections. Pure WordPress, no page builders — fast, clean, Rank Math compatible and AdSense ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viralsdaily
Tags: blog, education, news, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, full-width-template
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --wl-navy-900: #081026;
  --wl-navy-800: #0c1838;
  --wl-navy-700: #142a63;
  --wl-navy-600: #1c3a85;
  --wl-navy: #16213f;
  --wl-gold: #f7a90b;
  --wl-gold-2: #f9bc2e;
  --wl-gold-dark: #d98e00;
  --wl-gold-soft: #fff6e3;

  --wl-bg: #ffffff;
  --wl-bg-alt: #f5f7fb;
  --wl-surface: #ffffff;
  --wl-ink: #14213f;
  --wl-text: #2a3350;
  --wl-text-soft: #57607b;
  --wl-text-muted: #8b93a8;
  --wl-border: #e7eaf1;
  --wl-border-soft: #eef1f6;

  --wl-shadow: 0 1px 2px rgba(16,33,79,.04), 0 12px 30px rgba(16,33,79,.08);
  --wl-shadow-lg: 0 24px 60px rgba(12,24,56,.18);
  --wl-shadow-gold: 0 10px 24px rgba(247,169,11,.4);

  --wl-display: "Fraunces", Georgia, "Times New Roman", serif;
  --wl-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wl-container: 1200px;
  --wl-radius: 16px;
  --wl-radius-sm: 10px;
  --wl-pill: 999px;
  --wl-header-h: 70px;
  --wl-ease: cubic-bezier(.22,1,.36,1);
}

html[data-theme="dark"] {
  --wl-bg: #0b1124;
  --wl-bg-alt: #0f1730;
  --wl-surface: #111a35;
  --wl-ink: #eef2fb;
  --wl-text: #dfe5f3;
  --wl-text-soft: #aab3cc;
  --wl-text-muted: #7c86a3;
  --wl-border: #1f2a4a;
  --wl-border-soft: #18223e;
  --wl-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px rgba(0,0,0,.45);
  --wl-shadow-lg: 0 24px 60px rgba(0,0,0,.6);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--wl-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--wl-text);
  background: var(--wl-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .25s var(--wl-ease), color .25s var(--wl-ease);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--wl-gold-dark); text-decoration: none; transition: color .15s var(--wl-ease); }
a:hover { color: var(--wl-gold); }

h1, h2, h3, h4 {
  font-family: var(--wl-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--wl-ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2em; }

blockquote {
  margin: 1.6em 0; padding: 1em 1.5em;
  border-left: 4px solid var(--wl-gold);
  background: var(--wl-gold-soft);
  border-radius: 0 var(--wl-radius-sm) var(--wl-radius-sm) 0;
  font-family: var(--wl-display);
  font-size: 1.2rem;
}
html[data-theme="dark"] blockquote { background: rgba(247,169,11,.08); }
code { background: var(--wl-bg-alt); padding: .12em .4em; border-radius: 5px; font-size: .9em; }
pre { background: var(--wl-bg-alt); padding: 1.1em; border-radius: var(--wl-radius-sm); overflow-x: auto; border: 1px solid var(--wl-border); }
:focus-visible { outline: 2px solid var(--wl-gold); outline-offset: 2px; border-radius: 3px; }

.wl-container { width: 100%; max-width: var(--wl-container); margin: 0 auto; padding: 0 1.25rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; z-index: 9999; background: var(--wl-gold); color: var(--wl-navy); padding: .7em 1.2em; }
.skip-link:focus { left: 0; top: 0; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.wl-header { position: sticky; top: 0; z-index: 300; background: var(--wl-bg); border-bottom: 1px solid var(--wl-border-soft); transition: box-shadow .25s var(--wl-ease); }
.wl-header.is-stuck { box-shadow: var(--wl-shadow); }
.wl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--wl-header-h); }

.wl-brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.wl-brand-logo img { max-height: 46px; width: auto; }
.wl-brand-mark { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--wl-navy-700), var(--wl-navy-900)); display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(247,169,11,.5); }
.wl-brand-mark svg { width: 22px; height: 22px; }
.wl-brand-title { font-family: var(--wl-body); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--wl-navy); }
html[data-theme="dark"] .wl-brand-title { color: var(--wl-ink); }
.wl-brand-title span { color: var(--wl-gold); }
.wl-brand-tag { display: block; font-size: .52rem; letter-spacing: .22em; color: var(--wl-text-muted); text-transform: uppercase; margin-top: -2px; }

.wl-nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.wl-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; align-items: center; }
.wl-menu > li { position: relative; }
.wl-menu > li > a { display: block; padding: .5rem .95rem; font-weight: 600; font-size: .96rem; color: var(--wl-navy); border-radius: var(--wl-pill); transition: all .18s var(--wl-ease); }
html[data-theme="dark"] .wl-menu > li > a { color: var(--wl-text); }
.wl-menu > li > a:hover { color: var(--wl-gold-dark); }
.wl-menu > .current-menu-item > a { background: var(--wl-gold-soft); color: var(--wl-gold-dark); }
html[data-theme="dark"] .wl-menu > .current-menu-item > a { background: rgba(247,169,11,.12); }

.wl-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: .4rem; background: var(--wl-surface); border: 1px solid var(--wl-border); border-radius: var(--wl-radius-sm); box-shadow: var(--wl-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--wl-ease); z-index: 50; }
.wl-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.wl-menu .sub-menu a { display: block; padding: .55rem .7rem; font-size: .9rem; font-weight: 600; color: var(--wl-text-soft); border-radius: 7px; }
.wl-menu .sub-menu a:hover { background: var(--wl-gold-soft); color: var(--wl-gold-dark); }

/* header mini search pill */
.wl-header-search { position: relative; }
.wl-header-search form { display: flex; align-items: center; background: var(--wl-bg-alt); border: 1px solid var(--wl-border); border-radius: var(--wl-pill); padding: .25rem .3rem .25rem 1rem; min-width: 220px; transition: box-shadow .2s var(--wl-ease); }
.wl-header-search form:focus-within { box-shadow: 0 0 0 3px rgba(247,169,11,.18); }
.wl-header-search input { border: none; background: none; flex: 1; font-family: inherit; font-size: .9rem; color: var(--wl-text); outline: none; min-width: 0; }
.wl-header-search button { width: 34px; height: 34px; border: none; border-radius: 50%; background: var(--wl-gold); color: var(--wl-navy); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.wl-header-search button svg { width: 16px; height: 16px; }
.wl-header-search .wl-live { position: absolute; top: calc(100% + 8px); right: 0; width: 380px; background: var(--wl-surface); border: 1px solid var(--wl-border); border-radius: var(--wl-radius-sm); box-shadow: var(--wl-shadow-lg); max-height: 60vh; overflow-y: auto; z-index: 60; }
.wl-header-search .wl-live:empty { display: none; }

.wl-actions { display: flex; align-items: center; gap: .3rem; }
.wl-icon-btn { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: none; border-radius: 50%; cursor: pointer; color: var(--wl-navy); transition: all .18s var(--wl-ease); }
html[data-theme="dark"] .wl-icon-btn { color: var(--wl-text); }
.wl-icon-btn:hover { background: var(--wl-bg-alt); color: var(--wl-gold-dark); }
.wl-icon-btn svg { width: 20px; height: 20px; }
.wl-burger { display: none; }

/* live search result rows (shared) */
.wl-live-item { display: flex; gap: .8rem; padding: .7rem .9rem; border-bottom: 1px solid var(--wl-border-soft); align-items: center; }
.wl-live-item:last-child { border-bottom: none; }
.wl-live-item img { width: 54px; height: 42px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.wl-live-item .t { font-family: var(--wl-display); font-weight: 600; font-size: .96rem; color: var(--wl-ink); line-height: 1.25; }
.wl-live-item .m { font-size: .74rem; color: var(--wl-text-muted); }
.wl-live-loading, .wl-live-empty { padding: 1rem; text-align: center; color: var(--wl-text-muted); font-size: .88rem; }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.wl-hero { position: relative; background: linear-gradient(160deg, var(--wl-navy-900), var(--wl-navy-700) 70%, #1b317a); overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem); text-align: center; }
.wl-hero::before { content: ""; position: absolute; inset: 0; background-image: url("assets/images/hero-constellation.svg"); background-size: cover; background-position: center; opacity: .5; }
.wl-hero::after { content: ""; position: absolute; left: 50%; top: 48%; width: 620px; height: 620px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(54,99,201,.45), transparent 62%); pointer-events: none; }
.wl-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.wl-hero h1 { font-family: var(--wl-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; margin: 0 0 .4rem; line-height: 1.04; }
.wl-hero h1 span { color: var(--wl-gold); }
.wl-hero-tag { color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.2rem); margin: 0 0 2.2rem; }

.wl-hero-search { max-width: 560px; margin: 0 auto; position: relative; }
.wl-hero-search form { display: flex; align-items: center; background: #fff; border-radius: var(--wl-pill); padding: .45rem .45rem .45rem 1.6rem; box-shadow: var(--wl-shadow-lg); }
.wl-hero-search input { flex: 1; border: none; background: none; font-family: inherit; font-size: 1.05rem; color: var(--wl-navy); outline: none; min-width: 0; }
.wl-hero-search input::placeholder { color: #9aa3b8; }
.wl-hero-search button { width: 50px; height: 50px; border: none; border-radius: 50%; background: var(--wl-gold); color: var(--wl-navy); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: all .2s var(--wl-ease); }
.wl-hero-search button:hover { background: var(--wl-gold-2); box-shadow: var(--wl-shadow-gold); }
.wl-hero-search button svg { width: 22px; height: 22px; }
.wl-hero-search .wl-live { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--wl-surface); border-radius: var(--wl-radius-sm); box-shadow: var(--wl-shadow-lg); text-align: left; max-height: 56vh; overflow-y: auto; z-index: 20; }
.wl-hero-search .wl-live:empty { display: none; }

.wl-hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.4rem; }
.wl-hero-chips span { color: rgba(255,255,255,.6); font-size: .82rem; margin-right: .2rem; }
.wl-hero-chips a { padding: .32rem .9rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: var(--wl-pill); font-size: .82rem; font-weight: 600; transition: all .18s var(--wl-ease); }
.wl-hero-chips a:hover { background: var(--wl-gold); color: var(--wl-navy); border-color: var(--wl-gold); }

/* ==========================================================================
   5. Section heads
   ========================================================================== */
.wl-section { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.wl-section-bg { background: var(--wl-bg-alt); }
.wl-section-head { text-align: center; margin-bottom: 2.4rem; }
.wl-section-head.is-left { text-align: left; display: flex; justify-content: space-between; align-items: flex-end; }
.wl-section-title { font-family: var(--wl-display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--wl-navy); margin: 0; }
html[data-theme="dark"] .wl-section-title { color: var(--wl-ink); }
.wl-section-head .wl-underline { width: 64px; height: 4px; background: var(--wl-gold); border-radius: 4px; margin: .7rem auto 0; }
.wl-section-head.is-left .wl-underline { margin: .6rem 0 0; }
.wl-section-more { font-weight: 700; font-size: .9rem; color: var(--wl-gold-dark); }
.wl-section-more:hover { color: var(--wl-gold); }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.wl-grid { display: grid; gap: 1.6rem; }
.wl-grid-3 { grid-template-columns: repeat(3,1fr); }
.wl-grid-2 { grid-template-columns: repeat(2,1fr); }

.wl-card { background: var(--wl-surface); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .26s var(--wl-ease), box-shadow .26s var(--wl-ease), border-color .26s var(--wl-ease); }
.wl-card:hover { transform: translateY(-6px); box-shadow: var(--wl-shadow-lg); border-color: var(--wl-border); }
.wl-card-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--wl-bg-alt); display: block; }
.wl-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--wl-ease); }
.wl-card:hover .wl-card-thumb img { transform: scale(1.05); }
.wl-badge { position: absolute; top: 12px; left: 12px; padding: .32em .85em; background: var(--wl-gold); color: var(--wl-navy) !important; font-family: var(--wl-body); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--wl-pill); box-shadow: 0 4px 10px rgba(247,169,11,.4); }
.wl-badge:hover { background: var(--wl-gold-2); }
.wl-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.wl-card-title { font-family: var(--wl-display); font-weight: 600; font-size: 1.22rem; line-height: 1.22; margin: 0 0 .5rem; }
.wl-card-title a { color: var(--wl-ink); }
.wl-card-title a:hover { color: var(--wl-gold-dark); }
.wl-card-excerpt { color: var(--wl-text-soft); font-size: .92rem; margin: 0 0 1rem; flex: 1; }
.wl-meta { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--wl-text-muted); margin-top: auto; }
.wl-meta .wl-avatar { width: 24px; height: 24px; border-radius: 50%; }
.wl-meta-sep::before { content: "•"; margin-right: .5rem; opacity: .5; }

/* compact list */
.wl-list-item { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px solid var(--wl-border-soft); }
.wl-list-item:last-child { border-bottom: none; }
.wl-list-item img { width: 84px; height: 60px; object-fit: cover; border-radius: var(--wl-radius-sm); flex-shrink: 0; }
.wl-list-title { font-family: var(--wl-display); font-weight: 600; font-size: 1rem; line-height: 1.25; margin: 0 0 .3rem; }
.wl-list-title a { color: var(--wl-ink); }
.wl-list-title a:hover { color: var(--wl-gold-dark); }
.wl-list-meta { font-size: .74rem; color: var(--wl-text-muted); }

/* ==========================================================================
   7. Popular words (pill cloud) + categories
   ========================================================================== */
.wl-words { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.wl-word { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.2rem; background: var(--wl-surface); border: 1px solid var(--wl-border); border-radius: var(--wl-pill); font-family: var(--wl-display); font-weight: 600; font-size: 1rem; color: var(--wl-navy); transition: all .2s var(--wl-ease); }
html[data-theme="dark"] .wl-word { color: var(--wl-text); }
.wl-word:hover { background: var(--wl-navy-800); color: #fff; border-color: var(--wl-navy-800); transform: translateY(-2px); }
.wl-word .n { font-family: var(--wl-body); font-size: .72rem; color: var(--wl-gold-dark); font-weight: 700; }
.wl-word:hover .n { color: var(--wl-gold); }

.wl-cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.wl-cat-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem; background: var(--wl-surface); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-radius); transition: all .22s var(--wl-ease); }
.wl-cat-card:hover { border-color: var(--wl-gold); transform: translateY(-4px); box-shadow: var(--wl-shadow); }
.wl-cat-card .ic { width: 44px; height: 44px; border-radius: var(--wl-radius-sm); background: var(--wl-gold-soft); display: grid; place-items: center; margin-bottom: .4rem; }
.wl-cat-card .ic svg { width: 22px; height: 22px; color: var(--wl-gold-dark); }
.wl-cat-card .nm { font-family: var(--wl-display); font-weight: 600; font-size: 1.1rem; color: var(--wl-ink); }
.wl-cat-card .ct { font-size: .8rem; color: var(--wl-text-muted); }

/* ==========================================================================
   8. Buttons
   ========================================================================== */
.wl-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.8rem; background: var(--wl-gold); color: var(--wl-navy); font-weight: 700; font-size: .95rem; border: none; border-radius: var(--wl-pill); cursor: pointer; transition: all .2s var(--wl-ease); }
.wl-btn:hover { background: var(--wl-gold-2); color: var(--wl-navy); transform: translateY(-2px); box-shadow: var(--wl-shadow-gold); }
.wl-btn-ghost { background: transparent; color: var(--wl-navy); border: 1.5px solid var(--wl-border); }
html[data-theme="dark"] .wl-btn-ghost { color: var(--wl-text); }
.wl-btn-ghost:hover { background: var(--wl-navy-800); color: #fff; border-color: var(--wl-navy-800); box-shadow: none; }
.wl-center { text-align: center; }

/* ==========================================================================
   9. Single post
   ========================================================================== */
.wl-content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; padding: 2.6rem 0; }
.wl-article-head { max-width: 800px; margin: 0 auto; text-align: center; padding: 1rem 0; }
.wl-article-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: .6rem 0; }
.wl-article-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .7rem; color: var(--wl-text-muted); font-size: .9rem; padding-top: .6rem; }
.wl-article-meta .wl-avatar { width: 34px; height: 34px; border-radius: 50%; }
.wl-article-feat { margin: 1.6rem auto; max-width: 980px; border-radius: var(--wl-radius); overflow: hidden; }
.wl-article-body { max-width: 760px; margin: 0 auto; font-size: 1.13rem; line-height: 1.85; color: var(--wl-text); }
.wl-article-body h2 {
  background: var(--wl-navy-800);
  color: var(--wl-gold);
  font-family: var(--wl-display);
  font-weight: 600;
  padding: .55em .85em;
  border-radius: var(--wl-radius-sm);
  border: 1px solid rgba(247,169,11,.28);
  box-shadow: 0 8px 20px rgba(12,24,56,.12);
  margin: 1.8em 0 .8em;
  scroll-margin-top: 90px;
}
.wl-article-body h3 {
  color: var(--wl-ink);
  font-family: var(--wl-display);
  font-weight: 600;
  padding-left: .65em;
  border-left: 4px solid var(--wl-gold);
  margin-top: 1.6em;
  scroll-margin-top: 90px;
}
.wl-article-body img { border-radius: var(--wl-radius); margin: 1.4em 0; }
.wl-article-body a { color: var(--wl-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.wl-article-body ul, .wl-article-body ol { padding-left: 1.3em; }
.wl-article-body li { margin-bottom: .5em; }

.wl-toc { background: var(--wl-bg-alt); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-radius); padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.wl-toc-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--wl-display); font-weight: 600; font-size: 1.05rem; color: var(--wl-ink); }
.wl-toc-toggle { background: none; border: none; color: var(--wl-gold-dark); cursor: pointer; font-weight: 700; font-size: .82rem; font-family: var(--wl-body); }
.wl-toc ol { margin: .8rem 0 0; padding-left: 1.2rem; }
.wl-toc li { margin-bottom: .4rem; }
.wl-toc a { color: var(--wl-text-soft); font-weight: 500; font-size: .94rem; }
.wl-toc a:hover { color: var(--wl-gold-dark); }
.wl-toc.is-collapsed ol { display: none; }
.wl-toc .lvl-3 { margin-left: 1rem; }

.wl-tags { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 760px; margin: 2rem auto; }
.wl-tag { font-size: .82rem; padding: .35em .9em; background: var(--wl-bg-alt); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-pill); color: var(--wl-text-soft); }
.wl-tag:hover { background: var(--wl-gold); color: var(--wl-navy); border-color: var(--wl-gold); }

.wl-share { display: flex; gap: .55rem; align-items: center; max-width: 760px; margin: 0 auto 2rem; flex-wrap: wrap; }
.wl-share-label { font-family: var(--wl-display); font-weight: 600; font-size: 1rem; color: var(--wl-ink); }
.wl-share a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--wl-radius-sm); background: var(--wl-bg-alt); color: var(--wl-text-soft); }
.wl-share a:hover { background: var(--wl-gold); color: var(--wl-navy); transform: translateY(-2px); }

.wl-author { max-width: 760px; margin: 2rem auto; display: flex; gap: 1.3rem; padding: 1.7rem; background: var(--wl-bg-alt); border-radius: var(--wl-radius); border: 1px solid var(--wl-border-soft); }
.wl-author img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wl-author-name { font-size: 1.2rem; margin: 0 0 .3rem; }
.wl-author-bio { font-size: .92rem; color: var(--wl-text-soft); margin: 0; }

.wl-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; margin: 2rem auto; }
.wl-prevnext a { display: block; padding: 1.1rem 1.3rem; background: var(--wl-bg-alt); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-radius); transition: all .2s var(--wl-ease); }
.wl-prevnext a:hover { border-color: var(--wl-gold); transform: translateY(-2px); }
.wl-prevnext .lbl { font-weight: 700; font-size: .72rem; text-transform: uppercase; color: var(--wl-gold-dark); }
.wl-prevnext .ttl { font-family: var(--wl-display); font-weight: 600; color: var(--wl-ink); font-size: 1rem; line-height: 1.25; margin-top: .3rem; }
.wl-prevnext .next { text-align: right; }

/* ==========================================================================
   10. Sidebar / widgets
   ========================================================================== */
.wl-sidebar { position: sticky; top: calc(var(--wl-header-h) + 22px); }
.wl-widget { background: var(--wl-surface); border: 1px solid var(--wl-border-soft); border-radius: var(--wl-radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.wl-widget-title { font-family: var(--wl-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--wl-gold); display: inline-block; }
.wl-widget ul { list-style: none; padding: 0; margin: 0; }
.wl-widget > ul > li { padding: .5rem 0; border-bottom: 1px solid var(--wl-border-soft); }
.wl-widget > ul > li:last-child { border-bottom: none; }
.wl-widget a { color: var(--wl-text-soft); font-weight: 600; font-size: .92rem; }
.wl-widget a:hover { color: var(--wl-gold-dark); }

.wl-ad { margin: 1.8rem auto; text-align: center; background: var(--wl-bg-alt); border: 1px dashed var(--wl-border); border-radius: var(--wl-radius-sm); padding: .5rem; min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.wl-ad::before { content: "Advertisement"; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wl-text-muted); }
.wl-ad-inarticle { max-width: 760px; }

/* ==========================================================================
   11. Newsletter
   ========================================================================== */
.wl-newsletter { position: relative; background: linear-gradient(150deg, var(--wl-navy-900), var(--wl-navy-700)); border-radius: var(--wl-radius); padding: 3rem 2rem; text-align: center; color: #fff; overflow: hidden; }
.wl-newsletter::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(247,169,11,.4), transparent 65%); }
.wl-newsletter > * { position: relative; }
.wl-newsletter h2 { color: #fff; }
.wl-newsletter h2 span { color: var(--wl-gold); }
.wl-newsletter p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 1.5rem; }
.wl-news-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; }
.wl-news-form input { flex: 1; padding: .9rem 1.3rem; border: none; border-radius: var(--wl-pill); font-size: .95rem; }
.wl-news-form button { background: var(--wl-gold); color: var(--wl-navy); border: none; padding: 0 1.8rem; border-radius: var(--wl-pill); font-weight: 700; cursor: pointer; }
.wl-news-form button:hover { background: var(--wl-gold-2); }

/* ==========================================================================
   12. Page hero / breadcrumbs / pagination
   ========================================================================== */
.wl-page-hero { background: linear-gradient(160deg, var(--wl-navy-900), var(--wl-navy-700)); color: #fff; padding: 3rem 0; text-align: center; position: relative; overflow: hidden; }
.wl-page-hero::before { content: ""; position: absolute; inset: 0; background-image: url("assets/images/hero-constellation.svg"); background-size: cover; opacity: .35; }
.wl-page-hero > * { position: relative; z-index: 2; }
.wl-page-hero .wl-page-title { color: #fff; }
.wl-breadcrumbs { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: .6rem; }
.wl-breadcrumbs a { color: rgba(255,255,255,.85); }
.wl-breadcrumbs a:hover { color: var(--wl-gold); }
.wl-breadcrumbs span { margin: 0 .4rem; opacity: .5; }
/* light breadcrumb variant on single */
.wl-bc-light { color: var(--wl-text-muted); margin-bottom: .6rem; font-size: .82rem; }
.wl-bc-light a { color: var(--wl-text-soft); }
.wl-bc-light a:hover { color: var(--wl-gold-dark); }
.wl-bc-light span { margin: 0 .4rem; opacity: .5; }
.wl-archive-desc { max-width: 600px; margin: .7rem auto 0; color: rgba(255,255,255,.8); }

.wl-pagination { margin: 2.6rem 0 1rem; }
.wl-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.wl-pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--wl-border); border-radius: var(--wl-radius-sm); color: var(--wl-text-soft); font-weight: 700; }
.wl-pagination .page-numbers:hover, .wl-pagination .page-numbers.current { background: var(--wl-gold); color: var(--wl-navy); border-color: var(--wl-gold); }

.wl-loadmore-wrap { text-align: center; margin: 2.4rem 0; }
.wl-loadmore.is-loading { opacity: .6; pointer-events: none; }
.wl-infinite-sentinel { height: 1px; }

/* ==========================================================================
   13. Comments
   ========================================================================== */
.wl-comments { max-width: 760px; margin: 2.6rem auto; }
.wl-comments .comment-list { list-style: none; padding: 0; }
.wl-comments .comment-body { padding: 1.2rem; background: var(--wl-bg-alt); border-radius: var(--wl-radius-sm); margin-bottom: 1rem; }
.wl-comments .children { list-style: none; padding-left: 1.8rem; }
.wl-comments .comment-author { font-family: var(--wl-display); font-weight: 600; }
.wl-comments .comment-meta { font-size: .8rem; color: var(--wl-text-muted); margin-bottom: .5rem; }
.wl-comments input, .wl-comments textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--wl-border); border-radius: var(--wl-radius-sm); background: var(--wl-bg); color: var(--wl-text); font-family: inherit; margin-bottom: 1rem; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.wl-footer { background: var(--wl-navy-900); color: #aeb7d0; padding: 3.2rem 0 0; margin-top: 3rem; }
.wl-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.4rem; padding-bottom: 2.4rem; }
.wl-footer h3 { color: #fff; font-family: var(--wl-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 1rem; }
.wl-footer .wl-brand-title { color: #fff; }
.wl-footer p { color: #8b95b4; font-size: .92rem; }
.wl-footer ul { list-style: none; padding: 0; margin: 0; }
.wl-footer li { padding: .3rem 0; }
.wl-footer a { color: #aeb7d0; font-size: .92rem; }
.wl-footer a:hover { color: var(--wl-gold); }
.wl-footer-cats a { display: flex; justify-content: space-between; }
.wl-footer-cats .cnt { color: #5a648a; font-size: .8rem; }
.wl-footer-social { display: flex; gap: .55rem; margin-top: 1rem; }
.wl-footer-social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.07); border-radius: 10px; color: #fff; }
.wl-footer-social a:hover { background: var(--wl-gold); color: var(--wl-navy); }
.wl-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #8b95b4; }

/* ==========================================================================
   15. Misc
   ========================================================================== */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin: 1.4em auto; }
.wp-caption-text, .gallery-caption { font-size: .82rem; color: var(--wl-text-muted); text-align: center; }
.sticky .wl-card { border-color: var(--wl-gold); }
.wl-empty { text-align: center; padding: 3.5rem 1rem; grid-column: 1/-1; }
.wl-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--wl-ease), transform .55s var(--wl-ease); }
.wl-reveal.is-visible { opacity: 1; transform: none; }

.wl-totop { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--wl-gold); color: var(--wl-navy); border: none; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--wl-ease); z-index: 200; box-shadow: var(--wl-shadow-lg); }
.wl-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

.wl-mobile-panel { position: fixed; top: 0; right: 0; width: min(330px,86%); height: 100%; background: var(--wl-bg); z-index: 700; padding: 1.6rem 1.4rem; transform: translateX(100%); transition: transform .34s var(--wl-ease); box-shadow: var(--wl-shadow-lg); overflow-y: auto; }
.wl-mobile-panel.is-open { transform: none; }
.wl-mobile-panel ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.wl-mobile-panel li { border-bottom: 1px solid var(--wl-border-soft); }
.wl-mobile-panel a { display: block; padding: .85rem .2rem; font-weight: 600; color: var(--wl-navy); }
html[data-theme="dark"] .wl-mobile-panel a { color: var(--wl-text); }
.wl-backdrop { position: fixed; inset: 0; background: rgba(8,16,38,.5); z-index: 650; opacity: 0; visibility: hidden; transition: opacity .3s; }
.wl-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .wl-content-grid { grid-template-columns: 1fr; }
  .wl-sidebar { position: static; }
  .wl-cats { grid-template-columns: repeat(2,1fr); }
  .wl-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wl-nav, .wl-header-search { display: none; }
  .wl-burger { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wl-grid-3, .wl-grid-2 { grid-template-columns: 1fr; }
  .wl-cats { grid-template-columns: 1fr; }
  .wl-footer-grid { grid-template-columns: 1fr; }
  .wl-news-form, .wl-prevnext { grid-template-columns: 1fr; flex-direction: column; }
  .wl-author { flex-direction: column; text-align: center; align-items: center; }
  .wl-section-head.is-left { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
