/* ── Insights Page ───────────────────── */

/* Hero */
.insights-hero {
  position: relative;
  background-color: #1B3767;
  background-image: url('../assets/Banner-Bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.insights-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 56px 40px;
}
.insights-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 0;
}
.insights-breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.insights-breadcrumb a:hover {
  text-decoration: underline;
}
.bc-sep {
  color: rgba(255,255,255,.45);
}
.bc-current {
  color: rgba(255,255,255,.85);
}
.insights-hero-title {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 16px 0 0;
  line-height: 1.15;
}
.insights-hero-sub {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,.88);
/*   max-width: 720px; */
  line-height: 1.65;
  margin: 12px 0 0;
}

/* Tabs Bar */
.insights-tabs-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E4E4E4;
}
.insights-tabs-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: stretch;
  gap: 48px;
  height: 62px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.insights-tabs-inner::-webkit-scrollbar {
  display: none;
}
.insights-tab {
  position: relative;
  background: none;
  border: none;
  padding: 0 0 22px;
  margin: 0;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #3A3A3A;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms ease;
  align-self: flex-end;
}
.insights-tab:hover {
  color: #1B3767;
}
.insights-tab.is-active {
  color: #1B3767;
}
.insights-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #F2A63B;
  transition: width 200ms ease;
}
.insights-tab.is-active::after {
  width: 100%;
}

/* Tab Content show/hide */
.insights-tab-content {
  display: none;
}
.insights-tab-content.is-active {
  display: block;
}

/* Page Wrap */
.insights-page-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 56px 80px;
}

/* Sections */
.insights-section {
  width: 100%;
  background: none;
}
.insights-section + .insights-section {
  margin-top: 72px;
}

/* Section Header */
.is-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.is-header-left {
  flex: 1;
  min-width: 0;
}
.is-heading {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #1B3767;
  margin: 0 0 6px;
  line-height: 1.2;
}
.is-desc {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  margin: 0;
  max-width: 560px;
}
.is-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.is-years {
  display: flex;
  align-items: center;
  gap: 32px;
}
.is-year {
  background: none;
  border: none;
  padding: 0 0 3px;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
  position: relative;
  transition: color 200ms ease;
}
.is-year::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #F2A63B;
  transition: width 200ms ease;
}
.is-year:hover {
  color: #222;
}
.is-year.is-active {
  color: #222;
}
.is-year.is-active::after {
  width: 100%;
}
.is-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}
.is-arrow {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #F0F0F0;
  color: #aaa;
  transition: background 200ms ease, color 200ms ease;
  padding: 0;
}
.is-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.is-arrow:not(:disabled):hover {
  background: #1B3767;
  color: #FFFFFF;
}

/* Divider */
.is-divider {
  height: 1px;
  background: #E8E8E8;
  margin-top: 24px;
  margin-bottom: 32px;
}

/* Posts Container */
.is-posts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Featured Card */
.is-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.is-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.is-featured {
  grid-column: 1 / -1;
  min-height: 140px;
}
.is-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.is-card-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.is-card-label {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #F4A329;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.is-card-label-underline {
  display: block;
  width: 22px;
  height: 2px;
  background: #F4A329;
}
.is-card-title {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-weight: 700;
  color: #1B3767;
  margin: 0;
}
.is-card-title a {
  color: inherit;
  text-decoration: none;
}
.is-card-title a:hover {
  color: #1B3767;
}
.is-featured-title {
  font-size: 26px;
  line-height: 1.35;
  max-width: 900px;
}
.is-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}
.is-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #F4A329;
  text-decoration: none;
}
.is-read-more svg {
  flex-shrink: 0;
  transition: transform 180ms ease;
}
.is-read-more:hover svg {
  transform: translateX(4px);
}
.is-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F4A329;
    font-size: 13px;
    line-height: 1.5;
}

.is-card-meta span {
    color: inherit;
}

.is-meta-dot {
    color: #6B7280;
}

/* Secondary Cards */
.is-secondary {
  min-height: 150px;
  grid-column: span 1;
}
.is-secondary .is-card-title {
  font-size: 22px;
  line-height: 1.4;
}
.is-secondary .is-card-bottom {
  margin-top: 10px;
}

/* View All */
.is-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}
.is-view-all svg {
  flex-shrink: 0;
  transition: transform 180ms ease;
}
.is-view-all:hover svg {
  transform: translateX(4px);
}

/* ── Empty state ── */
.is-empty-state {
  text-align: center;
  padding: 80px 0;
  color: #888;
  font-size: 18px;
}

/* ── PMS & AIF Hub ───────────────────── */

/* Featured Info Panel */
.pms-panel {
  display: flex;
  gap: 48px;
  background: #F5F6F8;
  border-radius: 12px;
  padding: 36px 40px;
  margin-top: 32px;
  align-items: flex-start;
}
.pms-panel-left {
  flex: 1;
  min-width: 0;
}
.pms-panel-heading {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px;
  line-height: 1.4;
}
.pms-panel-text {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  margin: 0;
  max-width: 520px;
}
.pms-panel-right {
  flex-shrink: 0;
}

.pms-sub-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #E8EAED;
  border-radius: 8px;
  padding: 4px;
}
.pms-sub-tab {
  background: none;
  border: none;
  padding: 8px 20px;
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  border-radius: 6px;
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.pms-sub-tab:hover {
  color: #222;
}
.pms-sub-tab.is-active {
  background: #FFFFFF;
  color: #1B3767;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* Knowledge Cards Grid */
.pms-knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.pms-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pms-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.pms-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pms-card-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pms-card-label {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #F4A329;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pms-card-label-underline {
  display: block;
  width: 22px;
  height: 2px;
  background: #F2A63B;
}
.pms-card-title {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.4;
}
.pms-card-excerpt {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #555;
  margin: 10px 0 0;
  flex: 1;
}
.pms-card .is-read-more {
  margin-top: 12px;
}

/* PMS Cards hidden by sub-tab filter */
.pms-card.is-hidden {
  display: none;
}

/* ── Video Cards (Webinars) ── */
.w-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.w-video-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.w-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
}
.w-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #13284A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.w-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.w-video-play svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
  transition: transform 180ms ease;
}
.w-video-play:hover svg {
  transform: scale(1.06);
}
.w-video-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.w-video-label {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #F4A329;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.w-video-label-underline {
  display: block;
  width: 22px;
  height: 2px;
  background: #F2A63B;
  margin-top: 3px;
  margin-bottom: 10px;
}
.w-video-title {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.w-video-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}

/* ── Byte Cards (Webinars) ── */
.w-byte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.w-byte-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.w-byte-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.07);
}
.w-byte-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.w-byte-label {
  font-family: 'Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #F4A329;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.w-byte-label-underline {
  display: block;
  width: 22px;
  height: 2px;
  background: #F2A63B;
}
.w-byte-title {
  font-family: 'Avenir Next','Inter','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.w-byte-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .insights-hero-title {
    font-size: 36px;
  }
  .insights-hero-sub {
    font-size: 15px;
    max-width: 100%;
  }
  .is-heading {
    font-size: 32px;
  }
  .is-featured-title {
    font-size: 22px;
  }
  .is-secondary .is-card-title {
    font-size: 18px;
  }
  .is-header-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }
  .is-years {
    gap: 24px;
  }
  .pms-panel {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }
  .pms-panel-text {
    max-width: 100%;
  }
  .w-video-grid,
  .w-byte-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .insights-hero-inner,
  .insights-tabs-inner,
  .insights-page-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .insights-hero-title {
    font-size: 30px;
  }
  .insights-tabs-inner {
    gap: 28px;
    height: 54px;
  }
  .insights-tab {
    font-size: 14px;
    padding-bottom: 18px;
  }
  .is-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .is-header-right {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
  .is-heading {
    font-size: 26px;
  }
  .is-posts-container {
    grid-template-columns: 1fr;
  }
  .is-featured {
    min-height: auto;
  }
  .is-secondary {
    min-height: auto;
  }
  .is-featured-title {
    font-size: 20px;
  }
  .is-secondary .is-card-title {
    font-size: 17px;
  }
  .is-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .pms-knowledge-grid {
    grid-template-columns: 1fr;
  }
  .pms-sub-tabs {
    flex-wrap: wrap;
  }
  .w-video-grid,
  .w-byte-grid {
    grid-template-columns: 1fr;
  }
  .w-video-title {
    font-size: 16px;
  }
  .w-byte-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .insights-hero-title {
    font-size: 26px;
  }
  .insights-tabs-inner {
    gap: 20px;
  }
  .insights-section + .insights-section {
    margin-top: 48px;
  }
}
