/* ==========================================================================
   RAMOJI STUDIO — PRODUCTION GUIDES PAGE STYLESHEET (production-guides.css)
   Colors, typography, and card styles inherited from On-Production Facilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Header (#sd-fiveb.sd-insights-hero) — Solid Blue Matching Insights
   -------------------------------------------------------------------------- */
#sd-fiveb.sd-insights-hero {
  position: relative;
  z-index: 10;
  background: var(--primary-clr, #1b3652);
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 32vh, 380px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vh, 110px) 0 clamp(28px, 3.5vh, 44px);
  text-align: center;
  margin: 0;
}

#sd-fiveb.sd-insights-hero .sd-fmt-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--container-max, 1280px);
  padding: 0 clamp(20px, 4vw, 80px);
  margin: 0 auto;
  box-sizing: border-box;
}

#sd-fiveb.sd-insights-hero h1 {
  color: #ffffff;
  margin: 0 0 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-wrap: balance;
}

#sd-fiveb.sd-insights-hero p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.28;
  color: #f1efea;
  margin: 0 auto;
  width: 100%;
  max-width: 960px;
  box-sizing: border-box;
}

.sd-breadcrumbs {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sd-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sd-breadcrumbs a:hover {
  color: #e31e24;
}

.sd-bc-sep {
  color: rgba(255, 255, 255, 0.4);
}

.sd-bc-current {
  color: #ffffff;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Production Guides Main Section (#sd-guides-main) — Full Width Section
   -------------------------------------------------------------------------- */
#sd-guides-main {
  background: #fbf9f4;
  padding: var(--comm-spc);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sd-props-container {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Split Header (Exact match to on-production-facilities.css) */
.sd-fac-split-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  margin-bottom: clamp(36px, 4.5vh, 56px);
  width: 100%;
}

.sd-fac-split-left {
  max-width: 880px;
}

.sd-fac-split-left .sd-mini-title {
  text-align: left;
}

.sd-mini-title {
  font-family: "Geist", sans-serif;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
  display: block;
}

.sd-fac-section-title {
  font-family: Anton, sans-serif;
  font-size: clamp(32px, 3.8vw, 60px);
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--primary-clr, #1b3652);
  margin: 0 0 20px 0;
  text-wrap: balance;
}

.sd-props-desc-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-props-desc {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   8-Card Grid Layout (Inherited from On-Production Facilities Cards)
   -------------------------------------------------------------------------- */
.sd-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  width: 100%;

  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1280px) {
  .sd-guides-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .sd-guides-grid {
    grid-template-columns: 1fr;
    gap: 16px;

    margin-left: auto;
    margin-right: auto;
  }

  .sd-fac-split-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Individual Guide Card (Clean palette, no pill radius, matching on-production-facilities) */
.sd-guide-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.sd-guide-card:hover {
  border-color: var(--primary-clr, #1b3652);
  transform: translateY(-4px);
}

/* 16:9 Image Wrapper */
.sd-guide-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #000;
}

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

/* Card Body (Matches .sd-fac-feat-card typography) */
.sd-guide-body {
  padding: clamp(22px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.sd-guide-title {
  font-family: Anton, sans-serif;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 400;
  color: var(--primary-clr, #1b3652);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0px;
  line-height: 1.3;
}

.sd-guide-desc {
  font-family: "Geist", sans-serif;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
  color: #666666;
  margin: 0;
  flex-grow: 1;
}

.sd-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.sd-guide-tag-item {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555555;
  background: #fbf9f4;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sd-guide-tag-item i {
  color: #e31e24;
  font-size: 14px;
}