/*
Theme Name: GCCOpsLinuxSec
Theme URI: https://example.com/gccopslinuxsec
Author: Ryan Achmad Juliansyah
Description: An original, editorial WordPress theme for technology and security news.
Version: 1.10.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pulsewire
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: news, blog, custom-logo, featured-images, translation-ready
*/

:root {
  --ink: #111827;
  --muted: #5e6878;
  --canvas: #f5f7fb;
  --paper: #ffffff;
  --line: #dce2ec;
  --navy: #14213d;
  --violet: #5b3df5;
  --violet-dark: #4228c8;
  --amber: #f59e0b;
  --soft-violet: #f0edff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .08);
  --max: 1200px;
  --identity-frame: #14213d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--violet); }
img { display: block; height: auto; max-width: 100%; }
button, input { font: inherit; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; word-wrap: normal; }
.screen-reader-text:focus { background: var(--paper); clip: auto !important; clip-path: none; color: var(--ink); display: block; height: auto; left: 1rem; padding: .75rem 1rem; position: fixed; top: 1rem; width: auto; z-index: 99; }
.site-wrap { overflow: clip; }
.container { margin: 0 auto; max-width: var(--max); padding: 0 24px; }

/* Keep every scrollable surface usable without visible scrollbar chrome. */
* { -ms-overflow-style: none; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }

.utility-bar { background: var(--navy); color: #cdd6e9; font-size: .8rem; }
.utility-inner { align-items: center; display: flex; justify-content: space-between; min-height: 36px; }
.utility-label { color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.utility-links { display: flex; gap: 18px; }
.utility-links a:hover { color: #fff; }
.utility-label { min-width: 0; position: relative; }
.utility-label.is-glitching { animation: utility-glitch .26s steps(2, end); text-shadow: 2px 0 #a897ff, -2px 0 #67e8f9; }
.utility-icon-link { align-items: center; border: 1px solid rgba(205, 214, 233, .35); border-radius: 50%; color: #fff; display: inline-flex; height: 26px; justify-content: center; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; width: 26px; }
.utility-icon-link:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-1px); }
.utility-icon-link img { filter: brightness(0) invert(1); height: 14px; object-fit: contain; transition: filter .18s ease; width: 14px; }
.utility-icon-link:hover img { filter: none; }
.utility-icon-link__text { font-size: .72rem; font-weight: 850; }
@keyframes utility-glitch { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-1px); } 60% { transform: translateX(1px); } }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { align-items: center; display: grid; gap: 20px; grid-template-columns: auto 1fr auto; min-height: 76px; }
.brand { align-items: center; color: var(--navy); display: inline-flex; font-size: 1.3rem; font-weight: 850; letter-spacing: -.06em; white-space: nowrap; }
.brand-mark { align-items: center; background: var(--violet); border-radius: 8px; color: #fff; display: inline-flex; font-size: 1rem; height: 30px; justify-content: center; letter-spacing: 0; margin-right: 8px; width: 30px; }
.brand:hover { color: var(--navy); }
.primary-nav .menu { align-items: center; display: flex; gap: 24px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: #364152; font-size: .86rem; font-weight: 750; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--violet); }
.header-actions { align-items: center; display: flex; gap: 12px; }

/* Desktop dropdowns and mobile expandable submenus use the same menu tree. */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); display: grid; left: 50%; list-style: none; margin: 0; min-width: 190px; opacity: 0; padding: 8px; pointer-events: none; position: absolute; top: calc(100% + 10px); transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; visibility: hidden; z-index: 30; }
.primary-nav .sub-menu a { display: block; padding: .55rem .65rem; white-space: nowrap; }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; visibility: visible; }
.submenu-toggle { display: none; }
.search-toggle, .menu-toggle { background: transparent; border: 0; color: var(--navy); cursor: pointer; font-weight: 800; padding: .5rem; }
.menu-toggle { display: none; }
.search-panel { background: var(--paper); border-bottom: 1px solid var(--line); display: none; padding: 16px 0; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-form input { border: 1px solid var(--line); border-radius: 8px; flex: 1; padding: .75rem 1rem; }
.search-form button { background: var(--navy); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-weight: 750; padding: .75rem 1rem; }

main { padding: 38px 0 64px; }
.topic-strip { align-items: center; display: flex; gap: 10px; margin: 0 0 28px; overflow-x: auto; padding-bottom: 2px; }
.topic-strip span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; margin-right: 4px; text-transform: uppercase; white-space: nowrap; }
.topic-strip a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: #485467; font-size: .78rem; font-weight: 750; padding: .38rem .75rem; white-space: nowrap; }
.topic-strip a:hover { border-color: var(--violet); color: var(--violet); }

.home-grid, .content-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) 320px; }
.hero-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .85fr); margin-bottom: 40px; }
.featured-story { background: var(--navy); border-radius: var(--radius); color: #fff; min-height: 420px; overflow: hidden; position: relative; }
.featured-story.has-image::before { background: linear-gradient(90deg, rgba(8, 15, 31, .94) 5%, rgba(8, 15, 31, .63) 60%, rgba(8, 15, 31, .18)); content: ""; inset: 0; position: absolute; z-index: 1; }
.featured-story img { height: 100%; object-fit: cover; position: absolute; width: 100%; }
.featured-content { bottom: 0; max-width: 650px; padding: 40px; position: absolute; z-index: 2; }
.eyebrow { color: var(--violet); display: block; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.featured-story .eyebrow { color: #b8abff; }
.featured-story h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1.06; margin: 12px 0 14px; }
.featured-story p { color: #dce4f2; margin: 0; max-width: 55ch; }
.story-meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .78rem; gap: 7px; margin-top: 12px; }
.featured-story .story-meta { color: #c7d0e1; }
.story-meta time { white-space: nowrap; }
.dot::before { content: "•"; }
.trend-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-heading { align-items: center; display: flex; font-size: .84rem; font-weight: 850; justify-content: space-between; letter-spacing: .06em; margin: 0 0 16px; text-transform: uppercase; }
.pulse { background: var(--amber); border-radius: 50%; height: 8px; width: 8px; }
.trend-list, .compact-list { list-style: none; margin: 0; padding: 0; }
.trend-list li { border-top: 1px solid var(--line); padding: 14px 0; }
.trend-list li:first-child { border-top: 0; padding-top: 0; }
.trend-list a { display: block; font-size: .96rem; font-weight: 780; letter-spacing: -.015em; line-height: 1.28; }
.rank { color: var(--violet); display: block; font-size: .72rem; font-weight: 850; margin-bottom: 3px; }

.section-heading { align-items: baseline; border-bottom: 2px solid var(--navy); display: flex; justify-content: space-between; margin: 0 0 20px; padding-bottom: 10px; }
.section-heading h2, .archive-heading h1 { font-size: 1.25rem; letter-spacing: -.03em; margin: 0; }
.section-heading a { color: var(--violet); font-size: .8rem; font-weight: 800; }
.post-list { display: grid; gap: 0; }
.post-card { border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 190px; padding: 0 0 22px; margin-bottom: 22px; }
.post-card.no-thumb { grid-template-columns: 1fr; }
.post-card .thumbnail { background: #e5e7eb; border-radius: 10px; display: block; height: 126px; overflow: hidden; }
.post-card .thumbnail img { height: 100%; object-fit: cover; width: 100%; }
.post-card h2 { font-size: 1.25rem; letter-spacing: -.035em; line-height: 1.2; margin: 5px 0 7px; }
.post-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0; }

.sidebar { display: grid; gap: 22px; align-content: start; }
.sidebar-panel, .widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sidebar-panel h2, .widget-title { font-size: .9rem; letter-spacing: .04em; margin: 0 0 14px; text-transform: uppercase; }
.compact-list li { border-top: 1px solid var(--line); padding: 12px 0; }
.compact-list li:first-child { border-top: 0; padding-top: 0; }
.compact-list a { display: block; font-size: .9rem; font-weight: 750; line-height: 1.3; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-bottom: 1px solid var(--line); padding: 8px 0; }

.archive-heading { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; padding: 28px; }
.archive-heading p { color: var(--muted); margin: 8px 0 0; }
.article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); }
.article-header { border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 24px; }
.article-header h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.06em; line-height: 1.05; margin: 9px 0 12px; }
.article-lede { color: var(--muted); font-size: 1.15rem; line-height: 1.6; margin: 0; }
.article .wp-post-image { border-radius: 10px; margin: 0 0 28px; width: 100%; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.entry-content h2, .entry-content h3 { color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.2; margin-top: 1.8em; }
.entry-content a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 4px solid var(--violet); color: #3b4351; font-size: 1.2rem; margin: 1.8rem 0; padding: .3rem 0 .3rem 1.2rem; }
.article-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; margin-top: 35px; padding-top: 20px; }
.pagination { display: flex; gap: 8px; margin-top: 28px; }
.pagination .page-numbers { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font-size: .85rem; font-weight: 750; padding: .5rem .75rem; }
.pagination .current { background: var(--violet); border-color: var(--violet); color: #fff; }
.empty-state { background: var(--paper); border: 1px dashed #b8c2d3; border-radius: var(--radius); color: var(--muted); padding: 40px; text-align: center; }

.site-footer { background: var(--navy); color: #c9d2e3; padding: 42px 0 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand { color: #fff; font-size: 1.25rem; font-weight: 850; letter-spacing: -.05em; }
.footer-copy { font-size: .9rem; max-width: 40ch; }
.footer-links { display: grid; gap: 7px; }
.footer-links h2 { color: #fff; font-size: .8rem; letter-spacing: .08em; margin: 0 0 5px; text-transform: uppercase; }
.footer-links a { color: #c9d2e3; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); font-size: .76rem; margin-top: 32px; padding-top: 18px; }

@media (max-width: 900px) {
  .home-grid, .content-grid, .hero-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { grid-template-columns: 1fr auto; padding: 12px 0; }
  .header-actions { justify-content: flex-end; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  main { padding-top: 24px; }
  .utility-links { display: none; }
  .featured-story { min-height: 370px; }
  .featured-content { padding: 26px; }
  .post-card { gap: 14px; grid-template-columns: minmax(0, 1fr) 110px; }
  .post-card .thumbnail { height: 86px; }
  .post-card h2 { font-size: 1.05rem; }
  .post-card p { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
  .utility-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Persisted color themes and stable first-visit transition. */
html { background: var(--canvas); }
html.pulsewire-intro-pending body { overflow: hidden; }
[data-theme="dark"] {
  --ink: #eef3fb;
  --muted: #aebbd0;
  --canvas: #0d1422;
  --paper: #151f31;
  --line: #2d3b53;
  --navy: #0a1220;
  --violet: #a897ff;
  --violet-dark: #c1b7ff;
  --amber: #f8c766;
  --soft-violet: #25213f;
  --shadow: 0 12px 30px rgba(0, 0, 0, .25);
  --identity-frame: #fff;
}
body, .site-header, .search-panel, .sidebar-panel, .widget, .trend-panel, .archive-heading, .article, .topic-strip a, .pagination .page-numbers { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
[data-theme="dark"] .utility-bar, [data-theme="dark"] .site-footer { background: #080e19; }
[data-theme="dark"] .primary-nav a, [data-theme="dark"] .brand, [data-theme="dark"] .search-toggle, [data-theme="dark"] .menu-toggle { color: var(--ink); }
[data-theme="dark"] .brand:hover { color: var(--ink); }
[data-theme="dark"] .search-form input { background: #101827; border-color: var(--line); color: var(--ink); }
[data-theme="dark"] .topic-strip a { color: #c5cde0; }
[data-theme="dark"] .post-card .thumbnail { background: #253147; }
[data-theme="dark"] .entry-content blockquote { color: #d8e0ee; }
[data-theme="dark"] .entry-content th { background: #1d2a3e; }
[data-theme="dark"] .entry-content :not(pre) > code { background: #25213f; border-color: #4f4780; color: #d7d0ff; }

.theme-toggle { align-items: center; background: var(--soft-violet); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; display: inline-flex; font-size: .85rem; gap: .24rem; height: 34px; justify-content: center; padding: 0 .42rem; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; width: 54px; }
.theme-toggle:hover { border-color: var(--violet); transform: translateY(-1px); }
.theme-toggle__sun, .theme-toggle__moon { align-items: center; border-radius: 50%; display: inline-flex; height: 24px; justify-content: center; transition: background-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease; width: 24px; }
.theme-toggle__sun { background: var(--amber); color: #473100; }
.theme-toggle__moon { color: var(--muted); opacity: .58; transform: scale(.8); }
[data-theme="dark"] .theme-toggle__sun { background: transparent; color: var(--muted); opacity: .58; transform: scale(.8); }
[data-theme="dark"] .theme-toggle__moon { background: var(--violet); color: #18112e; opacity: 1; transform: scale(1); }

.site-intro { --parallax-x: 0px; --parallax-y: 0px; opacity: 1; transition: opacity .42s ease, visibility 0s linear .42s; visibility: visible; will-change: opacity; }
.site-intro::before { transform: translate(calc(var(--parallax-x) * -.45), calc(var(--parallax-y) * -.45)); transition: transform .14s ease-out; }
.site-intro::after { transform: translate(calc(var(--parallax-x) * .7), calc(var(--parallax-y) * .7)); transition: transform .18s ease-out; }
.site-intro__panel { transform: translate(calc(var(--parallax-x) * .2), calc(var(--parallax-y) * .2)); transition: transform .18s ease-out; }
.site-intro.is-leaving { opacity: 0; pointer-events: none; }
.site-intro.is-hidden { display: none; opacity: 0; visibility: hidden; }

@media (max-width: 620px) {
  .theme-toggle { height: 32px; width: 50px; }
  .theme-toggle__sun, .theme-toggle__moon { height: 22px; width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html.pulsewire-intro-pending body { overflow: auto; }
}

/* Arrival, interaction, and accessible focus states. */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: #dcd5ff; color: var(--navy); }
body.is-intro-active { overflow: hidden; }
.skip-link { background: var(--amber); color: var(--navy); font-weight: 850; left: 16px; padding: .7rem 1rem; position: fixed; top: -80px; transition: top .18s ease; z-index: 100; }
.skip-link:focus { top: 16px; }
.site-intro { align-items: center; background: radial-gradient(circle at 50% 35%, #263b69 0, var(--navy) 54%, #090f1d 100%); display: grid; inset: 0; isolation: isolate; justify-items: center; padding: 24px; position: fixed; transition: opacity .45s ease, visibility .45s step-end; z-index: 90; }
.site-intro::before, .site-intro::after { border: 1px solid rgba(184, 171, 255, .32); border-radius: 50%; content: ""; height: min(72vw, 680px); position: absolute; width: min(72vw, 680px); }
.site-intro::after { height: min(52vw, 470px); width: min(52vw, 470px); }
.site-intro.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.site-intro__panel { animation: intro-rise .6s cubic-bezier(.16, 1, .3, 1) both; color: #fff; display: grid; justify-items: center; position: relative; text-align: center; z-index: 1; }
.site-intro__mark { align-items: center; background: var(--violet); border-radius: 18px; box-shadow: 0 16px 50px rgba(91, 61, 245, .38); display: inline-flex; font-size: 2.3rem; font-weight: 900; height: 74px; justify-content: center; width: 74px; }
.site-intro__eyebrow { color: #cfc6ff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; margin: 20px 0 6px; text-transform: uppercase; }
.site-intro__title { font-size: clamp(2rem, 7vw, 4.5rem); font-weight: 850; letter-spacing: -.07em; line-height: 1; margin: 0; }
.site-intro__skip { background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; cursor: pointer; font-weight: 800; margin-top: 28px; padding: .7rem 1.05rem; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.site-intro__skip:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-2px); }
@keyframes intro-rise { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 33, 61, .08); }
.search-toggle, .menu-toggle { border-radius: 7px; transition: background-color .18s ease, color .18s ease; }
.search-toggle:hover, .menu-toggle:hover { background: var(--soft-violet); color: var(--violet); }
.search-panel { animation: panel-in .18s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.featured-story, .trend-panel, .sidebar-panel, .widget, .archive-heading, .article { box-shadow: 0 1px 1px rgba(20,33,61,.02); }
.post-card .thumbnail img, .featured-story img { transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.post-card:hover .thumbnail img { transform: scale(1.04); }
.post-card h2 a, .trend-list a, .compact-list a { transition: color .18s ease; }
.action-link { background: var(--violet); border-radius: 8px; color: #fff; display: inline-block; font-size: .82rem; font-weight: 800; padding: .75rem 1rem; }
.action-link:hover { background: var(--violet-dark); color: #fff; }

/* Editorial typography and readable technical content. */
.entry-content > * + * { margin-top: 1.35em; }
.entry-content :is(ul, ol) { padding-left: 1.35em; }
.entry-content li + li { margin-top: .45em; }
.entry-content :not(pre) > code { background: var(--soft-violet); border: 1px solid #ddd6fe; border-radius: 5px; color: #3b268f; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .84em; font-weight: 650; padding: .16em .38em; }
.entry-content pre { background: #101827; border: 1px solid #263653; border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, .18); color: #e5edf9; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .88rem; line-height: 1.7; margin: 1.8rem 0; max-width: 100%; overflow: auto; padding: 1.15rem 1.25rem; tab-size: 2; }
.entry-content pre code { background: transparent; border: 0; color: inherit; font: inherit; padding: 0; }
.entry-content figure { margin: 1.8rem 0; }
.entry-content figcaption { color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .8rem; margin-top: .65rem; text-align: center; }
.entry-content table { border-collapse: collapse; display: block; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .9rem; max-width: 100%; overflow-x: auto; width: 100%; }
.entry-content :is(th, td) { border: 1px solid var(--line); padding: .65rem .8rem; text-align: left; }
.entry-content th { background: #f1f4f9; font-weight: 800; }

@media (max-width: 900px) {
  .sidebar-panel, .widget { min-width: 0; }
  .article { padding: clamp(22px, 5vw, 40px); }
}
@media (max-width: 620px) {
  .site-intro__mark { border-radius: 15px; height: 62px; width: 62px; }
  .site-intro::before { height: 100vw; width: 100vw; }
  .site-intro::after { height: 72vw; width: 72vw; }
  .search-form { align-items: stretch; flex-direction: column; }
  .search-form button { min-height: 44px; }
  .story-meta { gap: 5px; }
  .entry-content { font-size: 1.03rem; }
  .entry-content pre { border-radius: 9px; font-size: .8rem; margin-left: -6px; margin-right: -6px; padding: 1rem; }
  .entry-content :is(th, td) { padding: .55rem .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .site-intro { display: none; }
}

/* Keep returning visits paint-free; head markup opts the first visit in. */
html:not(.pulsewire-intro-pending) .site-intro { display: none; }
html.pulsewire-intro-pending .site-intro { display: grid; }
html.pulsewire-intro-pending .site-intro__panel { animation: intro-rise .6s cubic-bezier(.16, 1, .3, 1) both; transform: translate(calc(var(--parallax-x) * .2), calc(var(--parallax-y) * .2)); }
html.pulsewire-intro-pending .site-intro::before { transform: translate(calc(var(--parallax-x) * -.45), calc(var(--parallax-y) * -.45)); }
html.pulsewire-intro-pending .site-intro::after { transform: translate(calc(var(--parallax-x) * .7), calc(var(--parallax-y) * .7)); }
@media (prefers-reduced-motion: reduce) {
  html.pulsewire-intro-pending .site-intro { display: none; }
}

/* Page navigation feedback; the welcome action remains exclusive to the first visit. */
.site-intro__loading { display: none; }
.site-loader { align-content: center; background: rgba(9, 15, 29, .96); color: #fff; display: grid; gap: .9rem; inset: 0; justify-items: center; opacity: 0; padding: 24px; pointer-events: none; position: fixed; transition: opacity .2s ease, visibility 0s linear .2s; visibility: hidden; z-index: 110; }
.site-loader.is-visible { opacity: 1; transition-delay: 0s; visibility: visible; }
.site-loader__mark { align-items: center; animation: loader-pulse .8s ease-in-out infinite alternate; background: var(--violet); border-radius: 15px; box-shadow: 0 12px 38px rgba(91, 61, 245, .35); display: inline-flex; font-size: 1.7rem; font-weight: 900; height: 58px; justify-content: center; width: 58px; }
.site-loader p { font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin: 0; text-transform: uppercase; }
@keyframes loader-pulse { from { transform: scale(.94); } to { transform: scale(1.05); } }
html:not(.pulsewire-intro-pending) .site-intro__skip { display: none; }

@media (max-width: 900px) {
  body.is-nav-open { overflow: hidden; }
  body.is-nav-open .site-header { z-index: 50; }
  .nav-scrim { background: rgba(8, 14, 25, .58); inset: 0; opacity: 0; position: fixed; transition: opacity .28s ease; z-index: 39; }
  .nav-scrim.is-visible { opacity: 1; }
  .primary-nav { background: var(--paper); box-shadow: -18px 0 45px rgba(5, 10, 20, .2); display: block; height: 100dvh; max-width: 360px; overflow-y: auto; padding: 124px 28px 28px; position: fixed; right: 0; top: 0; transform: translateX(105%); transition: transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .32s; visibility: hidden; width: min(88vw, 360px); z-index: 40; }
  .primary-nav.is-open { padding: 124px 28px 28px; transform: translateX(0); transition-delay: 0s; visibility: visible; }
  .primary-nav::before { color: var(--muted); content: "Browse"; display: block; font-size: .7rem; font-weight: 850; letter-spacing: .12em; margin-bottom: 1rem; text-transform: uppercase; }
  .primary-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav .menu li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; font-size: 1rem; padding: 1rem .2rem; }
  .primary-nav .menu-item-has-children { align-items: center; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .primary-nav .menu-item-has-children > .sub-menu { background: transparent; border: 0; border-radius: 0; box-shadow: none; display: grid; grid-column: 1 / -1; left: auto; margin: 0; max-height: 0; min-width: 0; opacity: 1; overflow: hidden; padding: 0; pointer-events: auto; position: static; transform: none; transition: max-height .25s ease, padding .25s ease; visibility: visible; width: 100%; }
  .primary-nav .menu-item-has-children.is-submenu-open > .sub-menu { max-height: 700px; padding: 0 0 8px; }
  .primary-nav .sub-menu li { border-bottom: 0; }
  .primary-nav .sub-menu a { color: var(--muted); font-size: .92rem; padding: .65rem 0 .65rem 1rem; white-space: normal; }
  .submenu-toggle { align-items: center; background: var(--soft-violet); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; font-size: 1rem; height: 32px; justify-content: center; margin-right: 0; padding: 0; transition: background-color .18s ease, border-color .18s ease, transform .2s ease; width: 32px; }
  .submenu-toggle:hover { border-color: var(--violet); color: var(--violet); }
  .menu-item-has-children.is-submenu-open > .submenu-toggle { transform: rotate(180deg); }
  .menu-toggle { align-items: center; background: var(--soft-violet); border: 1px solid var(--line); border-radius: 999px; display: inline-flex; font-size: 0; height: 36px; justify-content: center; padding: 0; position: relative; width: 36px; z-index: 41; }
  .menu-toggle::before, .menu-toggle::after { background: currentColor; content: ""; height: 2px; position: absolute; transition: transform .24s ease; width: 15px; }
  .menu-toggle::before { transform: translateY(-4px); }
  .menu-toggle::after { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .header-actions { position: relative; z-index: 41; }
}

@media (max-width: 620px) {
  .primary-nav { padding: 84px 22px 22px; width: min(90vw, 340px); }
  .primary-nav.is-open { padding: 84px 22px 22px; }
  .search-toggle { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader__mark { animation: none; }
  .site-loader { transition: none; }
  .primary-nav, .nav-scrim { transition: none; }
}

/* Header controls and desktop navigation. */
.header-inner { gap: 28px; grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr) minmax(180px, .8fr); }
.primary-nav .menu { gap: 4px; }
.primary-nav a { border-radius: 999px; display: block; font-size: .8rem; letter-spacing: .01em; padding: .5rem .7rem; transition: background-color .18s ease, color .18s ease; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { background: var(--soft-violet); color: var(--violet); }
.header-actions { gap: 8px; justify-content: flex-end; }
.theme-toggle, .search-toggle { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); display: inline-flex; gap: .42rem; height: 38px; justify-content: center; line-height: 1; min-width: 38px; padding: 0 .78rem; }
.theme-toggle { background: var(--soft-violet); font-size: .78rem; font-weight: 850; width: auto; }
.theme-toggle__icon { align-items: center; background: var(--amber); border-radius: 50%; color: #473100; display: inline-flex; font-size: 1rem; height: 22px; justify-content: center; width: 22px; }
[data-theme="dark"] .theme-toggle__icon { background: var(--violet); color: #18112e; }
.search-toggle { background: transparent; font-size: .78rem; font-weight: 800; }
.search-toggle__icon { font-size: 1.2rem; line-height: .7; }
.theme-toggle:hover, .search-toggle:hover { background: var(--soft-violet); border-color: var(--violet); color: var(--violet); }

/* Automatic latest-post slider. */
.latest-slider { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 32px; overflow: hidden; padding: 18px; }
.latest-slider__header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 14px; }
.latest-slider__header .eyebrow { margin: 0; }
.latest-slider__controls { display: flex; gap: 6px; }
.latest-slider__button { align-items: center; background: var(--soft-violet); border: 1px solid var(--line); border-radius: 50%; color: var(--violet); cursor: pointer; display: inline-flex; font-size: 1.1rem; height: 34px; justify-content: center; padding: 0; width: 34px; }
.latest-slider__button:hover { border-color: var(--violet); transform: translateY(-1px); }
.latest-slider__viewport { overflow: hidden; }
.latest-slider__track { display: flex; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.latest-slider__slide { display: grid; flex: 0 0 100%; gap: 20px; grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr); min-width: 0; }
.latest-slider__image { background: var(--soft-violet); border-radius: 10px; min-height: 170px; overflow: hidden; }
.latest-slider__image img { height: 100%; object-fit: cover; width: 100%; }
.latest-slider__content { align-content: center; display: grid; justify-items: start; }
.latest-slider__content h2 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); letter-spacing: -.04em; line-height: 1.15; margin: .3rem 0 .5rem; }
.latest-slider__content p { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .header-inner { gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
  .header-actions { gap: 6px; }
  .theme-toggle, .search-toggle { height: 36px; min-width: 36px; padding: 0 .65rem; }
  .theme-toggle__label, .search-toggle__label { display: none; }
  .theme-toggle__icon { height: 24px; width: 24px; }
  body.is-nav-open .theme-toggle, body.is-nav-open .search-toggle { opacity: 0; pointer-events: none; }
  .latest-slider__slide { grid-template-columns: minmax(145px, .65fr) minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .header-inner { min-height: 62px; padding-bottom: 8px; padding-top: 8px; }
  .brand { font-size: 1.1rem; }
  .brand-mark { height: 28px; margin-right: 6px; width: 28px; }
  .theme-toggle, .search-toggle, .menu-toggle { height: 34px; min-width: 34px; width: 34px; }
  .theme-toggle, .search-toggle { padding: 0; }
  .latest-slider { margin-left: -2px; margin-right: -2px; padding: 14px; }
  .latest-slider__slide { gap: 14px; grid-template-columns: 1fr; }
  .latest-slider__image { min-height: 150px; }
  .latest-slider__content p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .latest-slider__track { transition: none; }
}

/* Header identity and search panel. */
.brand, .brand__fallback, .custom-logo-link { align-items: center; color: var(--navy); display: inline-flex; min-width: 0; }
.brand__fallback { font-size: 1.3rem; font-weight: 850; letter-spacing: -.06em; white-space: nowrap; }
.custom-logo-link { max-width: 220px; }
.custom-logo { height: auto; max-height: 48px; max-width: 100%; width: auto; }
.search-panel { display: block; max-height: 0; opacity: 0; overflow: hidden; padding: 0; transform: translateY(-8px); transition: max-height .3s cubic-bezier(.16, 1, .3, 1), opacity .2s ease, padding .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .3s; visibility: hidden; }
.search-panel.is-open { max-height: 112px; opacity: 1; padding: 16px 0; transform: translateY(0); transition-delay: 0s; visibility: visible; }
.search-panel__inner { align-items: center; display: flex; gap: 10px; }
.search-panel__inner .search-form { flex: 1; }
.search-close { align-items: center; background: var(--soft-violet); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; display: inline-flex; flex: 0 0 auto; font-size: 1.5rem; height: 42px; justify-content: center; line-height: 1; padding: 0 0 .15rem; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; width: 42px; }
.search-close:hover { border-color: var(--violet); color: var(--violet); transform: rotate(90deg); }

@media (min-width: 621px) {
  .search-close { display: none; }
}
@media (max-width: 620px) {
  .custom-logo-link { max-width: 170px; }
  .custom-logo { max-height: 38px; }
  .search-panel.is-open { max-height: 164px; padding: 12px 0; }
  .search-panel__inner { align-items: stretch; }
  .search-panel__inner .search-form { min-width: 0; }
  .search-close { height: 44px; width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-panel { transition: none; }
}

/* Guard mobile cards and articles against unbroken pasted URLs. */
.post-card > div, .post-card h2, .post-card p, .latest-slider__content, .article, .entry-content, .sidebar-panel, .widget { min-width: 0; }
.post-card a, .latest-slider__content a, .trend-list a, .compact-list a, .widget a, .entry-content a, .article-footer a { overflow-wrap: anywhere; word-break: break-word; }
.entry-content :is(img, video, iframe, embed, object) { height: auto; max-width: 100%; }
.entry-content :is(figure, blockquote, table) { max-width: 100%; }

@media (max-width: 900px) {
  .primary-nav { padding-top: 124px; }
  .primary-nav.is-open { padding-top: 124px; }
  .primary-nav::before { margin-bottom: 1rem; }
  body.is-nav-open .menu-toggle { position: fixed; right: 24px; top: 48px; }
}
@media (max-width: 620px) {
  .primary-nav { padding-top: 112px; }
  .primary-nav.is-open { padding-top: 112px; }
  body.is-nav-open .menu-toggle { right: 16px; top: 40px; }
  .post-card, .latest-slider__slide { max-width: 100%; overflow: hidden; }
  .entry-content { overflow-wrap: anywhere; }
}

/* Reuse Site Identity consistently across the header, loaders, and footer. */
.brand .custom-logo-link { background: var(--paper); border: 1px solid var(--identity-frame); border-radius: 12px; padding: 4px 8px; }
.brand .custom-logo { max-height: 40px; }
.site-intro__mark.identity-mark__image, .site-loader__mark.identity-mark__image, .footer-brand__mark.identity-mark__image { background: var(--paper); border: 1px solid var(--identity-frame); object-fit: contain; padding: 5px; }
.site-intro__mark.identity-mark__image { border-radius: 18px; }
.site-loader__mark.identity-mark__image { border-radius: 15px; }
.footer-brand { align-items: center; display: flex; gap: 9px; }
.footer-brand__mark { align-items: center; background: var(--violet); border-radius: 8px; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 1rem; font-weight: 900; height: 30px; justify-content: center; width: 30px; }
.footer-brand__mark.identity-mark__image { border-radius: 8px; }

@media (max-width: 620px) {
  .header-inner { align-items: center; grid-template-columns: minmax(0, 1fr) auto; }
  .brand { align-items: center; justify-self: start; min-width: 0; }
  .header-actions { align-items: center; align-self: center; justify-self: end; min-height: 34px; }
  .brand .custom-logo-link { align-items: center; line-height: 0; padding: 3px 6px; }
  .brand .custom-logo { max-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .utility-label.is-glitching { animation: none; }
}
