/*
Theme Name: Artis Theme v9
Description: Coursera-style professional theme for artis.co.il
Version: 9.0
Text Domain: artis
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --blue:    #0056d2;
  --blue-dk: #003d99;
  --blue-lt: #e8f0fc;
  --green:   #00875a;
  --red:     #e53935;
  --yellow:  #f9c846;
  --purple:  #8b5cf6;
  --orange:  #f97c3c;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-400:#94a3b8;
  --gray-600:#475569;
  --gray-800:#1e293b;
  --gray-900:#0f172a;
  --white:   #ffffff;
  --radius:  8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --font: 'Noto Sans Hebrew', 'Plus Jakarta Sans', sans-serif;
  --max-w: 1280px;
  --header-h: 90px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.site-logo img { height: 70px; width: auto; max-width: 260px; }
.site-logo .custom-logo { height: 70px; width: auto; max-width: 260px; }
.site-logo a { display: flex; align-items: center; }

/* Search bar */
.header-search {
  flex: 1;
  max-width: 480px;
}
.header-search form {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 24px;
  padding: 0 16px;
  gap: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.header-search form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,86,210,.1);
  background: var(--white);
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  direction: rtl;
  color: var(--gray-800);
}
.header-search input::placeholder { color: var(--gray-400); }
.header-search button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  padding: 0;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.header-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.header-nav a:hover { color: var(--blue); background: var(--blue-lt); }
.btn-join {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  transition: background .15s !important;
}
.btn-join:hover { background: var(--blue-dk) !important; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2744 50%, #0d3b6e 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,86,210,.3) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

/* Hero search */
.hero-search {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
}
.hero-search h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255,255,255,.9);
}
.hero-search form {
  display: flex;
  gap: 8px;
}
.hero-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.hero-search input::placeholder { color: rgba(255,255,255,.45); }
.hero-search input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.hero-search button {
  padding: 12px 20px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--blue-dk); }
.hero-quick-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-quick-links span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
}
.hero-quick-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.1);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .15s;
}
.hero-quick-links a:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════
   CATEGORIES STRIP
════════════════════════════════ */
.cats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cats-strip::-webkit-scrollbar { display: none; }
.cats-strip-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  min-width: max-content;
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  cursor: pointer;
}
.cat-pill:hover, .cat-pill.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ════════════════════════════════
   SECTION HEADER
════════════════════════════════ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.3px;
}
.section-head a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-head a:hover { color: var(--blue-dk); }

/* ════════════════════════════════
   ARTICLE CARDS
════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue);
  margin-bottom: 8px;
}
.card-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.45;
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: .78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.card-read-time { display: flex; align-items: center; gap: 4px; }

/* Card compact (horizontal) */
.card-compact {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow .2s;
}
.card-compact:hover { box-shadow: var(--shadow); }
.card-compact-img {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
}
.card-compact-img img { width: 100%; height: 100%; object-fit: cover; }
.card-compact-body { flex: 1; min-width: 0; }
.card-compact-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.card-compact-meta { font-size: .75rem; color: var(--gray-400); }

/* ════════════════════════════════
   CATEGORY SHOWCASE
════════════════════════════════ */
.cat-showcase {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.cat-card-featured {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dk) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.cat-card-featured .cat-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cat-card-featured h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.cat-card-featured p { font-size: .85rem; opacity: .8; flex: 1; }
.cat-card-featured a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  margin-top: 20px;
  transition: background .15s;
}
.cat-card-featured a:hover { background: rgba(255,255,255,.25); }
.cat-articles-list { display: flex; flex-direction: column; gap: 12px; }

/* ════════════════════════════════
   STATS BAR
════════════════════════════════ */
.stats-bar {
  background: var(--gray-900);
  color: var(--white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--white); }
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 4px; display: block; }

/* ════════════════════════════════
   TOPICS GRID (categories)
════════════════════════════════ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.topic-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s, transform .15s;
  cursor: pointer;
}
.topic-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-lt);
  transform: translateY(-1px);
}
.topic-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.topic-info { min-width: 0; }
.topic-name { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
.topic-count { font-size: .75rem; color: var(--gray-400); }

/* ════════════════════════════════
   PROMO BANNER
════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  color: var(--white);
}
.promo-banner h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.promo-banner p { font-size: .9rem; opacity: .75; }
.promo-banner a {
  background: var(--white);
  color: var(--blue-dk);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: opacity .15s;
}
.promo-banner a:hover { opacity: .9; }

/* ════════════════════════════════
   SINGLE POST
════════════════════════════════ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.single-header { margin-bottom: 32px; }
.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.single-breadcrumb a { color: var(--blue); }
.single-breadcrumb a:hover { text-decoration: underline; }
.single-cat-badge {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.single-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .82rem;
  color: var(--gray-400);
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 28px;
}
.single-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  overflow: hidden;
  aspect-ratio: 16/7;
}
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.entry-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-800);
}
.entry-content h2 { font-size: 1.4rem; font-weight: 700; margin: 2em 0 .7em; color: var(--gray-900); }
.entry-content h3 { font-size: 1.15rem; font-weight: 700; margin: 1.7em 0 .6em; color: var(--gray-900); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { margin: .8em 0 1.2em 1.5em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content blockquote {
  border-right: 3px solid var(--blue);
  padding: 12px 20px;
  background: var(--blue-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5em 0;
  font-style: italic;
}

/* Sidebar */
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-posts { display: flex; flex-direction: column; gap: 14px; }
.sidebar-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sidebar-post-num {
  width: 24px;
  height: 24px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sidebar-post-title {
  font-size: .83rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.4;
}
.sidebar-post-title:hover { color: var(--blue); }

/* ════════════════════════════════
   ARCHIVE
════════════════════════════════ */
.archive-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}
.archive-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.archive-header p { font-size: .9rem; color: var(--gray-600); max-width: 560px; }
.archive-meta { font-size: .8rem; color: var(--gray-400); margin-top: 8px; }

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 28px;
  gap: 16px;
}
.archive-count { font-size: .85rem; color: var(--gray-600); }
.archive-sort {
  display: flex;
  gap: 8px;
}
.sort-btn {
  padding: 6px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all .15s;
}
.sort-btn.active, .sort-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lt); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 220px repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .site-logo img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .85rem;
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}

/* ════════════════════════════════
   PAGINATION
════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  transition: all .15s;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lt); }
.pagination .current { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ════════════════════════════════
   UTILITIES
════════════════════════════════ */
.bg-gray { background: var(--gray-50); }
.text-blue { color: var(--blue); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .73rem;
  font-weight: 600;
}
.badge-blue { background: var(--blue-lt); color: var(--blue); }
.badge-green { background: #e6f4f1; color: var(--green); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-search { display: none; }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 1.8rem; }
  .header-search { display: none; }
  .header-nav a:not(.btn-join) { display: none; }
  .cat-showcase { grid-template-columns: 1fr; }
  .promo-banner { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { display: none; }
  .section { padding: 40px 0; }
}

/* ── Pagination plain links ── */
.pagination a, .pagination span,
.page-numbers { 
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border-radius: 6px; font-size: .85rem; font-weight: 500;
  border: 1px solid var(--gray-200); color: var(--gray-600);
  margin: 0 3px; transition: all .15s;
}
.page-numbers:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lt); }
.page-numbers.current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.page-numbers.dots { border: none; color: var(--gray-400); }

/* ── Category scroll row ── */
.cat-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-scroll-row::-webkit-scrollbar { display: none; }

.cat-scroll-card {
  flex: 0 0 200px;
  width: 200px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s, transform .15s;
  text-decoration: none;
}
.cat-scroll-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.cat-scroll-img {
  width: 200px;
  height: 120px;
  overflow: hidden;
  display: block;
  background: var(--gray-100);
}
.cat-scroll-img img {
  width: 200px !important;
  height: 120px !important;
  object-fit: cover !important;
  display: block !important;
}
.cat-scroll-img .cat-no-img {
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.cat-scroll-body { padding: 10px 12px; }
.cat-scroll-title {
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.cat-scroll-meta { font-size: .73rem; color: var(--gray-400); }

.cat-scroll-more {
  flex: 0 0 150px;
  width: 150px;
  height: 200px;
  border: 2px dashed var(--blue);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--blue);
  background: var(--blue-lt);
  transition: background .15s;
  font-size: .85rem;
  font-weight: 600;
}
.cat-scroll-more:hover { background: #d0e4fc; }
