:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #686868;
  --paper: #eeeeee;
  --surface: #ffffff;
  --accent: #2eacc5;
  --accent-2: #7f7f7f;
  --line: #e5e5e5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", Georgia, serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 50px;
  min-height: 108px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: #eeeeee;
}

.brand-block {
  display: grid;
  grid-template-columns: 70px auto;
  align-items: center;
  gap: 22px;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.brand-block img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.site-header nav a {
  position: relative;
  display: inline-flex;
  min-width: 108px;
  justify-content: center;
  padding: 32px 0 14px;
  text-decoration: none;
}

.site-header nav a.active,
.site-header nav a:hover {
  color: #2eacc5;
}

.site-header nav a.active::before,
.site-header nav a:hover::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: #2eacc5;
}

.header-menu-toggle {
  display: none;
}

/* Desktop keeps nav in normal flow: unwrap the panel so <nav> lays out
   as if it were still a direct .site-header child, ignoring [hidden]. */
.header-menu-panel,
.header-menu-panel[hidden] {
  display: contents;
}

.header-menu-panel .header-search {
  display: none;
}

.header-search-input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--ink);
}

.post-tile.search-hidden {
  display: none;
}

main {
  min-height: 72vh;
}

.hero-image {
  width: 100%;
  margin: 0 auto;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1251 / 401;
  max-height: 523px;
  object-fit: cover;
}

.lead,
.page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  width: min(1240px, calc(100% - 42px));
  margin: 0 auto;
}

.lead {
  display: none;
}

.welcome-band {
  min-height: 340px;
  padding: 64px 18px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(0, 178, 196, 0.12)),
    url("/assets/images/watercolor-band.svg");
  background-position: center;
  background-size: cover;
  color: #2b3033;
  font-family: Arial, Helvetica, sans-serif;
}

.welcome-band h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #1d6b78;
}

.welcome-band blockquote {
  margin: 30px auto 14px;
  max-width: 700px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #3a3f42;
}

.quote-credit {
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  color: #3a3f42;
}

.welcome-copy {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 48px;
  text-align: center;
}

.welcome-copy p {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}

.signature {
  display: block;
  width: min(260px, 72vw);
  margin: 0 auto 18px;
}

h1 {
  margin: 0 auto;
  max-width: 820px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
}

.lead p:last-child {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.issue-callout {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  text-align: center;
}

.issue-callout h2 {
  font-size: 27px;
}

.issue-callout p {
  margin: 10px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--muted);
}

.issue-callout strong {
  display: block;
  margin-top: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.section {
  padding: 22px 0 72px;
}

.blog-shell {
  display: grid;
  grid-template-columns: minmax(0, 940px) minmax(240px, 1fr);
  gap: 68px;
  align-items: start;
}

.feed-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 50px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.feed-toolbar a {
  color: #333333;
  text-decoration: none;
}

.feed-toolbar .active {
  color: #21a9bd;
  font-weight: 400;
}

.search-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-button span {
  width: 15px;
  height: 15px;
  border: 1.7px solid #111111;
  border-radius: 50%;
  position: relative;
}

.search-button span::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.7px;
  right: -5px;
  bottom: -3px;
  background: #111111;
  transform: rotate(45deg);
  transform-origin: left center;
}

.category-sidebar {
  display: grid;
  gap: 25px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.category-sidebar a {
  color: #050505;
  text-decoration: none;
}

.category-sidebar a:hover,
.feed-toolbar a:hover {
  color: #21a9bd;
}

.search-box {
  display: none;
  font-family: Arial, Helvetica, sans-serif;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font: inherit;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 31px 32px;
  margin-top: 0;
}

.pagination {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 18px;
  margin: 34px 0 0;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.pagination a,
.pagination span,
.pagination strong {
  min-width: 14px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.pagination span {
  color: #c8c8c8;
}

.pagination strong {
  font-weight: 700;
}

/* Desktop default: the original transparent-overlay-on-image card.
   Mobile (below) switches this same markup to an image-then-solid-block
   layout with avatar/excerpt/stats — see the max-width:720px overrides. */

.post-tile {
  position: relative;
  display: block;
  min-height: 340px;
}

.post-cover {
  position: relative;
  display: block;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #777777;
}

.post-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.24) 36%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.post-cover:hover img {
  transform: scale(1.02);
}

.post-cover-empty {
  background: linear-gradient(135deg, #2eacc5, #241b45);
}

.post-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  pointer-events: none;
}

.post-body-link {
  display: block;
  padding: 28px 28px 0;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.post-avatar,
.post-avatar-placeholder {
  display: none;
}

.post-byline-text {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.post-author-name {
  font-weight: 700;
}

.post-date {
  color: rgba(255, 255, 255, 0.72);
}

.category-pill {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 8px 13px;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.post-title {
  display: block;
  color: #ffffff;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.post-excerpt {
  display: none;
}

.post-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.post-stats-row .stat-pill {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 0;
}

.post-stats-row .like-btn {
  pointer-events: auto;
}

.post-stats-row .like-btn.liked {
  background: transparent;
  color: #ff6b85;
}

.post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.like-stat {
  justify-self: end;
}

.like-stat span {
  color: #ff4b57;
  font-size: 22px;
}

.eye-icon {
  width: 16px;
  height: 10px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  position: relative;
}

.eye-icon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.comment-icon {
  width: 15px;
  height: 12px;
  border: 1.5px solid #ffffff;
  border-radius: 2px;
  position: relative;
}

.comment-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -5px;
  border-top: 5px solid #ffffff;
  border-right: 5px solid transparent;
}

.page-band {
  background: #170055;
}

.page {
  padding: 72px 0;
  text-align: center;
  color: #f0f0f0;
}

.page h1 {
  color: #7b6cf6;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin: 0 0 16px;
}

.page-subtitle {
  color: #b45ad4;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  margin: 0 0 30px;
}

.page p {
  max-width: 760px;
  margin: 18px auto 0;
  color: #f0f0f0;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.page hr {
  max-width: 760px;
  margin: 34px auto;
  border: none;
  border-top: 1px solid rgba(240, 240, 240, 0.3);
}

.article-page {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 86px;
  background: transparent;
}

.article-page h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.08;
  text-align: left;
}

ul.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  gap: 16px;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.author-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.author-link:hover .author-name {
  text-decoration: underline;
}

.author-avatar {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #d8d8d8;
}

.byline {
  margin: -10px 0 30px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.article-hero {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 0 0 34px;
  object-fit: cover;
}

.article-body {
  color: #181818;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body ul {
  margin: 0 0 24px 22px;
  padding: 0;
}

.article-body li {
  margin-bottom: 10px;
}

.article-footer {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #d8d8d8;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
}

.article-footer a {
  color: #111111;
}

.article-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.article-social-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent-2);
  transition: background 0.15s, color 0.15s;
}

.share-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.article-engagement {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent-2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
}

button.like-btn {
  cursor: pointer;
}

button.like-btn svg {
  transition: color 0.15s, transform 0.1s;
}

button.like-btn.liked {
  background: #ffe3e8;
  color: #e0245e;
}

button.like-btn:active svg {
  transform: scale(1.15);
}

.article-comments {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #d8d8d8;
}

.article-comments h2 {
  font-size: 20px;
  margin: 0 0 16px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.comment-form input,
.comment-form textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.comment-form textarea {
  min-height: 80px;
  resize: vertical;
}

.comment-form button[type="submit"] {
  align-self: flex-start;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 22px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

.comment-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: default;
}

.comment-status {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.comment-moderation-note {
  margin: 10px 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: var(--muted);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  font-family: Arial, Helvetica, sans-serif;
}

.comment-name {
  font-weight: 700;
  font-size: 13px;
}

.comment-date {
  font-size: 12px;
  color: var(--muted);
}

.comment-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.comment-empty {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.tile-stats {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.tile-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: var(--muted);
}

footer {
  padding: 28px clamp(18px, 4vw, 56px);
  color: #7b6af6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: auto;
    padding: 10px 16px;
    background: #eeeeee;
  }

  .site-header .brand-block {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 1.15;
  }

  .site-header .brand-block img {
    width: 40px;
    height: 40px;
  }

  .header-menu-toggle {
    display: inline-grid;
    flex-shrink: 0;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
    cursor: pointer;
  }

  .header-menu-panel {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    z-index: 110;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  }

  .header-menu-panel[hidden] {
    display: none;
  }

  .header-menu-panel .header-search {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-header nav {
    flex-direction: column;
    gap: 2px;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
  }

  .site-header nav a {
    min-width: auto;
    padding: 10px 2px;
  }

  .site-header nav a.active::before,
  .site-header nav a:hover::before {
    content: none;
  }

  .site-header nav a.active,
  .site-header nav a:hover {
    color: var(--accent);
  }

  .welcome-band {
    min-height: auto;
    padding: 44px 18px;
  }

  .welcome-band h1 {
    font-size: 36px;
  }

  .welcome-band blockquote {
    font-size: 17px;
  }

  .welcome-copy {
    padding-bottom: 36px;
  }

  .post-list {
    grid-template-columns: 1fr;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    gap: 22px;
  }

  .blog-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .category-sidebar {
    gap: 16px;
    font-size: 16px;
  }

  .feed-toolbar {
    gap: 18px;
    margin-bottom: 28px;
  }

  /* Mobile: switch the shared card markup from the desktop
     transparent-overlay treatment to an image-then-solid-block layout. */

  .post-tile {
    position: static;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .post-cover {
    height: 330px;
  }

  .post-cover::after {
    content: none;
  }

  .post-body {
    position: static;
    inset: auto;
    display: block;
    background: #241b45;
    pointer-events: auto;
  }

  .post-body-link {
    padding: 22px 24px 16px;
  }

  .post-avatar,
  .post-avatar-placeholder {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
  }

  .post-title {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .post-excerpt {
    display: -webkit-box;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-stats-row {
    margin-top: 14px;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: auto;
  }

  .post-stats-row .stat-pill {
    color: rgba(255, 255, 255, 0.85);
  }
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 34px 0 16px;
  line-height: 1.3;
}

.article-body ol {
  margin: 0 0 24px 22px;
  padding: 0;
}

.article-body blockquote {
  margin: 0 0 24px;
  padding: 4px 20px;
  border-left: 3px solid var(--accent);
  color: #333333;
  font-style: italic;
}

.article-body hr {
  border: none;
  border-top: 1px solid #d8d8d8;
  margin: 32px 0;
}

.article-body a {
  color: var(--accent);
}

.article-inline-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px 0 22px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.category-tags a,
.category-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e3f1f4;
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.archive-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
}

.archive-list a {
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.archive-list .archive-meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.pagination {
  margin-top: 34px;
}

.article-inline-video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 22px;
  background: #000;
}

.article-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 8px 0 22px;
  background: #000;
}

.article-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-form-embed {
  margin: 8px 0 22px;
}

.article-form-embed iframe {
  width: 100%;
  height: 1000px; /* fallback only - each embed sets its real measured height inline */
  border: 1px solid var(--line);
  display: block;
}

.footer-subscribe {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
}

.footer-subscribe iframe {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 90px;
  border: 0;
  overflow: hidden;
}

.author-page {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 90px;
}

.author-banner {
  height: 130px;
  margin: 32px 0 0;
  border-radius: 16px;
  position: relative;
  background: linear-gradient(135deg, var(--accent), #1c7c8f);
}

.author-page-avatar {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #d8d8d8;
  position: absolute;
  left: 50%;
  bottom: -54px;
  transform: translateX(-50%);
  border: 4px solid var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.author-page-body {
  padding-top: 66px;
  text-align: center;
}

.author-page h1 {
  margin: 0 0 4px;
  font-size: 30px;
}

.author-role {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.author-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.author-tab {
  display: inline-block;
  padding: 0 2px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.author-tab-active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.author-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
}

.author-actions button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 22px;
  cursor: not-allowed;
  border: 1px solid var(--accent);
  background: #ffffff;
  color: var(--accent);
}

.author-actions button.btn-follow {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.author-note {
  max-width: 460px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.author-meta-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.author-posts-heading {
  margin: 0 0 18px;
  font-size: 20px;
  text-align: left;
}

.author-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px 16px;
  text-align: left;
}

.author-post-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.author-post-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #d8d8d8;
  margin: 0 0 8px;
}

.author-post-tile span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.4;
}

.author-more {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-align: center;
}

.author-more a {
  color: var(--accent);
}
