/* =====================================================
   Sola Naturals — Blog & Recipes Stylesheet (sn-blog.css)
   Exact match to recipes.html & blog-whats-in-your-morning-scoop.html
   ===================================================== */

:root {
  --sn-blog-serif: var(
    --sn-font-display,
    "Playfair Display",
    "Amiri",
    Georgia,
    serif
  );
  --sn-blog-green: var(--sn-green-900, #1b351d);
  --sn-blog-forest: var(--sn-forest, #1d4d3b);
  --sn-blog-brown: #a85a48;
  --sn-blog-cream: var(--sn-cream, #fbf9f3);
  --sn-blog-line: var(--sn-line, #e3ddcf);
  --sn-blog-terracotta: #a85a48;
}

/* Page (recipes.html: main.blog) */
.sn-blog-page {
  background: #f5f1e6;
  position: relative;
  overflow: hidden;
}

/* Page Wrapper */
.sn-blog-wrap {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
  position: relative;
}

/* Decorative Leaves */
.sn-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.sn-leaf-1 {
  inset-inline-start: 5%;
  top: 76%;
  width: 82px;
}
@media (max-width: 900px) {
  .sn-leaf-1 {
    display: none;
  }
}

/* —— Recipes / Blogs Hero Header —— */
.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding-block: 54px 40px;
  position: relative;
  z-index: 1;
}

.blog-hero .eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sn-blog-forest);
  margin-bottom: 14px;
}

.blog-hero h1 {
  font-family: var(--sn-blog-serif);
  font-weight: 700;
  font-size: clamp(34px, 3.5vw, 44px);
  line-height: 1.12;
  color: #3c6a4a;
  margin: 0 0 14px 0;
}

.blog-hero p {
  font-size: 17px;
  line-height: 1.3;
  max-width: 380px;
  margin: 0;
}

.blog-art {
  position: relative;
  width: 380px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.blog-art .bowl-img {
  width: 64%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(33, 63, 35, 0.12));
}

.blog-art .sticker {
  position: absolute;
  inset-inline-start: 0;
  top: 4%;
  width: 34%;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.blog-art .curl {
  position: absolute;
  inset-inline-start: 30%;
  top: 10%;
  width: 22%;
  z-index: 1;
  pointer-events: none;
}

[dir="rtl"] .blog-art .curl {
  transform: scaleX(-1);
}

@media (max-width: 900px) {
  .blog-hero {
    grid-template-columns: 1fr;
  }
  .blog-art {
    width: 300px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .blog-hero {
    padding-top: 34px;
  }
  .blog-hero h1 {
    font-size: 34px;
  }
}

/* —— Filter Chips —— */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sn-blog-line);
  max-width: 960px;
  margin: 0 auto 28px;
}

.chips.reivew-margin {
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 64px;
  padding: 4px 16px;
  border: 1.5px solid var(--sn-blog-forest);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--sn-blog-forest);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.chip:hover {
  background: #eef4e8;
  color: var(--sn-blog-forest);
}

.chip.is-active {
  background: var(--sn-blog-forest);
  color: #ffffff;
  border-color: var(--sn-blog-forest);
}

@media (max-width: 600px) {
  .chips {
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex: none;
    font-size: 12px;
    min-height: 40px;
    padding: 6px 14px;
  }
}

/* —— Posts Grid & Cards —— */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  max-width: 960px;
  margin-inline: auto;
}

.post {
  background: #fbf9f3;
  border: 1.5px solid var(--sn-blog-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(80, 60, 20, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.post:hover {
  transform: translateY(-3px);
  border-color: #6ea460;
  box-shadow: 0 10px 24px rgba(33, 63, 35, 0.08);
}

.post-media {
  position: relative;
  aspect-ratio: 226 / 124;
  overflow: hidden;
  background: #f1ede1;
  display: block;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.post:hover .post-media img {
  transform: scale(1.05);
}

.post-tags {
  position: absolute;
  inset-inline-start: 14px;
  top: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.post-tags span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--sn-blog-forest);
  padding: 3px 9px;
  border-radius: 999px;
}

.post.is-article .post-tags span {
  background: var(--sn-blog-terracotta);
}

.post-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post h3 {
  font-family: var(--sn-blog-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: #141412;
  margin: 0 0 18px 0;
}

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

.post h3 a:hover,
.post:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post p {
  font-size: 15.5px;
  line-height: 1.3;
  color: #6b6b63;
  flex: 1;
  min-height: 40px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  margin: 14px 0 12px;
  color: #141412;
}

.post-meta > :last-child:not(:first-child) {
  color: var(--sn-blog-forest);
}

.post-link {
  font-size: 10px;
  font-weight: 700;
  color: var(--sn-blog-forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.post-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-note {
  font-size: 9.5px;
  color: #555;
  max-width: 960px;
  margin: 28px auto 0;
  padding-bottom: 60px;
}

@media (min-width: 1600px) {
  .posts,
  .chips,
  .blog-note {
    max-width: 1400px;
  }
}

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

@media (max-width: 600px) {
  .posts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .post-body {
    padding: 14px;
  }
}

/* =====================================================
   Single Article Detail (blog-whats-in-your-morning-scoop.html)
   ===================================================== */

/* Breadcrumb */
.sn-breadcrumb {
  font-size: 12.5px;
  color: #6b6b63;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sn-breadcrumb a {
  color: #6b6b63;
  text-decoration: none;
}

.sn-breadcrumb a:hover {
  color: var(--sn-blog-forest);
  text-decoration: underline;
}

.sn-breadcrumb strong {
  color: var(--sn-blog-forest);
  font-weight: 700;
}

/* Post Hero Header */
.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 16px 0 clamp(28px, 4vw, 48px);
}

.post-tags.is-static {
  position: static;
  margin-bottom: 14px;
}

.post-hero h1 {
  font-family: var(--sn-blog-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  color: var(--sn-blog-forest);
  margin: 0 0 16px 0;
}

.post-intro {
  font-size: 17px;
  line-height: 1.5;
  color: #3d423a;
  margin: 0 0 14px 0;
}

.post-byline {
  font-size: 11.5px;
  font-weight: 700;
  color: #6b6b63;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.post-hero-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 4px 20px rgba(33, 63, 35, 0.06);
  margin: 0;
  background: #f1ede1;
}

.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .post-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .post-hero-img {
    order: -1;
  }
}

.post-hero.no-cover {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

/* Post Layout: Article Body + Made-With Sidebar */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.post-layout.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.post-layout.no-sidebar .article-body {
  max-width: 820px;
}

.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: #3d423a;
  max-width: 680px;
}

.article-body section + section,
.article-body h2 {
  margin-top: 28px;
}

.article-body h2 {
  font-family: var(--sn-blog-serif);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: var(--sn-blog-brown);
  margin-bottom: 10px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #3d423a;
  margin: 0 0 16px 0;
}

.post-disclaimer {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--sn-blog-line);
  font-size: 12px;
  color: #6b6b63;
  max-width: 680px;
  line-height: 1.6;
}

/* Sidebar: Made With */
.made-with {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border: 1.5px solid var(--sn-blog-line);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(80, 60, 20, 0.05);
}

.made-with .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b5553f;
  margin: 0 0 4px 0;
}

.made-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.made-img {
  display: block;
}

.made-img img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(33, 63, 35, 0.08));
}

.made-with h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sn-blog-forest);
  margin: 0 0 2px 0;
}

.made-with h3 a {
  color: inherit;
  text-decoration: none;
}

.made-with h3 a:hover {
  text-decoration: underline;
}

.made-with .muted {
  font-size: 12px;
  color: #71766d;
  margin: 0 0 4px 0;
}

.made-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--sn-blog-green);
  margin: 4px 0 10px 0;
}

.made-with .buybox,
.made-with .buybox .btn {
  display: block;
  width: 100%;
}

.made-with .buybox .btn {
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: var(--sn-blog-green);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.made-with .buybox .btn:hover {
  background: var(--sn-blog-forest);
}

.made-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--sn-blog-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .made-with {
    position: static;
    max-width: 440px;
    margin-top: 24px;
  }
}

/* Related Articles Section */
.related {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 36px;
  border-top: 1px solid var(--sn-blog-line);
}

.rv-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 20px;
  margin-bottom: 24px;
}

.rv-head h2 {
  font-family: var(--sn-blog-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 32px);
  color: var(--sn-blog-brown);
  margin: 0;
}

.rv-head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--sn-blog-forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.related .posts {
  max-width: none;
}
