/* Insights Page Stylesheet */

.pg-insights-wrapper {
  background-color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
}

/* Hero Section */
.pg-insights-hero {
  min-height: 40vh;
  position: relative;
  color: #f8f9fa;
}

.insights-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.insights-hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 27, 53, 0.85) 0%, rgba(5, 27, 53, 0.7) 50%, rgba(5, 27, 53, 0.3) 100%);
  z-index: 2;
}

.insights-hero-tag {
  color: #c59d5f;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insights-hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.insights-hero-para {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.55;
  opacity: 0.95;
}

/* ===================================
   993px - 1199px (Small Desktop / Large Laptop)
   =================================== */
@media (min-width: 993px) and (max-width: 1199px) {
  .pg-insights-hero {
    min-height: 36vh;
    padding: 3rem 0 !important;
  }

  .insights-hero-tag {
    font-size: 20px;
  }

  .insights-hero-title {
    font-size: 2.4rem;
  }

  .insights-hero-para {
    font-size: 1.05rem;
  }
}

/* ===================================
   768px - 992px (Tablet)
   =================================== */
@media (min-width: 768px) and (max-width: 992px) {
  .pg-insights-hero {
    min-height: auto;
    padding: 2.75rem 0 !important;
  }

  .insights-hero-overlay-gradient {
    background: linear-gradient(to right, rgba(5, 27, 53, 0.9) 0%, rgba(5, 27, 53, 0.75) 60%, rgba(5, 27, 53, 0.45) 100%);
  }

  .insights-hero-tag {
    font-size: 17px;
    margin-bottom: 8px !important;
  }

  .insights-hero-title {
    font-size: 1.9rem;
    margin-bottom: 12px !important;
  }

  .insights-hero-para {
    font-size: 0.98rem;
    line-height: 1.5;
  }
}

/* ===================================
   576px - 767px (Large Mobile)
   =================================== */
@media (min-width: 576px) and (max-width: 767px) {
  .pg-insights-hero {
    min-height: auto;
    padding: 2.25rem 0 !important;
  }

  .insights-hero-overlay-gradient {
    background: linear-gradient(to bottom, rgba(5, 27, 53, 0.55) 0%, rgba(5, 27, 53, 0.9) 70%);
  }

  .insights-hero-tag {
    font-size: 15px;
    margin-bottom: 6px !important;
  }

  .insights-hero-title {
    font-size: 1.55rem;
    line-height: 1.22;
    margin-bottom: 10px !important;
  }

  .insights-hero-para {
    font-size: 0.9rem;
    line-height: 1.48;
  }
}

/* ===================================
   Max 575px (Small Mobile)
   =================================== */
@media (max-width: 575px) {
  .pg-insights-hero {
    min-height: 30vh;
    padding: 1.75rem 0 !important;
  }

  /* .insights-hero-overlay-gradient {
    background: linear-gradient(to bottom, rgba(5, 27, 53, 0.6) 0%, rgba(5, 27, 53, 0.92) 65%);
  } */

  .insights-hero-tag {
    font-size: 13px;
    margin-bottom: 5px !important;
    letter-spacing: 0.04em;
  }

  .insights-hero-title {
    font-size: 1.3rem;
    line-height: 1.28;
    margin-bottom: 8px !important;
  }

  .insights-hero-para {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

/* Content & inquiry section */
.pg-insights-content-section {
  background-color: #ffffff;
}

.badge-areas-of-inquiry {
  border: 1.5px solid #c59d5f;
  color: #c59d5f;
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  letter-spacing: 0.02em;
}

/* Outer card container holding the lists */
.insights-outer-card {
  background-color: #faf9f6;
  border: 1.5px solid #e5e0d8;
  border-radius: 20px;
}

/* Individual list row items */
.insight-row-item {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #ece7de;
  min-height: 86px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.insight-row-item:hover {
  transform: translateY(-2px);
  border-color: #c59d5f;
  box-shadow: 0 6px 20px rgba(197, 157, 95, 0.12);
}

/* Left Chevron Badge */
.insight-badge-num {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 40px;
  background-color: #c59d5f; /* Gold container background */
  color: #c59d5f; /* Gold text */
  clip-path: polygon(0% 0%, 78% 0%, 100% 50%, 78% 100%, 0% 100%);
  z-index: 2;
}

/* Pseudo-element to cover left area in navy, leaving gold border only on the slanted right edge */
.insight-badge-num::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 3.5px; /* Offset to expose the gold border on the right slant */
  background-color: #051b35; /* Navy core */
  clip-path: polygon(0% 0%, 78% 0%, 100% 50%, 78% 100%, 0% 100%);
  z-index: -1;
}

/* Content spacing wrapper offset by left badge */
.insight-row-content-wrapper {
  margin-left: 100px;
}

/* Circle icons */
.insight-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #e2dacd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #c59d5f;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
}

/* Title text column (Times New Roman serif) */
.insight-title-col {
  width: 320px;
  flex-shrink: 0;
  text-align: left;
}

.insight-item-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.45rem;
  color: #051b35;
  font-weight: 700;
}

/* Vertical divider */
.insight-vertical-divider {
  width: 1.5px;
  height: 36px;
  background-color: #e6dfd5;
  flex-shrink: 0;
}

/* Description paragraph styling */
.insight-desc-col {
  text-align: left;
}

.insight-item-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
}

/* Link square arrow button */
.btn-insight-arrow {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background-color: #c59d5f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.btn-insight-arrow:hover {
  background-color: #051b35;
  color: #ffffff;
  transform: scale(1.05);
}

/* ===================================
   993px - 1199px (Small Desktop / Large Laptop)
   Base row layout still active (>991.98px), scale down proportionally
   =================================== */
@media (min-width: 993px) and (max-width: 1199px) {
  .badge-areas-of-inquiry {
    font-size: 16px;
    padding: 7px 20px;
  }

  .insights-outer-card {
    padding: 2rem !important;
  }

  .insight-row-item {
    min-height: 74px;
    overflow: visible;
  }

  .insight-badge-num {
    width: 74px;
    font-size: 32px;
  }

  .insight-row-content-wrapper {
    margin-left: 84px;
  }

  .insight-icon-circle {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
    margin-right: 20px !important;
  }

  .insight-title-col {
    width: 240px;
    margin-right: 24px !important;
  }

  .insight-item-title {
    font-size: 1.15rem;
  }

  .insight-vertical-divider {
    height: 30px;
    margin: 0 20px !important;
  }

  .insight-item-desc {
    font-size: 0.9rem;
  }

  .btn-insight-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* ===================================
   768px - 992px (Tablet)
   max-width:991.98px rule already stacks title/desc, wraps content
   =================================== */
@media (min-width: 768px) and (max-width: 992px) {
  .pg-insights-content-section {
    padding: 3rem 0 !important;
  }

  .badge-areas-of-inquiry {
    font-size: 15px;
    padding: 6px 18px;
  }

  .insights-outer-card {
    padding: 24px !important;
  }

  .insights-list-container {
    gap: 16px !important;
  }

  .insight-row-item {
    min-height: auto;
    border-radius: 12px;
    overflow: visible;
  }

  .insight-badge-num {
    width: 68px;
    font-size: 26px;
  }

  .insight-row-content-wrapper {
    margin-left: 78px;
    padding-right: 16px !important;
  }

  .insight-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-right: 16px !important;
  }

  .insight-title-col {
    margin-bottom: 8px !important;
  }

  .insight-item-title {
    font-size: 1.15rem;
  }

  .insight-item-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .btn-insight-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    margin-top: 12px !important;
  }
}

/* ===================================
   576px - 767px (Large Mobile)
   max-width:767.98px rule already shrinks badge/icon and card padding
   =================================== */
@media (min-width: 576px) and (max-width: 767px) {
  .pg-insights-content-section {
    padding: 2.5rem 0 !important;
  }

  .badge-areas-of-inquiry {
    font-size: 13.5px;
    padding: 6px 16px;
  }

  .insights-outer-card {
    padding: 14px !important;
    border-radius: 16px;
  }

  .insights-list-container {
    gap: 12px !important;
  }

  .insight-row-item {
    border-radius: 10px;
    overflow: visible;
  }

  .insight-badge-num {
    width: 52px;
    font-size: 1.05rem;
  }

  .insight-row-content-wrapper {
    margin-left: 60px;
    padding-right: 12px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .insight-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    margin-right: 12px !important;
  }

  .insight-title-col {
    margin-bottom: 6px !important;
  }

  .insight-item-title {
    font-size: 0.98rem;
    letter-spacing: 0.01em;
  }

  .insight-item-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .btn-insight-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
    margin-top: 8px !important;
    margin-left: auto;
  }
}

/* ===================================
   Max 575px (Small Mobile)
   =================================== */
@media (max-width: 575px) {
  .pg-insights-content-section {
    padding: 2rem 0 !important;
  }

  .badge-areas-of-inquiry {
    font-size: 12px;
    padding: 5px 14px;
  }

  .insights-outer-card {
    padding: 10px !important;
    border-radius: 14px;
  }

  .insights-list-container {
    gap: 10px !important;
  }

  .insight-row-item {
    border-radius: 10px;
    border-width: 1.25px;
    overflow: visible;
  }

  .insight-badge-num {
    width: 42px;
    font-size: 0.85rem;
  }

  .insight-row-content-wrapper {
    margin-left: 48px;
    padding-right: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .insight-icon-circle {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-right: 10px !important;
  }

  .insight-title-col {
    margin-bottom: 5px !important;
  }

  .insight-item-title {
    font-size: 0.85rem;
    letter-spacing: 0;
  }

  .insight-item-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .btn-insight-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    margin-top: 8px !important;
    margin-left: auto;
  }
}
