/**
 * Medium-Style Modern Editorial Styles for GetSSLCerts Blog
 * Inspired by Medium, Substack, and Stripe Blog.
 * Scoped strictly to blog index, archives, and single posts.
 */

:root {
  --gsc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gsc-color-slate-900: #0F172A;
  --gsc-color-slate-800: #1E293B;
  --gsc-color-slate-700: #334155;
  --gsc-color-slate-600: #475569;
  --gsc-color-slate-500: #64748B;
  --gsc-color-slate-400: #94A3B8;
  --gsc-color-slate-200: #E2E8F0;
  --gsc-color-slate-100: #F1F5F9;
  --gsc-color-slate-50:  #F8FAFC;
  --gsc-color-brand-blue: #1A3D73;
  --gsc-color-brand-dark: #122D5B;
  --gsc-color-emerald:    #10B981;
  --gsc-color-emerald-dark: #059669;
  --gsc-color-emerald-light: rgba(16, 185, 129, 0.08);
}

/* ==========================================================================
   1. Reading Progress Bar (Fixed Top)
   ========================================================================== */
.gsc-reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #1A3D73 0%, #10B981 100%);
  z-index: 999999;
  transition: width 0.08s ease-out;
  box-shadow: 0 1px 6px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   2. Layout & Shell
   ========================================================================== */
.gsc-medium-page {
  font-family: var(--gsc-font-sans);
  color: var(--gsc-color-slate-700);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gsc-medium-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.gsc-medium-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 340px;
  gap: 56px;
  align-items: start;
  margin-top: 24px;
  margin-bottom: 72px;
}

/* ==========================================================================
   3. Single Article Editorial Header (Medium-Style)
   ========================================================================== */
.gsc-editorial-hero {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--gsc-color-slate-200);
  padding: 36px 0 28px;
  margin-bottom: 32px;
  position: relative;
}

.gsc-editorial-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.gsc-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.gsc-editorial-hero .gsc-breadcrumbs {
  font-size: 13px;
  color: var(--gsc-color-slate-500);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gsc-editorial-hero .gsc-breadcrumbs a {
  color: var(--gsc-color-slate-600);
  text-decoration: none;
  transition: color 0.15s;
}

.gsc-editorial-hero .gsc-breadcrumbs a:hover {
  color: var(--gsc-color-brand-blue);
}

.gsc-editorial-hero .gsc-breadcrumbs span.sep {
  color: var(--gsc-color-slate-400);
}

.gsc-topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF3FA;
  color: var(--gsc-color-brand-blue);
  border: 1px solid rgba(26, 61, 115, 0.15);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0;
  text-decoration: none;
  transition: all 0.15s ease;
}

.gsc-topic-badge:hover {
  background: var(--gsc-color-brand-blue);
  color: #FFFFFF;
}

.gsc-editorial-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--gsc-color-slate-900);
  margin: 0 0 14px;
}

.gsc-editorial-standfirst {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gsc-color-slate-600);
  font-weight: 400;
  margin: 0 0 22px;
  max-width: 880px;
}

/* Byline Bar */
.gsc-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--gsc-color-slate-200);
  border-bottom: 1px solid var(--gsc-color-slate-200);
  flex-wrap: wrap;
  gap: 16px;
}

.gsc-byline-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gsc-author-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gsc-color-brand-dark) 0%, var(--gsc-color-brand-blue) 100%);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(18, 45, 91, 0.15);
  flex-shrink: 0;
}

.gsc-author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gsc-author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gsc-color-slate-900);
}

.gsc-author-pill {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gsc-color-brand-blue);
  background: #EBF3FA;
  padding: 2px 7px;
  border-radius: 4px;
}

.gsc-post-meta-sub {
  font-size: 13px;
  color: var(--gsc-color-slate-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-byline-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Share Action Buttons - bulletproof against global theme styles */
.gsc-share-btn,
button.gsc-share-btn,
html [type="button"].gsc-share-btn,
html button.gsc-share-btn,
a.gsc-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  padding: 0 !important;
  line-height: 1 !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #475569 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: all 0.15s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.gsc-share-btn:hover,
button.gsc-share-btn:hover,
html [type="button"].gsc-share-btn:hover,
a.gsc-share-btn:hover {
  background: #F8FAFC !important;
  color: var(--gsc-color-brand-blue) !important;
  border-color: var(--gsc-color-brand-blue) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(26, 61, 115, 0.12) !important;
}

.gsc-share-btn svg {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  fill: currentColor !important;
  display: block !important;
  pointer-events: none !important;
}

.gsc-share-btn.is-copied {
  background: #E6F4EA !important;
  border-color: #10B981 !important;
  color: #047857 !important;
}
  color: var(--gsc-color-slate-600);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gsc-share-btn:hover {
  background: #FFFFFF;
  color: var(--gsc-color-brand-blue);
  border-color: var(--gsc-color-brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.gsc-share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.gsc-share-copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gsc-color-slate-900);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 99999;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gsc-share-copy-toast.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   4. Editorial Body Typography (The Reading Experience)
   ========================================================================== */
.gsc-editorial-body {
  font-size: 18.5px;
  line-height: 1.82;
  color: #242424;
  letter-spacing: -0.003em;
}

.gsc-editorial-body p {
  margin: 0 0 24px;
}

.gsc-editorial-body h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--gsc-color-slate-900);
  margin: 48px 0 18px;
  scroll-margin-top: 90px;
}

.gsc-editorial-body h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--gsc-color-slate-900);
  margin: 36px 0 14px;
  scroll-margin-top: 90px;
}

.gsc-editorial-body strong {
  font-weight: 700;
  color: var(--gsc-color-slate-900);
}

.gsc-editorial-body em {
  font-style: italic;
}

.gsc-editorial-body blockquote {
  border-left: 3.5px solid var(--gsc-color-brand-blue);
  background: var(--gsc-color-slate-50);
  padding: 18px 26px;
  margin: 32px 0;
  border-radius: 0 10px 10px 0;
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: var(--gsc-color-slate-800);
}

.gsc-editorial-body blockquote p:last-child {
  margin-bottom: 0;
}

.gsc-editorial-body hr {
  border: 0;
  border-top: 1px solid var(--gsc-color-slate-200);
  margin: 44px 0;
}

.gsc-editorial-body ul,
.gsc-editorial-body ol {
  margin: 0 0 28px;
  padding-left: 26px;
}

.gsc-editorial-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.gsc-editorial-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14.5px;
  background: var(--gsc-color-slate-100);
  color: var(--gsc-color-slate-900);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.06);
}

.gsc-editorial-body pre {
  background: var(--gsc-color-slate-900);
  color: #E2E8F0;
  padding: 22px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  overflow-x: auto;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Scoped Editorial Table Styling (Medium/Stripe Style) */
.gsc-editorial-body .gsc-table-responsive {
  margin: 32px 0;
  border-radius: 12px;
  border: 1px solid var(--gsc-color-slate-200);
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gsc-table-header-banner {
  background: linear-gradient(135deg, var(--gsc-color-brand-dark) 0%, var(--gsc-color-brand-blue) 100%);
  color: #FFFFFF;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-editorial-body table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
  border: none !important;
}

.gsc-editorial-body table thead th {
  background: #F1F5F9 !important;
  color: var(--gsc-color-slate-900) !important;
  font-weight: 700 !important;
  padding: 14px 18px !important;
  text-align: left !important;
  border: none !important;
  border-bottom: 2px solid var(--gsc-color-slate-200) !important;
  white-space: nowrap;
}

.gsc-editorial-body table tbody td {
  padding: 14px 18px !important;
  border: none !important;
  border-bottom: 1px solid var(--gsc-color-slate-200) !important;
  color: var(--gsc-color-slate-700) !important;
  vertical-align: top !important;
  background: transparent !important;
}

.gsc-editorial-body table tbody tr:nth-child(even) td {
  background: #F8FAFC !important;
}

.gsc-editorial-body table tbody tr:last-child td {
  border-bottom: none !important;
}

.gsc-editorial-body table tbody td.col-criteria {
  font-weight: 700 !important;
  color: var(--gsc-color-slate-900) !important;
  background: #F8FAFC !important;
  min-width: 140px;
}

/* Editorial Workflow Component */
.gsc-workflow-card {
  background: var(--gsc-color-slate-50);
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 32px 0;
}

.gsc-workflow-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gsc-color-brand-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gsc-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .gsc-workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gsc-workflow-steps {
    grid-template-columns: 1fr;
  }
}

.gsc-workflow-step {
  background: #FFFFFF;
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gsc-workflow-step.is-success {
  background: #F0FDF4;
  border: 1.5px solid var(--gsc-color-emerald);
}

.gsc-workflow-step-icon {
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1;
}

.gsc-workflow-step-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gsc-color-slate-900);
  margin-bottom: 3px;
}

.gsc-workflow-step.is-success .gsc-workflow-step-name {
  color: #065F46;
}

.gsc-workflow-step-desc {
  font-size: 12px;
  color: var(--gsc-color-slate-500);
}

.gsc-workflow-step.is-success .gsc-workflow-step-desc {
  color: #047857;
}

/* Editorial Terminal / Code Cards */
.gsc-terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 680px) {
  .gsc-terminal-grid {
    grid-template-columns: 1fr;
  }
}

.gsc-terminal-card {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: 12px;
  padding: 20px 22px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
}

.gsc-terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gsc-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.gsc-terminal-dot.dot-red { background: #EF4444; }
.gsc-terminal-dot.dot-yellow { background: #F59E0B; }
.gsc-terminal-dot.dot-green { background: #10B981; }

.gsc-terminal-badge {
  color: #94A3B8;
  font-size: 11px;
  margin-left: 8px;
  font-family: var(--gsc-font-sans);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gsc-terminal-badge.badge-success {
  color: #34D399;
}

.gsc-terminal-line {
  color: #94A3B8;
  margin-bottom: 4px;
}

.gsc-terminal-note {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  font-size: 11.5px;
  color: #64748B;
}

.gsc-terminal-note.note-success {
  color: #34D399;
}

/* Decision Framework Cards (3-Column Clean Grid) */
.gsc-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .gsc-decision-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.gsc-decision-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gsc-decision-card.card-dv {
  border: 1.5px solid #CBD5E1;
}

.gsc-decision-card.card-ov {
  border: 1.5px solid var(--gsc-color-brand-blue);
}

.gsc-decision-card.card-ev {
  border: 1.5px solid var(--gsc-color-emerald);
}

.gsc-decision-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gsc-decision-tier-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-dv .gsc-decision-tier-label { color: var(--gsc-color-slate-500); }
.card-ov .gsc-decision-tier-label { color: var(--gsc-color-brand-blue); }
.card-ev .gsc-decision-tier-label { color: #047857; }

.gsc-decision-card-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  color: var(--gsc-color-slate-900) !important;
  line-height: 1.35 !important;
}

.gsc-decision-card-list {
  padding-left: 18px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--gsc-color-slate-600) !important;
}

.gsc-decision-card-list li {
  margin-bottom: 8px !important;
}

.gsc-decision-card-list li:last-child {
  margin-bottom: 0 !important;
}

/* FAQ Accordion-Style Cards */
.gsc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

.gsc-faq-item {
  background: var(--gsc-color-slate-50);
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color 0.15s ease;
}

.gsc-faq-item:hover {
  border-color: #CBD5E1;
}

.gsc-faq-question {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: var(--gsc-color-slate-900) !important;
  margin: 0 0 8px !important;
  line-height: 1.4 !important;
}

.gsc-faq-answer {
  margin: 0 !important;
  color: var(--gsc-color-slate-600) !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

/* Modern Callout / Highlight Boxes */
.gsc-callout {
  padding: 18px 22px;
  border-radius: 10px;
  margin: 28px 0;
  border: 1px solid transparent;
}

.gsc-callout.callout-emerald {
  background: #F0FDF4;
  border-left: 4px solid var(--gsc-color-emerald);
  border-color: #DCFCE7 #DCFCE7 #DCFCE7 var(--gsc-color-emerald);
}

.gsc-callout.callout-blue {
  background: #F0F7FF;
  border-left: 4px solid var(--gsc-color-brand-blue);
  border-color: #E0EBF7 #E0EBF7 #E0EBF7 var(--gsc-color-brand-blue);
}

.gsc-callout-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout-emerald .gsc-callout-title { color: #065F46; }
.callout-blue .gsc-callout-title { color: var(--gsc-color-brand-blue); }

.gsc-callout p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--gsc-color-slate-700) !important;
}

/* ==========================================================================
   5. Modern Sticky Sidebar & Table of Contents (TOC)
   ========================================================================== */
.gsc-sticky-sidebar-rail {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* TOC Card */
.gsc-toc-card {
  background: #FFFFFF;
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.gsc-toc-header {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gsc-color-slate-500);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.gsc-toc-item a {
  display: block;
  font-size: 13.5px;
  color: var(--gsc-color-slate-600);
  text-decoration: none;
  line-height: 1.45;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
}

.gsc-toc-item a:hover {
  color: var(--gsc-color-brand-blue);
  background: var(--gsc-color-slate-50);
}

.gsc-toc-item.is-active a {
  color: var(--gsc-color-brand-blue);
  font-weight: 700;
  background: #EBF3FA;
  border-left-color: var(--gsc-color-brand-blue);
}

/* ==========================================================================
   6. Redesigned Modern Conversion Pathways
   ========================================================================== */

/* Modern Catalog Promo Card */
.gsc-modern-catalog-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--gsc-color-slate-50) 100%);
  border: 1.5px solid var(--gsc-color-brand-blue);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 61, 115, 0.06);
}

.gsc-modern-catalog-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gsc-color-brand-blue);
  background: #EBF3FA;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.gsc-modern-catalog-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gsc-color-slate-900);
  margin: 0 0 8px;
}

.gsc-modern-catalog-desc {
  font-size: 13px;
  color: var(--gsc-color-slate-600);
  line-height: 1.5;
  margin: 0 0 16px;
}

.gsc-modern-btn-primary {
  display: block;
  width: 100%;
  background: var(--gsc-color-brand-blue);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(26, 61, 115, 0.25);
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.gsc-modern-btn-primary:hover {
  background: var(--gsc-color-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26, 61, 115, 0.35);
}

/* Modern Interactive SSL Wizard Card */
.gsc-modern-wizard-card {
  background: #FFFFFF;
  border: 1.5px solid #10B981;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.gsc-modern-wizard-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
  background: #E6F4EA;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.gsc-modern-wizard-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gsc-color-slate-900);
  margin: 0 0 8px;
}

.gsc-modern-wizard-desc {
  font-size: 13px;
  color: var(--gsc-color-slate-600);
  line-height: 1.5;
  margin: 0 0 16px;
}

.gsc-modern-btn-emerald {
  display: block;
  width: 100%;
  background: var(--gsc-color-emerald);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.gsc-modern-btn-emerald:hover {
  background: var(--gsc-color-emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* Category Cloud Card */
.gsc-category-cloud-card {
  background: #FFFFFF;
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 14px;
  padding: 22px;
}

.gsc-category-cloud-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gsc-color-slate-500);
  margin-bottom: 14px;
}

.gsc-category-cloud-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gsc-category-cloud-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gsc-color-slate-100);
}

.gsc-category-cloud-list li:last-child {
  border-bottom: none;
}

.gsc-category-cloud-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--gsc-color-slate-700);
  text-decoration: none;
  transition: color 0.15s;
}

.gsc-category-cloud-list a:hover {
  color: var(--gsc-color-brand-blue);
}

.gsc-cat-count-badge {
  font-size: 11px;
  background: var(--gsc-color-slate-100);
  color: var(--gsc-color-slate-500);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ==========================================================================
   7. Post Footer & Recommended Reading Grid
   ========================================================================== */
.gsc-author-bio-card {
  background: var(--gsc-color-slate-50);
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 14px;
  padding: 28px;
  margin-top: 56px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.gsc-author-bio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gsc-color-brand-blue);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gsc-author-bio-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--gsc-color-slate-900);
  margin: 0 0 6px;
}

.gsc-author-bio-desc {
  font-size: 14px;
  color: var(--gsc-color-slate-600);
  line-height: 1.55;
  margin: 0;
}

.gsc-post-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gsc-color-slate-200);
}

.gsc-nav-link-box {
  background: var(--gsc-color-slate-50);
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 10px;
  padding: 16px 20px;
  text-decoration: none !important;
  display: block;
  transition: all 0.15s ease;
}

.gsc-nav-link-box:hover {
  background: #FFFFFF;
  border-color: var(--gsc-color-brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.gsc-nav-dir-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gsc-color-slate-400);
  display: block;
  margin-bottom: 4px;
}

.gsc-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gsc-color-slate-900);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   8. Modern Blog Index (Medium-Style Feed)
   ========================================================================== */
.gsc-blog-index-hero {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--gsc-color-slate-200);
  margin-bottom: 36px;
  text-align: center;
}

.gsc-blog-index-pill {
  display: inline-block;
  background: #EBF3FA;
  color: var(--gsc-color-brand-blue);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.gsc-blog-index-h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--gsc-color-slate-900);
  margin: 0 0 16px;
  letter-spacing: -0.025em;
}

.gsc-blog-index-sub {
  font-size: 18px;
  color: var(--gsc-color-slate-600);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Horizontal Sticky Topic Pill Filter */
.gsc-topic-filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 16px;
  justify-content: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gsc-topic-filter-bar::-webkit-scrollbar {
  display: none;
}

.gsc-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  background: var(--gsc-color-slate-100);
  color: var(--gsc-color-slate-700) !important;
  transition: all 0.15s ease;
}

.gsc-filter-pill:hover {
  background: var(--gsc-color-slate-200);
  color: var(--gsc-color-slate-900) !important;
}

.gsc-filter-pill.is-active {
  background: var(--gsc-color-brand-blue);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(26, 61, 115, 0.25);
}

/* Medium-Style Main Feed Grid */
.gsc-blog-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

/* Story Feed Items */
.gsc-story-feed {
  display: flex;
  flex-direction: column;
}

.gsc-feed-article {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gsc-color-slate-200);
  align-items: start;
  transition: transform 0.15s ease;
}

.gsc-feed-article:first-child {
  padding-top: 0;
}

.gsc-feed-content {
  display: flex;
  flex-direction: column;
}

.gsc-feed-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gsc-color-slate-500);
  margin-bottom: 10px;
}

.gsc-feed-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gsc-color-brand-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gsc-feed-author-name {
  font-weight: 600;
  color: var(--gsc-color-slate-800);
}

.gsc-feed-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--gsc-color-slate-900);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.gsc-feed-title a {
  color: var(--gsc-color-slate-900);
  text-decoration: none;
  transition: color 0.15s ease;
}

.gsc-feed-title a:hover {
  color: var(--gsc-color-brand-blue);
}

.gsc-feed-snippet {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gsc-color-slate-600);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gsc-feed-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--gsc-color-slate-500);
  flex-wrap: wrap;
}

.gsc-feed-category-pill {
  background: var(--gsc-color-slate-100);
  color: var(--gsc-color-slate-700);
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
}

.gsc-feed-category-pill:hover {
  background: var(--gsc-color-slate-200);
}

.gsc-feed-thumb-wrap {
  width: 180px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gsc-color-slate-100);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.gsc-feed-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
  display: block;
}

.gsc-feed-article:hover .gsc-feed-thumb-wrap img {
  transform: scale(1.04);
}

/* Trending on Insights Sidebar List */
.gsc-trending-card {
  background: #FFFFFF;
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 14px;
  padding: 24px;
}

.gsc-trending-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gsc-color-slate-900);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gsc-trending-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gsc-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gsc-trending-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gsc-color-slate-300);
  line-height: 1;
  font-feature-settings: "tnum";
}

.gsc-trending-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gsc-trending-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--gsc-color-slate-900);
  text-decoration: none;
  transition: color 0.15s;
}

.gsc-trending-item-title:hover {
  color: var(--gsc-color-brand-blue);
}

.gsc-trending-meta {
  font-size: 12px;
  color: var(--gsc-color-slate-500);
}

/* Quick Tools Box in Sidebar */
.gsc-tools-hub-box {
  background: var(--gsc-color-slate-50);
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 14px;
  padding: 22px;
}

.gsc-tools-hub-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gsc-color-slate-900);
  margin: 0 0 14px;
}

.gsc-tool-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gsc-tool-pill-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--gsc-color-slate-200);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gsc-color-slate-800);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.gsc-tool-pill-link:hover {
  border-color: var(--gsc-color-brand-blue);
  color: var(--gsc-color-brand-blue);
  transform: translateX(2px);
}

/* ==========================================================================
   9. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .gsc-medium-reading-grid,
  .gsc-blog-feed-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gsc-sticky-sidebar-rail {
    position: static;
  }
}

@media (max-width: 640px) {
  .gsc-editorial-hero {
    padding: 28px 0 20px;
  }

  .gsc-editorial-body {
    font-size: 17px;
    line-height: 1.75;
  }

  .gsc-feed-article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gsc-feed-thumb-wrap {
    width: 100%;
    height: 180px;
  }

  .gsc-byline-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
