/* ============================================================
   Sanaazluxury — Journal (editorial index v2)
   ============================================================ */

.saanaz-blog-page {
  --sz-j-bg: #f3efe6;
  --sz-j-surface: #fffdf9;
  --sz-j-ink: #0e0e0e;
  --sz-j-muted: rgba(14, 14, 14, 0.55);
  --sz-j-line: rgba(14, 14, 14, 0.09);
  --sz-j-gold: #c9a962;
  --sz-j-dark: #050505;

  background: var(--sz-j-bg);
  color: var(--sz-j-ink);
  overflow-x: hidden;
}

/* Nav — match shop / contact / PDP (dark bar, gold links; not cream override) */
.saanaz-blog-page .saanaz-header {
  color: var(--sz-gold-light);
}

.saanaz-blog-page .saanaz-nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.saanaz-blog-page .saanaz-nav-link:hover,
.saanaz-blog-page .saanaz-nav-link.is-active {
  color: var(--sz-gold-light);
}

.saanaz-blog-page .saanaz-nav-icon {
  color: rgba(255, 255, 255, 0.88);
}

.saanaz-blog-main {
  padding-top: 0;
}

#blog-feed {
  scroll-margin-top: calc(var(--sz-header-height) + 1.25rem);
}

/* shared type */
.sz-j-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sz-j-gold);
  margin-bottom: 0.75rem;
}

.sz-j-kicker--light {
  color: rgba(255, 255, 255, 0.55);
}

.sz-j-kicker--dark {
  color: rgba(14, 14, 14, 0.4);
}

.sz-j-index-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.sz-j-index-title em {
  font-style: italic;
  color: var(--sz-j-gold);
}

/* ---- Masthead ---- */
.sz-j-masthead {
  position: relative;
  padding: calc(var(--sz-header-height) + 2.5rem) 0 0;
  background: var(--sz-j-dark);
  color: #f8f6f2;
  overflow: hidden;
}

.sz-j-masthead-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sz-j-masthead-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.sz-j-masthead-watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}

.sz-j-masthead-beam {
  position: absolute;
  top: 0;
  left: 28%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--sz-j-gold), transparent);
  opacity: 0.3;
}

.sz-j-masthead-ring {
  position: absolute;
  right: 8%;
  top: 22%;
  width: min(28vw, 200px);
  height: min(28vw, 200px);
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 50%;
  animation: sz-j-spin 50s linear infinite;
}

@keyframes sz-j-spin {
  to { transform: rotate(360deg); }
}

.sz-j-masthead-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(320px, 34vw);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: 3.5rem;
}

.sz-j-masthead-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 300;
  line-height: 0.92;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.sz-j-masthead-title em {
  font-style: italic;
  color: var(--sz-j-gold);
}

.sz-j-masthead-lead {
  max-width: 26rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 246, 242, 0.62);
  margin-bottom: 1.75rem;
}

.sz-j-masthead-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(248, 246, 242, 0.45);
}

.sz-j-masthead-stats strong {
  color: var(--sz-j-gold);
  font-weight: 600;
}

.sz-j-masthead-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sz-j-gold);
  opacity: 0.6;
}

/* small portrait frame — NOT a giant image */
.sz-j-masthead-frame {
  justify-self: end;
  width: 100%;
  max-width: 280px;
}

.sz-j-masthead-frame-inner {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 340px;
  padding: 6px;
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.5), rgba(201, 169, 98, 0.08));
  border-radius: 2px;
  overflow: hidden;
}

.sz-j-masthead-frame-inner::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

.sz-j-masthead-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: contrast(1.05) saturate(0.92);
}

.sz-j-masthead-caption {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(248, 246, 242, 0.4);
}

.sz-j-marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  overflow: hidden;
}

.sz-j-marquee-track {
  display: flex;
  width: max-content;
  animation: sz-j-marquee 28s linear infinite;
}

.sz-j-marquee-track span {
  flex-shrink: 0;
  padding-right: 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248, 246, 242, 0.35);
}

@keyframes sz-j-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Featured ribbon ---- */
.sz-j-featured {
  padding: 2.5rem 0 0;
  margin-top: -1px;
  background: linear-gradient(180deg, var(--sz-j-dark) 0%, var(--sz-j-bg) 42%);
}

.sz-j-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: var(--sz-j-surface);
  border: 1px solid var(--sz-j-line);
  box-shadow: 0 24px 60px rgba(14, 14, 14, 0.08);
  overflow: hidden;
  transition: transform 0.45s var(--sz-ease, ease), box-shadow 0.45s;
}

.sz-j-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(14, 14, 14, 0.12);
  color: inherit;
}

.sz-j-featured-media {
  position: relative;
  min-height: 200px;
  max-height: 280px;
  overflow: hidden;
  background: #1a1a1a;
}

.sz-j-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--sz-ease, ease);
}

.sz-j-featured-card:hover .sz-j-featured-media img {
  transform: scale(1.04);
}

.sz-j-featured-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: rgba(5, 5, 5, 0.8);
  color: var(--sz-j-gold);
  backdrop-filter: blur(6px);
}

.sz-j-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
}

.sz-j-featured-cat {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sz-j-gold);
  margin-bottom: 0.6rem;
}

.sz-j-featured-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.sz-j-featured-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--sz-j-muted);
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sz-j-featured-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sz-j-ink);
  margin-bottom: 0.5rem;
}

.sz-j-featured-meta {
  font-size: 0.75rem;
  color: rgba(14, 14, 14, 0.38);
}

/* ---- Index list ---- */
.sz-j-index {
  padding: 4rem 0 5rem;
}

.sz-j-index-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sz-j-line);
}

.sz-j-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sz-j-filters button {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--sz-j-muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s;
}

.sz-j-filters button:hover,
.sz-j-filters button.is-active {
  border-color: var(--sz-j-ink);
  background: var(--sz-j-ink);
  color: var(--sz-j-bg);
}

.sz-j-list {
  display: flex;
  flex-direction: column;
}

.sz-j-row {
  border-bottom: 1px solid var(--sz-j-line);
  transition: background 0.35s;
}

.sz-j-row.is-hidden {
  display: none;
}

.sz-j-row:hover {
  background: rgba(255, 255, 255, 0.55);
}

.sz-j-row-link {
  display: grid;
  grid-template-columns: 3.5rem 100px 1fr auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: 1.35rem 0.5rem;
  text-decoration: none;
  color: inherit;
}

.sz-j-row-link:hover {
  color: inherit;
}

.sz-j-row-num {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: 1.5rem;
  color: rgba(14, 14, 14, 0.18);
  line-height: 1;
}

.sz-j-row:hover .sz-j-row-num {
  color: var(--sz-j-gold);
}

.sz-j-row-thumb {
  display: block;
  width: 100px;
  height: 72px;
  overflow: hidden;
  background: #e8e4dc;
  border-radius: 1px;
}

.sz-j-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--sz-ease, ease);
}

.sz-j-row:hover .sz-j-row-thumb img {
  transform: scale(1.08);
}

.sz-j-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.sz-j-row-cat {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sz-j-gold);
}

.sz-j-row-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
}

.sz-j-row-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--sz-j-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sz-j-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(14, 14, 14, 0.4);
  white-space: nowrap;
}

.sz-j-row-arrow {
  font-size: 1.1rem;
  color: var(--sz-j-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.sz-j-row:hover .sz-j-row-arrow {
  opacity: 1;
  transform: translateX(0);
}

.sz-j-empty {
  text-align: center;
  padding: 3rem;
  color: var(--sz-j-muted);
}

/* ---- CTA ---- */
.sz-j-cta {
  padding: 0 0 6rem;
}

.sz-j-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--sz-j-dark);
  color: #f8f6f2;
  border-radius: 2px;
}

.sz-j-cta-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
}

.sz-j-cta-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(248, 246, 242, 0.55);
}

.sz-j-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.sz-j-cta-title em {
  font-style: italic;
  color: var(--sz-j-gold, #c9a962);
}

/* ============================================================
   Article detail
   ============================================================ */

.sz-j-article-wrap {
  background: var(--sz-j-surface);
}

.sz-j-article-head {
  padding: calc(var(--sz-header-height) + 2rem) 0 2.5rem;
  background: var(--sz-j-bg);
  border-bottom: 1px solid var(--sz-j-line);
}

.sz-j-article-back {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sz-j-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.sz-j-article-back:hover {
  color: var(--sz-j-gold);
}

.sz-j-article-head-grid {
  display: grid;
  grid-template-columns: 1fr min(300px, 36%);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.sz-j-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sz-j-muted);
}

.sz-j-article-meta span:first-child {
  color: var(--sz-j-gold);
}

.sz-j-article-title {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.sz-j-article-deck {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--sz-j-muted);
  max-width: 38rem;
  margin-bottom: 1.25rem;
}

.sz-j-article-by {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.38);
  margin: 0;
}

/* compact portrait — not full bleed */
.sz-j-article-portrait {
  margin: 0;
}

.sz-j-article-portrait-frame {
  aspect-ratio: 4 / 5;
  max-height: 360px;
  padding: 5px;
  background: linear-gradient(160deg, var(--sz-j-gold), rgba(201, 169, 98, 0.15));
  overflow: hidden;
}

.sz-j-article-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sz-j-article-body {
  padding: 3.5rem 0 4rem;
}

.sz-j-article-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.sz-j-article-aside-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sz-j-line);
}

.sz-j-aside-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.38);
  margin-bottom: 0.35rem;
}

.sz-j-aside-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.sz-j-aside-shop {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sz-j-gold);
  text-decoration: none;
}

.sz-j-aside-shop:hover {
  color: var(--sz-j-ink);
}

.sz-j-article-prose {
  max-width: 40rem;
}

.sz-j-article-prose p {
  font-size: 1.05rem;
  line-height: 1.88;
  color: rgba(14, 14, 14, 0.78);
  margin-bottom: 1.5rem;
}

.sz-j-article-prose p:first-child::first-letter {
  font-family: var(--sz-font-display, "Cormorant Garamond", serif);
  font-size: 3.25rem;
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.1em 0 0;
  color: var(--sz-j-gold);
}

@media (max-width: 1200px) {
  .sz-j-article-layout {
    grid-template-columns: 1fr;
  }

  .sz-j-article-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .sz-j-article-aside-card {
    border: none;
    padding: 0;
  }
}

@media (max-width: 575px) {
  .sz-j-article-prose p:first-child::first-letter {
    font-size: 2.5rem;
  }
}

.sz-j-article-more {
  padding: 3rem 0 6rem;
  background: var(--sz-j-bg);
  border-top: 1px solid var(--sz-j-line);
}

.sz-j-more-head {
  margin-bottom: 1.75rem;
}

.sz-j-more-list .sz-j-row-link {
  padding-left: 0;
  padding-right: 0;
}

/* responsive */
@media (max-width: 991px) {
  .sz-j-masthead-inner {
    grid-template-columns: 1fr;
  }

  .sz-j-masthead-frame {
    max-width: 220px;
    margin-left: auto;
  }

  .sz-j-featured-card {
    grid-template-columns: 1fr;
  }

  .sz-j-featured-media {
    max-height: 220px;
  }

  .sz-j-featured-media img {
    max-height: 220px;
  }

  .sz-j-article-head-grid {
    grid-template-columns: 1fr;
  }

  .sz-j-article-portrait-frame {
    max-height: 280px;
    max-width: 240px;
  }

  .sz-j-article-layout {
    grid-template-columns: 1fr;
  }

  .sz-j-article-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .sz-j-article-aside-card {
    border: none;
    padding: 0;
  }

  .sz-j-row-link {
    grid-template-columns: 2.5rem 72px 1fr;
    grid-template-rows: auto auto;
  }

  .sz-j-row-meta {
    grid-column: 2 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    white-space: normal;
  }

  .sz-j-row-excerpt {
    display: none;
  }
}

@media (max-width: 767px) {
  .sz-j-row-link {
    grid-template-columns: 2.5rem 72px 1fr;
    grid-template-rows: auto auto;
  }

  .sz-j-row-meta {
    grid-column: 2 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    white-space: normal;
  }

  .sz-j-row-excerpt {
    display: none;
  }

  .sz-j-row-thumb {
    width: 72px;
    height: 56px;
  }
}
