/* ==========================================================================
   L. Burke Files — burkefiles.com
   Clean static rebuild (replaces WordPress/Elementor output)
   ========================================================================== */

:root {
  --blue: #0066bf;          /* primary brand (links, topbar, footer, icons, eyebrows) */
  --blue-hover: #5190e8;    /* link hover */
  --nav-gray: #879ba1;      /* nav links, gradient end */
  --dark: #1c1c1c;
  --black: #000000;
  --white: #ffffff;
  --gray: #807f7f;
  --card-bg: #fafafa;
  --border: #dedede;
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1140px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--gray); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: none; color: var(--blue-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--black); margin: 0 0 .4em; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }

/* ---- Top bar (blue, sticky) ---- */
.topbar { background: var(--blue); position: sticky; top: 0; z-index: 200; }
.topbar .container { display: flex; justify-content: flex-end; gap: 40px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); font-family: var(--font-head); font-size: 11px; font-weight: 600; line-height: 1.6em; letter-spacing: .08em; text-transform: uppercase; }
.topbar a:hover { color: var(--nav-gray); }

/* ---- Header / nav ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: relative; z-index: 150; }
.site-header .container { display: flex; align-items: center; gap: 30px; padding-top: 10px; padding-bottom: 10px; }
.site-header .logo { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--black); }
.site-header .logo:hover { color: var(--nav-gray); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-left: 14px; }
.site-nav > a, .site-nav .has-drop { display: inline-flex; align-items: center; }
.site-nav > a, .site-nav .drop-toggle {
  color: var(--nav-gray); font-family: var(--font-head); font-size: 12px; font-weight: 700;
  line-height: 1; text-transform: uppercase; letter-spacing: .02em;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  display: inline-flex; align-items: center;
}
.site-nav > a.active, .site-nav > a:hover, .site-nav .drop-toggle:hover { color: var(--blue); }

/* ---- Dropdown menus (CSS-only: hover + focus-within) ---- */
.has-drop { position: relative; }
.has-drop .drop-toggle::after { content: "\25BE"; font-size: 13px; line-height: 1; margin-left: 7px; }
.has-drop .drop {
  position: absolute; top: 100%; left: -14px; min-width: 230px;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0,0,0,.12); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease; z-index: 160;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop .drop a {
  display: block; padding: 9px 20px; color: var(--dark);
  font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  white-space: nowrap;
}
.has-drop .drop a:hover { color: var(--blue); background: var(--card-bg); }

/* ---- Mobile hamburger toggle (hidden on desktop) ---- */
.nav-toggle { display: none; margin-left: auto; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle .bars { position: relative; display: block; width: 26px; height: 18px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: var(--nav-gray); transition: transform .3s ease, opacity .2s ease, background-color .2s ease; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .bars span:nth-child(3) { bottom: 0; }
.nav-toggle:hover .bars span { background: var(--blue); }
.nav-toggle[aria-expanded="true"] .bars span { background: var(--blue); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ---- Hero (two column) ---- */
.hero { padding: 110px 0 120px; }
.hero .container { display: grid; grid-template-columns: 55% 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw, 5rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.02; }
.hero h1 .accent { color: var(--blue); }
.lead strong, .lead-head { display: block; font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 14px; }
.hero .lead p, .lead p { font-weight: 600; color: var(--dark); font-size: 15.5px; }
.hero .lead a, .lead a { color: var(--blue); font-weight: 700; }
.hero .lead a:hover, .lead a:hover { color: var(--blue-hover); }

/* ---- Press logos strip (continuous marquee) ---- */
.press-strip { background: var(--black); padding: 13px 0; overflow: hidden; }
.press-track { display: flex; align-items: center; gap: 90px; width: max-content; animation: press-marquee 35s linear infinite; }
.press-track img { height: 58px; width: auto; flex: none; }
@keyframes press-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none; }
}

/* ---- Full-bleed imagery ---- */
.bleed img { width: 100%; height: auto; }

/* ---- Parallax image bands (fixed background) ---- */
.parallax { background-size: cover; background-position: center; background-attachment: fixed; min-height: 62vh; }
@supports (-webkit-touch-callout: none) {
  .parallax { background-attachment: scroll; }
}

/* ---- Generic two-column section ---- */
.split { padding: 110px 0; }
.split .container { display: grid; grid-template-columns: 55% 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); font-weight: 700; line-height: 1.05; }
.split h2 .accent { color: var(--blue); }
.split .photo img { width: 100%; }

/* ---- Eyebrow label ---- */
.eyebrow { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }

/* ---- Centered section heading ---- */
.section-head { text-align: center; padding: 90px 0 20px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; }

/* ---- Feature bands (book / press / broadcast) ---- */
.feature { position: relative; min-height: 400px; display: flex; align-items: center; background-size: cover; background-position: center; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.feature .container { position: relative; z-index: 1; }
.feature .feature-content { max-width: 52%; color: var(--white); padding-left: 4rem; }
.feature h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
.feature p { color: rgba(255,255,255,.9); font-size: 15.5px; margin-bottom: 22px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px; color: var(--white);
  border: 1px solid rgba(255,255,255,.85); padding: 12px 26px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-outline .arrow { font-size: 15px; line-height: 1; }

/* ---- Feature carousel ---- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s ease; }
.carousel .feature { min-width: 100%; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 26px; line-height: 1;
}
.car-arrow:hover { background: var(--blue); }
.car-arrow.prev { left: 16px; }
.car-arrow.next { right: 16px; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.car-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.5); }
.car-dots .dot.active { background: #fff; }
@media (prefers-reduced-motion: reduce) { .carousel-track { transition: none; } }
@media (max-width: 940px) { .car-arrow { width: 38px; height: 38px; font-size: 22px; } }

/* ---- Card grids ---- */
.cards { display: grid; gap: 36px; padding: 50px 0 110px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card-bg); padding: 46px 44px 54px; }
.card .icon { color: var(--blue); margin-bottom: 26px; }
.card .icon svg { width: 34px; height: 34px; fill: currentColor; }
.card h3 { font-size: 26px; font-weight: 600; letter-spacing: .01em; }
.card.caps h3 { text-transform: uppercase; font-size: 22px; letter-spacing: .04em; }
.card p { color: var(--dark); font-weight: 500; font-size: 15.5px; }

/* ---- Book page hero ---- */
.book-hero { background: linear-gradient(163deg, #1c1c1c 0%, #879ba1 100%); color: var(--white); padding: 8rem 0 4rem; }
.book-hero .container { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.book-hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.book-hero .subtitle { font-family: var(--font-body); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.book-hero p { color: rgba(255,255,255,.92); font-weight: 600; font-size: 15.5px; }
.book-hero .badge { width: 161px; height: auto; margin-bottom: 22px; }
.book-hero .btn-outline { margin-top: 8px; }
.book-hero .cover { justify-self: center; }
.book-hero .cover img { width: 352px; max-width: 100%; box-shadow: 30px 22px 64px rgba(0,0,0,.5); }

/* ---- Press & Publications ---- */
.press-hero { background: var(--card-bg); padding: 80px 0 40px; }
.press-hero h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -.02em; }
.press-hero .intro { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--dark); max-width: 640px; margin: 0; }
.press-list { padding: 50px 0 90px; }
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.press-item { background: var(--card-bg); padding: 26px 30px 24px; display: flex; flex-direction: column; }
.press-item .logo-wrap { height: 42px; display: flex; align-items: center; margin-bottom: 16px; }
.press-item .logo-wrap img { max-height: 42px; max-width: 190px; width: auto; }
.press-item .outlet { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nav-gray); margin-bottom: 8px; }
.press-item h2 { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.34; letter-spacing: -.01em; margin: 0 0 16px; }
.press-item h2 a { color: var(--black); }
.press-item h2 a:hover { color: var(--blue); }
.press-item .read { margin-top: auto; font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.press-item .read:hover { color: var(--blue-hover); }
@media (max-width: 940px) { .press-grid { grid-template-columns: 1fr; } .press-hero { padding: 50px 0 30px; } }

/* ---- Blog listing ---- */
.blog-hero { padding: 80px 0 24px; }
.blog-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.02em; }
.blog-hero .intro { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--dark); margin: 0; }
.blog-list { padding: 20px 0 90px; }
.blog-list .container { max-width: 820px; }
.post-row { border-bottom: 1px solid #e5e5e5; padding: 18px 0; transition: border-color .15s ease; }
.post-row:hover { border-color: var(--dark); }
.post-row a { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; color: var(--black); }
.post-row a:hover { color: var(--blue); }
.post-row .date { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--nav-gray); margin-top: 7px; }
@media (max-width: 940px) { .blog-hero { padding: 50px 0 18px; } }

/* ---- Blog post article ---- */
.post-article { padding: 64px 0 90px; }
.post-article .container { max-width: 760px; }
.post-article h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.post-article .post-meta { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nav-gray); margin: 14px 0 30px; }
.post-body { font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--dark); }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.7rem); font-weight: 700; margin: 1.7em 0 .5em; color: var(--black); }
.post-body h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 1.4em 0 .3em; color: var(--black); }
.post-body a { color: var(--blue); }
.post-body a:hover { color: var(--blue-hover); }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.post-body li { margin-bottom: .5em; }
.post-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; color: var(--black); }
.post-body img { margin: 1.4em 0; }
.post-source { background: var(--card-bg); padding: 18px 22px; margin: 26px 0 0; font-size: 15.5px; color: var(--dark); }
.post-back { display: inline-block; margin-top: 46px; font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.post-back:hover { color: var(--blue-hover); }

.post-back-top { display: inline-block; margin-bottom: 16px; font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.post-back-top:hover { color: var(--blue-hover); }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 54px; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; color: var(--nav-gray); }
.pagination a:hover { color: var(--blue); }
.pagination .current { color: var(--white); background: var(--blue); }
.pagination .nav-arrow { color: var(--blue); }
.pagination .disabled { opacity: .35; }

/* ---- Expert profiles ---- */
.expert { padding: 90px 0; }
.expert.alt { background: var(--card-bg); }
.expert .container { display: grid; grid-template-columns: 42% 1fr; gap: 60px; align-items: start; }
.expert .photo img { width: 100%; }
.expert h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 700; }
.expert .tagline { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--black); margin: 6px 0 0; line-height: 1.3; }
.expert .bio p, .expert .bio li { color: var(--dark); font-weight: 500; font-size: 16px; }
.expert .bio li { margin-bottom: 12px; }
.expert .bio li strong { color: var(--black); }

/* ---- FAQ ---- */
.faq { padding: 30px 0 110px; }
.faq .container { max-width: 900px; }
.faq h2 { text-align: center; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 30px; }
.faq details { border-bottom: 1px solid #e5e5e5; padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--black); list-style: none; position: relative; padding-right: 30px; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--dark); font-weight: 500; margin: 12px 0 0; }

/* ---- Legal pages ---- */
.legal-hero { padding: 100px 0 60px; }
.legal-hero .container { display: grid; grid-template-columns: 55% 1fr; gap: 60px; align-items: center; }
.legal-hero h1 { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.05; color: var(--black); }
.legal-hero .intro { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--dark); }
.legal-body { padding: 20px 0 110px; }
.legal-body .container { max-width: 860px; }
.legal-body { font-family: var(--font-body); font-weight: 400; font-size: 16.5px; color: var(--dark); line-height: 1.75; }
.legal-body h2 { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: .02em; margin-top: 2em; text-transform: uppercase; }
.legal-body strong { font-weight: 700; color: var(--black); }

/* ---- 404 ---- */
.error-hero { padding: 140px 0 160px; }
.error-hero .container { display: grid; grid-template-columns: 55% 1fr; gap: 60px; align-items: center; }
.error-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; }
.error-hero h1 .accent { color: var(--blue); }

/* ---- Footer (single blue band) ---- */
.site-footer { background: var(--blue); padding: 40px 0 28px; }
.site-footer .rows { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 32px; }
.site-footer a { color: var(--white); font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.site-footer a:hover { color: var(--dark); }
.site-footer .copyright { text-align: center; color: var(--white); font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 30px 0 0; }

/* ---- Legacy footer (kept for pages not yet migrated) ---- */
.footer-brand { background: var(--black); padding: 44px 0 40px; }
.footer-brand img { width: 235px; }
.footer-brand .rule { border: 0; border-top: 1px solid rgba(255,255,255,.35); max-width: 630px; margin: 26px 0 0; }
.footer-links { background: var(--blue); padding: 34px 0 26px; }
.footer-links .rows { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-links a { color: var(--white); font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.footer-links a:hover { color: var(--dark); }
.footer-links .copyright { text-align: center; color: var(--white); font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 30px 0 0; }

/* ---- Responsive ---- */
@media (max-width: 940px) {
  .hero .container, .split .container, .expert .container, .legal-hero .container, .error-hero .container, .book-hero .container { grid-template-columns: 1fr; gap: 34px; }
  .cards.cols-2, .cards.cols-3 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
  .split, .expert { padding: 60px 0; }
  .book-hero { padding: 5rem 0 3rem; }
  .book-hero .cover { grid-row: 1; }
  .site-header .container { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; padding-top: 6px; }
  .site-nav.open { display: flex; }
  .site-nav > a, .site-nav .has-drop { width: 100%; }
  .site-nav > a, .site-nav .drop-toggle { width: 100%; justify-content: flex-start; text-align: left; padding: 10px 0; }
  .site-nav .has-drop { display: flex; flex-direction: column; align-items: stretch; }
  .has-drop .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 6px 14px; text-align: left; }
  .has-drop .drop a { padding: 8px 0; white-space: normal; }
  .feature .feature-content { max-width: 100%; padding-left: 0; }
  .feature { padding: 40px 0; }
  .press-track { gap: 40px; }
  .press-track img { height: 40px; }
  .site-footer .rows, .footer-links .rows { justify-content: center; }
}

/* ==========================================================================
   Blog v2 — Ethan-style single-page filterable archive + reading layout
   Scoped under .blogx (archive) and .postx (single post) to avoid collisions.
   Uses Burke fonts (Montserrat/Lato) + brand blue.
   ========================================================================== */

/* ---- Archive ---- */
.blogx .bx-head { text-align: center; padding: 64px 0 24px; }
.blogx .bx-head h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--black); }
.blogx .bx-head p { font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--dark); margin: .5em auto 0; max-width: 620px; }
.blogx .bx-layout { position: relative; display: grid; grid-template-columns: 300px minmax(0, 720px); justify-content: center; align-items: start; padding: 34px 0 84px; border-top: 1px solid #e5e5e5; }
.blogx .bx-layout::before { content: ""; position: absolute; top: 0; bottom: 0; left: 300px; width: 1px; background: #e5e5e5; pointer-events: none; }
.blogx .bx-sidebar { position: sticky; top: 24px; padding-right: 44px; }
.blogx .post-list { display: flex; flex-direction: column; padding-left: 52px; }
.blogx .filter-group { margin-bottom: 30px; }
.blogx .filter-group.is-hidden { display: none; }
.blogx .filter-group h4 { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--black); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #e4e4e4; }
.blogx .filter-list { list-style: none; margin: 0; padding: 0; }
.blogx [data-filter="keyword"] .filter-list { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.blogx .filter-list button { background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--gray); padding: 4px 0; text-align: left; transition: color .2s; }
.blogx [data-filter="topic"] .filter-list button { width: 100%; }
.blogx .filter-list button:hover { color: var(--black); }
.blogx .filter-list button.active { color: var(--blue); }
.blogx .filter-search { margin-bottom: 26px; }
.blogx .filter-search input { width: calc(100% - 15px); padding: 11px 14px; border: 1px solid #dcdcdc; border-radius: 0; font-family: var(--font-body); font-size: 14px; color: var(--dark); }
.blogx .filter-search input:focus { outline: none; border-color: var(--blue); }
.blogx .post-card { padding: 22px 0; border-bottom: 1px solid #eee; }
.blogx .post-card:first-child { padding-top: 0; }
.blogx .post-card h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; }
.blogx .post-card h2 a { color: var(--black); transition: color .2s; }
.blogx .post-card h2 a:hover { color: var(--blue); }
.blogx .bx-meta { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--nav-gray); margin-bottom: 10px; }
.blogx .post-card p { font-family: var(--font-body); color: var(--dark); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.blogx .read-more { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); transition: gap .2s, color .2s; }
.blogx .read-more:hover { gap: 11px; color: var(--blue-hover); }
.blogx .read-more svg { width: 13px; height: 10px; fill: currentColor; }
.blogx .no-results { display: none; color: var(--gray); padding: 40px 0; font-family: var(--font-body); }

/* ---- Single post ---- */
.postx .px-header { padding: 56px 0 26px; max-width: 820px; }
.postx .px-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-bottom: 20px; transition: gap .2s, color .2s; }
.postx .px-back:hover { gap: 11px; color: var(--blue-hover); }
.postx .px-topline { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nav-gray); margin-bottom: 10px; }
.postx .px-header h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--black); margin: 0; }
.postx .px-taxrow { margin-top: 16px; font-family: var(--font-body); font-size: 13px; color: var(--gray); }
.postx .px-taxrow b { color: var(--dark); font-weight: 700; }
.postx .px-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; border-top: 1px solid #e5e5e5; }
.postx .px-layout::before { content: ""; position: absolute; top: 0; bottom: 0; right: 300px; width: 1px; background: #e5e5e5; pointer-events: none; }
.postx .px-main { padding: 40px 48px 64px 0; }
.postx .px-aside { padding: 40px 0 64px 40px; }
.postx .article { font-family: var(--font-body); font-size: 17px; line-height: 1.75; color: var(--dark); }
.postx .article p { margin: 0 0 1.2em; }
.postx .article h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.2; margin: 1.6em 0 .5em; color: var(--black); }
.postx .article h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .3em; color: var(--black); }
.postx .article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.postx .article a:hover { color: var(--blue-hover); }
.postx .article ul, .postx .article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.postx .article li { margin-bottom: .5em; }
.postx .article blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; color: var(--black); }
.postx .article img { margin: 1.4em 0; }
.postx .px-back-bottom { margin-top: 30px; }
.postx .widget { margin-bottom: 26px; }
.postx .widget-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nav-gray); margin-bottom: 14px; }
.postx .author-box .name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.postx .author-box p { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--gray); margin: 0 0 12px; }
.postx .author-box a { font-family: var(--font-head); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.postx .author-box a:hover { color: var(--blue-hover); }
.postx .toc-widget { position: sticky; top: 24px; }
.postx .toc-list { list-style: none; margin: 0; padding: 0; }
.postx .toc-list li { margin-bottom: 11px; line-height: 1.2; }
.postx .toc-list a { font-family: var(--font-body); font-size: 13.5px; color: var(--gray); transition: color .2s; }
.postx .toc-list a:hover, .postx .toc-list a.active { color: var(--blue); }

/* ---- Blog v2 responsive ---- */
@media (max-width: 940px) {
  .blogx .bx-layout { grid-template-columns: 1fr; padding: 28px 0 60px; }
  .blogx .bx-layout::before { display: none; }
  .blogx .bx-sidebar { position: static; padding-right: 0; margin-bottom: 26px; }
  .blogx .post-list { padding-left: 0; }
  .postx .px-layout { grid-template-columns: 1fr; }
  .postx .px-layout::before { display: none; }
  .postx .px-main { padding: 28px 0 40px; }
  .postx .px-aside { padding: 10px 0 50px; border-top: 1px solid #e5e5e5; }
  .postx .toc-widget { position: static; }
}

/* Sidebar overflow fix: keep long topic labels inside the column */
.blogx .filter-list button { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.blogx [data-filter="keyword"] .filter-list { gap: 5px 14px; }
.blogx [data-filter="keyword"] .filter-list button { font-size: 12px; line-height: 1.3; }
