/* Mind & Spa — boutique blog cards + single post (premium spa atelier) */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(209, 178, 111, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(20, 20, 22, 0.55);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(209, 178, 111, 0.5);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.post-card > a,
.post-card__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1511;
  flex-shrink: 0;
}

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #1a1511;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover img {
  transform: scale(1.04);
}

.post-card .body {
  padding: 16px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.post-card time {
  display: block;
  color: #e4c98a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.post-card h2,
.post-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #f5f5f5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.post-card h2 a,
.post-card h3 a {
  color: inherit;
}

.post-card h2 a:hover,
.post-card h3 a:hover,
.post-card h2:hover,
.post-card h3:hover {
  color: #d1b26f;
}

.post-card p {
  color: rgba(245, 245, 245, 0.78);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.post-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #d1b26f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card .more span {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .more span {
  transform: translateX(4px);
}

/* Single post — editorial layout, Mind & Spa dark atelier */
.post-page-ambient {
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(209, 178, 111, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(209, 178, 111, 0.05), transparent 50%),
    #1c1c1e;
}

.post-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(280px, 42vh, 420px);
  margin: 76px 0 0;
  border-radius: 0;
  overflow: hidden;
  background: #121214;
  box-shadow: none;
}

.post-hero__media {
  position: absolute;
  inset: 0;
  background: center 42% / cover no-repeat #121214;
}

.post-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(28, 28, 30, 0.18) 0%,
      rgba(28, 28, 30, 0.28) 42%,
      rgba(28, 28, 30, 0.88) 100%
    );
  pointer-events: none;
}

.post-hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 36px;
  text-align: left;
  transform: none;
}

.post-hero h1 {
  color: #f5f5f5;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.22;
  max-width: 16em;
  margin: 0;
  white-space: normal;
  text-align: left;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.post-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 18px 0 0;
  background: linear-gradient(90deg, #d1b26f, rgba(209, 178, 111, 0));
}

.article {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 88px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 0 22px;
}

.article-meta .crumb {
  margin: 0;
  color: rgba(245, 245, 245, 0.7);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-meta .crumb a:hover {
  color: #d1b26f;
}

.article-meta .crumb-sep {
  opacity: 0.55;
  margin: 0 0.15em;
}

.article-meta time {
  color: #d1b26f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article .excerpt {
  color: rgba(245, 245, 245, 0.92);
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
  margin: 0 auto 36px;
  padding: 0 8px 28px;
  max-width: 28em;
  border-bottom: 1px solid rgba(209, 178, 111, 0.28);
}

.article .content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-block {
  position: relative;
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(209, 178, 111, 0.12);
  text-align: left;
}

.article-block:first-child {
  border-top: 0;
  padding-top: 8px;
}

.article-block--left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.article-block--right {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.article-block__index {
  display: block;
  margin: 0 0 8px;
  color: #d1b26f;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.article-block h2 {
  display: block;
  color: #d1b26f;
  font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.3;
  margin: 0 0 12px;
  max-width: none;
  white-space: normal;
}

.article-block p {
  width: 100%;
  color: rgba(245, 245, 245, 0.82);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  text-align: left;
  max-width: 38em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  word-break: normal;
}

.excerpt,
.article-pull__text,
.article-block--faq p,
.article-block--close p {
  text-wrap: pretty;
}

.article-block--right p {
  margin-left: 0;
}

.article-block--faq .article-block__index,
.article-block--close .article-block__index {
  display: none;
}

.article-block--lead h2 {
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
}

.article-block--lead p {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: rgba(245, 245, 245, 0.84);
}

.article-block--faq,
.article-block--close {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.article-pull {
  margin: 12px auto 8px;
  padding: 28px 28px 30px;
  text-align: center;
  border: 1px solid rgba(209, 178, 111, 0.28);
  background:
    linear-gradient(165deg, rgba(209, 178, 111, 0.14), rgba(209, 178, 111, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.article-pull__label {
  display: block;
  margin: 0 0 12px;
  color: #d1b26f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-pull__text {
  margin: 0 auto;
  color: #f5f5f5;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 28em;
}

.article-faq {
  width: 100%;
  box-sizing: border-box;
  margin: 24px 0 8px;
  padding: 24px 22px 12px;
  border: 1px solid rgba(209, 178, 111, 0.28);
  background:
    linear-gradient(165deg, rgba(209, 178, 111, 0.1), rgba(209, 178, 111, 0.02)),
    rgba(255, 255, 245, 0.02);
  text-align: center;
}

.article-faq__title {
  margin: 0 0 14px;
  color: #d1b26f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.article-block--faq {
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid rgba(209, 178, 111, 0.12);
  text-align: left;
}

.article-block--faq:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.article-block--faq h2 {
  color: #d1b26f;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 500;
  max-width: none;
  margin: 0 0 8px;
  text-align: left;
  white-space: nowrap;
  line-height: 1.3;
}

.article-block--faq p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(245, 245, 245, 0.78);
  text-align: left;
  margin: 0;
}

.article-block--close {
  margin-top: 12px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(209, 178, 111, 0.22);
}

.article-block--close h2 {
  color: #d1b26f;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.article-block--close p {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: rgba(245, 245, 245, 0.84);
  text-align: left;
  margin: 0;
  max-width: none;
}

.post-cta {
  margin: 36px 0 0;
  text-align: center;
}

.post-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid rgba(209, 178, 111, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(209, 178, 111, 0.22), rgba(209, 178, 111, 0.08));
  color: #f5f5f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.post-cta__btn:hover {
  border-color: #d1b26f;
  background: rgba(209, 178, 111, 0.28);
  color: #d1b26f;
}

.article .back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 32px;
  color: #d1b26f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article .back span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article .back:hover span {
  transform: translateX(-3px);
}

@media (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .post-hero {
    min-height: clamp(240px, 36vh, 340px);
    margin-top: 72px;
  }

  .post-hero__copy {
    width: calc(100% - 40px);
    padding-bottom: 28px;
  }

  .post-hero h1 {
    white-space: normal;
    font-size: clamp(1.45rem, 3.4vw, 1.9rem);
    max-width: 14em;
  }

  .article {
    width: min(100% - 40px, 820px);
  }

  .article-block,
  .article-block--left,
  .article-block--right {
    width: min(100%, 560px);
  }
}

/* Tablet / phone: flatten zigzag so text stays readable */
@media (max-width: 900px) {
  .article-block,
  .article-block--left,
  .article-block--right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .article-block--right h2,
  .article-block--right .article-block__index {
    text-align: left;
  }

  .article-block--right p {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  html,
  body,
  .article,
  .article .content {
    overflow-x: clip;
  }

  .article-block h2,
  .article-block--faq h2,
  .article-block--close h2 {
    white-space: normal;
  }

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

  .post-hero {
    min-height: clamp(220px, 38vh, 300px);
    margin-top: 64px;
  }

  .post-hero h1 {
    white-space: normal;
    font-size: clamp(1.28rem, 6.2vw, 1.65rem);
    max-width: none;
  }

  .post-hero__copy {
    width: calc(100% - 28px);
    padding-bottom: 20px;
  }

  .article {
    width: calc(100% - 28px);
    padding: 18px 0 64px;
  }

  .article-meta {
    gap: 6px 12px;
    margin-bottom: 16px;
  }

  .article .excerpt {
    font-size: clamp(1.08rem, 4.4vw, 1.28rem);
    padding: 0 0 20px;
    margin-bottom: 22px;
    max-width: none;
  }

  .article-block,
  .article-block--left,
  .article-block--right {
    padding: 20px 0 18px;
  }

  .article-block__index {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
  }

  .article-block h2,
  .article-block--lead h2 {
    font-size: clamp(0.88rem, 3.4vw, 1.08rem);
    max-width: none;
    white-space: nowrap;
  }

  .article-block p,
  .article-block--lead p,
  .article-block--faq p {
    font-size: 0.98rem;
    text-align: left;
  }

  .article-pull {
    padding: 20px 16px 22px;
  }

  .article-pull__text {
    font-size: clamp(0.95rem, 3.6vw, 1.05rem);
    max-width: none;
  }

  .article-faq {
    padding: 16px 12px 6px;
  }

  .article-block--faq h2 {
    font-size: clamp(0.82rem, 3.2vw, 0.98rem);
    white-space: nowrap;
  }

  .post-cta__btn {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .post-hero__copy,
  .article {
    width: calc(100% - 20px);
  }

  .article-meta .crumb,
  .article-meta time {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}
