/* Der Genießer Blog — archive + single post. Same hero DNA as the shop archive. */

body.home .gx-main,
body.blog .gx-main,
body.archive .gx-main,
body.single-post .gx-main {
  background: #f7f4f0;
}

/* The floating glass header assumes a dark backdrop everywhere on the site —
   single posts have no hero image, so the masthead itself is solid ink instead. */
body.single-post {
  background: #13110f;
}

body.single-post .gx-site-header {
  position: relative;
  background: #13110f;
}

body.single-post .gx-header-desktop .gx-header-pad {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.single-post .gx-header-bar {
  background: #1d1a17;
  height: 78px;
}

body.single-post .gx-header-mobile {
  background: #13110f;
  border-bottom-color: #201d19;
}

/* ---------- Hero (blog archive + category/tag archives) ---------- */

.gx-blog-hero {
  position: relative;
  background: #100f0e;
  color: #f8f5f1;
  overflow: hidden;
}

.gx-blog-hero__bg {
  position: absolute;
  inset: 0;
}

.gx-blog-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  animation: gxKen 24s ease-in-out infinite alternate;
}

.gx-blog-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 13, 11, 0.97) 0%, rgba(14, 13, 11, 0.9) 40%, rgba(14, 13, 11, 0.62) 75%, rgba(14, 13, 11, 0.4) 100%);
}

.gx-blog-hero__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 120px -60px rgba(9, 8, 7, 0.92), inset 0 90px 90px -60px rgba(9, 8, 7, 0.7);
}

.gx-blog-hero__inner {
  position: relative;
  z-index: 1;
  padding: 128px 0 64px;
}

.gx-blog-hero--compact .gx-blog-hero__inner {
  padding: 108px 0 48px;
}

.gx-blog-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c6a97d;
}

.gx-blog-hero__kicker a {
  color: inherit;
  text-decoration: none;
}

.gx-blog-hero__kicker-line {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, #ae9069, rgba(174, 144, 105, 0));
}

.gx-blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #f8f5f1;
  margin: 0;
  max-width: 640px;
}

.gx-blog-hero__dek {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: #c3bcb3;
}

.gx-blog-hero__meta {
  margin-top: 20px;
  font-size: 13.5px;
  color: #938c85;
}

.gx-blog-hero__meta strong {
  color: #f8f5f1;
  font-weight: 600;
}

/* ---------- Post grid ---------- */

.gx-blog-posts {
  padding: 56px 0 96px;
  background: #f7f4f0;
}

.gx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gx-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2dad2;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s, border-color 0.22s;
  margin-bottom: 28px;
}

.gx-blog-grid .gx-post-card {
  margin-bottom: 0;
}

.gx-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 144, 105, 0.5);
  box-shadow: 0 16px 40px rgba(20, 15, 10, 0.1);
}

.gx-post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--photo-placeholder, radial-gradient(120% 100% at 50% 12%, #fbf8f4 0%, #efe8df 58%, #e6ddd2 100%));
  overflow: hidden;
}

.gx-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gx-post-card:hover .gx-post-card__media img {
  transform: scale(1.045);
}

.gx-post-card__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #ae9069;
  letter-spacing: 0.02em;
}

.gx-post-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(16, 15, 14, 0.72);
  backdrop-filter: blur(6px);
  color: #dfc9ab;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gx-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}

.gx-post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #938c85;
}

.gx-post-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.gx-post-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  color: #171513;
}

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

.gx-post-card__title a:hover {
  color: #96764f;
}

.gx-post-card__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #625d58;
  flex: 1;
}

.gx-post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #96764f;
  text-decoration: none;
}

.gx-post-card__link svg {
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gx-post-card:hover .gx-post-card__link svg {
  transform: translateX(3px);
}

/* Featured (first) post — large, image-led, side by side */

.gx-post-card--featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 40px;
  border-radius: 18px;
}

.gx-post-card--featured .gx-post-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.gx-post-card--featured .gx-post-card__body {
  padding: 36px 40px 36px 36px;
  justify-content: center;
  gap: 14px;
}

.gx-post-card--featured .gx-post-card__title {
  font-size: 30px;
  line-height: 1.15;
}

.gx-post-card--featured .gx-post-card__excerpt {
  font-size: 15.5px;
}

/* ---------- Pagination / empty state ---------- */

.gx-blog-more {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #ece4da;
  text-align: center;
}

.gx-blog-more p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #625d58;
}

.gx-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 1.5px solid #ae9069;
  border-radius: 8px;
  background: transparent;
  color: #7a5f38;
  font-weight: 600;
  text-decoration: none;
}

.gx-blog-empty {
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2dad2;
  border-radius: 16px;
}

.gx-blog-empty h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 10px;
  color: #171513;
}

.gx-blog-empty p {
  margin: 0 0 22px;
  color: #625d58;
}

/* ---------- Single post ---------- */

.gx-post-single__head {
  background: #13110f;
  border-bottom: 1px solid #201d19;
  padding: 132px 0 44px;
}

.gx-post-single__head-inner {
  max-width: 760px;
}

.gx-post-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a837b;
  margin-bottom: 16px;
}

.gx-post-single__cat {
  color: #c6a97d;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.gx-post-single__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #f8f5f1;
  margin: 0 0 18px;
}

.gx-post-single__dek {
  font-size: 18px;
  line-height: 1.55;
  color: #c3bcb3;
  margin: 0 0 26px;
  max-width: 62ch;
}

.gx-post-single__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gx-post-single__author img {
  border-radius: 50%;
  display: block;
}

.gx-post-single__author-name {
  font-size: 14px;
  font-weight: 600;
  color: #f8f5f1;
}

.gx-post-single__author-role {
  font-size: 12.5px;
  color: #8a837b;
}

.gx-post-single__media {
  max-width: 1120px;
  margin: -8px auto 0;
  padding: 0 20px;
}

.gx-post-single__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20, 15, 10, 0.16);
  margin-top: 32px;
}

.gx-post-single__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 0;
}

.gx-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #322e2a;
}

.gx-post-content > * + * {
  margin-top: 22px;
}

.gx-post-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: #171513;
  margin-top: 44px;
}

.gx-post-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: #171513;
  margin-top: 36px;
}

.gx-post-content a {
  color: #96764f;
  text-decoration: underline;
  text-decoration-color: #e2dad2;
  text-underline-offset: 2px;
}

.gx-post-content ul,
.gx-post-content ol {
  padding-left: 22px;
}

.gx-post-content li + li {
  margin-top: 8px;
}

.gx-post-content blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid #ae9069;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: #4c3222;
}

.gx-post-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.gx-post-content figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #938c85;
  text-align: center;
}

.gx-post-content hr {
  border: none;
  border-top: 1px solid #ece4da;
}

.gx-post-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #ece4da;
}

.gx-post-single__tag {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid #e2dad2;
  background: #fbf8f4;
  color: #625d58;
  font-size: 13px;
  text-decoration: none;
}

.gx-post-single__tag:hover {
  border-color: rgba(174, 144, 105, 0.5);
  color: #96764f;
}

.gx-post-single__related {
  max-width: 1200px;
  margin: 72px auto 0;
  padding-top: 48px;
  border-top: 1px solid #ece4da;
}

.gx-post-single__related .gx-overline {
  margin-bottom: 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .gx-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gx-post-card--featured {
    grid-template-columns: 1fr;
  }

  .gx-post-card--featured .gx-post-card__media {
    min-height: 220px;
  }

  .gx-post-card--featured .gx-post-card__body {
    padding: 28px 24px 30px;
  }
}

@media (max-width: 640px) {
  .gx-blog-hero__inner {
    padding: 108px 0 48px;
  }

  .gx-blog-grid {
    grid-template-columns: 1fr;
  }

  .gx-post-single__head {
    padding: 104px 0 32px;
  }

  .gx-post-single__body {
    padding-top: 40px;
  }

  .gx-post-content blockquote {
    font-size: 19px;
  }
}
