/* ============================================================
   Kanil PRwire — Main Stylesheet v3.0
   PATH: assets/css/main.css
   Font: Plus Jakarta Sans
   Fully responsive — 320px (Galaxy Fold) to 4K displays
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Colors */
  --ink:  #0c0e12;
  --i2:   #353840;
  --i3:   #6c717d;
  --i4:   #9ca0a8;
  --bg:   #f8f7f5;
  --bg2:  #f1f0ed;
  --bg3:  #e8e7e3;
  --ln:   #d9d8d3;
  --wh:   #ffffff;
  --bl:   #1b4fdb;
  --bld:  #1239b0;
  --bll:  #edf1fc;
  --gn:   #16a34a;
  --gnl:  #dcfce7;
  --gnd:  #166534;
  --rd:   #dc2626;
  --rdl:  #fee2e2;
  --rdd:  #991b1b;
  --am:   #d97706;
  --aml:  #fef3c7;
  --amd:  #92400e;

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --mw:   1200px;
  --mw-wide: 1440px;
  --px:   clamp(16px, 5vw, 72px);
  --r:    6px;
  --r-sm: 3px;
  --r-lg: 10px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,0.04);
  --sh:    0 2px 14px rgba(0,0,0,0.06);
  --sh-lg: 0 6px 32px rgba(0,0,0,0.08);

  /* Transitions */
  --tr:    0.18s ease;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: var(--font);
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

em, i { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--bl);
  outline-offset: 2px;
}

::selection {
  background: var(--bl);
  color: #fff;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h2 {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
}
.h4 {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--ink);
}
.lead {
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--i2);
  font-weight: 400;
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl);
  margin-bottom: 12px;
  display: inline-block;
}

/* ── LAYOUT HELPERS ────────────────────────────────── */
.kw       { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px); }
.kw-wide  { max-width: var(--mw-wide); margin: 0 auto; padding: 0 var(--px); }
.s-pad    { padding: clamp(48px, 8vw, 96px) 0; }
.s-pad-sm { padding: clamp(32px, 5vw, 60px) 0; }

.flex        { display: flex; }
.flex-wrap   { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.gap-24      { gap: 24px; }
.mb-12       { margin-bottom: 12px; }
.mb-16       { margin-bottom: 16px; }
.mb-20       { margin-bottom: 20px; }
.mb-24       { margin-bottom: 24px; }
.mb-32       { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-muted  { color: var(--i3); }
.text-sm     { font-size: 13px; }

/* ── GRID SYSTEM (responsive by default) ─────────────── */
.grid       { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.g-2        { grid-template-columns: repeat(2, 1fr); }
.g-3        { grid-template-columns: repeat(3, 1fr); }
.g-4        { grid-template-columns: repeat(4, 1fr); }

/* Hero split layouts */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-split-sidebar {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 400px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  min-height: 44px;
  line-height: 1.2;
  text-align: center;
}
.btn-primary      { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover{ background: var(--bl);  border-color: var(--bl); }
.btn-outline      { background: transparent; color: var(--ink); border-color: var(--ln); }
.btn-outline:hover{ border-color: var(--ink); background: var(--bg2); }
.btn-blue         { background: var(--bl); color: #fff; border-color: var(--bl); }
.btn-blue:hover   { background: var(--bld); border-color: var(--bld); }
.btn-ghost        { background: transparent; color: var(--i2); border-color: transparent; }
.btn-ghost:hover  { background: var(--bg2); color: var(--ink); }
.btn-danger       { background: var(--rd); color: #fff; border-color: var(--rd); }
.btn-wa           { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-wa:hover     { background: #128a3c; border-color: #128a3c; }

.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }
.btn-lg { padding: 14px 28px; font-size: 15px; min-height: 52px; }

/* Button groups that wrap on mobile */
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FORM ELEMENTS ─────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-label .req { color: var(--rd); }
.form-input, .form-textarea, .form-select,
input[type="text"], input[type="email"], input[type="tel"],
input[type="url"], input[type="password"], input[type="search"],
input[type="date"], textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ln);
  border-radius: var(--r-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
}
.form-input:focus, .form-textarea:focus, .form-select:focus,
input:focus, textarea:focus, select:focus {
  border-color: var(--bl);
  box-shadow: 0 0 0 3px var(--bll);
}
.form-input::placeholder, textarea::placeholder, input::placeholder {
  color: var(--i3);
}
textarea { min-height: 100px; resize: vertical; }
.form-help { font-size: 11.5px; color: var(--i3); margin-top: 4px; display: block; }

/* ── FLASH MESSAGES ──────────────────────────────────── */
.flash {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
  margin: 12px 0;
  border: 1px solid transparent;
}
.flash-success { background: var(--gnl); color: var(--gnd); border-color: #bbf7d0; }
.flash-error   { background: var(--rdl); color: var(--rdd); border-color: #fecaca; }
.flash-info    { background: var(--bll); color: var(--bld); border-color: #bfdbfe; }
.flash-warning { background: var(--aml); color: var(--amd); border-color: #fde68a; }

/* ── BADGES ─────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
}
.badge-green   { background: var(--gnl); color: var(--gnd); }
.badge-blue    { background: var(--bll); color: var(--bld); }
.badge-amber   { background: var(--aml); color: var(--amd); }
.badge-red     { background: var(--rdl); color: var(--rdd); }
.badge-gray    { background: var(--bg3); color: var(--i3); }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--ln);
  transition: box-shadow var(--tr);
}
.site-header.scrolled { box-shadow: var(--sh); }

.header-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-logo { flex-shrink: 0; }
.header-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.header-nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;  /* CENTER aligned menu items */
  gap: 2px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--i2);
  padding: 8px 11px;
  border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: var(--bg2);
}
.nav-arrow {
  font-size: 11px;
  opacity: 0.55;
  transition: transform var(--tr);
  display: inline-block;
}

.has-dropdown { position: relative; }
.has-dropdown:hover .nav-arrow { transform: rotate(90deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 6px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  box-shadow: var(--sh-lg);
  z-index: 200;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--i2);
  border-radius: var(--r-sm);
  transition: all 0.12s;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.dropdown li a:hover {
  background: var(--bg2);
  color: var(--ink);
}
.dropdown-nested {
  left: 100%;
  top: -6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-phone {
  font-size: 13px;
  font-weight: 500;
  color: var(--i2);
  white-space: nowrap;
}
.header-phone:hover { color: var(--bl); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: var(--r-sm);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ln);
  cursor: pointer;
  transition: background 0.15s;
}
.hamburger:hover { background: var(--bg2); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--tr);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* ═══════════════════════════════════════════════════════
   HERO SECTIONS
   ═══════════════════════════════════════════════════════ */
.hero-section {
  padding: clamp(48px, 10vw, 110px) 0 clamp(40px, 7vw, 80px);
  border-bottom: 1px solid var(--ln);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ln) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--i2);
  background: #fff;
  border: 1px solid var(--ln);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: clamp(14px, 3vw, 24px);
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--bl);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.hero-text-max { max-width: 540px; }

/* Hero right-side card */
.hero-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
  position: relative;
}
.hero-card-badge {
  position: absolute;
  top: -14px;
  right: -6px;
  background: #0a6b49;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-align: center;
  box-shadow: 0 8px 24px rgba(10,107,73,0.2);
  z-index: 2;
}
.hero-card-badge strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-card-badge span {
  font-size: 11px;
  opacity: 0.82;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.hero-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--bg2);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--bg3);
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-item .dot {
  width: 8px;
  height: 8px;
  background: var(--bl);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.hero-card-item .t {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.hero-card-item .d {
  font-size: 12px;
  color: var(--i3);
}

/* Hero stat grid (about page) */
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ln);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
}
.hero-stat-cell {
  background: #fff;
  padding: clamp(18px, 3vw, 30px) 16px;
  text-align: center;
}
.hero-stat-cell strong {
  display: block;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-cell span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--i3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════ */
.trust-bar { background: var(--ink); }
.trust-grid {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(12px, 3vw, 28px);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-item:last-child { border-right: none; }
.trust-item .dot {
  display: block;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   LOGO MARQUEE
   ═══════════════════════════════════════════════════════ */
.logos-section {
  background: #fff;
  border-bottom: 1px solid var(--ln);
  padding: clamp(22px, 3.5vw, 36px) 0;
}
.logos-label {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--i3);
  margin-bottom: clamp(14px, 2.5vw, 22px);
}
.logos-overflow {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--i3);
  white-space: nowrap;
  padding: 0 clamp(14px, 2.5vw, 26px);
  transition: color var(--tr);
  border-right: 1px solid var(--ln);
}
.logo-name:hover { color: var(--bl); }

/* ═══════════════════════════════════════════════════════
   WHY US / FEATURES GRID
   ═══════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
}
.feature-cell {
  padding: clamp(20px, 3vw, 36px);
  background: #fff;
  border-right: 1px solid var(--ln);
  border-bottom: 1px solid var(--ln);
}
.feature-cell:nth-child(2n)   { border-right: none; }
.feature-cell:nth-last-child(-n+2) { border-bottom: none; }
.feature-cell .n {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--bg3);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.feature-cell .t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-cell .d {
  font-size: 13px;
  line-height: 1.7;
  color: var(--i3);
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ln);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
}
.process-step {
  background: #fff;
  padding: clamp(20px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-step .n {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--bl);
  letter-spacing: 0.12em;
}
.process-step .t {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.process-step .d {
  font-size: 13px;
  line-height: 1.7;
  color: var(--i3);
}

/* ═══════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════ */
.stats-bar { background: var(--ink); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px);
}
.stat-item {
  padding: clamp(24px, 4vw, 46px) clamp(14px, 3vw, 28px);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.025em;
}
.stat-number span { color: #4d7cff; }
.stat-label {
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: clamp(18px, 3vw, 28px);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.card:hover {
  border-color: rgba(27,79,219,0.3);
  box-shadow: 0 4px 18px rgba(27,79,219,0.05);
}

/* Blog / article cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.blog-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(27,79,219,0.3);
  box-shadow: 0 4px 18px rgba(27,79,219,0.06);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg2);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: clamp(14px, 2vw, 22px);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-card-meta {
  font-size: 11.5px;
  color: var(--i3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bll);
  color: var(--bld);
  border-radius: 3px;
}
.blog-card-title {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.38;
}
.blog-card-title a:hover { color: var(--bl); }
.blog-card-excerpt {
  font-size: 13px;
  color: var(--i3);
  line-height: 1.6;
}
.blog-card-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-placeholder span {
  font-size: 11px;
  font-weight: 700;
  color: var(--i3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* PR horizontal cards */
.pr-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: clamp(16px, 2.5vw, 26px);
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.pr-card:hover {
  border-color: rgba(27,79,219,0.3);
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.pr-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--i3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.pr-title {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  margin-bottom: 7px;
}
.pr-title a:hover { color: var(--bl); }
.pr-excerpt {
  font-size: 13px;
  color: var(--i3);
  line-height: 1.65;
}
.pr-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bl);
  background: var(--bll);
  border: 1.5px solid var(--bll);
  padding: 9px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all var(--tr);
  min-height: 36px;
}
.pr-btn:hover {
  background: var(--bl);
  color: #fff;
  border-color: var(--bl);
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px) 0;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ln);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--i2);
  background: #fff;
  transition: all var(--tr);
}
.page-btn:hover {
  border-color: var(--bl);
  color: var(--bl);
}
.page-btn.active {
  background: var(--bl);
  color: #fff;
  border-color: var(--bl);
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════ */
.single-hero {
  padding: clamp(40px, 7vw, 84px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--ln);
  background: var(--bg);
}
.single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.single-meta {
  font-size: 12px;
  color: var(--i3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.single-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bll);
  color: var(--bld);
  border-radius: 3px;
}
.single-featured {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: var(--r);
  margin: clamp(22px, 4vw, 36px) 0;
}

.post-content {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--i2);
}
.post-content h2 {
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
  letter-spacing: -0.01em;
}
.post-content h3 {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.post-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.4em 0 0.4em;
}
.post-content p { margin-bottom: 1.3em; }
.post-content ul, .post-content ol {
  padding-left: 1.4em;
  margin-bottom: 1.3em;
}
.post-content li { margin-bottom: 0.4em; }
.post-content blockquote {
  border-left: 3px solid var(--bl);
  padding: 10px 18px;
  margin: 1.4em 0;
  color: var(--i3);
  background: var(--bll);
  border-radius: 0 var(--r) var(--r) 0;
}
.post-content a {
  color: var(--bl);
  text-decoration: underline;
}
.post-content img {
  border-radius: var(--r);
  margin: 1.4em 0;
  max-width: 100%;
}
.post-content strong {
  font-weight: 700;
  color: var(--ink);
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--ln);
  margin: 1.8em 0;
}

/* PR Source Box */
.pr-source-box {
  background: var(--bg2);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: clamp(18px, 3vw, 26px);
  margin-top: clamp(28px, 5vw, 44px);
}
.pr-source-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--i3);
  margin-bottom: 10px;
}
.pr-source-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pr-source-about {
  font-size: 14px;
  color: var(--i2);
  line-height: 1.7;
  margin-bottom: 12px;
}
.pr-source-contact {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--i3);
}
.pr-source-contact a:hover { color: var(--bl); }

/* Single post with sidebar */
.single-with-sidebar {
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--px) clamp(48px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.single-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sb-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
}
.sb-card-header {
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--i3);
  border-bottom: 1px solid var(--ln);
  background: var(--bg2);
}
.sb-card-body { padding: 14px; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand {
  padding: clamp(24px, 4vw, 42px) clamp(18px, 3vw, 28px);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-desk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--tr);
  border-radius: var(--r-sm);
  width: fit-content;
}
.footer-desk-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-contact-area {
  padding: clamp(24px, 4vw, 42px) clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-tagline {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.footer-contacts {
  display: flex;
  gap: clamp(14px, 3vw, 40px);
  flex-wrap: wrap;
  align-items: center;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  transition: opacity var(--tr);
}
.footer-contact-item:hover { opacity: 0.82; }
.fci-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.fci-icon.mail { background: #d97706; }
.fci-icon.wa   { background: #16a34a; }
.footer-contact-item small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.footer-contact-item span {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.footer-mid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-mid-blank {
  border-right: 1px solid rgba(255,255,255,0.07);
}
.footer-col {
  padding: clamp(20px, 3vw, 34px) clamp(16px, 2.5vw, 26px);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.footer-col:last-child { border-right: none; }
.footer-col-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  transition: color var(--tr);
  display: inline-block;
  padding: 2px 0;
}
.footer-links a:hover { color: rgba(255,255,255,0.88); }
.footer-nl-desc {
  font-size: 12.5px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.42);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 270px;
}
.newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 100%;
  min-height: 40px;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.28);
}
.newsletter-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.28);
}
.newsletter-form button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--tr);
  cursor: pointer;
  min-height: 40px;
}
.newsletter-form button:hover {
  background: var(--bl);
  color: #fff;
  border-color: var(--bl);
}
.nl-msg { font-size: 12px; margin-top: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--px);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p, .footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }
.footer-bottom p a { color: rgba(255,255,255,0.35); }

/* ═══════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════ */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.not-found-num {
  font-size: clamp(64px, 14vw, 140px);
  font-weight: 800;
  color: var(--bg3);
  line-height: 1;
  letter-spacing: -0.04em;
}
.not-found h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 10px 0 8px;
}
.not-found p {
  color: var(--i3);
  margin-bottom: 24px;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */

/* Large desktop / small laptop */

/* ═══════════════════════════════════════════════════════
   LOGO WORDMARK (text fallback) — v4.2
   ═══════════════════════════════════════════════════════ */
.logo-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  line-height: 1;
}
.logo-wordmark-k { color: var(--ink); }
.logo-wordmark-pr { color: var(--bl); margin-left: 2px; }

/* ═══════════════════════════════════════════════════════
   MOBILE-ONLY ELEMENTS (hidden on desktop by default)
   ═══════════════════════════════════════════════════════ */
.mobile-nav-header { display: none; }
.mobile-nav-cta    { display: none; }
.nav-backdrop      { display: none; }

@media (max-width: 1200px) {
  .hero-split-sidebar {
    grid-template-columns: 1fr minmax(300px, 360px);
    gap: clamp(24px, 4vw, 48px);
  }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .header-phone { display: none; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .trust-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-mid   { grid-template-columns: 1fr 1fr 1fr; }
  .footer-mid-blank { display: none; }
  .footer-top   { grid-template-columns: 1fr; }
  .footer-brand {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .single-with-sidebar { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-cell {
    border-right: none;
    border-bottom: 1px solid var(--ln);
  }
  .feature-cell:last-child { border-bottom: none; }
}

/* Tablet portrait / large phone */
@media (max-width: 820px) {
  .hero-split,
  .hero-split-sidebar {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }
  .hero-text-max { max-width: 100%; }
  .g-2 { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {

  .pr-card {
    grid-template-columns: 1fr;
  }
  .pr-btn {
    width: fit-content;
    margin-top: 10px;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .footer-col { padding: 18px; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .trust-item:last-child { border-bottom: none; }
}

/* Small phone */
@media (max-width: 540px) {
  :root {
    --px: clamp(14px, 4vw, 24px);
  }

  .footer-mid      { grid-template-columns: 1fr; }
  .footer-contacts { flex-direction: column; align-items: flex-start; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .g-3, .g-4       { grid-template-columns: 1fr; }

  .hero-card-badge {
    position: static;
    margin-bottom: 12px;
    display: inline-block;
  }
  .hero-stat-grid { grid-template-columns: 1fr; }

  .btn { width: 100%; }
  .btn-group .btn { flex: 1; min-width: 140px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Very small / foldable (Galaxy Fold closed) */
@media (max-width: 360px) {
  :root {
    --px: 14px;
  }
  .h1 { font-size: 26px; }
  .h2 { font-size: 20px; }
  .hero-section { padding: 36px 0 32px; }
  .s-pad { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 20px 14px; }
  .stat-item:last-child { border-bottom: none; }
  .header-logo img { height: 28px; }
}

/* Ultra-wide displays */
@media (min-width: 1600px) {
  :root {
    --mw: 1280px;
  }
}

/* Accessibility: reduced motion */

/* ═══════════════════════════════════════════════════════
   MOBILE MENU v4.2 — activates at 1024px (tablet & phone)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .header-inner {
    height: 60px;
    gap: 12px;
  }

  /* Hide desktop-only header items */
  .header-phone,
  .header-login-btn,
  .header-wa-btn {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Mobile nav slides in from right */
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85%, 360px);
    max-width: 85vw;
    background: #fff;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    -webkit-overflow-scrolling: touch;
    flex: none;
  }
  .header-nav.open {
    transform: translateX(0);
  }

  /* Mobile nav header (inside menu — close button) */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--ln);
    margin-bottom: 8px;
  }
  .mobile-nav-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--i3);
    font-weight: 600;
  }
  .mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    padding: 4px 12px;
    border-radius: var(--r-sm);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav-close:hover { background: var(--bg2); }

  /* Mobile CTA section inside menu */
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 24px;
    margin-top: 12px;
    border-top: 1px solid var(--ln);
  }
  .mobile-cta-link {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg2);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
  }
  .mobile-cta-link:hover { background: var(--bg3); }

  /* Backdrop overlay (shown when menu open) */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
  }
  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Nav list vertical */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 8px;
  }
  .nav-link {
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid var(--bg2);
    border-radius: 0;
    justify-content: space-between;
    min-height: 52px;
    font-size: 15px;
  }
  .nav-link:hover,
  .nav-link.active {
    background: var(--bg2);
  }

  /* Dropdown inside mobile menu */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--bl);
    margin-left: 12px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, visibility 0.32s;
    min-width: 0;
    background: var(--bg);
  }
  .has-dropdown.open > .dropdown {
    visibility: visible;
    max-height: 600px;
  }
  .has-dropdown.open > .nav-link .nav-arrow {
    transform: rotate(90deg);
  }
  .dropdown li a {
    padding: 12px 14px;
    min-height: 44px;
    font-size: 14px;
    border-bottom: 1px solid var(--bg2);
    border-radius: 0;
  }
  .dropdown li:last-child a { border-bottom: none; }
  .dropdown-nested {
    left: 0;
    top: 0;
    margin-left: 0;
    border-left-width: 2px;
    border-left-color: var(--gn);
    max-height: 0;
  }
  .has-dropdown .has-dropdown.open > .dropdown-nested {
    max-height: 400px;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .logos-track { animation: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hamburger, .btn { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
/* ═══════════════════════════════════════════════════════════
   ROUND 2 — SINGLE POST TEMPLATES STYLES
   ═══════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────
   PRESS RELEASE TEMPLATE (GlobeNewswire white hero style)
   ──────────────────────────────────────────────────────── */

.pr-hero {
  background: #ffffff;
  padding: clamp(32px, 5vw, 52px) var(--px) clamp(24px, 4vw, 36px);
  border-bottom: 1px solid var(--ln);
}
.pr-hero-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding-left: calc(52px + clamp(20px, 3vw, 34px));
  padding-right: calc(240px + clamp(20px, 3vw, 34px));
}
.pr-h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 14px;
}
.pr-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--i2);
  line-height: 1.55;
  font-style: italic;
  max-width: 720px;
}

.pr-main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 240px;
  gap: 0;
  background: #fff;
  max-width: var(--mw);
  margin: 0 auto;
  border-bottom: 1px solid var(--ln);
}

/* Left share column */
.pr-share-col {
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--ln);
  background: var(--bg2);
  position: sticky;
  top: 0;
  align-self: start;
  height: auto;
}
.pr-share-vh {
  font-size: 9px;
  color: var(--i3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  margin-bottom: 6px;
}
.pr-share-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.pr-share-icon:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Center content */
.pr-content-col {
  padding: 24px clamp(20px, 3vw, 34px) 36px;
  min-width: 0;
}

.pr-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--i2);
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ln);
}
.pr-meta-bar b { color: var(--ink); font-weight: 700; }
.pr-meta-bar a { color: var(--bl); text-decoration: underline; }
.pr-meta-divider { color: var(--i3); }
.pr-follow-btn {
  margin-left: auto;
  background: var(--bl);
  color: #fff !important;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.12s;
}
.pr-follow-btn:hover { background: var(--bld); }

.pr-feat-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  display: block;
}

.pr-body-content {
  font-size: 15px;
  line-height: 1.78;
  color: var(--i2);
}
.pr-body-content p { margin-bottom: 14px; }
.pr-body-content a { color: var(--bl); text-decoration: underline; }
.pr-body-content h2, .pr-body-content h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: 700;
}
.pr-body-content h2 { font-size: 22px; }
.pr-body-content h3 { font-size: 18px; }
.pr-body-content ul, .pr-body-content ol {
  margin: 10px 0 14px 22px;
}
.pr-body-content li { margin-bottom: 5px; }
.pr-body-content blockquote {
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--bl);
  margin: 14px 0;
  font-style: italic;
  color: var(--i2);
  font-size: 15px;
}
.pr-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 14px 0;
}

.pr-about-box {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid var(--bl);
}
.pr-about-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pr-about-box p {
  font-size: 13.5px;
  color: var(--i2);
  line-height: 1.65;
}

.pr-contact-box {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  border-left: 3px solid var(--bl);
  border-radius: var(--r-sm);
}
.pr-contact-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pr-contact-box p {
  font-size: 13px;
  color: var(--i2);
  line-height: 1.6;
  margin-bottom: 2px;
}
.pr-contact-box a { color: var(--bl); text-decoration: none; }
.pr-contact-box a:hover { text-decoration: underline; }

.pr-tags-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ln);
}
.pr-tags-h {
  font-size: 11px;
  color: var(--i3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.pr-tag {
  display: inline-block;
  font-size: 12px;
  background: #e6f1f9;
  color: var(--bld);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid #c5dff0;
  margin: 0 5px 6px 0;
}

.pr-bottom-share {
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pr-bottom-share-h {
  font-size: 12px;
  color: var(--i3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pr-bottom-share-icons {
  display: flex;
  gap: 8px;
}

/* Right sidebar */
.pr-sidebar-col {
  padding: 22px 18px;
  border-left: 1px solid var(--ln);
  background: var(--bg2);
  min-width: 0;
}
.pr-sb-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ln);
}
.pr-sb-section:last-child { border-bottom: none; }
.pr-sb-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pr-sb-source-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--bl);
  margin-bottom: 8px;
}
.pr-sb-links, .pr-sb-recent {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pr-sb-links li, .pr-sb-recent li {
  padding: 4px 0;
}
.pr-sb-links a, .pr-sb-recent a {
  font-size: 13px;
  color: var(--bl);
  text-decoration: none;
  line-height: 1.5;
  display: block;
}
.pr-sb-links a:hover, .pr-sb-recent a:hover { text-decoration: underline; }
.pr-sb-recent a { font-size: 12.5px; color: var(--i2); }
.pr-sb-recent a:hover { color: var(--bl); }

.pr-sb-cta {
  background: var(--ink);
  padding: 16px;
  border-radius: var(--r-sm);
  border: none;
}
.pr-sb-cta-h {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.pr-sb-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.pr-sb-cta-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  text-decoration: none !important;
}

/* Recommended Reading section */
.pr-rec-section {
  padding: clamp(32px, 5vw, 48px) var(--px);
  background: #fff;
  border-top: 1px solid var(--ln);
  max-width: var(--mw);
  margin: 0 auto;
}
.pr-rec-h {
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.pr-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.pr-rec-card {
  padding: 16px 18px;
  border: 1px solid var(--ln);
  border-radius: var(--r-sm);
  background: #fff;
}
.pr-rec-meta {
  font-size: 11px;
  color: var(--i3);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.pr-rec-meta b { color: var(--ink); font-weight: 700; }
.pr-rec-card-h {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
}
.pr-rec-card-d {
  font-size: 13px;
  color: var(--i2);
  line-height: 1.55;
  margin-bottom: 10px;
}
.pr-rec-link {
  font-size: 12px;
  color: var(--bl);
  font-weight: 600;
  text-decoration: none;
}
.pr-rec-link:hover { text-decoration: underline; }

/* ────────────────────────────────────────────────────────
   INDUSTRY VOICE TEMPLATE (magazine style)
   ──────────────────────────────────────────────────────── */

.iv-text-hero {
  background: #fff;
  padding: clamp(32px, 5vw, 52px) var(--px) clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--ln);
}
.iv-text-hero-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.iv-breadcrumb {
  font-size: 12px;
  color: var(--i3);
  margin-bottom: 10px;
}
.iv-breadcrumb a { color: var(--bl); text-decoration: none; }
.iv-breadcrumb a:hover { text-decoration: underline; }
.iv-bc-sep { margin: 0 6px; color: var(--i3); }
.iv-cat-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #E6F1FB;
  color: var(--bld);
  padding: 4px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  font-weight: 600;
}
.iv-h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 860px;
}

.iv-meta-bar {
  background: #fff;
  border-bottom: 1px solid var(--ln);
  padding: 14px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--mw);
  margin: 0 auto;
  box-sizing: border-box;
}
.iv-author-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.iv-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gnd);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}
.iv-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.iv-author-date {
  font-size: 11px;
  color: var(--i3);
  margin-top: 2px;
}
.iv-rt {
  font-size: 11px;
  color: var(--i3);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.iv-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(20px, 3vw, 36px);
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) var(--px);
}

.iv-content-col { min-width: 0; }

/* IV featured image in content */
.iv-feat-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r);
  margin-bottom: 24px;
  display: block;
}
.iv-body-content {
  font-size: 16px;
  line-height: 1.78;
  color: var(--i2);
}
.iv-body-content p { margin-bottom: 14px; }
.iv-body-content a { color: var(--bl); text-decoration: underline; }
.iv-body-content h2, .iv-body-content h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.iv-body-content h2 { font-size: 22px; }
.iv-body-content h3 { font-size: 18px; }
.iv-body-content ul, .iv-body-content ol { margin: 10px 0 14px 22px; }
.iv-body-content li { margin-bottom: 5px; }
.iv-body-content blockquote {
  padding: 12px 0 12px 18px;
  border-left: 3px solid var(--gnd);
  margin: 16px 0;
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
}
.iv-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 14px 0;
}

.iv-tags-row {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--ln);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.iv-tags-label {
  font-size: 12px;
  color: var(--i3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.iv-tag {
  font-size: 12px;
  background: #E6F1FB;
  color: var(--bld);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 500;
}
.iv-tag:hover { background: var(--bl); color: #fff; }

.iv-share-row {
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--ln);
  border-bottom: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.iv-share-h {
  font-size: 12px;
  color: var(--i3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.iv-share-icons { display: flex; gap: 6px; }
.iv-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.12s;
}
.iv-share-btn:hover { transform: scale(1.08); }

.iv-sidebar-col {
  position: sticky;
  top: 20px;
  align-self: start;
  min-width: 0;
}
.iv-sb-card {
  background: var(--bg2);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 16px;
}
.iv-sb-h {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.iv-sb-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.iv-sb-topics a {
  font-size: 12px;
  background: #fff;
  color: var(--i2);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ln);
  text-decoration: none;
}
.iv-sb-topics a:hover { background: var(--bl); color: #fff; border-color: var(--bl); }

.iv-sb-related-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--ln);
  text-decoration: none;
  color: var(--ink);
}
.iv-sb-related-item:last-child { border-bottom: none; }
.iv-sb-related-item img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.iv-sb-related-ph {
  width: 60px;
  height: 45px;
  background: var(--bg3);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.iv-sb-related-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
  color: var(--ink);
}
.iv-sb-related-item:hover .iv-sb-related-title { color: var(--bl); }
.iv-sb-related-date { font-size: 10.5px; color: var(--i3); }

.iv-sb-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.iv-sb-cta-h {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.iv-sb-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.iv-sb-cta-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  text-decoration: none !important;
}

/* Sub-category filter bar */
.iv-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.iv-filter-chip {
  font-size: 13px;
  padding: 6px 14px;
  background: var(--bg2);
  color: var(--i2);
  border-radius: 100px;
  border: 1px solid var(--ln);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.12s;
}
.iv-filter-chip:hover { background: #fff; border-color: var(--bl); color: var(--bl); }
.iv-filter-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ────────────────────────────────────────────────────────
   AGENCY BLOG TEMPLATE (editorial with TOC)
   ──────────────────────────────────────────────────────── */

.ab-hero-section {
  background: #fff;
  padding: clamp(32px, 5vw, 52px) var(--px) clamp(24px, 4vw, 36px);
  border-bottom: 1px solid var(--ln);
}
.ab-hero-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.ab-breadcrumb {
  font-size: 12px;
  color: var(--i3);
  margin-bottom: 10px;
}
.ab-breadcrumb a { color: var(--bl); text-decoration: none; }
.ab-breadcrumb a:hover { text-decoration: underline; }
.ab-bc-sep { margin: 0 6px; color: var(--i3); }
.ab-cat-pill {
  display: inline-block;
  font-size: 11px;
  background: #E1F5EE;
  color: #085041;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.ab-h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--ink);
  max-width: 900px;
}

.ab-author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  max-width: 520px;
}
.ab-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gnd);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.ab-author-info { flex: 1; min-width: 0; }
.ab-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.ab-author-meta {
  font-size: 12px;
  color: var(--i3);
}
.ab-editorial-pill {
  font-size: 10px;
  background: #E6F1FB;
  color: var(--bld);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ab-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) var(--px);
}

.ab-toc-col { min-width: 0; }
.ab-toc-wrap {
  position: sticky;
  top: 20px;
}
.ab-toc-h {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--i3);
  font-weight: 700;
  margin-bottom: 12px;
}
.ab-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--ln);
}
.ab-toc-item {
  padding: 0;
  margin-left: -1px;
  border-left: 2px solid transparent;
}
.ab-toc-item a {
  display: block;
  padding: 6px 0 6px 12px;
  font-size: 12.5px;
  color: var(--i2);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.12s;
}
.ab-toc-item a:hover { color: var(--bl); }
.ab-toc-item.active {
  border-left-color: var(--bl);
}
.ab-toc-item.active a {
  color: var(--bl);
  font-weight: 600;
}
.ab-toc-l3 a { padding-left: 22px; font-size: 11.5px; }

.ab-content-col { min-width: 0; }
.ab-feat-img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin-bottom: 20px;
  display: block;
}

.ab-body-content {
  font-size: 16px;
  line-height: 1.78;
  color: var(--i2);
  max-width: 760px;
}
.ab-body-content p { margin-bottom: 14px; }
.ab-body-content a { color: var(--bl); text-decoration: underline; }
.ab-body-content h2, .ab-body-content h3 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
  scroll-margin-top: 20px;
}
.ab-body-content h2 { font-size: 24px; }
.ab-body-content h3 { font-size: 19px; }
.ab-body-content ul, .ab-body-content ol { margin: 12px 0 16px 22px; }
.ab-body-content li { margin-bottom: 5px; }
.ab-body-content blockquote {
  padding: 10px 0 10px 18px;
  border-left: 3px solid var(--bl);
  margin: 18px 0;
  font-style: italic;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
}
.ab-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 16px 0;
}
.ab-body-content pre, .ab-body-content code {
  background: var(--bg2);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-size: 0.9em;
}
.ab-body-content pre {
  padding: 14px 16px;
  overflow-x: auto;
  margin: 14px 0;
}

.ab-tags-row {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--ln);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ab-tags-label {
  font-size: 12px;
  color: var(--i3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ab-tag {
  font-size: 12px;
  background: var(--bg2);
  color: var(--i2);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ln);
}

.ab-newsletter-cta {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 24px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  text-align: center;
}
.ab-nl-h {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ab-nl-d {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.ab-nl-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.ab-nl-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--r-sm);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.ab-nl-form button {
  padding: 10px 20px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}
.ab-nl-form button:hover { background: #15803d; }
.ab-nl-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.ab-bottom-share {
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ab-bottom-share-h {
  font-size: 12px;
  color: var(--i3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ab-share-icons { display: flex; gap: 6px; }
.ab-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.12s;
}
.ab-share-btn:hover { transform: scale(1.08); }

.ab-related-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ln);
}
.ab-related-h {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.ab-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.ab-related-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  border-radius: var(--r-sm);
  text-decoration: none;
  align-items: flex-start;
}
.ab-related-card:hover { background: #fff; border-color: var(--bl); }
.ab-related-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.ab-related-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 4px;
}
.ab-related-date { font-size: 10.5px; color: var(--i3); }

/* ────────────────────────────────────────────────────────
   DIGITAL STAGE TEMPLATE (showcase)
   ──────────────────────────────────────────────────────── */

.ds-hero {
  padding: clamp(36px, 6vw, 64px) var(--px) clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #3C3489, #185FA5);
  color: #fff;
  text-align: center;
}
.ds-hero-events     { background: linear-gradient(135deg, #3C3489, #7F77DD); }
.ds-hero-awards     { background: linear-gradient(135deg, #854F0B, #EF9F27); }
.ds-hero-milestones { background: linear-gradient(135deg, #0F6E56, #5DCAA5); }

.ds-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.ds-section-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ds-h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: #fff;
}
.ds-meta-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ds-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ds-meta-ic {
  font-size: 14px;
}
.ds-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

.ds-body-wrap {
  padding: clamp(32px, 5vw, 52px) var(--px);
  background: #fff;
}
.ds-article {
  max-width: 820px;
  margin: 0 auto;
}

.ds-feat-img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin-bottom: 22px;
  display: block;
}

.ds-body-content {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--i2);
}
.ds-body-content p { margin-bottom: 14px; }
.ds-body-content a { color: var(--bl); text-decoration: underline; }
.ds-body-content h2, .ds-body-content h3 {
  margin: 24px 0 12px;
  color: var(--ink);
  font-weight: 700;
}
.ds-body-content h2 { font-size: 22px; }
.ds-body-content h3 { font-size: 18px; }
.ds-body-content ul, .ds-body-content ol { margin: 10px 0 14px 22px; }
.ds-body-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: #EEEDFE;
  border-radius: var(--r);
  font-size: 16px;
  font-style: italic;
  color: #26215C;
  border-left: 3px solid #3C3489;
  line-height: 1.6;
}
.ds-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 14px 0;
}

.ds-share-row {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ds-share-h {
  font-size: 12px;
  color: var(--i3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ds-share-icons { display: flex; gap: 6px; }
.ds-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
}

.ds-cta {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  text-align: center;
}
.ds-cta-h {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ds-cta-d {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.ds-cta-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  text-decoration: none !important;
}
.ds-cta-btn:hover { background: #15803d; }

.ds-related-section {
  padding: clamp(32px, 5vw, 52px) var(--px);
  background: var(--bg);
  border-top: 1px solid var(--ln);
}
.ds-related-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.ds-related-h {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  text-align: center;
}
.ds-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.ds-related-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
  display: block;
}
.ds-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.ds-related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.ds-related-ph {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #3C3489, #185FA5);
}
.ds-related-body { padding: 12px 14px; }
.ds-related-date {
  font-size: 11px;
  color: var(--i3);
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}
.ds-related-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.ds-related-more { text-align: center; }

/* Digital Stage listing - filter chips & section blocks */
.ds-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  flex-wrap: wrap;
}
.ds-filter-chip {
  font-size: 13px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.12s;
}
.ds-filter-chip:hover { background: rgba(255, 255, 255, 0.25); }
.ds-filter-chip.active {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ds-section-block { padding: clamp(32px, 5vw, 56px) 0; }
.ds-section-header {
  text-align: center;
  margin-bottom: 26px;
}
.ds-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ds-section-icon {
  font-size: 24px;
}
.ds-section-title h2 { margin: 0; }
.ds-section-d {
  font-size: 14px;
  color: var(--i3);
  max-width: 520px;
  margin: 0 auto;
}

/* ────────────────────────────────────────────────────────
   CLIENT STORY TEMPLATE (case study)
   ──────────────────────────────────────────────────────── */

.cs-hero {
  background: #fff;
  padding: clamp(36px, 5vw, 56px) var(--px) clamp(22px, 4vw, 32px);
  border-bottom: 1px solid var(--ln);
}
.cs-hero-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.cs-pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #FCEBEB;
  color: #791F1F;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  font-weight: 600;
  margin-bottom: 12px;
}
.cs-h1 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
  max-width: 900px;
}
.cs-tagline {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--i2);
  line-height: 1.55;
  max-width: 720px;
}

.cs-client-block {
  background: var(--bg2);
  padding: clamp(20px, 3vw, 28px) var(--px);
  border-bottom: 1px solid var(--ln);
}
.cs-client-inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
}
.cs-logo {
  width: 68px;
  height: 68px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--ln);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.cs-client-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.cs-client-industry {
  font-size: 13px;
  color: var(--i2);
  margin-bottom: 4px;
}
.cs-client-meta {
  font-size: 12px;
  color: var(--i3);
}

.cs-body-wrap {
  padding: clamp(28px, 4vw, 44px) var(--px);
  background: #fff;
}
.cs-article {
  max-width: 820px;
  margin: 0 auto;
}
.cs-feat-img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin-bottom: 22px;
}
.cs-body-content {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--i2);
}
.cs-body-content p { margin-bottom: 12px; }
.cs-body-content a { color: var(--bl); text-decoration: underline; }
.cs-body-content h2, .cs-body-content h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-weight: 700;
}
.cs-body-content h2 { font-size: 20px; }
.cs-body-content h3 { font-size: 17px; }
.cs-body-content ul, .cs-body-content ol { margin: 10px 0 14px 22px; }
.cs-body-content blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--bg2);
  border-left: 3px solid #791F1F;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--ink);
  font-size: 15px;
}
.cs-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 14px 0;
}

.cs-verified-note {
  margin-top: 22px;
  padding: 14px 18px;
  background: #E1F5EE;
  border: 1px solid #9FE1CB;
  border-radius: var(--r);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cs-verified-badge {
  font-size: 11px;
  background: #0F6E56;
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  white-space: nowrap;
}
.cs-verified-note p {
  font-size: 12.5px;
  color: #085041;
  line-height: 1.55;
  margin: 0;
}

.cs-cta {
  margin-top: 26px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  text-align: center;
}
.cs-cta-h {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cs-cta-d {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.cs-cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cs-cta-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  text-decoration: none !important;
}
.cs-cta-primary { background: #16a34a; color: #fff !important; }
.cs-cta-primary:hover { background: #15803d; }
.cs-cta-secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cs-cta-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.cs-related-section {
  padding: clamp(32px, 5vw, 52px) var(--px);
  background: var(--bg);
  border-top: 1px solid var(--ln);
}
.cs-related-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.cs-related-h {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  text-align: center;
}
.cs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.cs-related-card {
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 16px 18px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
  display: block;
}
.cs-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.cs-related-date {
  font-size: 11px;
  color: var(--i3);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.cs-related-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
}
.cs-related-excerpt {
  font-size: 13px;
  color: var(--i2);
  line-height: 1.55;
  margin-bottom: 8px;
}
.cs-related-link {
  font-size: 12px;
  color: var(--bl);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE & TABLET
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* PR */
  .pr-main { grid-template-columns: 1fr; }
  .pr-hero-inner { padding-left: var(--px); padding-right: var(--px); }
  .pr-share-col {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--ln);
    padding: 10px;
    justify-content: center;
    position: static;
    background: var(--bg2);
  }
  .pr-share-vh {
    writing-mode: initial;
    transform: none;
    margin-bottom: 0;
    margin-right: 6px;
  }
  .pr-sidebar-col {
    border-left: none;
    border-top: 1px solid var(--ln);
    padding: 24px var(--px);
  }

  /* IV */
  .iv-main { grid-template-columns: 1fr; }
  .iv-sidebar-col { position: static; }

  /* AB */
  .ab-main { grid-template-columns: 1fr; }
  .ab-toc-col { order: 2; }
  .ab-toc-wrap { position: static; }
  .ab-toc-list { max-height: 200px; overflow-y: auto; }
}

@media (max-width: 640px) {
  .ab-h1, .cs-h1 { font-size: 22px; }
  .pr-h1, .ds-h1, .iv-h1 { font-size: 22px; }
  .pr-body-content, .ab-body-content, .iv-body-content, .ds-body-content, .cs-body-content { font-size: 15px; }

  .pr-meta-bar { font-size: 12px; }
  .pr-follow-btn { margin-left: 0; }

  .iv-cover-hero { min-height: 260px; padding: 60px var(--px) 20px; }

  .cs-client-inner { grid-template-columns: 52px 1fr; gap: 12px; }
  .cs-logo { width: 52px; height: 52px; font-size: 14px; }

  .ab-author-card { flex-wrap: wrap; }
  .ab-editorial-pill { margin-left: auto; }
}