/* ==========================================================================
   RAMOJI STUDIO — POST PRODUCTION PAGE STYLESHEET
   Consistent with On-Production Facilities, Locations, Security & Hospitality
   ========================================================================== */

/* Hero Header (#sd-fiveb) */
#sd-fiveb {
  position: relative;
  z-index: 10;
  background: var(--primary-clr);
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: 85vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 13vh 2.3vw 0;
}

.sd-post-hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  filter: grayscale(1) brightness(1.5);
}

.sd-post-hero-bg img {
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  max-height: 52vh;
  object-fit: cover;
  object-position: bottom center;
  display: block;
}

#sd-fiveb .sd-fmt-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1300px;
  width: 100%;
}

#sd-fiveb .sd-fmt-header h1 {
  color: #ffffff;
  margin-bottom: 0;
  text-wrap: balance;
}

#sd-fiveb .sd-fmt-header p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.28;
  color: #f1efea;
  margin: 0 auto;
  max-width: 880px;
}

.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.7);
  margin-bottom: 0.8vh;
}

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

.sd-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sd-breadcrumbs .sd-bc-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.sd-breadcrumbs .sd-bc-current,
.sd-breadcrumbs span:last-child {
  color: #ffffff;
  font-weight: 400;
}

/* ==========================================================================
   GLOBAL SECTION ARCHITECTURE & SPACING
   ========================================================================== */
.sd-post-section {
  position: relative;
  z-index: 7;
  background: #ffffff;
  color: var(--primary-clr);
  box-sizing: border-box;
  width: 100%;
  padding: var(--comm-spc);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sd-post-section.sd-post-alt {
  background: #fbf9f4;
}

.sd-post-container {
  width: 100%;
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
}

/* Section Header (Title & Eyebrow) */
.sd-post-header {
  margin-bottom: clamp(32px, 4vh, 48px);
}

/* Section Header (Title & Eyebrow) */
.sd-post-eyebrow,
.sd-mini-title {
  font-family: "Geist", Helvetica, Arial, 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-post-title {
  font-family: Anton, sans-serif;
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin: 0 0 12px;
}

/* ==========================================================================
   SPLIT SHOWCASE ROW (IMAGE ON LEFT, NARRATIVE ON RIGHT)
   ========================================================================== */
.sd-post-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
  margin-bottom: clamp(36px, 4.5vh, 56px);
  width: 100%;
}

.sd-post-showcase-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 11;
  background: #000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.sd-post-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-post-showcase-media:hover img {
  transform: scale(1.03);
}

.sd-post-narrative-content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.4vh, 18px);
}

.sd-post-subheading {
  font-family: Anton, sans-serif;
  font-size: clamp(20px, 1.25vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--primary-clr);
  margin: 0;
  letter-spacing: 0px;
}

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

.sd-post-narrative-actions {
  margin-top: clamp(8px, 1.2vh, 16px);
  display: flex;
  align-items: flex-start;
}

/* ==========================================================================
   4-FEATURE CARDS GRID (NO HOVER LIFT)
   ========================================================================== */
.sd-post-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  width: 100%;
  margin-bottom: clamp(36px, 4.5vh, 56px);
}

.sd-post-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 2.5vw, 34px);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-post-section.sd-post-alt .sd-post-card {
  background: #ffffff;
}

.sd-post-card-icon {
  font-size: 32px;
  color: var(--primary-clr);
  line-height: 1;
}

.sd-post-card-title {
  font-family: Anton, sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin: 0;
  letter-spacing: 0.1vw;
  line-height: 1.25;
}

.sd-post-card-desc {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.55;
  color: #666666;
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   FULL-WIDTH BENTO IMAGE GALLERY (MATCHING ON-PRODUCTION FACILITIES PAGE)
   ========================================================================== */
.sd-post-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  width: 100%;
}

.sd-post-bento-card {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 0;
  min-height: 380px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.sd-post-bento-lg {
  grid-column: span 7;
  min-height: clamp(380px, 48vh, 520px);
}

.sd-post-bento-md {
  grid-column: span 5;
  min-height: clamp(380px, 48vh, 520px);
}

.sd-post-bento-sm {
  grid-column: span 4;
  min-height: clamp(300px, 38vh, 420px);
}

.sd-post-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .sd-post-showcase-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sd-post-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sd-post-bento-lg,
  .sd-post-bento-md {
    grid-column: span 6;
    min-height: 360px;
  }

  .sd-post-bento-sm {
    grid-column: span 6;
    min-height: 300px;
  }

  .sd-post-bento-sm:last-child {
    grid-column: span 12;
  }
}

@media (max-width: 1024px) {
  #sd-fiveb {
    height: 70vh;
    min-height: 520px;
    padding: 12vh 4vw 0;
  }


  #sd-fiveb .sd-fmt-header p {
    font-size: 20px;
  }

}

@media (max-width: 680px) {
  #sd-fiveb {
    height: auto;
    min-height: 480px;
    padding: 14vh 5vw 4vh;
  }


  #sd-fiveb .sd-fmt-header p {
    font-size: 18px;
  }


  .sd-post-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sd-post-showcase-media {
    aspect-ratio: 16 / 10;
  }

  .sd-post-bento-lg,
  .sd-post-bento-md,
  .sd-post-bento-sm,
  .sd-post-bento-sm:last-child {
    grid-column: span 12;
    min-height: 260px;
  }
}