/*
 * 2048 editorial/blog layer.
 * Intentionally separate from game2048.css so posts never load the game UI bundle.
 */

:root {
  --g2048-editorial-width: 1080px;
  --g2048-reading-width: 760px;
  --g2048-border: rgba(119, 110, 101, .15);
  --g2048-text: #5f574f;
  --g2048-muted: #85796e;
  --g2048-heading: #504941;
  --g2048-paper: #fffdf8;
  --g2048-soft: #f3eee4;
  --g2048-accent: #8f7a66;
  --g2048-accent-dark: #746252;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  overflow: visible;
  background: #fff;
  color: var(--g2048-heading);
}

body.game2048-editorial-route {
  min-width: 0;
  background: #faf8ef;
  color: var(--g2048-text);
}

body.game2048-editorial-route a {
  text-underline-offset: 3px;
}

body.game2048-editorial-route img {
  max-width: 100%;
  height: auto;
}

/* Header */
.g2048-editorial-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--g2048-border);
  background: rgba(250, 248, 239, .97);
}

.g2048-editorial-header__inner {
  width: min(var(--g2048-editorial-width), calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.g2048-editorial-logo {
  flex: 0 0 auto;
  color: #77695c;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  text-decoration: none;
}

.g2048-editorial-logo:hover,
.g2048-editorial-logo:focus-visible {
  color: #5f564e;
}

.g2048-editorial-nav,
.g2048-editorial-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.g2048-editorial-menu {
  list-style: none;
}

.g2048-editorial-nav a,
.g2048-editorial-menu a {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #70665d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.g2048-editorial-nav a:hover,
.g2048-editorial-nav a:focus-visible,
.g2048-editorial-nav a[aria-current="page"],
.g2048-editorial-menu a:hover,
.g2048-editorial-menu a:focus-visible,
.g2048-editorial-menu .current-menu-item > a {
  background: #eee8dc;
  color: #584f47;
}

.g2048-editorial-logo:focus-visible,
.g2048-editorial-nav a:focus-visible,
.g2048-editorial-menu a:focus-visible,
.g2048-post-card a:focus-visible,
.g2048-breadcrumbs a:focus-visible,
.g2048-pagination a:focus-visible,
.g2048-blog-search input:focus-visible,
.g2048-blog-search button:focus-visible,
.g2048-article-content a:focus-visible,
.g2048-single-tags a:focus-visible,
.g2048-footer-nav a:focus-visible,
.g2048-footer-language-list a:focus-visible,
.g2048-footer-bottom a:focus-visible {
  outline: 3px solid rgba(102, 93, 85, .3);
  outline-offset: 3px;
}

/* Main shells */
.g2048-editorial-shell {
  width: min(var(--g2048-editorial-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.g2048-blog-hero {
  max-width: 780px;
  padding: 34px 0 42px;
}

.g2048-editorial-kicker {
  margin: 0 0 10px;
  color: #928477;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.g2048-blog-hero h1,
.g2048-archive-header h1,
.g2048-single-header h1 {
  margin: 0;
  color: var(--g2048-heading);
  font-size: clamp(34px, 5.3vw, 58px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.g2048-blog-hero > p:not(.g2048-editorial-kicker),
.g2048-blog-hero__intro,
.g2048-archive-description {
  max-width: 720px;
  margin: 18px 0 0;
  color: #746a61;
  font-size: 17px;
  line-height: 1.7;
}

.g2048-blog-hero__intro > :first-child,
.g2048-archive-description > :first-child {
  margin-top: 0;
}

.g2048-blog-hero__intro > :last-child,
.g2048-archive-description > :last-child {
  margin-bottom: 0;
}

/* Search */
.g2048-blog-search {
  width: min(620px, 100%);
  margin-top: 26px;
  padding: 5px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  border: 1px solid rgba(119, 110, 101, .2);
  border-radius: 11px;
  background: var(--g2048-paper);
}

.g2048-blog-search input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--g2048-heading);
  font-size: 15px;
}

.g2048-blog-search input::placeholder {
  color: #9b9085;
}

.g2048-blog-search button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #8f7f70;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.g2048-blog-search button:hover {
  background: #77695d;
}

/* Section headings */
.g2048-post-list,
.g2048-related {
  padding-top: 18px;
}

.g2048-section-heading {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--g2048-border);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.g2048-section-heading h2 {
  margin: 0;
  color: var(--g2048-heading);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

/* Cards */
.g2048-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.g2048-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--g2048-border);
  border-radius: 14px;
  background: var(--g2048-paper);
  display: flex;
  flex-direction: column;
}

.g2048-post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  background: #eee8dc;
}

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

.g2048-post-card:hover .g2048-post-card__image {
  transform: scale(1.018);
}

.g2048-post-card__placeholder {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #786b5e;
  background: #d9cdbc;
}

.g2048-post-card__placeholder strong {
  font-size: clamp(32px, 5vw, 50px);
  letter-spacing: -.05em;
  line-height: 1;
}

.g2048-post-card__placeholder span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.g2048-post-card__body {
  padding: 18px 18px 16px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.g2048-post-card__meta {
  min-height: 20px;
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #95887c;
  font-size: 12px;
  line-height: 1.4;
}

.g2048-post-card__meta a {
  color: #7b6b5c;
  font-weight: 800;
  text-decoration: none;
}

.g2048-post-card__meta a:hover {
  text-decoration: underline;
}

.g2048-post-card__title {
  margin: 0;
  color: var(--g2048-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.28;
}

.g2048-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.g2048-post-card__title a:hover {
  color: #756452;
}

.g2048-post-card__excerpt {
  margin: 10px 0 16px;
  color: #7c7167;
  font-size: 14px;
  line-height: 1.65;
}

.g2048-post-card__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(119, 110, 101, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #94887c;
  font-size: 12px;
}

.g2048-post-card__read {
  color: #6d5f52;
  font-weight: 800;
  text-decoration: none;
}

.g2048-post-card__read:hover {
  text-decoration: underline;
}

/* Breadcrumbs */
.g2048-breadcrumbs {
  margin: 0 0 28px;
  color: #95897e;
  font-size: 12px;
}

.g2048-breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  list-style: none;
}

.g2048-breadcrumbs li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.g2048-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #b1a69b;
}

.g2048-breadcrumbs a {
  color: #796e64;
  text-decoration: none;
}

.g2048-breadcrumbs a:hover {
  text-decoration: underline;
}

.g2048-breadcrumbs span[aria-current="page"] {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Archives */
.g2048-archive-header {
  max-width: 780px;
  margin-bottom: 34px;
  padding: 26px 0 28px;
}

.g2048-archive-header h1 {
  font-size: clamp(32px, 4.8vw, 50px);
}

.g2048-archive-description {
  font-size: 15px;
}

/* Pagination */
.g2048-pagination {
  margin-top: 34px;
}

.g2048-pagination .page-numbers {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  list-style: none;
}

.g2048-pagination a,
.g2048-pagination span.page-numbers {
  min-width: 42px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--g2048-border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--g2048-paper);
  color: #75695e;
  font-weight: 800;
  text-decoration: none;
}

.g2048-pagination span.current {
  border-color: #8f7f70;
  background: #8f7f70;
  color: #fff;
}

.g2048-pagination a:hover {
  background: #eee8dc;
}

/* Single article */
.g2048-single-page {
  width: min(960px, calc(100% - 36px));
}

.g2048-single-article {
  width: min(var(--g2048-reading-width), 100%);
  margin: 0 auto;
}

.g2048-single-header {
  padding: 16px 0 28px;
}

.g2048-single-category {
  margin-bottom: 12px;
  display: inline-block;
  color: #766657;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.g2048-single-category:hover {
  text-decoration: underline;
}

.g2048-single-header h1 {
  font-size: clamp(36px, 6vw, 60px);
}

.g2048-single-deck {
  margin: 18px 0 0;
  color: #756b62;
  font-size: 18px;
  line-height: 1.65;
}

.g2048-single-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #968a7f;
  font-size: 12px;
  line-height: 1.5;
}

.g2048-single-featured {
  margin: 6px 0 30px;
}

.g2048-single-featured img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.g2048-article-content {
  color: #58514a;
  font-size: 17px;
  line-height: 1.82;
  overflow-wrap: break-word;
}

.g2048-article-content > :first-child {
  margin-top: 0;
}

.g2048-article-content p,
.g2048-article-content ul,
.g2048-article-content ol,
.g2048-article-content blockquote,
.g2048-article-content table,
.g2048-article-content figure,
.g2048-article-content pre {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.g2048-article-content h2,
.g2048-article-content h3,
.g2048-article-content h4 {
  color: var(--g2048-heading);
  letter-spacing: -.025em;
  line-height: 1.25;
  scroll-margin-top: 24px;
}

.g2048-article-content h2 {
  margin: 1.7em 0 .65em;
  font-size: clamp(26px, 4vw, 34px);
}

.g2048-article-content h3 {
  margin: 1.5em 0 .55em;
  font-size: 23px;
}

.g2048-article-content h4 {
  margin: 1.4em 0 .5em;
  font-size: 19px;
}

.g2048-article-content a {
  color: #765f4b;
  text-decoration-thickness: 1px;
}

.g2048-article-content a:hover {
  color: #594637;
}

.g2048-article-content ul,
.g2048-article-content ol {
  padding-left: 1.45em;
}

.g2048-article-content li + li {
  margin-top: .35em;
}

.g2048-article-content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #b4a18d;
  color: #70675f;
  font-size: 18px;
}

.g2048-article-content blockquote > :last-child {
  margin-bottom: 0;
}

.g2048-article-content code {
  padding: .12em .32em;
  border-radius: 4px;
  background: #eee8dc;
  font-size: .9em;
}

.g2048-article-content pre {
  max-width: 100%;
  padding: 18px;
  border-radius: 10px;
  overflow-x: auto;
  background: #49443f;
  color: #f8f3e9;
  font-size: 14px;
  line-height: 1.65;
}

.g2048-article-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.g2048-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.g2048-article-content th,
.g2048-article-content td {
  padding: 10px 12px;
  border: 1px solid rgba(119, 110, 101, .18);
  text-align: left;
  vertical-align: top;
}

.g2048-article-content th {
  background: #f1ece2;
  color: #5c534b;
}

.g2048-article-content hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--g2048-border);
}

.g2048-article-content .alignwide {
  width: min(900px, calc(100vw - 36px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.g2048-article-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.g2048-page-links {
  margin-top: 24px;
  color: #776c62;
  font-weight: 700;
}

.g2048-single-tags {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--g2048-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.g2048-single-tags a {
  padding: 7px 10px;
  border-radius: 7px;
  background: #efe9de;
  color: #766a5f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.g2048-related {
  width: min(var(--g2048-editorial-width), 100%);
  margin: 58px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--g2048-border);
}

/* Empty state */
.g2048-empty-state {
  max-width: 620px;
  margin: 32px auto;
  padding: 38px;
  border: 1px solid var(--g2048-border);
  border-radius: 14px;
  background: var(--g2048-paper);
  text-align: center;
}

.g2048-empty-state h2 {
  margin: 0 0 10px;
  color: var(--g2048-heading);
}

.g2048-empty-state p {
  margin: 0 0 18px;
  color: var(--g2048-muted);
  line-height: 1.65;
}

.g2048-empty-state a {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: #8f7f70;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* Comments */
.g2048-comments {
  width: min(var(--g2048-reading-width), 100%);
  margin: 54px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--g2048-border);
}

.g2048-comments h2,
.g2048-comments .comment-reply-title {
  color: var(--g2048-heading);
  font-size: 24px;
}

.g2048-comment-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.g2048-comment-list .comment {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--g2048-border);
  border-radius: 10px;
  background: var(--g2048-paper);
}

.g2048-comment-list .children {
  margin-left: 22px;
  padding-left: 0;
  list-style: none;
}

.g2048-comments .comment-meta {
  font-size: 12px;
}

.g2048-comments .comment-content {
  font-size: 15px;
  line-height: 1.7;
}

.g2048-comments label {
  display: block;
  margin-bottom: 5px;
  color: #6d635a;
  font-size: 13px;
  font-weight: 700;
}

.g2048-comments textarea,
.g2048-comments input[type="text"],
.g2048-comments input[type="email"],
.g2048-comments input[type="url"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(119, 110, 101, .25);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--g2048-heading);
}

.g2048-comments .submit {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #8f7f70;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

/* Standard pages / old fallback card */
.g2048-page-view .g2048-static-page,
.g2048-content-shell .g2048-content-card {
  width: min(var(--g2048-reading-width), 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.g2048-content-shell {
  width: min(var(--g2048-reading-width), calc(100% - 36px));
  padding: 50px 0 70px;
}

/* Shared footer copied into the lightweight editorial bundle. */
.g2048-site-footer {
  border-top: 1px solid rgba(119, 110, 101, .13);
  background: #f1ede3;
  color: #70665d;
}

.g2048-footer-inner {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 24px;
}

.g2048-footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(110px, .65fr) minmax(150px, .8fr) minmax(260px, 1.35fr);
  gap: 30px 38px;
  align-items: start;
}

.g2048-footer-logo {
  display: inline-block;
  color: #77695c;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  text-decoration: none;
}

.g2048-footer-logo:hover,
.g2048-footer-logo:focus-visible {
  color: #665b51;
}

.g2048-footer-tagline {
  margin: 10px 0 7px;
  color: #655b52;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.g2048-footer-note {
  max-width: 330px;
  margin: 0;
  color: #70665d;
  font-size: 13px;
  line-height: 1.65;
}

.g2048-footer-nav h2,
.g2048-footer-languages h2 {
  margin: 2px 0 13px;
  color: #655b52;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.g2048-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.g2048-footer-nav a,
.g2048-footer-language-list a,
.g2048-footer-bottom a {
  color: #70665d;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.g2048-footer-nav a:hover,
.g2048-footer-nav a:focus-visible,
.g2048-footer-language-list a:hover,
.g2048-footer-language-list a:focus-visible,
.g2048-footer-bottom a:hover,
.g2048-footer-bottom a:focus-visible {
  color: #5f564e;
  text-decoration: underline;
}

.g2048-footer-language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.g2048-footer-language-list a[aria-current="page"] {
  color: #5f564e;
  font-weight: 700;
}

.g2048-footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(119, 110, 101, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #70665d;
  font-size: 12px;
  line-height: 1.5;
}

.g2048-footer-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

@media (max-width: 900px) {
  .g2048-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .g2048-footer-grid {
    grid-template-columns: 1.25fr .75fr .9fr;
  }

  .g2048-footer-languages {
    grid-column: 1 / -1;
    padding-top: 2px;
  }
}

@media (max-width: 700px) {
  .g2048-editorial-header__inner,
  .g2048-editorial-shell,
  .g2048-single-page,
  .g2048-content-shell {
    width: min(100% - 30px, 620px);
  }

  .g2048-editorial-header__inner {
    min-height: 62px;
    gap: 10px;
  }

  .g2048-editorial-logo {
    font-size: 29px;
  }

  .g2048-editorial-nav,
  .g2048-editorial-menu {
    gap: 0;
  }

  .g2048-editorial-nav a,
  .g2048-editorial-menu a {
    min-height: 42px;
    padding-inline: 9px;
    font-size: 13px;
  }

  .g2048-editorial-shell {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .g2048-blog-hero {
    padding: 24px 0 34px;
  }

  .g2048-single-header h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .g2048-single-deck {
    font-size: 17px;
  }

  .g2048-article-content {
    font-size: 16px;
    line-height: 1.78;
  }

  .g2048-article-content .alignwide {
    width: calc(100vw - 30px);
  }

  .g2048-footer-inner {
    width: min(100% - 30px, 620px);
    padding-top: 34px;
  }

  .g2048-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .g2048-footer-brand,
  .g2048-footer-languages {
    grid-column: 1 / -1;
  }

  .g2048-footer-note {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .g2048-post-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .g2048-post-card {
    border-radius: 12px;
  }

  .g2048-blog-search {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  .g2048-blog-search button {
    width: 100%;
  }

  .g2048-breadcrumbs span[aria-current="page"] {
    max-width: 190px;
  }

  .g2048-related {
    margin-top: 44px;
  }
}

@media (max-width: 420px) {
  .g2048-editorial-header__inner {
    width: calc(100% - 24px);
  }

  .g2048-editorial-nav a,
  .g2048-editorial-menu a {
    padding-inline: 7px;
    font-size: 12px;
  }

  .g2048-editorial-nav__play {
    display: none !important;
  }

  .g2048-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .g2048-footer-brand,
  .g2048-footer-languages {
    grid-column: auto;
  }

  .g2048-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 16px;
  }

  .g2048-footer-nav h2 {
    grid-column: 1 / -1;
  }

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

@media (prefers-reduced-motion: reduce) {
  .g2048-post-card__image {
    transition: none;
  }
}

@media (forced-colors: active) {
  .g2048-post-card,
  .g2048-blog-search,
  .g2048-pagination a,
  .g2048-pagination span.page-numbers,
  .g2048-comment-list .comment {
    border: 1px solid CanvasText;
  }
}


/* v4.5.5 — factual author profile box */
.g2048-author-box { margin:46px 0 12px; padding:20px; display:grid; grid-template-columns:80px minmax(0,1fr); gap:18px; align-items:start; border-top:1px solid rgba(119,110,101,.16); border-bottom:1px solid rgba(119,110,101,.16); }
.g2048-author-box__avatar { width:80px; height:80px; overflow:hidden; display:grid; place-items:center; border-radius:50%; background:#eee9de; color:#766a60; font-weight:800; font-size:24px; }
.g2048-author-box__avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.g2048-author-box__kicker { margin:1px 0 5px; color:#978a7f; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.g2048-author-box h2 { margin:0; font-size:21px; line-height:1.25; }
.g2048-author-box h2 a { color:#5f564e; text-decoration:none; }
.g2048-author-box__role { margin:5px 0 0; color:#8a7d71; font-size:13px; line-height:1.5; }
.g2048-author-box__bio { margin:10px 0 0; color:#756a60; font-size:14px; line-height:1.7; }
.g2048-author-box__link { display:inline-block; margin-top:10px; color:#6b5f54; font-size:13px; font-weight:700; text-underline-offset:3px; }
@media (max-width:520px) { .g2048-author-box { grid-template-columns:58px minmax(0,1fr); gap:14px; padding-inline:0; } .g2048-author-box__avatar { width:58px; height:58px; } .g2048-author-box h2 { font-size:19px; } }
