/* ------------------------------
   BASE
------------------------------ */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fdfdea;
  color: #222;
}

img.responsive-img {
  width: 100%;
  border-radius: 8px;
}

.blog-page {
  padding: 40px 0;
}

.blog-wrapper {
  width: 100%;
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

@media(max-width: 960px) {
  .blog-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   ARTICLE CARD
------------------------------ */
.blog-article {
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 3px 20px rgba(0,0,0,0.06);
}

.blog-hero {
  margin-bottom: 30px;
}

.blog-kicker {
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 34px;
  line-height: 1.25;
  color: #d6451d;
  margin-bottom: 16px;
}

.blog-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.h2 {
  font-size: 26px;
  margin-bottom: 14px;
  color: #d6451d;
  font-weight: 700;
}

.h3 {
  font-size: 20px;
  margin: 16px 0 8px;
  font-weight: 600;
}

.p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.small {
  font-size: 14px;
  color: #666;
}

/* ------------------------------
   SECTIONS
------------------------------ */
.blog-section {
  margin-bottom: 40px;
}

/* ------------------------------
   INGREDIENT BLOCK
------------------------------ */
.ingredient-block {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 16px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.ingredient-block h4 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #d6451d;
  font-weight: 600;
}

.ingredient-block p {
  margin: 4px 0;
  font-size: 14px;
}

/* ------------------------------
   FAQ
------------------------------ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 14px 16px;
  border-radius: 8px;
}

.faq-item h5 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ------------------------------
   RELATED
------------------------------ */
.related {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related a {
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  color: #d6451d;
  text-decoration: none;
  font-weight: 500;
}

.related a:hover {
  background: #fff1e6;
  border-color: #ffd5b6;
}

/* ------------------------------
   AUTHOR
------------------------------ */
.author {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 40px;
}

.author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.author-name {
  font-weight: 600;
  font-size: 15px;
}

/* ------------------------------
   SIDE COLUMN
------------------------------ */
.side-col {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.quick-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.btn-primary {
  display: inline-block;
  background: #d6451d;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 10px;
  text-decoration: none !important;
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ------------------------------
   STICKY CTAS
------------------------------ */
.desktop-cta {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  background: #d6451d;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  text-decoration: none !important;
  font-size: 14px;
}

.mobile-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 480px;
  text-align: center;
  background: #d6451d;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  text-decoration: none !important;
  font-size: 15px;
  z-index: 9999;
}

@media(max-width: 768px) {
  .desktop-cta { display: none; }
  .mobile-cta { display: block; }
}

@media(min-width: 769px) {
  .desktop-cta { display: inline-block; }
  .mobile-cta { display: none; }
}
.blog-page {
  padding-top: 80px; /* adjust if your header height is different */
}
.blog-page .terms-header {
  background: transparent !important;
}
/* ===== isolate blog area from global .card / .terms-header styles ===== */
.blog-page .card,
.blog-page .card .terms-header,
.blog-page .terms-header {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}

/* if global used background images on hero parents */
.blog-page .blog-hero,
.blog-page .blog-hero * {
  background: transparent !important;
  background-color: transparent !important;
}
