/* =========================================================
   HOME PAGE THEME — Blog Card + Section Title
   Author: ChatGPT & Gwezie
========================================================= */

/* ---------- Page Title Section ---------- */

.home-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 40px auto 25px;
  padding-left: 6px;
  position: relative;
}

.home-head h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f4d074;
  letter-spacing: 0.06em;
  margin: 0;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(139, 96, 28, 0.9),
    0 0 20px rgba(244, 208, 116, 0.9);
}

/* Golden rivets left + right (moved out of sc_card_design) */
.home-head::before,
.home-head::after {
  content: "";
  background-image: url('/assets/images/golden_rivet.png');
  background-size: cover;
  background-repeat: no-repeat;
  width: 45px;
  height: 45px;
  display: block;
}
.home-head::before { margin-right: 8px; }
.home-head::after  { margin-left: 8px; }

/* =========================================================
   BLOG CARDS — SEPARATE FROM OTHER PAGES
========================================================= */

.sc-card-blog {
  background: linear-gradient(to bottom, #38250d, #2b1b08);
  border: 3px solid #ad8640;
  border-radius: 18px;
  padding: 26px;
  width: 85%;
  margin: 0 auto 48px;
  box-shadow:
    0 0 22px rgba(0, 0, 0, 0.85),
    inset 0 0 10px rgba(0, 0, 0, 0.45);
  color: #e9d9b0;
}

/* Prevent gold ribbons from old design */
.sc-card-blog::before,
.sc-card-blog::after {
  display: none !important;
  content: none !important;
  background: none !important;
  border: none !important;
}

/* ---------- Blog Header ---------- */

.sc-card-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 10px;
}

.sc-imgwrap img {
  width: 150px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Blog Post Title */

.sc-name {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #f4d074;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(139, 96, 28, 0.9),
    0 0 20px rgba(244, 208, 116, 0.9);
}

/* ---------- Badge Row ---------- */

.sc-badges-row {
  margin-top: 6px;
}

/* Pills — smaller font, spaced, store style */

.sc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 220, 150, 0.4);
  background: rgba(0, 0, 0, 0.35);

  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  color: #f4e1b2;
  margin-right: 18px;
  margin-top: 6px;
}

.sc-badge a {
  color: inherit;
  text-decoration: none;
}
.sc-badge a:hover { text-decoration: underline; }

/* ---------- Blog Body Box ---------- */

.sc-body {
  margin-top: 16px;
  padding: 16px 18px;
  background: linear-gradient(to bottom, #3a2916, #24170c);
  border-radius: 12px;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.65);
  line-height: 1.55;
  font-size: 1.02rem;
}

/* ---------- Read More Button ---------- */

.sc-card-blog .sc-footer {
  margin-top: 18px;
  padding: 0 0 6px;
  display: flex;
  justify-content: flex-end;
  background: none !important;
  border: none !Important;
  box-shadow: none !important;
}

.sc-card-blog .sc-footer a {
  display: inline-block;
  border: 2px solid #d4a74e;
  padding: 8px 22px;
  border-radius: 999px;
  color: #d4a74e;
  background: #3a2916;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
  transition: 0.2s;
}

.sc-card-blog .sc-footer a:hover {
  background: #51371d;
  box-shadow: 0 0 14px rgba(212, 167, 78, 0.6);
}
