/*
Theme Name: OwnWebServers KB
Theme URI: https://ownwebservers.com/
Author: OwnWebServers
Author URI: https://ownwebservers.com/
Description: Knowledge Base theme matching the OwnWebServers main site — dark UI, brand gradient, Inter typography, sticky header and footer. Built to pair with demosite.ownwebservers.com.
Version: 1.1.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: ows-kb
*/

/* ============================== Design tokens ============================== */
:root {
  --ink: #0a0e1a;
  --ink-soft: #0f1525;
  --panel: #0f1525;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #cbd5e1;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --brand-300: #8eb6ff;
  --brand-400: #598dff;
  --brand-500: #3464f6;
  --brand-600: #1f47eb;
  --accent-400: #22d3ee;
  --accent-500: #06b6d4;
  --radius: 16px;
  --container: 1280px;
  --shadow-glow: 0 0 0 1px rgba(52,100,246,0.15), 0 20px 60px -20px rgba(52,100,246,0.45);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 12px 32px -12px rgba(0,0,0,0.5);
}

/* ================================= Base =================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand-300); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-400); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
::selection { background: rgba(52,100,246,0.3); color: #fff; }

.ows-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .ows-container { padding: 0 32px; } }

.ows-gradient-text {
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ows-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  color: var(--brand-300); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 999px;
}

/* ================================ Buttons ================================= */
.ows-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: all .2s ease; white-space: nowrap; text-decoration: none;
}
.ows-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ows-btn-primary { background: linear-gradient(90deg, var(--brand-600), var(--brand-500)); color: #fff; box-shadow: var(--shadow-glow); }
.ows-btn-primary:hover { color: #fff; filter: brightness(1.08); }
.ows-btn-outline { border-color: var(--line); background: rgba(255,255,255,0.04); color: var(--text-strong); }
.ows-btn-outline:hover { border-color: var(--brand-400); color: #fff; }
.ows-btn-ghost { color: var(--text); background: transparent; }
.ows-btn-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; }
.ows-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* ================================ Header ================================== */
.ows-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease;
}
.ows-header.is-scrolled {
  background: rgba(10,14,26,0.88); backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.ows-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.ows-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text-strong); flex-shrink: 0; }
.ows-logo:hover { color: var(--text-strong); }
.ows-logo__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500)); box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.ows-logo__mark svg { width: 20px; height: 20px; color: #fff; }

/* ——— Desktop primary nav ——— */
.ows-nav { display: none; align-items: center; gap: 2px; }
.ows-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.ows-nav li { position: relative; }
.ows-nav li > a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.ows-nav li > a:hover { color: var(--text-strong); background: rgba(255,255,255,0.06); }
.ows-nav .current-menu-item > a,
.ows-nav .current_page_item > a,
.ows-nav .current-menu-ancestor > a { color: var(--brand-300); }

/* Chevron arrow for items that have a sub-menu */
.ows-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.ows-nav .menu-item-has-children:hover > a::after,
.ows-nav .menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }

/* Invisible bridge that fills the gap between the <li> and the floating
   sub-menu. Without it the mouse briefly leaves the <li> while crossing
   the gap and the dropdown snaps shut. */
.ows-nav .menu-item-has-children::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;        /* starts at the bottom edge of the <li> */
  height: 12px;     /* covers the 6px gap + a comfortable buffer */
  background: transparent;
}

/* Sub-menu dropdown */
.ows-nav .sub-menu {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 220px; z-index: 100;
  list-style: none; margin: 0; padding: 8px;
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-glow);
  display: flex; flex-direction: column; gap: 2px;
  /* hidden by default; short delay on hide so stray mouse moves don't snap it shut */
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease .1s, transform .18s ease .1s, visibility 0s .28s;
}
.ows-nav .menu-item-has-children:hover > .sub-menu,
.ows-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
  /* show immediately, no delay */
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.ows-nav .sub-menu li > a {
  display: block; padding: 9px 12px; border-radius: 10px; white-space: nowrap;
  color: var(--text); font-size: 13px; font-weight: 500; text-align: left;
}
.ows-nav .sub-menu li > a:hover { color: var(--text-strong); background: rgba(255,255,255,0.07); }

/* Burger button (mobile) */
.ows-burger {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.05); color: var(--text-strong); cursor: pointer;
}
.ows-burger svg { width: 20px; height: 20px; }

/* ——— Mobile menu ——— */
.ows-mobile { display: none; border-top: 1px solid var(--line); background: var(--ink); }
.ows-mobile.is-open { display: block; }
.ows-mobile nav > ul { list-style: none; margin: 0; padding: 12px 0; }
.ows-mobile nav li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 4px; color: var(--text); font-weight: 600; font-size: 15px;
  border-radius: 8px; transition: color .15s ease;
}
.ows-mobile nav li > a:hover { color: var(--text-strong); }

/* Chevron for mobile items with children */
.ows-mobile nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.ows-mobile nav .menu-item-has-children.is-open > a::after { transform: rotate(180deg); }

/* Mobile sub-menu (hidden by default, shown when .is-open) */
.ows-mobile nav .sub-menu {
  display: none; list-style: none; margin: 0; padding: 2px 0 10px 12px;
}
.ows-mobile nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.ows-mobile nav .sub-menu li > a {
  font-weight: 500; font-size: 14px; color: var(--muted); padding: 8px 4px;
  justify-content: flex-start;
}
.ows-mobile nav .sub-menu li > a:hover { color: var(--brand-300); }
.ows-mobile nav .sub-menu li > a::after { display: none !important; }

.ows-mobile__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0 20px; }

/* Show desktop nav at breakpoint */
@media (min-width: 1024px) { .ows-nav { display: flex; } }

/* ============================= Page sections ============================== */
.ows-section { padding: 56px 0; }
@media (min-width: 640px) { .ows-section { padding: 72px 0; } }

.ows-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  padding: 56px 0; text-align: center;
}
.ows-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 50% 0%, rgba(52,100,246,0.22), rgba(6,182,212,0.05) 40%, transparent 70%);
}
.ows-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 14px 0 0; }
.ows-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 14px auto 0; }

/* =============================== KB search ================================ */
.ows-search { max-width: 640px; margin: 28px auto 0; }
.ows-search form { display: flex; gap: 10px; }
.ows-search .ows-field-wrap { position: relative; flex: 1; }
.ows-search input[type="search"] {
  width: 100%; height: 52px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: #fff; padding: 0 16px 0 42px; font-size: 15px;
  font-family: inherit;
}
.ows-search input[type="search"]::placeholder { color: var(--muted); }
.ows-search input[type="search"]:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(52,100,246,0.3); }
/* Search icon inside input */
.ows-search .ows-field-wrap::before {
  content: '';
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
.ows-search button { height: 52px; padding: 0 24px; border-radius: 12px; }

/* ================================ Layout ================================== */
.ows-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .ows-layout { grid-template-columns: 1fr 280px; align-items: start; } }

/* ================================ Cards =================================== */
.ows-grid { display: grid; gap: 20px; }
@media (min-width: 640px)  { .ows-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .ows-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.ows-card {
  display: block; height: 100%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow-card);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  text-align: left; color: inherit;
}
.ows-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow-glow); color: inherit; }
.ows-card h3 { font-size: 17px; margin: 0 0 6px; color: var(--text-strong); }
.ows-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }
.ows-card__meta { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.ows-card__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500)); color: #fff;
}
.ows-card__icon svg { width: 22px; height: 22px; }

/* ============================== Article prose ============================= */
.ows-article {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .ows-article { padding: 40px; } }
.ows-article__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.ows-prose { color: var(--text); font-size: 16px; line-height: 1.75; text-align: left; }
.ows-prose > * + * { margin-top: 1.1em; }
.ows-prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.ows-prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.ows-prose a { color: var(--brand-300); text-decoration: underline; text-underline-offset: 3px; }
.ows-prose code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; font-size: 0.875em; }
.ows-prose pre { background: #060912; border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow: auto; }
.ows-prose pre code { background: none; padding: 0; }
.ows-prose blockquote { border-left: 3px solid var(--brand-500); margin: 1.2em 0; padding: 6px 0 6px 18px; color: var(--muted); }
.ows-prose img { border-radius: 12px; border: 1px solid var(--line); }
.ows-prose ul, .ows-prose ol { padding-left: 1.4em; }
.ows-prose li + li { margin-top: .4em; }
.ows-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ows-prose th, .ows-prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.ows-prose th { background: rgba(255,255,255,0.04); font-weight: 700; color: var(--text-strong); }

/* =============================== Sidebar ================================== */
.ows-side { display: grid; gap: 20px; align-content: start; }
.ows-widget { border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: 18px; padding: 20px; }
.ows-widget h3, .ows-widget .widget-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.ows-widget ul { list-style: none; margin: 0; padding: 0; }
.ows-widget li { margin: 0 0 9px; }
.ows-widget a { color: var(--text); font-size: 14px; }
.ows-widget a:hover { color: var(--brand-300); }

/* =============================== Pagination ============================== */
.ows-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.ows-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600;
}
.ows-pagination .page-numbers.current { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.ows-pagination a.page-numbers:hover { border-color: var(--brand-400); color: #fff; }

.ows-meta { color: var(--muted); font-size: 13px; }
.ows-tag {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px; font-size: 12px; color: var(--muted); margin: 2px;
  transition: border-color .15s, color .15s;
}
.ows-tag:hover { border-color: var(--brand-400); color: var(--brand-300); }

/* ================================ Footer ================================== */
.ows-footer { border-top: 1px solid var(--line); background: var(--ink-soft); margin-top: 40px; }
.ows-footer__top { display: grid; gap: 40px; padding: 52px 0 0; }
@media (min-width: 1024px) { .ows-footer__top { grid-template-columns: 1.4fr 2.6fr; } }
.ows-footer p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.ows-footer__brand-desc { margin-top: 16px; max-width: 300px; }

.ows-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 640px) { .ows-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.ows-footer__cols h4 { font-size: 13px; font-weight: 700; color: var(--text-strong); margin: 0 0 14px; letter-spacing: -.01em; }
.ows-footer__cols ul { list-style: none; margin: 0; padding: 0; }
.ows-footer__cols li { margin: 0 0 11px; }
.ows-footer__cols a { color: var(--muted); font-size: 14px; transition: color .15s; }
.ows-footer__cols a:hover { color: var(--brand-300); }

/* Payment badges */
.ows-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.ows-pay span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 48px; padding: 0 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.05);
  border-radius: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .03em;
}

/* Datacenter dots */
.ows-footer__dcs { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.ows-footer__dcs .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent-500); margin-right: 6px; vertical-align: middle;
}
.ows-footer__dcs .dot.soon { background: #fbbf24; }

.ows-footer__meta-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: flex-start;
  margin-top: 36px;
}
.ows-footer__meta-row h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 0 0 10px; font-weight: 700;
}

.ows-footer__bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; border-top: 1px solid var(--line);
  margin-top: 36px; padding: 22px 0;
  color: var(--muted); font-size: 13px;
}
.ows-footer__bar a { color: var(--muted); transition: color .15s; }
.ows-footer__bar a:hover { color: var(--brand-300); }
.ows-footer__bar-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ================================ Utility ================================= */
.ows-divider { border: none; border-top: 1px solid var(--line); margin: 36px 0 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ows-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 14px; margin-bottom: 20px;
  transition: color .15s;
}
.ows-back:hover { color: var(--brand-300); }

/* Search results */
.ows-search-header { margin-bottom: 28px; }
.ows-search-header h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px; }

/* ========================= Header end group ================================ */
/* Wraps: theme toggle + desktop actions + mobile burger */
.ows-header__end {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
/* On desktop the actions div is flex; on mobile it's hidden (handled below) */
.ows-header__actions { display: none; align-items: center; gap: 10px; }
@media (min-width: 1024px) {
  .ows-header__actions { display: flex; }
  .ows-burger { display: none; }
}

/* ======================== Dark / Light toggle ============================== */
.ows-theme-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
  flex-shrink: 0;
}
.ows-theme-toggle:hover { border-color: var(--brand-400); color: var(--text-strong); background: rgba(255,255,255,0.05); }
.ows-theme-toggle svg { width: 18px; height: 18px; }

/* Dark mode (default): show sun, hide moon */
.ows-icon-moon { display: none; }
.ows-icon-sun  { display: block; }

/* Light mode: show moon, hide sun */
html[data-theme="light"] .ows-icon-sun  { display: none; }
html[data-theme="light"] .ows-icon-moon { display: block; }

/* ========================= Light mode overrides =========================== */
html[data-theme="light"] {
  --ink:        #ffffff;
  --ink-soft:   #f8fafc;
  --panel:      #f1f5f9;
  --line:       rgba(0, 0, 0, 0.09);
  --line-soft:  rgba(0, 0, 0, 0.05);
  --text:       #475569;
  --text-strong:#0f172a;
  --muted:      #64748b;
  --brand-300:  #1f47eb;
  --brand-400:  #1f47eb;
  --brand-500:  #3464f6;
  --brand-600:  #1d4ed8;
  --accent-400: #0891b2;
  --accent-500: #06b6d4;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.06), 0 6px 20px -6px rgba(0,0,0,0.10);
  --shadow-glow: 0 0 0 1px rgba(52,100,246,0.12), 0 8px 24px -8px rgba(52,100,246,0.20);
}

/* Body & scroll */
html[data-theme="light"] body { background: #ffffff; }

/* Scrolled header */
html[data-theme="light"] .ows-header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
}

/* Toggle hover in light mode */
html[data-theme="light"] .ows-theme-toggle:hover { background: rgba(0,0,0,0.04); }

/* Nav */
html[data-theme="light"] .ows-nav li > a:hover { background: rgba(0,0,0,0.05); }
html[data-theme="light"] .ows-nav .sub-menu { background: #ffffff; }
html[data-theme="light"] .ows-nav .sub-menu li > a:hover { background: rgba(0,0,0,0.05); }

/* Desktop chevron — use darker stroke for light bg */
html[data-theme="light"] .ows-nav .menu-item-has-children > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Mobile chevron */
html[data-theme="light"] .ows-mobile nav .menu-item-has-children > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* Mobile menu */
html[data-theme="light"] .ows-mobile { background: #ffffff; border-top-color: var(--line); }
html[data-theme="light"] .ows-mobile nav li > a:hover { color: var(--text-strong); }

/* Burger */
html[data-theme="light"] .ows-burger { background: rgba(0,0,0,0.04); }
html[data-theme="light"] .ows-burger:hover { background: rgba(0,0,0,0.07); }

/* Buttons */
html[data-theme="light"] .ows-btn-outline { background: transparent; }
html[data-theme="light"] .ows-btn-ghost:hover { background: rgba(0,0,0,0.05); }

/* Eyebrow pill */
html[data-theme="light"] .ows-eyebrow { background: rgba(52,100,246,0.07); border-color: rgba(52,100,246,0.15); }

/* Hero gradient — softer in light */
html[data-theme="light"] .ows-hero::before {
  background: radial-gradient(60% 60% at 50% 0%, rgba(52,100,246,0.09), rgba(6,182,212,0.04) 40%, transparent 70%);
}

/* Search input */
html[data-theme="light"] .ows-search input[type="search"] {
  background: #ffffff;
  border-color: rgba(0,0,0,0.15);
  color: var(--text-strong);
}

/* Cards */
html[data-theme="light"] .ows-card { background: #ffffff; }
html[data-theme="light"] .ows-card:hover { border-color: rgba(0,0,0,0.16); }

/* Article */
html[data-theme="light"] .ows-article { background: #ffffff; }

/* Sidebar widget */
html[data-theme="light"] .ows-widget { background: #ffffff; }

/* Prose code/pre */
html[data-theme="light"] .ows-prose code { background: rgba(0,0,0,0.06); color: var(--text-strong); }
html[data-theme="light"] .ows-prose pre  { background: #f1f5f9; }
html[data-theme="light"] .ows-prose th   { background: rgba(0,0,0,0.03); }

/* Pagination */
html[data-theme="light"] .ows-pagination .page-numbers { background: #ffffff; }

/* Payment badges */
html[data-theme="light"] .ows-pay span { background: rgba(0,0,0,0.04); }
