/*
Theme Name: LED Flashlight Bulk
Theme URI: https://ledflashlightbulk.com/
Author: LED Flashlight Bulk
Description: A focused, lightweight theme for a wholesale flashlight sourcing resource.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ledflashlightbulk
*/

:root {
  --ink: #101826;
  --ink-soft: #2b3647;
  --muted: #657084;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: #dfe3dc;
  --signal: #dfff00;
  --signal-dark: #b9d600;
  --night: #0b111c;
  --night-soft: #151e2c;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 22px 65px rgba(16, 24, 38, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--signal-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.site-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--white); color: var(--ink); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(223, 227, 220, 0.75);
  background: rgba(247, 248, 244, 0.90);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -0.03em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--night); color: var(--signal); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark svg { width: 21px; height: 21px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { padding: 9px 14px; border-radius: 999px; color: var(--ink-soft); font-size: 15px; font-weight: 720; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 4px 20px rgba(16,24,38,.08); }
.nav-cta { background: var(--night) !important; color: var(--white) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--night); color: var(--white); cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; background: var(--night); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 38%, rgba(223,255,0,.17), transparent 29%), linear-gradient(120deg, transparent 0 58%, rgba(255,255,255,.035) 58% 59%, transparent 59%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--signal); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: .93; letter-spacing: -.07em; }
.hero .lede { max-width: 640px; margin: 28px 0 0; color: #b8c2d1; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--night); }
.button-primary:hover { background: #edff66; }
.button-secondary { border-color: #344054; color: var(--white); }
.button-secondary:hover { background: rgba(255,255,255,.08); }
.brief-card { position: relative; padding: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)); box-shadow: 0 38px 90px rgba(0,0,0,.35); }
.beam { position: absolute; z-index: -1; top: 50%; right: -160px; width: 420px; height: 180px; transform: translateY(-50%); opacity: .22; background: linear-gradient(90deg, var(--signal), transparent); clip-path: polygon(0 43%, 100% 0, 100% 100%, 0 57%); }
.brief-card h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
.brief-card > p { margin: 8px 0 24px; color: #aeb8c7; font-size: 14px; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brief-item { min-height: 94px; padding: 16px; border-radius: 15px; background: rgba(7,12,20,.58); }
.brief-item span { display: block; color: #8794a6; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.brief-item strong { display: block; margin-top: 5px; color: var(--white); font-size: 15px; line-height: 1.35; }

.signal-strip { background: var(--signal); color: var(--night); }
.signal-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.signal-inner strong { font-size: 18px; letter-spacing: -.02em; }
.signal-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.signal-list li::before { content: "•"; margin-right: 9px; }

.section { padding: 105px 0; }
.section-tight { padding: 82px 0; }
.section-dark { background: var(--night); color: var(--white); }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.section-heading h2 { max-width: 720px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.06em; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #aeb8c7; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(16,24,38,.02); }
.card-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--night); color: var(--signal); font-size: 13px; font-weight: 850; }
.card h3 { margin: 28px 0 10px; font-size: 1.35rem; letter-spacing: -.035em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.format-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.format-card { min-height: 270px; padding: 24px; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: var(--night-soft); }
.format-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--signal); color: var(--night); }
.format-icon svg { width: 27px; height: 27px; }
.format-card h3 { margin: 55px 0 9px; font-size: 1.18rem; }
.format-card p { margin: 0; color: #9da9b9; font-size: 14px; }

.process { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.process-intro { padding: 42px; border-radius: var(--radius); background: var(--signal); }
.process-intro h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.055em; }
.process-intro p { max-width: 460px; margin: 20px 0 0; }
.process-steps { padding: 14px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.process-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.process-step:last-child { border-bottom: 0; }
.process-step b { color: var(--signal-dark); font-size: 13px; }
.process-step h3 { margin: 0 0 4px; font-size: 17px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; min-height: 320px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-meta { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 25px 0 12px; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.04em; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card .read-more { margin-top: auto; padding-top: 24px; font-weight: 800; }
.empty-note { grid-column: 1 / -1; padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; padding: 48px; border-radius: 28px; background: var(--night); color: var(--white); }
.cta-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.cta-panel p { margin: 16px 0 0; color: #aeb8c7; }
.cta-panel .button { justify-self: end; }

.archive-hero { padding: 88px 0 48px; }
.archive-hero h1 { max-width: 800px; margin: 0; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.07em; }
.archive-hero p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; }
.archive-content { padding: 25px 0 100px; }
.archive-content .post-grid { grid-template-columns: repeat(2, 1fr); }
.archive-content .post-card { min-height: 350px; }
.pagination { margin-top: 42px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; }
.pagination .current { background: var(--night); color: var(--white); }

.article-wrap { width: min(calc(100% - 40px), 780px); margin-inline: auto; padding: 85px 0 110px; }
.article-header { margin-bottom: 48px; }
.article-header h1 { margin: 13px 0 20px; font-size: clamp(2.8rem, 6vw, 5.25rem); line-height: .97; letter-spacing: -.065em; }
.article-header .dek { color: var(--muted); font-size: 1.18rem; }
.article-content { font-size: 18px; }
.article-content > * { margin-top: 0; margin-bottom: 1.4em; }
.article-content h2 { margin-top: 2.2em; font-size: 2rem; line-height: 1.15; letter-spacing: -.04em; }
.article-content h3 { margin-top: 1.8em; font-size: 1.35rem; }
.article-content ul, .article-content ol { padding-left: 1.25em; }
.article-content li { margin-bottom: .55em; }
.article-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 5px solid var(--signal); background: var(--white); font-size: 1.08em; }
.article-content .wp-block-group { margin: 2em 0; padding: 28px; border-radius: 18px; background: var(--white); }
.back-link { display: inline-flex; margin-bottom: 34px; color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.footer-brand p { max-width: 470px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 750; }
.copyright { margin-top: 28px; color: #8a93a1; font-size: 12px; }

@media (max-width: 900px) {
  .hero-grid, .section-heading, .process, .cta-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .cards { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel .button { justify-self: start; }
  .section-heading { gap: 20px; }
}

@media (max-width: 680px) {
  .site-shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .primary-nav { display: none; position: absolute; top: 67px; left: 14px; right: 14px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .hero { padding: 65px 0 58px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .brief-card { padding: 22px; }
  .brief-grid { grid-template-columns: 1fr; }
  .signal-inner { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .signal-list { justify-content: flex-start; }
  .section, .section-tight { padding: 76px 0; }
  .format-grid, .archive-content .post-grid, .post-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 225px; }
  .format-card h3 { margin-top: 38px; }
  .process-intro, .cta-panel { padding: 30px; }
  .process-steps { padding: 8px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .article-wrap { width: min(calc(100% - 30px), 780px); padding-top: 60px; }
  .article-content { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
