/*
 * B.Tech Chemical Engineering — Design Working File WKmMos0BVKrPV95jSEUBaJ
 * Desktop: https://www.figma.com/design/WKmMos0BVKrPV95jSEUBaJ/Design-Working-File?node-id=481-10003&m=dev
 * Mobile:  https://www.figma.com/design/WKmMos0BVKrPV95jSEUBaJ/Design-Working-File?node-id=583-18459&m=dev
 * Scoped under .figma-btech-chem
 */

.figma-btech-chem {
  --fcp-brand: #a70e13;
  --fcp-ink: #222222;
  --fcp-secondary: #434343;
  --fcp-tertiary: #656565;
  --fcp-stroke: #bbbbbb;
  --fcp-stroke-dark: #989898;
  --fcp-section-bg: #efefef;
  --fcp-gallery-bg: #f3f3f3;
  --fcp-light-section: #f4f4f4;
  --fcp-white: #ffffff;

  --fcp-gap-section: 80px;
  --fcp-gap-extra: 40px;
  --fcp-gap-lg: 24px;
  --fcp-gap-ml: 20px;
  --fcp-gap-md: 12px;
  --fcp-gap-sm: 8px;
  --fcp-gap-xs: 4px;

  --fcp-pad-card: 30px;
  --fcp-pad-lg: 24px;
  --fcp-pad-panel: 40px;
  --fcp-pad-cta-x: 24px;
  --fcp-pad-cta-y: 12px;
  --fcp-pad-tertiary-x: 4px;
  --fcp-pad-tertiary-y: 6px;

  --fcp-pad-inline: var(--iitd-pad-page, 80px);
  --fcp-content-max: min(1280px, 100%);

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--fcp-gap-section);
  width: 100%;
  margin: 0;
  padding: var(--fcp-gap-section) 0;
  color: var(--fcp-ink);
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  line-height: normal;
  background: var(--fcp-white);
}

.figma-btech-chem *,
.figma-btech-chem *::before,
.figma-btech-chem *::after {
  box-sizing: border-box;
}

.figma-btech-chem a {
  color: var(--fcp-brand);
}

.figma-btech-chem .fcp-page-inner {
  width: 100%;
  max-width: var(--fcp-content-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--fcp-pad-inline);
  padding-left: var(--fcp-pad-inline);
}

/* ---------- Hero ---------- */

.figma-btech-chem .fcp-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--fcp-gap-extra);
  width: 100%;
}

.figma-btech-chem .fcp-bc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fcp-gap-md);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.figma-btech-chem .fcp-bc-item {
  display: inline-flex;
  align-items: center;
}

.figma-btech-chem .fcp-bc-link {
  color: var(--fcp-stroke);
  text-decoration: none;
  font-weight: 600;
}

.figma-btech-chem .fcp-bc-link:hover,
.figma-btech-chem .fcp-bc-link:focus-visible {
  color: var(--fcp-brand);
  text-decoration: underline;
  outline: none;
}

.figma-btech-chem .fcp-bc-current {
  color: var(--fcp-ink);
  font-weight: 600;
}

.figma-btech-chem .fcp-bc-sep {
  color: var(--fcp-stroke);
  font-weight: 400;
  user-select: none;
}

.figma-btech-chem .fcp-overview {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-extra);
  width: 100%;
}

.figma-btech-chem .fcp-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fcp-gap-md);
  width: 100%;
}

.figma-btech-chem .fcp-title {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fcp-gap-md);
  align-items: center;
  flex-shrink: 0;
}

.figma-btech-chem .fcp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--fcp-pad-cta-y) var(--fcp-pad-cta-x);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  line-height: normal;
  border: 1px solid transparent;
  white-space: nowrap;
}

.figma-btech-chem .fcp-action--primary {
  background: var(--fcp-brand);
  border-color: var(--fcp-brand);
  color: var(--fcp-white);
}

.figma-btech-chem .fcp-action--secondary {
  background: var(--fcp-white);
  border-color: var(--fcp-brand);
  color: var(--fcp-brand);
}

.figma-btech-chem .fcp-action--outline {
  background: var(--fcp-white);
  border-color: var(--fcp-brand);
  color: var(--fcp-brand);
}

.figma-btech-chem .fcp-action--primary:hover,
.figma-btech-chem .fcp-action--primary:focus-visible {
  background: #8f0c11;
  border-color: #8f0c11;
  outline: none;
}

.figma-btech-chem .fcp-action--secondary:hover,
.figma-btech-chem .fcp-action--secondary:focus-visible,
.figma-btech-chem .fcp-action--outline:hover,
.figma-btech-chem .fcp-action--outline:focus-visible {
  background: rgba(167, 14, 19, 0.06);
  outline: none;
}

.figma-btech-chem .fcp-lede {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-secondary);
}

/* ---------- Gallery band ---------- */

.figma-btech-chem .fcp-gallery-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--fcp-gap-section) var(--fcp-pad-inline);
}

.figma-btech-chem .fcp-gallery-band__bg {
  position: absolute;
  inset: 0;
  background: var(--fcp-gallery-bg);
  z-index: 0;
}

.figma-btech-chem .fcp-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 847fr) minmax(0, 413fr);
  gap: var(--fcp-gap-ml);
  width: 100%;
  max-width: var(--fcp-content-max);
  margin: 0 auto;
}

.figma-btech-chem .fcp-gallery-main {
  position: relative;
  min-height: 591px;
  overflow: hidden;
}

.figma-btech-chem .fcp-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 591px;
  object-fit: cover;
}

.figma-btech-chem .fcp-gallery-side {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
  min-height: 591px;
}

.figma-btech-chem .fcp-gallery-side-item {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.figma-btech-chem .fcp-gallery-side-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

/* ---------- Focus / pathways panel ---------- */

.figma-btech-chem .fcp-info-band {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.figma-btech-chem .fcp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fcp-gap-ml);
  width: 100%;
  max-width: var(--fcp-content-max);
  margin-right: auto;
  margin-left: auto;
  padding: var(--fcp-pad-panel);
  background: var(--fcp-light-section);
}

.figma-btech-chem .fcp-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-md);
}

.figma-btech-chem .fcp-info-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: var(--fcp-brand);
}

.figma-btech-chem .fcp-info-intro {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-md);
}

.figma-btech-chem .fcp-bullet-list li {
  display: flex;
  align-items: center;
  gap: var(--fcp-gap-md);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-check {
  flex-shrink: 0;
  display: grid;
  place-items: center start;
  width: 34px;
  min-height: 16px;
}

.figma-btech-chem .fcp-check .iitd-icon {
  width: 34px;
  height: 16px;
}

.figma-btech-chem .fcp-pathways-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
}

/* ---------- Section blocks ---------- */

.figma-btech-chem .fcp-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--fcp-gap-lg);
  width: 100%;
}

.figma-btech-chem .fcp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fcp-gap-md);
  width: 100%;
}

.figma-btech-chem .fcp-section-title {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--fcp-gap-sm);
  padding: var(--fcp-pad-tertiary-y) var(--fcp-pad-tertiary-x);
  color: var(--fcp-brand);
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  line-height: normal;
  flex-shrink: 0;
}

.figma-btech-chem .fcp-cta-link:hover {
  text-decoration: underline;
}

/* ---------- Insider / news cards ---------- */

.figma-btech-chem .fcp-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  background: var(--fcp-stroke);
  border: 1px solid var(--fcp-stroke);
}

.figma-btech-chem .fcp-news-card {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
  padding: var(--fcp-pad-card);
  text-decoration: none;
  color: inherit;
  background: var(--fcp-white);
  min-height: 100%;
}

.figma-btech-chem .fcp-news-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.figma-btech-chem .fcp-news-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-btech-chem .fcp-news-copy {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-md);
  margin-top: auto;
}

.figma-btech-chem .fcp-news-type {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-news-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-tertiary);
}

.figma-btech-chem .fcp-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--fcp-gap-xs) var(--fcp-gap-sm);
  background: var(--fcp-brand);
  color: var(--fcp-white);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  align-self: flex-start;
}

.figma-btech-chem .fcp-news-card:hover .fcp-news-title {
  text-decoration: underline;
}

.figma-btech-chem .fcp-news-card:focus-visible {
  outline: 3px solid var(--fcp-brand);
  outline-offset: 2px;
  position: relative;
  z-index: 1;
}

/* ---------- Curriculum ---------- */

.figma-btech-chem .fcp-curriculum-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-secondary);
}

.figma-btech-chem .fcp-outcomes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
}

.figma-btech-chem .fcp-outcomes-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fcp-secondary);
}

.figma-btech-chem .fcp-outcomes-list {
  max-width: 960px;
}

.figma-btech-chem .fcp-curriculum-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--fcp-pad-panel) var(--fcp-pad-inline);
}

.figma-btech-chem .fcp-curriculum-band__bg {
  position: absolute;
  inset: 0;
  background: var(--fcp-light-section);
  z-index: 0;
}

.figma-btech-chem .fcp-curriculum-scroll {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--fcp-content-max);
  margin: 0 auto;
}

.figma-btech-chem .fcp-curriculum-table {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr) auto;
  gap: var(--fcp-gap-extra);
  width: 100%;
}

.figma-btech-chem .fcp-curriculum-col {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
}

.figma-btech-chem .fcp-curriculum-col--credits {
  align-items: center;
  text-align: center;
}

.figma-btech-chem .fcp-curriculum-col-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: var(--fcp-brand);
}

.figma-btech-chem .fcp-curriculum-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
  font-size: 14px;
  line-height: normal;
}

.figma-btech-chem .fcp-curriculum-rows li {
  margin: 0;
}

.figma-btech-chem .fcp-curriculum-rows--types {
  color: var(--fcp-ink);
  font-weight: 400;
}

.figma-btech-chem .fcp-curriculum-rows--courses {
  color: var(--fcp-tertiary);
  font-weight: 400;
}

.figma-btech-chem .fcp-curriculum-rows--credits {
  color: var(--fcp-ink);
  font-weight: 400;
  align-items: center;
}

.figma-btech-chem .fcp-curriculum-overall {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--fcp-ink);
}

/* ---------- Faculty ---------- */

.figma-btech-chem .fcp-faculty-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: calc(320px * 3 + 2px);
  background: var(--fcp-stroke);
  border: 1px solid var(--fcp-stroke);
}

.figma-btech-chem .fcp-faculty-card {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-ml);
  padding: var(--fcp-pad-card);
  text-decoration: none;
  color: inherit;
  background: var(--fcp-white);
}

.figma-btech-chem .fcp-faculty-photo {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.figma-btech-chem .fcp-faculty-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.figma-btech-chem .fcp-faculty-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fcp-gap-xs);
  text-align: center;
}

.figma-btech-chem .fcp-faculty-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-faculty-role {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--fcp-tertiary);
}

.figma-btech-chem .fcp-faculty-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: var(--fcp-gap-extra) auto 0;
  color: var(--fcp-ink);
  font-size: 22px;
  line-height: 1;
}

.figma-btech-chem .fcp-faculty-card:hover .fcp-faculty-name {
  text-decoration: underline;
}

.figma-btech-chem .fcp-faculty-card:focus-visible {
  outline: 3px solid var(--fcp-brand);
  outline-offset: 2px;
  position: relative;
  z-index: 1;
}

/* ---------- Explore more (muted) ---------- */

.figma-btech-chem .fcp-block--muted {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--fcp-gap-section) var(--fcp-pad-inline);
}

.figma-btech-chem .fcp-block--muted .fcp-block__bg {
  position: absolute;
  inset: 0;
  background: var(--fcp-section-bg);
  z-index: 0;
}

.figma-btech-chem .fcp-block--muted .fcp-page-inner {
  position: relative;
  z-index: 1;
}

.figma-btech-chem .fcp-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  background: var(--fcp-stroke-dark);
  border: 1px solid var(--fcp-stroke-dark);
}

.figma-btech-chem .fcp-explore-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: var(--fcp-pad-card);
  text-decoration: none;
  color: inherit;
  background: var(--fcp-section-bg);
}

.figma-btech-chem .fcp-explore-card-inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--fcp-gap-ml);
  width: 100%;
  max-width: 320px;
  min-height: 0;
}

.figma-btech-chem .fcp-explore-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 120px;
  width: 260px;
  max-width: 100%;
  overflow: hidden;
}

.figma-btech-chem .fcp-explore-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-btech-chem .fcp-explore-footer {
  display: flex;
  align-items: center;
  gap: var(--fcp-gap-md);
  width: 100%;
}

.figma-btech-chem .fcp-explore-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  color: var(--fcp-ink);
}

.figma-btech-chem .fcp-explore-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--fcp-ink);
  line-height: 1;
}

.figma-btech-chem .fcp-explore-arrow .iitd-icon {
  width: 30px;
  height: 30px;
}

.figma-btech-chem .fcp-explore-card:hover .fcp-explore-title {
  text-decoration: underline;
}

.figma-btech-chem .fcp-explore-card:focus-visible {
  outline: 3px solid var(--fcp-brand);
  outline-offset: 2px;
  position: relative;
  z-index: 1;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
  .figma-btech-chem .fcp-card-row,
  .figma-btech-chem .fcp-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-btech-chem .fcp-gallery {
    grid-template-columns: 1fr;
  }

  .figma-btech-chem .fcp-gallery-main {
    min-height: 400px;
  }

  .figma-btech-chem .fcp-gallery-main img {
    min-height: 400px;
  }

  .figma-btech-chem .fcp-gallery-side {
    min-height: 0;
    flex-direction: row;
  }

  .figma-btech-chem .fcp-curriculum-band {
    padding-left: 0;
    padding-right: 0;
  }

  .figma-btech-chem .fcp-curriculum-scroll {
    max-width: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-left: var(--fcp-pad-inline);
    padding-right: var(--fcp-pad-inline);
  }

  .figma-btech-chem .fcp-curriculum-table {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--fcp-gap-extra);
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin: 0;
  }

  .figma-btech-chem .fcp-curriculum-col {
    flex: 0 0 auto;
    gap: var(--fcp-gap-ml);
  }

  .figma-btech-chem .fcp-curriculum-col:first-child {
    width: 225px;
  }

  .figma-btech-chem .fcp-curriculum-col:nth-child(2) {
    width: min(788px, max-content);
  }

  .figma-btech-chem .fcp-curriculum-col--credits {
    align-items: center;
    text-align: center;
    min-width: max-content;
  }
}

@media (max-width: 991.98px) {
  .figma-btech-chem {
    --fcp-pad-inline: var(--iitd-pad-page, 24px);
    --fcp-gap-section: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .figma-btech-chem .fcp-block--muted {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .figma-btech-chem .fcp-gallery-band {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .figma-btech-chem .fcp-heading-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--fcp-gap-lg);
  }

  .figma-btech-chem .fcp-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .figma-btech-chem .fcp-title {
    font-size: 32px;
  }

  .figma-btech-chem .fcp-section-title {
    font-size: 28px;
  }

  .figma-btech-chem .fcp-info-grid {
    grid-template-columns: 1fr;
  }

  .figma-btech-chem .fcp-faculty-row {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .figma-btech-chem {
    --fcp-pad-inline: var(--iitd-pad-page, 40px);
  }
}

@media (max-width: 767.98px) {
  .figma-btech-chem {
    --fcp-gap-section: 60px;
    --fcp-gap-extra: 40px;
    --fcp-pad-inline: 20px;
    --fcp-pad-panel: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: var(--fcp-gap-section);
  }

  /* ---------- Hero ---------- */

  .figma-btech-chem .fcp-hero {
    gap: var(--fcp-gap-lg);
  }

  .figma-btech-chem .fcp-bc-list {
    gap: var(--fcp-gap-sm);
    font-size: 12px;
  }

  .figma-btech-chem .fcp-overview {
    gap: var(--fcp-gap-lg);
  }

  .figma-btech-chem .fcp-heading-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--fcp-gap-ml);
  }

  .figma-btech-chem .fcp-title {
    font-size: 24px;
    line-height: normal;
  }

  .figma-btech-chem .fcp-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: var(--fcp-gap-md);
  }

  .figma-btech-chem .fcp-action {
    font-size: 16px;
    line-height: normal;
    padding: var(--fcp-gap-sm) var(--fcp-pad-cta-x);
  }

  .figma-btech-chem .fcp-action--secondary {
    flex: 1 1 auto;
    min-width: 0;
  }

  .figma-btech-chem .fcp-action--primary {
    flex: 0 0 auto;
  }

  .figma-btech-chem .fcp-lede {
    max-width: none;
    font-size: 14px;
    line-height: normal;
  }

  /* Gallery: stacked main + thumbnail row, full-bleed band */
  .figma-btech-chem .fcp-gallery-band {
    padding: var(--fcp-pad-panel) 0;
    margin-top: 0;
  }

  .figma-btech-chem .fcp-gallery-band__bg {
    background: var(--fcp-section-bg);
  }

  .figma-btech-chem .fcp-gallery {
    grid-template-columns: 1fr;
    gap: var(--fcp-gap-md);
    padding: 0 var(--fcp-pad-inline);
  }

  .figma-btech-chem .fcp-gallery-main {
    min-height: 0;
    aspect-ratio: 350 / 292;
  }

  .figma-btech-chem .fcp-gallery-main img {
    min-height: 0;
    height: 100%;
  }

  .figma-btech-chem .fcp-gallery-side {
    flex-direction: row;
    min-height: 0;
    gap: var(--fcp-gap-md);
    height: 103px;
  }

  .figma-btech-chem .fcp-gallery-side-item {
    flex: 1 1 0;
  }

  .figma-btech-chem .fcp-gallery-side-item img {
    min-height: 0;
    height: 100%;
  }

  /* Focus / pathways panel */
  .figma-btech-chem .fcp-info-grid {
    padding: var(--fcp-pad-lg);
    grid-template-columns: 1fr;
    gap: var(--fcp-gap-extra);
  }

  .figma-btech-chem .fcp-info-col {
    gap: var(--fcp-gap-md);
  }

  .figma-btech-chem .fcp-info-title {
    font-size: 20px;
    line-height: normal;
  }

  .figma-btech-chem .fcp-info-intro,
  .figma-btech-chem .fcp-bullet-list li {
    font-size: 14px;
    line-height: normal;
  }

  .figma-btech-chem .fcp-bullet-list {
    gap: var(--fcp-gap-md);
  }

  .figma-btech-chem .fcp-pathways-wrap {
    gap: var(--fcp-gap-ml);
  }

  /* ---------- Section blocks ---------- */

  .figma-btech-chem .fcp-block {
    gap: var(--fcp-gap-ml);
  }

  .figma-btech-chem .fcp-section-head {
    gap: var(--fcp-gap-md);
    flex-wrap: nowrap;
    align-items: center;
  }

  .figma-btech-chem .fcp-section-title {
    font-size: 32px;
    line-height: normal;
  }

  .figma-btech-chem .fcp-block--explore .fcp-section-title {
    font-size: 20px;
  }

  .figma-btech-chem .fcp-cta-link {
    font-size: 16px;
    line-height: normal;
    gap: var(--fcp-gap-xs);
    padding: var(--fcp-pad-tertiary-y) var(--fcp-pad-tertiary-x);
  }

  .figma-btech-chem .fcp-cta-link .bi {
    font-size: 16px;
    line-height: 1;
  }

  .figma-btech-chem .fcp-action--outline {
    font-size: 16px;
    padding: var(--fcp-gap-sm) var(--fcp-pad-cta-x);
    white-space: nowrap;
  }

  .figma-btech-chem .fcp-curriculum-desc {
    font-size: 14px;
    line-height: normal;
  }

  /* ---------- Insider cards (horizontal scroll) ---------- */

  .figma-btech-chem .fcp-card-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    width: calc(100% + 2 * var(--fcp-pad-inline));
    max-width: none;
    margin-left: calc(-1 * var(--fcp-pad-inline));
    margin-right: calc(-1 * var(--fcp-pad-inline));
    padding-left: var(--fcp-pad-inline);
    padding-right: var(--fcp-pad-inline);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--fcp-pad-inline);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border: 0;
    background: transparent;
  }

  .figma-btech-chem .fcp-news-card {
    flex: 0 0 min(320px, calc(100vw - 2 * var(--fcp-pad-inline) - 24px));
    scroll-snap-align: start;
    border: 1px solid var(--fcp-stroke);
    gap: var(--fcp-gap-ml);
    padding: var(--fcp-pad-card);
  }

  .figma-btech-chem .fcp-news-card + .fcp-news-card {
    margin-left: -1px;
  }

  .figma-btech-chem .fcp-news-copy {
    gap: var(--fcp-gap-md);
  }

  .figma-btech-chem .fcp-news-type,
  .figma-btech-chem .fcp-news-title {
    font-size: 16px;
    line-height: normal;
  }

  /* ---------- Curriculum table (full-bleed band) ---------- */

  .figma-btech-chem .fcp-curriculum-band {
    padding-top: var(--fcp-pad-panel);
    padding-bottom: var(--fcp-pad-panel);
  }

  .figma-btech-chem .fcp-curriculum-band__bg {
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
  }

  /* ---------- Faculty (vertical list, horizontal cards) ---------- */

  .figma-btech-chem .fcp-faculty-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
  }

  .figma-btech-chem .fcp-faculty-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
    column-gap: var(--fcp-gap-ml);
    row-gap: var(--fcp-gap-xs);
    align-items: center;
    width: 100%;
    padding: var(--fcp-pad-card);
    border: 1px solid var(--fcp-stroke);
  }

  .figma-btech-chem .fcp-faculty-card + .fcp-faculty-card {
    margin-left: 0;
    margin-top: -1px;
  }

  .figma-btech-chem .fcp-faculty-photo {
    grid-row: 1 / -1;
    grid-column: 1;
    width: 76px;
    height: 82px;
    max-height: 82px;
    align-self: center;
  }

  .figma-btech-chem .fcp-faculty-meta {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    text-align: left;
    gap: var(--fcp-gap-xs);
    min-width: 0;
    align-self: center;
  }

  .figma-btech-chem .fcp-faculty-name,
  .figma-btech-chem .fcp-faculty-role {
    font-size: 14px;
    line-height: normal;
  }

  .figma-btech-chem .fcp-faculty-arrow {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin: 0;
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  /* ---------- Explore more ---------- */

  .figma-btech-chem .fcp-block--muted {
    padding-top: var(--fcp-pad-panel);
    padding-bottom: var(--fcp-pad-panel);
  }

  .figma-btech-chem .fcp-block--muted .fcp-page-inner {
    gap: var(--fcp-gap-lg);
  }

  .figma-btech-chem .fcp-explore-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    width: calc(100% + 2 * var(--fcp-pad-inline));
    max-width: none;
    margin-left: calc(-1 * var(--fcp-pad-inline));
    margin-right: calc(-1 * var(--fcp-pad-inline));
    padding-left: var(--fcp-pad-inline);
    padding-right: var(--fcp-pad-inline);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--fcp-pad-inline);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border: 0;
    background: transparent;
  }

  .figma-btech-chem .fcp-explore-card {
    flex: 0 0 min(320px, calc(100vw - 2 * var(--fcp-pad-inline) - 24px));
    scroll-snap-align: start;
    min-height: 300px;
    padding: var(--fcp-pad-card);
    border: 1px solid var(--fcp-stroke-dark);
    justify-content: flex-end;
  }

  .figma-btech-chem .fcp-explore-card + .fcp-explore-card {
    margin-left: -1px;
  }

  .figma-btech-chem .fcp-explore-card-inner {
    max-width: none;
    width: 100%;
    gap: var(--fcp-gap-ml);
  }

  .figma-btech-chem .fcp-explore-media {
    width: 100%;
    max-width: none;
    min-height: 140px;
  }

  .figma-btech-chem .fcp-explore-footer {
    gap: var(--fcp-gap-md);
  }

  .figma-btech-chem .fcp-explore-title {
    font-size: 24px;
    line-height: normal;
  }

}

@media (max-width: 767.98px) and (min-width: 576px) {
  .figma-btech-chem {
    --fcp-pad-inline: max(20px, var(--iitd-pad-page, 24px));
  }
}

@media (max-width: 991.98px) {
  body.has-sticky-header .figma-btech-chem#main-content {
    padding-top: calc(var(--site-header-offset, 88px) + 60px);
    scroll-margin-top: var(--site-header-offset, 88px);
  }
}

@media (max-width: 767.98px) {
  body.has-sticky-header .figma-btech-chem#main-content {
    padding-top: calc(var(--site-header-offset, 88px) + 40px);
  }
}

.figma-btech-chem > .iitd-faq .iitd-faq__inner {
  padding-left: var(--fcp-pad-inline);
  padding-right: var(--fcp-pad-inline);
}

/* ---------- M.Tech. program detail layout ---------- */

.figma-mtech-program .fcp-heading-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.figma-mtech-program .fcp-hero-subtitle {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--fcp-secondary);
}

.figma-mtech-program .fcp-hero-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.figma-mtech-program .fcp-hero-nav-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--fcp-brand);
}

.figma-mtech-program .fcp-overview-split,
.figma-phd-program .fcp-overview-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: var(--fcp-gap-section);
  align-items: start;
  width: 100%;
}

.figma-mtech-program .fcp-overview-split__copy,
.figma-phd-program .fcp-overview-split__copy {
  display: flex;
  flex-direction: column;
  gap: var(--fcp-gap-lg);
  min-width: 0;
}

.figma-mtech-program .fcp-overview-split__copy .fcp-section-title,
.figma-phd-program .fcp-overview-split__copy .fcp-section-title {
  margin: 0;
}

.figma-mtech-program .fcp-overview-split__media,
.figma-phd-program .fcp-overview-split__media {
  width: 100%;
  overflow: hidden;
}

.figma-mtech-program .fcp-overview-split__media img,
.figma-phd-program .fcp-overview-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 847 / 591;
  object-fit: cover;
}

.figma-mtech-program .fcp-overview-split .fcp-outcomes,
.figma-phd-program .fcp-overview-split .fcp-outcomes {
  max-width: none;
}

.figma-mtech-program .fcp-structure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.figma-mtech-program .fcp-structure-card {
  border: 1px solid var(--fcp-stroke);
  border-radius: 8px;
  background: var(--fcp-white);
  overflow: hidden;
}

.figma-mtech-program .fcp-structure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.figma-mtech-program .fcp-structure-summary::-webkit-details-marker {
  display: none;
}

.figma-mtech-program .fcp-structure-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.figma-mtech-program .fcp-structure-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fcp-ink);
}

.figma-mtech-program .fcp-structure-credits {
  font-size: 14px;
  font-weight: 600;
  color: var(--fcp-secondary);
}

.figma-mtech-program .fcp-structure-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--fcp-brand);
}

.figma-mtech-program .fcp-structure-card[open] .fcp-structure-toggle {
  transform: rotate(45deg);
}

.figma-mtech-program .fcp-structure-courses {
  margin: 0;
  padding: 0 24px 20px 44px;
  color: var(--fcp-secondary);
}

.figma-mtech-program .fcp-structure-courses li + li {
  margin-top: 8px;
}

.figma-mtech-program .fcp-structure-notes {
  margin-top: 32px;
}

.figma-mtech-program .fcp-structure-notes-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.figma-mtech-program .fcp-structure-brochure-note {
  margin: 24px 0 0;
  color: var(--fcp-secondary);
}

@media (max-width: 768px) {
  .figma-mtech-program .fcp-overview-split,
  .figma-phd-program .fcp-overview-split {
    grid-template-columns: 1fr;
    gap: var(--fcp-gap-extra);
  }

  .figma-mtech-program .fcp-structure-grid {
    grid-template-columns: 1fr;
  }
}

.figma-mtech-program .figma-mtech-program-sections {
  padding: 0;
  margin: 0;
  width: 100%;
}

.figma-mtech-program .ms-embedded-section {
  scroll-margin-top: calc(var(--site-header-offset, 88px) + 24px);
}

.figma-mtech-program .ms-program-card--current {
  border-color: var(--fcp-brand);
  box-shadow: inset 0 0 0 1px var(--fcp-brand);
}

.figma-mtech-program .ms-program-current-label {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fcp-secondary);
}

.figma-mtech-program .ms-brochure-download {
  display: inline-flex;
  margin-top: 8px;
  text-decoration: none;
}
