

/* ── Hero Section ── */
.knowledge-hero-section {
  position: relative;
  width: 100%;
  /* max-width: 1434px; */
  min-height: 396.41px;
  background: #7A007A;
  padding: 119px 16px 119.02px 16px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background photo overlay at 0.2 opacity */
.knowledge-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.2;
  z-index: 0;
}

/* Content wrapper: centered column, gap 14.8px */
.knowledge-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14.8px;
  text-align: center;
  max-width: 880px;
  width: 100%;
  padding: 0;
}

/* Title: Arial Bold 700, 56px/61.6px, letter-spacing -1.12px, uppercase, #FFFFFF */
.knowledge-hero-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 61.6px;
  letter-spacing: -1.12px;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  max-width: 100%;
  white-space: nowrap;
  width: 100%;
  margin: 0;
}

/* Description: Arial Regular 400, 18px/27px, max-width 672px, opacity 0.9, #FFFFFF */
.knowledge-hero-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0px;
  text-align: center;
  color: #FFFFFF;
  opacity: 0.9;
  max-width: 672px;
  width: 100%;
  margin: 0;
  padding-bottom: 0.59px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .knowledge-hero-section {
    padding: 60px 16px;
    min-height: auto;
  }

  .knowledge-hero-title {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.5px;
    white-space: normal;
  }

  .knowledge-hero-desc {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .knowledge-hero-title {
    font-size: 30px;
    line-height: 36px;
  }
}

/* ══════════════════════════════════════════
   FEATURED RESEARCH SECTION
   Figma Specs:
   Heading: Arial Bold 700, 40px/48px, #4D004C, uppercase
   Underline: 64px x 4px, border-radius 100px, #83387F
   Main Card (Left): width 730px, height 490px
   Right Column Cards: width 350px, height 230px
══════════════════════════════════════════ */
.knowledge-featured-section {
  width: 100%;
  background: #FFFFFF;
  padding: 80px 0 80px 0;
  margin-top: 0;
  box-sizing: border-box;
}

.knowledge-featured-container {
  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Heading block (width 734px, gap 6px) */
.knowledge-featured-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  max-width: 734px;
  width: 100%;
}

/* Title: Arial Bold 700, 40px / 48px, uppercase, #4D004C */
.knowledge-featured-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #4D004C;
  margin: 0;
  text-align: center;
  max-width: 630px;
  width: 100%;
}

/* Underline Pill Accent: width 64px, height 4px, radius 100px, background #83387F */
.knowledge-featured-line {
  width: 64px;
  height: 4px;
  border-radius: 100px;
  background: #83387F;
  flex-shrink: 0;
}

/* Grid layout: Left 730px + Right 350px with 30px gap */
.knowledge-featured-grid {
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
}

/* ── MAIN LEFT CARD (730px x 490px) ── */
.featured-card-main {
  position: relative;
  width: 730px;
  height: 490px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.featured-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  z-index: 0;
}

.featured-card-main:hover .featured-main-bg {
  transform: scale(1.03);
}

.featured-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 21, 21, 0.05) 0%, rgba(19, 21, 21, 0.75) 60.7%, rgba(19, 21, 21, 0.9) 100%);
  z-index: 1;
}

.featured-main-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #FFFFFF;
}

.featured-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 18.93px;
  line-height: 100%;
  color: #FFFFFF;
}

.featured-main-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 40.56px;
  color: #FFFFFF;
  margin: 0;
  max-width: 650px;
}

.featured-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #EFDFE8;
  border-radius: 2017px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #7A007A;
  white-space: nowrap;
}

/* ── RIGHT CARDS COLUMN ── */
.featured-cards-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 350px;
  flex-shrink: 0;
}

.featured-card-small {
  position: relative;
  width: 350px;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-sizing: border-box;
}

.featured-small-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  z-index: 0;
}

.featured-card-small:hover .featured-small-bg {
  transform: scale(1.03);
}

.featured-small-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 21, 21, 0.1) 0%, rgba(19, 21, 21, 0.8) 60.7%, rgba(19, 21, 21, 0.85) 100%);
  z-index: 1;
}

.featured-small-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #FFFFFF;
}

.featured-small-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 100%;
  color: #FFFFFF;
  opacity: 0.9;
}

.featured-small-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15.56px;
  line-height: 19.44px;
  color: #FFFFFF;
  margin: 0;
}

.featured-card-small .featured-badge {
  padding: 4px 10px;
  font-size: 11px;
  line-height: 14px;
  border-radius: 1307px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1120px) {
  .knowledge-featured-grid {
    flex-direction: column;
    align-items: center;
  }

  .featured-card-main {
    width: 100%;
    max-width: 730px;
  }

  .featured-cards-column {
    width: 100%;
    max-width: 730px;
    flex-direction: row;
    justify-content: space-between;
  }

  .featured-card-small {
    flex: 1;
    height: 230px;
  }
}

@media (max-width: 768px) {
  .knowledge-featured-section {
    padding: 50px 0;
  }

  .featured-card-main {
    height: 380px;
    padding: 20px;
  }

  .featured-main-title {
    font-size: 22px;
    line-height: 30px;
  }

  .featured-cards-column {
    flex-direction: column;
  }

  .featured-card-small {
    width: 100%;
  }
}

/* ══════════════════════════════════════════
   MORE RESOURCES SECTION
   Figma Specs:
   Heading: Arial Bold 700, 40px/48px, #4D004C
   Underline: 64px x 4px, border-radius 100px, #83387F
   Tabs: 328px wide container, gap 16px
     Active tab: 48px height, padding 12px 24px, radius 12px, bg #81007F, text Arial 700 Bold 16px/23.4px white
     Nonactive tab: 48px height, padding 12px 24px, radius 12px, bg #FFEFF8, text Arial 700 Bold 14px/23.4px #81007F
   Cards Grid: 1110px width, gap 30px
   Card: width 350px, height 427px, border 1px solid #E4E2E1, radius 12px, bg #FFFFFF
     Image: width 350px, height 216px, object-fit cover
     Badge: top 12px left 12px, padding 8px 12px, radius 90px, bg #81007F, text Arial 700 Bold 12px/14.4px letter-spacing 8% uppercase #FFEFF8
     Body: padding 16px 16px 20px 16px, gap 8px
       Date: Arial 700 Bold 12px/14.4px letter-spacing 8% uppercase #84727F
       Title: Arial 500 Medium 24px/31.2px #1A0019
       Description: Arial 400 Regular 18px/27px #52424E
     Footer: location + Read More button + Download button
══════════════════════════════════════════ */
.knowledge-resources-section {
  width: 100%;
  background: #FBF9F8;
  padding: 100px 0;
  box-sizing: border-box;
}

.knowledge-resources-container {
  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Heading block (width 734px, gap 10px) */
.knowledge-resources-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 734px;
  width: 100%;
}

.knowledge-resources-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #4D004C;
  margin: 0;
  text-align: center;
  max-width: 630px;
  width: 100%;
}

.knowledge-resources-line {
  width: 64px;
  height: 4px;
  border-radius: 100px;
  background: #83387F;
  flex-shrink: 0;
}

/* Filter Tabs (gap 16px) */
.knowledge-resources-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.resource-tab {
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  background: #FFEFF8;
  color: #81007F;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.resource-tab:hover {
  background: #f7d6ea;
}

.resource-tab.active {
  background: #81007F;
  color: #FFFFFF;
  font-weight: 700;
}

/* Resource Cards Grid (3 cards per row on desktop) */
.knowledge-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

/* Single Resource Card (height 427px) */
.resource-card {
  width: 100%;
  max-width: 100%;
  height: 427px;
  background: #FFFFFF;
  border: 1px solid #E4E2E1;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(129, 0, 127, 0.12);
}

/* Image wrapper (width 350px, height 216px) */
.resource-card-image-wrap {
  position: relative;
  width: 100%;
  height: 216px;
  overflow: hidden;
  flex-shrink: 0;
}

.resource-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Badge pill (top 12px, left 12px, radius 90px, bg #81007F, text #FFFFFF) */
.resource-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: 90px;
  background: #81007F;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 14.4px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: #FFFFFF;
  box-sizing: border-box;
}

/* Card Body */
.resource-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

/* Date: Arial Bold 700, 12px/14.4px, 8% letter-spacing, uppercase, #84727F */
.resource-card-date {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 14.4px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: #84727F;
  display: block;
}

/* Title: Arial Medium 500, 24px/31.2px, #1A0019 */
.resource-card-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: 0px;
  color: #1A0019;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-card-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #52424E;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer row */
.resource-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.resource-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #52424E;
}

.resource-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resource-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 23.4px;
  color: #81007F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resource-read-more:hover {
  color: #50004e;
}

.resource-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #52424E;
  transition: color 0.2s ease, transform 0.2s ease;
}

.resource-download-btn:hover {
  color: #81007F;
  transform: translateY(1px);
}

/* Load More Button Wrapper & Button (width 121px, height 48px, padding 12px 20px, gap 10px, radius 8px, bg #81007F) */
.knowledge-load-more-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.knowledge-load-more-btn {
  height: 48px;
  padding: 12px 20px;
  gap: 10px;
  border-radius: 8px;
  background: #81007F;
  border: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 23.4px;
  color: #FFFFFF;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0px 2px 8px rgba(129, 0, 127, 0.2);
}

.knowledge-load-more-btn:hover {
  background: #670066;
}

/* ══════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE STYLES
   ══════════════════════════════════════════ */
@media (max-width: 1120px) {
  .knowledge-featured-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .featured-card-main {
    width: 100%;
    max-width: 730px;
  }

  .featured-cards-column {
    width: 100%;
    max-width: 730px;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .featured-card-small {
    flex: 1;
    width: auto;
    height: 230px;
  }

  .knowledge-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .knowledge-hero-section {
    padding: 60px 16px;
    min-height: auto;
  }

  .knowledge-hero-title {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.5px;
    white-space: normal;
  }

  .knowledge-hero-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .knowledge-featured-section {
    padding: 50px 0;
    margin-top: 0;
  }

  .knowledge-featured-title,
  .knowledge-resources-title {
    font-size: 30px;
    line-height: 38px;
  }

  .featured-card-main {
    height: 360px;
    padding: 20px;
  }

  .featured-main-title {
    font-size: 22px;
    line-height: 30px;
  }

  .featured-date {
    font-size: 15px;
  }

  .featured-cards-column {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .featured-card-small {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  .knowledge-resources-section {
    padding: 50px 0;
  }

  .knowledge-resources-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .resource-tab {
    height: 42px;
    padding: 8px 18px;
    font-size: 14px;
  }

  .resource-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 410px;
  }

  .resource-card-image-wrap {
    width: 100%;
    height: 200px;
  }

  .resource-card-title {
    font-size: 20px;
    line-height: 26px;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .knowledge-resources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .knowledge-hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .knowledge-featured-title,
  .knowledge-resources-title {
    font-size: 24px;
    line-height: 30px;
  }

  .featured-card-main {
    height: 320px;
    padding: 16px;
  }

  .featured-main-title {
    font-size: 18px;
    line-height: 24px;
  }

  .featured-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .resource-card-body {
    padding: 14px;
  }

  .resource-card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .resource-card-desc {
    font-size: 14px;
    line-height: 20px;
  }
}

