/*
Theme Name:  KlangTECH Blog
Theme URI:   https://blog.klangtech.com
Author:      KlangTECH Co., Ltd.
Author URI:  https://www.klangtech.com
Description: Corporate Editorial theme สำหรับ KlangTECH Blog — Intelligence for Thai Business. CI สีส้ม #F77C24 ฟอนต์ Prompt + Noto Serif Thai
Version:     1.0.0
License:     Private
Text Domain: klangtech
Tags:        blog, thai, editorial, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================================================
   IMPORT GOOGLE FONTS
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Noto+Serif+Thai:wght@300;400;600;700&display=swap');

/* ===================================================
   CSS CUSTOM PROPERTIES
=================================================== */
:root {
  --ink:       #0f1923;
  --ink-mid:   #2c3e50;
  --ink-light: #5a6a7a;
  --ink-faint: #8998a8;
  --orange:    #F77C24;
  --orange-dk: #c85e0f;
  --orange-lt: #fdf0e6;
  --rule:      #dde3ea;
  --bg:        #f5f4f1;
  --card:      #ffffff;
  --serif:     'Noto Serif Thai', serif;
  --sans:      'Prompt', sans-serif;
}

/* ===================================================
   RESET
=================================================== */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--sans); background:var(--bg); color:var(--ink); line-height:1.8; -webkit-font-smoothing:antialiased; }

/* TopBar removed — buttons moved to masthead */

/* ===================================================
   MASTHEAD
=================================================== */
.masthead { background:var(--ink); border-bottom:3px solid var(--orange); position:sticky; top:0; z-index:100; }
.masthead-inner { max-width:1200px; margin:0 auto; padding:0 24px; height:60px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.masthead-inner .kt-signup-btn { margin-left:auto; }
@media(max-width:900px){ .masthead-inner .masthead-nav { display:none; } 
  .masthead-inner .kt-signup-btn { margin-left:auto; order:2; }
  .masthead-inner .hamburger { order:3; }
}

/* Brand */
.brand-link { display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.brand-logo { width:32px; height:32px; object-fit:contain; }
.brand-name { font-size:18px; font-weight:700; color:#fff !important; letter-spacing:-.5px; }
.brand-name em { color:var(--orange) !important; font-style:normal !important; }

/* Nav — all items in one row */
.masthead-nav { display:flex; align-items:center; gap:0; margin-left:auto; }
.masthead-nav a { padding:8px 14px; font-size:13px; font-weight:400; color:#a0b0c0; text-decoration:none; transition:color .2s; white-space:nowrap; }
.masthead-nav a:hover { color:#fff; }
.masthead-nav a.current-menu-item { color:var(--orange); }

/* Login link style */
.masthead-nav a.nav-login { color:#a0b0c0; }
.masthead-nav a.nav-login:hover { color:#fff; }

/* Signup button style */
.masthead-nav a.nav-signup { color:#fff; background:var(--orange); border-radius:3px; padding:7px 16px; margin-left:6px; font-weight:500; }
.masthead-nav a.nav-signup:hover { background:var(--orange-dk); }

/* Hamburger */
.hamburger { display:none; background:none; border:none; cursor:pointer; padding:8px; color:var(--ink); }
.hamburger span { display:block; width:22px; height:2px; background:currentColor; margin:5px 0; border-radius:2px; }

/* ===================================================
   CATEGORY NAV BAR
=================================================== */
.cat-nav { background:#fff8f2; border-bottom:1px solid var(--rule); }
.cat-nav-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; gap:0; overflow-x:auto; }
.cat-nav a { font-size:12px; font-weight:500; color:var(--ink-faint); text-decoration:none; padding:12px 16px; white-space:nowrap; border-bottom:2px solid transparent; transition:all .2s; letter-spacing:.3px; }
.cat-nav a:hover { color:var(--orange); }
.cat-nav a.active,
.cat-nav a.current-cat { color:var(--orange); border-bottom-color:var(--orange); font-weight:600; }

/* ===================================================
   HERO SECTION
=================================================== */
.hero { background:linear-gradient(135deg, #ffffff 0%, #fdf0e6 60%, #fff8f2 100%); padding:64px 24px; position:relative; overflow:hidden; border-bottom:3px solid var(--orange); }
.hero-grid { display:none; }
.hero-orb { display:none; }
.hero-inner { max-width:1200px; margin:0 auto; position:relative; }
.hero-eyebrow { font-size:11px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--orange); margin-bottom:16px; }
.hero-title { font-family:var(--serif); font-size:clamp(28px,4vw,46px); font-weight:700; color:var(--ink); line-height:1.2; margin-bottom:16px; max-width:680px; }
.hero-sub { font-size:15px; color:var(--ink-light); max-width:480px; line-height:1.7; margin-bottom:32px; }
.hero-stats { display:flex; gap:40px; flex-wrap:wrap; }
.hero-stat { display:flex; flex-direction:column; gap:2px; }
.hero-stat-num { font-family:var(--serif); font-size:26px; font-weight:700; color:var(--orange); line-height:1; }
.hero-stat-label { font-size:11px; color:var(--ink-light); letter-spacing:.3px; }

/* ===================================================
   MAIN LAYOUT
=================================================== */
.main { max-width:1200px; margin:0 auto; padding:40px 24px 60px; display:grid; grid-template-columns:1fr 300px; gap:40px; align-items:start; }

/* ===================================================
   SECTION HEADER
=================================================== */
.section-hd { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.section-hd-bar { width:3px; height:20px; background:var(--orange); border-radius:2px; }
.section-hd-text { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--ink-mid); }
.section-hd-line { flex:1; height:1px; background:var(--rule); }

/* ===================================================
   FEATURED CARD
=================================================== */
.featured { background:var(--card); border:1px solid var(--rule); margin-bottom:2px; display:block; text-decoration:none; color:inherit; transition:box-shadow .25s; }
.featured--has-thumb { display:grid; grid-template-columns:1fr 1fr; min-height:280px; }
.featured--no-thumb { display:block; background:transparent; border:none; box-shadow:none; }
.featured--no-thumb .featured-body { padding:0; border-top:none; background:transparent; }
.featured--no-thumb:hover { box-shadow:none; }
.featured:hover { box-shadow:0 8px 32px rgba(0,0,0,.1); }
.featured-media { background:linear-gradient(135deg,#fff8f2,#fdf0e6); border-right:1px solid var(--rule); position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; min-height:240px; }
.featured-media img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.featured-body { padding:32px; display:flex; flex-direction:column; justify-content:space-between; }
.featured--no-thumb .featured-body { border-top:3px solid var(--orange); padding:28px 32px; }
.featured-cat { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.featured-cat-bar { width:16px; height:1.5px; background:var(--orange); }
.featured-title { font-family:var(--serif); font-size:clamp(17px,2vw,22px); font-weight:700; color:var(--ink); line-height:1.4; margin-bottom:14px; }
.featured-excerpt { font-size:14px; color:var(--ink-light); line-height:1.75; margin-bottom:20px; }
.featured-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.featured-date { font-size:12px; color:var(--ink-faint); }
.featured-read { font-size:11px; font-weight:600; color:var(--orange); letter-spacing:.5px; display:flex; align-items:center; gap:4px; }

/* ===================================================
   ARTICLE GRID
=================================================== */
.article-grid { display:grid; grid-template-columns:1fr 1fr; gap:2px; margin-bottom:2px; }
.article-card { background:var(--card); border:1px solid var(--rule); text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:box-shadow .2s; }
.article-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.09); }
.article-card-thumb { background:linear-gradient(135deg,#fff8f2,#fdf0e6); aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; font-size:40px; position:relative; overflow:hidden; border-bottom:1px solid var(--rule); }
.article-card-thumb img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.article-card-thumb-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(247,124,36,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(247,124,36,.1) 1px,transparent 1px); background-size:24px 24px; }
.article-card-body { padding:20px; flex:1; display:flex; flex-direction:column; }
.article-card-cat { font-size:10px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--orange); margin-bottom:8px; }
.article-card-title { font-family:var(--serif); font-size:15px; font-weight:600; color:var(--ink); line-height:1.5; margin-bottom:10px; flex:1; }
.article-card-date { font-size:11px; color:var(--ink-faint); }

/* WIDE CARD */
.article-card-wide { grid-column:1/-1; display:grid; grid-template-columns:280px 1fr; }
.article-card-wide .article-card-thumb { aspect-ratio:auto; min-height:160px; }
.article-card-wide .article-card-body { padding:24px 28px; }
.article-card-wide .article-card-title { font-size:17px; }
.article-card-wide .article-card-excerpt { font-size:13px; color:var(--ink-light); line-height:1.7; margin-bottom:10px; }

/* ===================================================
   PAGINATION / LOAD MORE
=================================================== */
.load-more-wrap { text-align:center; padding:32px 0 8px; }
.load-more-btn { font-family:var(--sans); font-size:13px; font-weight:500; color:var(--ink-mid); background:var(--card); border:1px solid var(--rule); padding:12px 32px; border-radius:2px; cursor:pointer; transition:all .2s; letter-spacing:.3px; text-decoration:none; display:inline-block; }
.load-more-btn:hover { border-color:var(--orange); color:var(--orange); }
/* WP pagination */
.pagination .page-numbers { font-family:var(--sans); font-size:13px; color:var(--ink-mid); background:var(--card); border:1px solid var(--rule); padding:8px 16px; border-radius:2px; text-decoration:none; transition:all .2s; margin:0 2px; }
.pagination .page-numbers.current,
.pagination .page-numbers:hover { border-color:var(--orange); color:var(--orange); }

/* ===================================================
   SIDEBAR
=================================================== */
.sidebar { display:flex; flex-direction:column; gap:24px; position:sticky; top:82px; }
.sidebar-widget { background:var(--card); border:1px solid var(--rule); }
.widget-hd { padding:14px 20px; border-bottom:1px solid var(--rule); display:flex; align-items:center; gap:8px; }
.widget-hd-bar { width:2px; height:14px; background:var(--orange); }
.widget-hd-text { font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--ink-mid); }

/* Categories */
.cat-list { padding:12px 20px; display:flex; flex-direction:column; gap:0; }
.cat-item { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--rule); text-decoration:none; color:var(--ink-mid); font-size:13px; transition:color .2s; }
.cat-item:last-child { border-bottom:none; }
.cat-item:hover { color:var(--orange); }
.cat-count { background:var(--bg); font-size:11px; color:var(--ink-faint); padding:2px 8px; border-radius:20px; }

/* Recent posts */
.recent-list { padding:12px 20px; display:flex; flex-direction:column; gap:0; }
.recent-item { display:grid; grid-template-columns:52px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid var(--rule); text-decoration:none; color:inherit; align-items:center; }
.recent-item:last-child { border-bottom:none; }
.recent-thumb { width:52px; height:40px; background:linear-gradient(135deg,#fff8f2,#fdf0e6); border:1px solid var(--rule); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; overflow:hidden; }
.recent-thumb img { width:100%; height:100%; object-fit:cover; }
.recent-title { font-size:12px; font-weight:500; color:var(--ink-mid); line-height:1.45; transition:color .2s; }
.recent-item:hover .recent-title { color:var(--orange); }
.recent-date { font-size:10px; color:var(--ink-faint); margin-top:3px; }

/* Archive */
.archive-list { padding:12px 20px; }
.archive-month { display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--rule); font-size:13px; color:var(--ink-mid); text-decoration:none; transition:color .2s; }
.archive-month:last-child { border-bottom:none; }
.archive-month:hover { color:var(--orange); }
.archive-count { font-size:11px; color:var(--ink-faint); }

/* CTA Widget */
.cta-widget { background:linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%); border:none; padding:28px 20px; text-align:center; position:relative; overflow:hidden; }
.cta-widget::before { content:''; position:absolute; top:-40px; right:-40px; width:140px; height:140px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%); }
.cta-widget::after { content:''; position:absolute; bottom:-30px; left:-30px; width:100px; height:100px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.1),transparent 70%); }
.cta-widget-label { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.85); margin-bottom:10px; position:relative; }
.cta-widget-title { font-family:var(--serif); font-size:17px; font-weight:700; color:white; line-height:1.4; margin-bottom:10px; position:relative; text-shadow:0 1px 3px rgba(0,0,0,.2); }
.cta-widget-sub { font-size:12px; color:rgba(255,255,255,.88); line-height:1.65; margin-bottom:18px; position:relative; }
.cta-widget-btn { display:block; background:white; color:var(--orange-dk); font-family:var(--sans); font-size:13px; font-weight:700; padding:12px 20px; text-decoration:none; border-radius:2px; transition:all .2s; letter-spacing:.3px; position:relative; box-shadow:0 2px 8px rgba(0,0,0,.15); }
.cta-widget-btn:hover { background:var(--ink); color:white; }
.cta-widget-note { font-size:10px; color:rgba(255,255,255,.7); margin-top:10px; line-height:1.5; position:relative; }

/* ===================================================
   FOOTER
=================================================== */
footer { background:#1d2d3d; border-top:3px solid var(--orange); margin-top:0; }
.footer-upper { max-width:1200px; margin:0 auto; padding:48px 24px 40px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
.footer-brand-logo { display:flex; align-items:center; gap:10px; text-decoration:none; margin-bottom:14px; }
.footer-brand-logo img { width:30px; height:30px; object-fit:contain; }
.footer-brand-name { font-size:16px; font-weight:700; color:white; letter-spacing:-.3px; }
.footer-brand-name em { color:var(--orange); font-style:normal; }
.footer-desc { font-size:12px; color:#7a9ab8; line-height:1.75; }
.footer-col-title { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:#7a9ab8; margin-bottom:16px; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:13px; color:#a8bfcf; text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--orange); }
.footer-lower { border-top:1px solid rgba(255,255,255,.08); max-width:1200px; margin:0 auto; padding:20px 24px; display:flex; justify-content:space-between; align-items:center; font-size:11px; color:#6a8aa0; flex-wrap:wrap; gap:8px; }
.footer-lower a { color:#6a8aa0; text-decoration:none; }
.footer-lower a:hover { color:var(--orange); }

/* ===================================================
   SINGLE POST — ARTICLE CONTENT
=================================================== */
.post-content { background:var(--card); border:1px solid var(--rule); padding:40px 48px; line-height:1.9; }
.post-content h1,.post-content h2,.post-content h3 { font-family:var(--serif); color:var(--ink); line-height:1.35; margin:1.6em 0 .6em; }
.post-content h1 { font-size:clamp(22px,3vw,32px); }
.post-content h2 { font-size:clamp(18px,2.5vw,26px); border-left:3px solid var(--orange); padding-left:16px; }
.post-content h3 { font-size:clamp(16px,2vw,20px); }
.post-content p { margin-bottom:1.2em; font-size:15px; color:var(--ink-light); }
.post-content a { color:var(--orange); text-decoration:underline; text-underline-offset:2px; }
.post-content img { max-width:100%; border-radius:2px; margin:1em 0; }
.post-content ul,.post-content ol { padding-left:1.5em; margin-bottom:1.2em; color:var(--ink-light); font-size:15px; }
.post-content li { margin-bottom:.4em; }
.post-content blockquote { border-left:3px solid var(--orange); padding:12px 20px; background:var(--orange-lt); margin:1.4em 0; font-style:italic; color:var(--ink-mid); }
.post-content code { background:#f0f4f8; padding:2px 6px; border-radius:3px; font-size:.9em; }
.post-content pre { background:var(--ink); color:#e2e8f0; padding:20px 24px; overflow-x:auto; border-radius:4px; margin:1.4em 0; }
.post-header { margin-bottom:32px; }
.post-header-cat { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange); margin-bottom:12px; }
.post-header-title { font-family:var(--serif); font-size:clamp(22px,3.5vw,38px); font-weight:700; color:var(--ink); line-height:1.25; margin-bottom:16px; }
.post-header-meta { display:flex; align-items:center; gap:16px; flex-wrap:wrap; font-size:12px; color:var(--ink-faint); padding-bottom:20px; border-bottom:1px solid var(--rule); }
.post-header-author { display:flex; align-items:center; gap:8px; }
.post-header-author-avatar { width:28px; height:28px; border-radius:50%; background:var(--orange-lt); overflow:hidden; }
.post-header-author-avatar img { width:100%; height:100%; object-fit:cover; }
.post-header-author-name { color:var(--orange); font-weight:500; }
.post-featured-image { width:100%; aspect-ratio:16/9; object-fit:cover; margin-bottom:32px; border:1px solid var(--rule); }

/* Author box */
.author-box { background:var(--card); border:1px solid var(--rule); padding:24px; display:flex; gap:20px; align-items:flex-start; margin-top:32px; }
.author-box-avatar { width:64px; height:64px; border-radius:50%; flex-shrink:0; overflow:hidden; background:var(--orange-lt); }
.author-box-avatar img { width:100%; height:100%; object-fit:cover; }
.author-box-name { font-weight:600; color:var(--orange); font-size:14px; margin-bottom:4px; }
.author-box-bio { font-size:13px; color:var(--ink-light); line-height:1.6; }

/* ===================================================
   MOBILE HAMBURGER
=================================================== */
.hamburger { display:none; background:none; border:none; cursor:pointer; padding:8px; color:var(--ink); }
.hamburger span { display:block; width:22px; height:2px; background:currentColor; margin:5px 0; border-radius:2px; transition:all .3s; }
.mobile-menu { display:none; position:fixed; inset:0; background:var(--ink); z-index:200; flex-direction:column; padding:24px; overflow-y:auto; }
.mobile-menu.active { display:flex; }
.mobile-menu-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; }
.mobile-close { background:none; border:none; color:white; font-size:24px; cursor:pointer; padding:4px 8px; }
.mobile-nav { display:flex; flex-direction:column; gap:0; }
.mobile-nav a { color:#c8d4df; text-decoration:none; font-size:16px; font-weight:500; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.1); display:flex; align-items:center; gap:8px; transition:color .2s; }
.mobile-nav a:hover { color:var(--orange); }
.mobile-nav a:last-child { border-bottom:none; }
.mobile-auth { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
.mobile-auth a { text-align:center; padding:14px 20px; border-radius:4px; font-size:15px; font-weight:600; font-family:var(--sans); text-decoration:none; transition:all .2s; display:block; }
.mobile-auth-login { color:white; border:1.5px solid rgba(255,255,255,.3); }
.mobile-auth-login:hover { border-color:white; }
.mobile-auth-signup { color:white; background:var(--orange); border:1.5px solid var(--orange); }
.mobile-auth-signup:hover { background:var(--orange-dk); }
.mobile-search { margin-top:24px; display:flex; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:4px; overflow:hidden; }
.mobile-search input { flex:1; background:none; border:none; outline:none; font-family:var(--sans); font-size:14px; color:white; padding:12px 16px; }
.mobile-search input::placeholder { color:#5a7a9a; }
.mobile-search button { background:none; border:none; cursor:pointer; color:#8998a8; padding:0 16px; transition:color .2s; }
.mobile-search button:hover { color:var(--orange); }

/* ===================================================
   RESPONSIVE — TABLET (max 900px)
=================================================== */
@media(max-width:900px){
  .main { grid-template-columns:1fr; }
  .featured--has-thumb { grid-template-columns:1fr; }
  .featured-media { min-height:180px; border-right:none; border-bottom:1px solid var(--rule); }
  .sidebar { position:static; }
  .footer-upper { grid-template-columns:1fr 1fr; gap:24px; }
  .masthead-nav { display:none; }
  .mh-search { display:none; }
  .hamburger { display:flex !important; flex-direction:column !important; }
}

/* ===================================================
   RESPONSIVE — MOBILE (max 600px)
=================================================== */
@media(max-width:600px){
  .topbar { display:none; }
  .masthead-inner { padding:0 16px; height:56px; }
  .brand-name { font-size:16px; }
  .brand-tag { display:none; }
  .brand-logo { width:28px; height:28px; }
  .cat-nav-inner { padding:0 12px; }
  .cat-nav a { font-size:11px; padding:10px 12px; }
  .hero { padding:40px 16px 36px; }
  .hero-title { font-size:clamp(22px,6vw,34px); }
  .hero-sub { font-size:13px; }
  .hero-eyebrow { font-size:10px; }
  .hero-stats { gap:20px; flex-wrap:wrap; }
  .hero-stat-num { font-size:22px; }
  .main { padding:24px 16px 40px; gap:24px; }
  .featured--has-thumb { min-height:auto; }
  .featured-media { min-height:160px; }
  .featured-body { padding:20px; }
  .featured-title { font-size:16px; }
  .featured-excerpt { font-size:13px; }
  .article-grid { grid-template-columns:1fr; gap:2px; }
  .article-card-wide { grid-template-columns:1fr; }
  .article-card-wide .article-card-thumb { min-height:140px; }
  .article-card-wide .article-card-body { padding:16px 20px; }
  .article-card-wide .article-card-title { font-size:15px; }
  .article-card-body { padding:16px 18px; }
  .sidebar { gap:16px; }
  .recent-item { grid-template-columns:44px 1fr; gap:8px; }
  .recent-thumb { width:44px; height:34px; font-size:15px; }
  .recent-title { font-size:11px; }
  .footer-upper { grid-template-columns:1fr; gap:28px; padding:32px 16px 28px; }
  .footer-lower { flex-direction:column; text-align:center; gap:6px; padding:16px; font-size:10px; }
  .load-more-wrap { padding:20px 0 4px; }
  .load-more-btn { font-size:12px; padding:10px 24px; }
  .section-hd-text { font-size:10px; }
  .post-content { padding:24px 20px; }
}

/* ===================================================
   PAGINATION FIX — kt-pagination
=================================================== */
.kt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 32px 0 8px;
  list-style: none !important;
}
.kt-pagination::before,
.kt-pagination::after { display: none !important; }

.kt-page-item {
  display: inline-flex !important;
  list-style: none !important;
}
.kt-page-item a,
.kt-page-item span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.kt-page-item a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.kt-page-item span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 2px;
}
.kt-page-item span.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 13px;
  color: var(--ink-faint);
}


/* ===================================================
   NO THUMBNAIL — class-based (no :has() needed)
=================================================== */
.article-card--no-thumb .article-card-body { border-top:3px solid var(--orange); padding-top:24px; }
.article-card-wide--no-thumb { grid-template-columns:1fr; }

/* ===================================================
   MOBILE SIGNUP — fixed button next to hamburger
=================================================== */
.mobile-signup-fixed {
  display: none !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: white !important;
  background: var(--orange) !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  letter-spacing: .3px !important;
  box-shadow: 0 2px 8px rgba(247,124,36,.4) !important;
  transition: background .2s, transform .1s;
}
.mobile-signup-fixed:hover {
  background: var(--orange-dk) !important;
  transform: translateY(-1px);
}

@media(max-width:900px) {
  .mobile-signup-fixed { display: inline-flex !important; align-items: center !important; }
}
