@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --bg: #f0f4ff;
  --bg-alt: #e8eefc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --accent: #f59e0b;
  --accent-2: #10b981;
  --rose: #ec4899;
  --border: #dbe3f0;
  --shadow: 0 10px 40px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1280px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #f8fafc 40%, #fff 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-2);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 1.25rem, var(--max));
  margin: 0 auto;
  padding-inline: 0.25rem;
}

/* Top bar */
.top-bar {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 50%, var(--rose) 100%);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}

.logo:hover {
  color: var(--brand);
  text-decoration: none;
}

.logo-wordmark {
  width: clamp(190px, 24vw, 250px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(37, 99, 235, 0.12));
}

.footer-brand .logo-wordmark {
  width: clamp(220px, 28vw, 280px);
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.16));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--bg-alt);
  color: var(--brand);
  text-decoration: none;
}

/* Main */
.site-main {
  padding: 0 0 2rem;
}

/* Hero (homepage) */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 45%, #7c3aed 75%, #db2777 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.2), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.12rem;
  opacity: 0.95;
  margin: 0 0 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #1e293b;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-alt);
  color: var(--brand);
}

.btn-ghost:hover {
  background: #dbeafe;
  color: var(--brand-2);
}

.btn-tool {
  background: #0f766e;
  color: #ecfeff;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.28);
}

.btn-tool:hover {
  background: #0d9488;
  color: #f0fdfa;
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.35);
}

/* Blogs archive */
.page-blogs .blogs-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 55%, #db2777 100%);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
  margin-bottom: 2rem;
}

.page-blogs .blogs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.35rem 0 0.75rem;
}

.page-blogs .blogs-hero .hero-lead {
  max-width: 640px;
  margin: 0;
  opacity: 0.95;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-muted {
  background: var(--bg-alt);
  padding: 2.5rem 0 3rem;
  margin-top: 0.5rem;
}

.card-popular-wrap .card-body {
  position: relative;
}

.card-popular {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #f59e0b);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Sections */
.section {
  padding: 0 0 2rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 420px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-alt), #dbeafe);
}

.card-thumb img,
.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-thumb-placeholder {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd, #f9a8d4);
}

.card:hover .card-thumb img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #ede9fe;
  color: #5b21b6;
}

.tag-usa { background: #dbeafe; color: #1d4ed8; }
.tag-uk { background: #fce7f3; color: #be185d; }
.tag-canada { background: #d1fae5; color: #047857; }
.tag-australia { background: #ffedd5; color: #c2410c; }

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--brand);
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
}

.card p:not(.meta) {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  flex: 1;
}

.read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  margin-top: auto;
}

.read-more::after {
  content: " →";
}

.center {
  text-align: center;
  margin-top: 2.5rem;
}

/* Article / page */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 1.5rem 0 1rem;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: #cbd5e1;
}

.article-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--bg-alt);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0.5rem 0 0;
  color: var(--text);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.article-meta .date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-tags {
  margin: 0;
}

.page-intro {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0;
}

.featured-image {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
  line-height: 0;
}

.featured-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.post-reactions {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.post-reactions-prompt {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.post-reactions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.post-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.post-reaction-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.post-reaction-btn:disabled {
  cursor: default;
  opacity: 1;
}

.post-reaction-icon {
  display: inline-flex;
  line-height: 0;
}

.post-reaction-count {
  min-width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.post-reaction-like.is-active {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
}

.post-reaction-dislike.is-active {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.post-reactions-msg {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.author-bio {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.author-bio-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.author-bio-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.author-bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.author-bio-intro {
  min-width: 0;
}

.author-bio-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.author-bio-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.author-bio-role {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.author-bio-meta {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.author-bio-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.author-bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.author-bio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.author-bio-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.author-bio-btn-linkedin {
  background: #0a66c2;
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.28);
}

.author-bio-btn-linkedin:hover {
  background: #004182;
  color: #fff;
}

.author-bio-btn-email {
  background: #fff;
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.author-bio-btn-email:hover {
  background: #eff6ff;
  color: var(--brand-2);
  border-color: rgba(37, 99, 235, 0.5);
}

/* Prose content */
.content.prose {
  font-size: 1.05rem;
  color: var(--text-soft);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.content.prose h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--text);
  margin: 2rem 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.content.prose h3 {
  font-size: 1.2rem;
  color: var(--brand);
  margin: 1.5rem 0 0.75rem;
}

.content.prose p {
  margin: 0 0 1.15rem;
}

.content.prose ul,
.content.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.content.prose li {
  margin-bottom: 0.45rem;
}

.content.prose img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.content.prose figure {
  margin: 1.5rem 0;
}

.content.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content.prose th {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
}

.content.prose td {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  background: var(--surface);
}

.content.prose tr:nth-child(even) td {
  background: #f8fafc;
}

.content.prose a {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.content.prose a:hover {
  color: var(--brand-2);
  border-bottom-color: var(--brand-2);
}

.content.prose a.internal-link {
  color: #0f766e;
  border-bottom-color: rgba(15, 118, 110, 0.35);
}

.content.prose a.internal-link:hover {
  color: #0d9488;
  border-bottom-color: #0d9488;
}

.article-summary {
  background: #ecfeff;
  border: 1px solid #99f6e4;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin: 0 0 1.1rem;
}

.article-summary p {
  margin: 0;
  color: #115e59;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.content.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: #fffbeb;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
}

/* Category archive */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-list li:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.list-thumb {
  width: 80px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-list a {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.post-list a:hover {
  color: var(--brand);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.85rem 0;
  }

  .logo-wordmark {
    width: clamp(170px, 58vw, 230px);
  }

  .top-bar {
    font-size: 0.72rem;
    padding: 0.45rem 0.65rem;
    line-height: 1.35;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .site-nav a {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
    text-align: center;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand .logo-wordmark {
    width: clamp(190px, 66vw, 250px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .btn {
    width: 100%;
    justify-content: center;
  }

  .article-header h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .author-bio-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-bio-avatar {
    width: 80px;
    height: 80px;
  }

  .author-bio-links {
    width: 100%;
  }

  .author-bio-btn {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .post-reactions-actions {
    flex-direction: column;
  }

  .post-reaction-btn {
    width: 100%;
    justify-content: center;
  }

  .article-wrap {
    padding: 1.15rem;
  }

  .content.prose {
    font-size: 1rem;
  }

  .content.prose h2 {
    display: block;
    font-size: 1.35rem;
  }

  .content.prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .post-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .list-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 769px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  :root {
    --max: 1360px;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  :root {
    --max: 1440px;
  }

  .page-home .card-grid,
  .page-blogs .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
