:root {
  --primary: #111827;
  --secondary: #374151;
  --accent: #e85d04;
  --accent-2: #f97316;
  --background: #fff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
.fw-800 {
  font-weight: 800;
}
.fw-700 {
  font-weight: 700;
}
.text-muted {
  color: var(--muted) !important;
}
.bg-surface {
  background: var(--surface);
}
.site-header {
  background: color-mix(in srgb, var(--background) 92%, transparent);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
}
.navbar-brand {
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}
.navbar-brand span,
.display-title span,
.display-6 span {
  color: var(--accent);
}
.nav-link {
  font-weight: 650;
  color: var(--secondary);
  padding: 0.65rem 0.85rem !important;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  transition: 0.2s;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-section {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
}
.display-title {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.94;
  max-width: 900px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hero-kicker i {
  color: var(--accent);
}
.featured-card,
.post-card,
.quote-card,
.newsletter-card,
.form-card,
.author-box,
.info-card,
.stat-card,
.topic-card,
.comment-card,
.mini-post,
.media-card {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-card {
  box-shadow: var(--shadow);
}
.visual {
  position: relative;
  overflow: hidden;
}
.featured-image {
  height: 450px;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  color: #fff;
}
.featured-image:before {
  content: "01";
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-size: 7rem;
  line-height: 1;
  font-weight: 800;
  opacity: 0.12;
}
.featured-image span {
  background: rgba(255, 255, 255, 0.14);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
}
.hero-stack {
  display: grid;
  gap: 1rem;
}
.hero-side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--background);
}
.hero-side-thumb {
  height: 105px;
  border-radius: 14px;
}
.post-card {
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.post-card:hover,
.topic-card:hover,
.mini-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.post-image {
  height: 240px;
}
.post-card h3,
.post-card h2 {
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0.55rem 0;
}
.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 650;
}
.text-link {
  font-weight: 800;
  color: var(--text);
}
.text-link:hover {
  color: var(--accent);
}
.section-heading {
  border-bottom: 0;
}
.section-rule {
  height: 1px;
  background: var(--border);
}
.quote-card {
  padding: 2.5rem;
}
.newsletter-card {
  position: relative;
}
.newsletter-card:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(232, 93, 4, 0.08);
  right: -70px;
  top: -80px;
}
.site-footer a {
  display: block;
  color: var(--muted);
  margin-top: 0.55rem;
}
.socials {
  display: flex;
  gap: 0.7rem;
}
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.footer-main {
  padding: 4rem 0;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.page-hero {
  border-bottom: 1px solid var(--border);
}
.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--muted);
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.category-pills button {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
}
.category-pills button.active,
.category-pills button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.blog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 10;
  background: color-mix(in srgb, var(--background) 94%, transparent);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.featured-post-wide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--background);
}
.featured-post-wide .wide-image {
  min-height: 430px;
}
.wide-copy {
  padding: 2.5rem;
}
.list-post {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--background);
}
.list-thumb {
  min-height: 190px;
  border-radius: 16px;
}
.topic-card {
  padding: 1.5rem;
  height: 100%;
  transition: 0.25s;
}
.topic-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.35rem;
}
.stat-card {
  padding: 1.4rem;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.empty-state {
  border: 1px dashed var(--border);
  border-radius: 20px;
}
.article-title {
  font-size: clamp(2.9rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 800;
  max-width: 1050px;
}
.article-dek {
  font-size: 1.35rem;
  color: var(--muted);
  max-width: 780px;
}
.article-cover {
  height: 520px;
  border-radius: var(--radius);
}
.article-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 760px);
  gap: 2rem;
  justify-content: center;
}
.article-share {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.share-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 50%;
}
.article-content {
  font-size: 1.12rem;
}
.article-content p {
  margin-bottom: 1.35rem;
}
.article-content h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 2.8rem;
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.45rem;
  font-weight: 700;
  background: var(--surface);
  border-radius: 0 14px 14px 0;
}
.article-content .content-callout {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
}
.article-image-break {
  height: 330px;
  border-radius: 20px;
  margin: 2.5rem 0;
}
.tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag-list span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}
.author-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
}
.avatar,
.author-portrait {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.author-portrait {
  height: 500px;
  border-radius: var(--radius);
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}
.author-portrait:after {
  content: "WRITER • DESIGNER • OBSERVER";
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #fff;
}
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -2.08rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px var(--background),
    0 0 0 6px var(--border);
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.skill-list span {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
}
.contact-item {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--background);
  display: flex;
  gap: 1rem;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.2rem;
}
.form-control {
  border-color: var(--border);
  background: var(--background);
  color: var(--text);
  border-radius: 12px;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(232, 93, 4, 0.12);
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark {
  border-color: var(--border);
  color: var(--text);
  font-weight: 700;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  background: var(--background);
  color: var(--text);
  text-align: left;
  font-weight: 800;
}
.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.error-code {
  font-size: 10rem;
  font-weight: 800;
  letter-spacing: -0.1em;
  color: var(--accent);
}
.error-orbit {
  width: 160px;
  height: 160px;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: grid;
  place-items: center;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2000;
}
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--background);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
}
.dark-only {
  display: none;
}
:root[data-theme="dark"] {
  --background: #0b1120;
  --surface: #111827;
  --surface-2: #172033;
  --text: #f9fafb;
  --secondary: #cbd5e1;
  --muted: #94a3b8;
  --border: #243047;
  --primary: #f9fafb;
}
.site-header,
.form-control,
.icon-btn,
.category-pills button,
.share-btn,
.contact-item,
.faq-item button {
  background: var(--background);
}
:root[data-theme="dark"] .btn-primary {
  background: #f9fafb;
  color: #111827;
  border-color: #f9fafb;
}
:root[data-theme="dark"] .btn-outline-dark {
  color: #f9fafb;
  border-color: #334155;
}
:root[data-theme="dark"] .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .featured-post-wide,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .wide-image {
    min-height: 330px !important;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-share {
    flex-direction: row;
  }
  .article-cover {
    height: 390px;
  }
  .blog-toolbar {
    top: 70px;
  }
  .hero-side-card {
    grid-template-columns: 95px 1fr;
  }
}
@media (max-width: 767.98px) {
  .list-post {
    grid-template-columns: 1fr;
  }
  .list-thumb {
    min-height: 220px;
  }
  .display-title {
    font-size: 3.25rem;
  }
  .featured-image,
  .article-cover {
    height: 320px;
  }
  .author-portrait {
    height: 360px;
  }
  .error-code {
    font-size: 7rem;
  }
  .hero-side-card {
    grid-template-columns: 85px 1fr;
  }
  .footer-main {
    padding: 3rem 0;
  }
}
@media (max-width: 575.98px) {
  .newsletter form {
    flex-direction: column;
  }
  .article-content {
    font-size: 1rem;
  }
  .wide-copy {
    padding: 1.5rem;
  }
  .post-image {
    height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .post-card,
  .topic-card,
  .mini-post {
    transition: none;
  }
}

/* Bixblog v1.0.0 — reusable placeholder media */
.placeholder-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  background: var(--surface-2);
}
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--radius);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame .media-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.image-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}
.image-grid .media-frame {
  min-height: 260px;
}
.image-grid .media-frame:first-child {
  min-height: 540px;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-strip .info-card {
  padding: 1.35rem;
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.2rem;
}
.newsletter-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.podcast-card,
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
}
.podcast-card .media-frame,
.video-card .media-frame {
  height: 240px;
}
.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow);
  font-size: 1.35rem;
}
.archive-header {
  padding: 4rem 0 2rem;
}
.archive-header .display-5 {
  font-weight: 800;
  letter-spacing: -0.06em;
}
.author-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-mini .avatar {
  width: 42px;
  height: 42px;
}
.filter-select {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}
.pagination .page-link {
  border-color: var(--border);
  color: var(--text);
  background: var(--background);
}
.pagination .active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
@media (max-width: 991.98px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-split,
  .image-grid {
    grid-template-columns: 1fr;
  }
  .image-grid .media-frame:first-child {
    min-height: 360px;
  }
}
@media (max-width: 575.98px) {
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .image-grid .media-frame,
  .image-grid .media-frame:first-child {
    min-height: 240px;
  }
}

/* Image-first media: no CSS gradients. */
.featured-image,
.hero-side-thumb,
.post-image,
.wide-image,
.article-cover,
.article-image-break,
.author-portrait,
.list-thumb {
  background: var(--surface-2);
  overflow: hidden;
}
.featured-image img,
.hero-side-thumb img,
.post-image img,
.wide-image img,
.article-cover img,
.article-image-break img,
.author-portrait img,
.list-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.featured-image,
.post-image,
.wide-image,
.article-cover,
.article-image-break,
.author-portrait {
  position: relative;
}
.featured-image span {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}

.article-cover-label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  padding: 0.5rem 0.75rem;
  background: rgba(17, 24, 39, 0.82);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}

/* =========================================================
   Bixblog — Mobile Horizontal Overflow Protection
   Prevents accidental bottom horizontal scrollbar.
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
}

.container,
.container-fluid,
.row,
main,
.site-header,
.site-footer {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid,
  main,
  .site-header,
  .site-footer,
  .navbar {
    max-width: 100%;
    overflow-x: clip;
  }

  .row {
    --bs-gutter-x: 1.5rem;
  }

  .post-card,
  .info-card,
  .video-card,
  .podcast-card,
  .topic-card,
  .list-post,
  .media-frame,
  .article-cover,
  .article-content,
  .section-heading {
    min-width: 0;
    max-width: 100%;
  }

  .list-post {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-title,
  .article-dek,
  .article-content,
  .article-content p,
  .article-content li,
  .article-content blockquote,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  a,
  span {
    overflow-wrap: anywhere;
  }

  pre,
  code,
  .table-responsive {
    max-width: 100%;
  }

  pre,
  .table-responsive {
    overflow-x: auto;
  }
}

/* =========================================================
   BIXBLOG — GLOBAL BOXED WEBSITE LAYOUT
   Applies consistently across every page.
   ========================================================= */

/* The page background sits outside the website shell. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Every page uses this same centered boxed canvas. */
.website-shell {
  width: min(1580px, calc(100% - 32px));
  max-width: 1580px;
  margin: 16px auto;
  border-radius: 18px;
  overflow: hidden;
}

/* Keep all major page content inside the shell. */
.website-shell > *,
.website-shell main,
.website-shell header,
.website-shell footer {
  max-width: 100%;
}

/* A consistent inner content width prevents the boxed site from
   becoming visually stretched on large monitors. */
.website-shell .container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Header belongs to the box, not the browser viewport. */
.website-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--background, #ffffff);
}

/* Remove accidental full-viewport sizing from sections/components. */
.website-shell section,
.website-shell .page-hero,
.website-shell .hero-section,
.website-shell .newsletter,
.website-shell .site-footer {
  max-width: 100%;
}

/* Prevent children from escaping the rounded shell. */
.website-shell .row,
.website-shell [class*="col-"],
.website-shell .card,
.website-shell article,
.website-shell .media-frame,
.website-shell img,
.website-shell iframe,
.website-shell video {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .website-shell {
    width: calc(100% - 20px);
    margin: 10px auto;
    border-radius: 14px;
  }

  .website-shell .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (min-width: 1400px) {
  .website-shell {
    width: min(1380px, calc(100% - 48px));
  }
}

/* =========================================================
   BOXED PAGE HEROES / ARCHIVES
   ========================================================= */

.website-shell .archive-header,
.website-shell .page-hero {
  background: var(--background, #ffffff);
}

/* =========================================================
   BOXED FOOTER
   ========================================================= */

.website-shell .site-footer {
  background: var(--background, #ffffff);
}

/* =========================================================
   SAFETY: NEVER CREATE A HORIZONTAL PAGE SCROLL
   ========================================================= */

.website-shell pre,
.website-shell .table-responsive {
  max-width: 100%;
}

.website-shell pre {
  overflow-x: auto;
}

@media (max-width: 767.98px) {
  .website-shell h1,
  .website-shell h2,
  .website-shell h3,
  .website-shell h4,
  .website-shell h5,
  .website-shell h6,
  .website-shell p,
  .website-shell a,
  .website-shell span,
  .website-shell li {
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   AUTHOR BOX
   ========================================================= */

.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.author-box .avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-info h2 {
  margin-top: 0;
  margin-bottom: 4px;
}

.author-info p {
  line-height: 1.6;
}

.author-profile-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {
  .author-box {
    gap: 16px;
    padding: 20px;
  }

  .author-box .avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 16px;
  }

  .author-info p {
    font-size: 14px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {
  .author-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    text-align: left;
  }

  .author-box .avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    align-self: flex-start;
  }

  .author-info {
    width: 100%;
  }

  .author-info h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .author-info p {
    font-size: 14px;
    line-height: 1.6;
  }

  .author-profile-btn {
    width: 100%;
    margin: 0 !important;
    display: block;
  }
}
