/*
  CSR Management - Template styles
  This file contains only the template-level styling used by the
  About CSR and Reporting & Evaluation templates (hero, breadcrumb,
  tabs, layout, sidebar, base content rules and responsive helpers).

  Page-specific component styles (values, pillars, sroi, hdi, slo, vdi,
  journey, etc.) have been moved to:
    - css/csr-management/tentang-csr.css
    - css/csr-management/pelaporan-evaluasi.css
*/

body.page-template-template-csr-management {visibility: hidden; overflow: visible;}
body.page-template-template-csr-management.loaded {visibility: visible;}

/* Hero Wrapper - full-bleed background behind header */
.csr-hero-wrapper {
  
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -120px; /* pull up behind header */
  padding-top: 120px; /* compensate for header height */
  z-index: 0;
}

.csr-hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.csr-hero {
  position: relative;
  padding: 40px 0 60px;
  color: #fff;
  text-align: center;
}

.csr-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.csr-hero .breadcrumb {
  font-size: 13px;
  margin-bottom: 24px;
  text-align: left;
}

.csr-hero .breadcrumb a { color: #FF6E00; text-decoration: none; }
.csr-hero .breadcrumb .separator { margin: 0 8px; color: rgba(255,255,255,0.85); }
.csr-hero .breadcrumb .current { color: #fff; }

.csr-hero-title { font-size: 32px; font-weight: 700; margin: 0 0 12px; line-height:1.2; }
.csr-hero-desc { font-size: 14px; color: rgba(255,255,255,0.95); max-width:800px; margin:0 auto; }

/* Tabs */
.csr-tabs { margin-top: -40px; position: relative; }
.tab-wrapper { display:flex; gap:12px; margin-bottom: 24px; }
.tab-item { flex:1; padding: 12px 28px; text-align:center; font-weight:600; color:#666; text-decoration:none; border:2px solid #ddd; background:#fff; border-radius:8px; transition:all .25s; }
.tab-item:hover { color:#FF6E00; border-color:#FF6E00; }
.tab-item.active { background: rgba(255,110,0,0.35); color:#FF6E00; border-color:#FF6E00; }

/* Content box + layout */
.csr-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 32px;
  align-items: start;
  padding-left: 30px;
  padding-right: 30px;
}
.csr-layout.no-children {
  display: block;
}

/* Sidebar */
.csr-sidebar { padding:0; }
.csr-sidebar-nav { display:flex; flex-direction:column; border-top:1px solid #e0e0e0; }
.sidebar-nav-item { display:flex; align-items:center; gap:12px; padding:14px 16px; color:#333; text-decoration:none; font-size:14px; font-weight:500; border-bottom:1px solid #e0e0e0; transition:all .15s; }
.sidebar-nav-item:hover { background:#f5f5f5; }
.sidebar-nav-item.active { color:#FF6E00; }
.sidebar-nav-item.active .nav-icon svg { stroke: #FF6E00; }

.nav-icon { width:24px; height:24px; flex-shrink:0; }
.nav-icon svg { width:100%; height:100%; stroke:#333; transition:stroke .2s; }
.nav-text { line-height:1.4; }

/* Main Content base rules */
.csr-main-content { padding:0; }
.csr-main-content h1, .csr-main-content h2, .csr-main-content h3 { color:#105962; font-weight:700; }
.csr-main-content p { color:#666; line-height:1.7; }
.csr-main-content img { max-width:100%; height:auto; border-radius:12px; }

/* Embed/video base */
.csr-main-content .wp-block-embed iframe, .csr-main-content .wp-block-video video { border-radius:12px; width:100%; aspect-ratio:16/9; }

/* Responsive helpers */
@media (max-width: 1024px) {
  .csr-hero-title { font-size:28px; }
  .csr-layout { grid-template-columns:240px 1fr; gap:24px; }
}

@media (max-width: 768px) {
  .csr-hero-wrapper { margin-top:-84px; padding-top:84px; }
  .csr-layout { grid-template-columns:1fr; gap:20px; }
  .csr-main-content { order:1; padding:20px; }
  .csr-sidebar-nav { flex-direction:row; flex-wrap:wrap; gap:8px; }
  .sidebar-nav-item { flex:1 1 calc(50% - 4px); min-width:140px; padding:12px; font-size:13px; }
  .tab-wrapper { flex-direction:column; }
  .tab-item { border-radius:0 !important; }
  .tab-item:first-child { border-radius:12px 12px 0 0 !important; }
  .tab-item:last-child { border-radius:0 0 12px 12px !important; }
}

@media (max-width:480px) {
  .sidebar-nav-item { flex:1 1 100%; }
  .nav-icon { width:20px; height:20px; }
}

/* End of template-level styles */

/* Responsive SROI Cards */
@media (max-width: 768px) {
  .sroi-csi-grid,
  .sroi-page {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .metric-value {
    font-size: 26px;
  }
  
  .sroi-metric {
    padding: 16px 16px 16px;
  }
  
  .metric-icon {
    width: 24px;
    height: 24px;
    top: 10px;
    right: 10px;
  }
  
  .metric-icon svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================================================
   Human Development Index (HDI) Page
   ========================================================================== */

.hdi-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.hdi-summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hdi-summary-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 12px;
}

.hdi-summary-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hdi-summary-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.hdi-summary-value.positive {
  color: #0A8A8A;
}

.hdi-summary-value.negative {
  color: #0A8A8A;
}

.hdi-summary-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A8A8A;
}

.hdi-summary-icon svg {
  width: 36px;
  height: 36px;
}

/* HDI Note */
.hdi-note {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin: 24px 0;
  line-height: 1.6;
}

.hdi-note .highlight {
  color: #0A8A8A;
  font-weight: 700;
}

/* HDI Chart Container */
.hdi-chart-container {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 24px 0;
}

.hdi-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 280px;
  padding: 20px 0;
  border-bottom: 2px solid #eee;
}

.hdi-chart-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.hdi-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 220px;
}

.hdi-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
}

.bar-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

.bar.orange {
  background: #FF8C42;
}

.bar.teal {
  background: #0A8A8A;
}

.hdi-chart-label {
  margin-top: 16px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* HDI Legend */
.hdi-legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.orange {
  background: #FF8C42;
}

.legend-dot.teal {
  background: #0A8A8A;
}

/* Responsive HDI */
@media (max-width: 768px) {
  .hdi-summary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hdi-summary-value {
    font-size: 36px;
  }
  
  .hdi-chart {
    height: 220px;
    padding: 16px 0;
  }
  
  .hdi-bars {
    height: 160px;
    gap: 4px;
  }
  
  .hdi-bar {
    width: 28px;
  }
  
  .bar-label {
    font-size: 10px;
  }
  
  .hdi-chart-label {
    font-size: 12px;
  }
  
  .hdi-chart-container {
    padding: 20px 16px;
  }
}


/* ==========================================================================
   Social License to Operate (SLO) Page
   ========================================================================== */

.slo-title {
  font-size: 24px;
  font-weight: 700;
  color: #0A8A8A;
  margin-bottom: 30px;
}

.slo-chart-container {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 24px 0;
}

.slo-chart {
  display: flex;
  height: 320px;
  position: relative;
  align-items: stretch;
}

.slo-bars-wrapper {
  flex: 1;
  position: relative;
  margin-right: 40px;
  display: flex;
  flex-direction: column;
}

.slo-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
}

.slo-grid-line {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
}

.slo-bars {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.slo-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 140px;
  height: 100%;
  position: relative;
}

.slo-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  height: auto;
  justify-content: flex-end;
  width: 100%;
}

.slo-bar-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.slo-bar {
  width: 50%;
  max-width: 50px;
  background: #105962;
  border-radius: 4px 4px 0 0;
}

.slo-bar-label {
  margin-top: 0;
  padding-top: 0;
  font-size: 13px;
  color: #555;
  text-align: center;
  line-height: 1.2;
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  padding-bottom: 0;
}

.slo-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 16px;
  font-size: 13px;
  color: #888;
  text-align: left;
  height: 100%;
  flex-shrink: 0;
}

/* Responsive SLO */
@media (max-width: 768px) {
  .slo-title {
    font-size: 18px;
  }
  
  .slo-chart-container {
    padding: 24px 16px;
  }
  
  .slo-chart {
    height: 280px;
  }
  
  .slo-bars-wrapper {
    margin-right: 30px;
  }
  
  .slo-bars,
  .slo-y-axis,
  .slo-grid-lines {
    height: 100%;
  }
  
  .slo-y-axis {
    font-size: 11px;
    padding-left: 10px;
  }
  
  .slo-bar {
    width: 50%;
  }
  
  .slo-bar-label {
    font-size: 7px;
    bottom: -20px;
    z-index: 2;
    white-space: normal;
  }
  
  .slo-bar-value {
    font-size: 12px;
  }
}

/* ========================================
   Sustainable Impact Journey Page
   ======================================== */

/* Journey Timeline Table Styling */
.csr-main-content .wp-block-table.journey-table {
  margin: 40px 0 !important;
  border: none !important;
  overflow: visible !important;
}

.csr-main-content .wp-block-table.journey-table figure {
  margin: 0 !important;
}

/* Transform table into grid layout */
.csr-main-content .wp-block-table.journey-table table {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 48px !important;
  border: none !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Hide table header */
.csr-main-content .wp-block-table.journey-table thead {
  display: none !important;
}

/* Journey stage cards */
.csr-main-content .wp-block-table.journey-table tbody {
  display: contents !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 40px !important;
  align-items: start !important;
  padding: 32px 0 !important;
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Alternate layout for even rows */
.csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) {
  grid-template-columns: 1fr 300px !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(1) {
  grid-column: 2 !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(2),
.csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(4) {
  grid-column: 1 !important;
}

/* First column: Stage image */
.csr-main-content .wp-block-table.journey-table td:nth-child(1) {
  position: relative !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  height: 300px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
}

.csr-main-content .wp-block-table.journey-table td:nth-child(1) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Second column: Stage title */
.csr-main-content .wp-block-table.journey-table td:nth-child(2) {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
  border: none !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.csr-main-content .wp-block-table.journey-table td:nth-child(2) strong {
  display: block !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #105962 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.3 !important;
}

/* Third column: Year range */
.csr-main-content .wp-block-table.journey-table td:nth-child(3) {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #FF6E00 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* Fourth column: Description */
.csr-main-content .wp-block-table.journey-table td:nth-child(4) {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
  border: none !important;
  color: #555 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  grid-column: 2 !important;
  grid-row: 3 !important;
}

/* Timeline connector - visual line */
.csr-main-content .wp-block-table.journey-table tbody tr::before {
  content: "" !important;
  position: absolute !important;
  left: -60px !important;
  top: -48px !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #FF6E00 0%, #105962 100%) !important;
  display: none !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr:first-child::before {
  display: block !important;
  top: 0 !important;
}

/* Timeline dots */
.csr-main-content .wp-block-table.journey-table tbody tr::after {
  content: "" !important;
  position: absolute !important;
  left: -83px !important;
  top: 32px !important;
  width: 20px !important;
  height: 20px !important;
  background: #FF6E00 !important;
  border-radius: 50% !important;
  border: 4px solid #fff !important;
  box-shadow: 0 0 0 4px #FF6E00 !important;
  display: none !important;
}

.csr-main-content .wp-block-table.journey-table tbody tr:first-child::after {
  display: block !important;
}

.page-template-template-csr-management .breadcrumb {
  z-index: 1;
}

.page-template-template-csr-management .banner { 
  position: relative;
  overflow: hidden;
  --header: 157px;
  top: calc(var(--header) * -1);
  padding-top: calc(var(--header) + 24px);
  margin-bottom: calc(var(--header) * -1);
  text-align: center;
  color: #fff;
  padding-bottom: 96px;
}

.page-template-template-csr-management .banner .background {
  position: absolute;
  inset: 0;
}

.page-template-template-csr-management .banner .background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-template-csr-management .banner .background:after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(3deg, rgba(0, 0, 0, 0.00) 22.7%, rgba(0, 0, 0, 0.80) 97.4%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 13.47%, rgba(0, 0, 0, 0.65) 100%);
}

.page-template-template-csr-management .banner .container p:has(strong) {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 44px;
}

.csr-tabs .container {
  width: 80%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
}

.csr-content-box {
  position: relative;
  z-index: 0;
  top: -30px;
}

.csr-tab-wrapper {
  display: flex;
  gap: 18px;
  padding: 30px;
  border-bottom: 1px solid transparent;
  border-image-source: linear-gradient(90deg, rgba(255, 110, 0, 0) 0%, rgba(255, 110, 0, 1) 57%, rgba(255, 110, 0, 0) 100%);
  border-image-slice: 1;
  margin-bottom: 42px;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #fff;
  border-radius: 10px;
}

.csr-tab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border: 1px solid #8d8d8d;
  background: #fff;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.csr-tab-item span {
  color: #737373;
}
.csr-tab-item.active span {
  color: #FF6E00;
  font-weight: 600;
}

.csr-tab-item.active {
  background: #FFF1E6;
  border-color: rgba(255, 110, 0, 0.35);
}

.csr-sidebar {
  padding: 0;
  position: sticky;
  top: 149px;
  z-index: 1;
}

.csr-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e0e0e0;
}

.csr-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.csr-nav-list li {
  border-bottom: 1px solid #e0e0e0;
}

.csr-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.csr-nav-list a:hover {
  background: #f5f5f5;
  color: #333;
}

.csr-nav-list a.active {
  background: transparent;
  color: #FF6E00;
}

.csr-nav-list a .icon-active {
  display: none;
}

.csr-nav-list a.active .icon-active {
  display: block;
}

.csr-nav-list a.active .icon-inactive {
  display: none;
}

#content-csr-video-highlights .ellipse {
  width: 392px;
  height: 392px;
  border-radius: 392px;
  background: rgba(255, 110, 0, 0.25);
  filter: blur(122.6500015258789px);
  top: 50%;
  left: 50%;
  position: absolute;
}

#content-csr-video-highlights p:has(strong) {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #105962;
  margin-bottom: 16px;
}

#content-csr-video-highlights strong {
  font-weight: bold;
}
#content-csr-video-highlights em {
  font-style: normal;
}
#content-csr-video-highlights p:has(strong)+p {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  margin-bottom: 32px;
}

#content-csr-video-highlights iframe {
  width: 100%;
  height: 375px;
  border-radius: 20px;
}

#content-our-five-pillars p:has(strong) {
  font-size: 24px;
  line-height: 32px;
  color: #105962;
  margin-bottom: 16px;
}
#content-our-five-pillars p:has(strong) em {
  font-style: normal;
}
#content-our-five-pillars p:has(strong)+p {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  margin-bottom: 24px;
}

#content-our-five-pillars .card-item:last-child .content a,
#content-csr-division-team .content-block a {
  border-radius: 4px;
  background-color: #FF6E00;
  padding: 7px 11px;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
}
#content-csr-division-team .content-block a {
  font-size: 16px;
  padding: 10px 16px;
}
#content-our-five-pillars .card-item:last-child .content a:after {
  content: "";
  background: url(../images/arrow-right-white.svg);
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 8.5px;
  background-size: 100% 100%;
}
#content-our-five-pillars .card-bg {
  position: absolute;
  inset: 0;
}
#content-our-five-pillars .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#content-our-five-pillars .card-bg:after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.75) 100%);
}
#content-our-five-pillars .card-item .content {
  position: relative;
  padding: 10px 8.5px;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 11px;
}
#content-our-five-pillars .card-item .content .logo {
  grid-row: 1/3;
  grid-column: 1;
  align-self: center;
  width: 100%;
}
#content-our-five-pillars .card-item .content .heading {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
#content-our-five-pillars .card-item .content .desc {
  font-size: 10px;
  line-height: 14px;
}

#content-our-five-pillars .bar-container .bar {
  width: 14px;
  height: 4px;
  background-color: #AFAFAF73;
}
#content-our-five-pillars .bar-container .bar.active {
  width: 45px;
  background-color: #FF6E00;
}
#content-our-five-pillars .card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26.5px;
}

#content-our-five-pillars .card-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3/2;
  color: #fff;
}

#content-our-five-pillars .card-item:last-child {
  display: block;
}

#content-our-five-pillars .card-item:last-child .card-bg,
#content-our-five-pillars .card-item:last-child .content .logo {
  display: none;
}

#content-our-five-pillars .card-item:last-child .content {
  padding: 6px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#content-our-five-pillars .card-item:last-child .content .heading {
  color: #105962;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 16px;
}

#content-our-five-pillars .bar-container {
  display: none;
}

#content-sustainable-impact-journey {
  overflow: hidden;
}

#content-sustainable-impact-journey p:has(strong) {
  font-size: 24px;
  line-height: 32px;
  color: #105962;
  margin-bottom: 16px;
}
#content-sustainable-impact-journey p:has(strong) em {
  font-style: normal;
}

#content-sustainable-impact-journey p:has(strong)+p {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  margin-bottom: 24px;
}

#content-sustainable-impact-journey .card-item {
  flex: 0 0 85%;
  display: grid;
  grid-template-columns: 5fr 4fr;
  column-gap: 40px;
  align-items: center;
}

#content-sustainable-impact-journey .card-item .card-image {
  border-radius: 20px;
  overflow: hidden;
}

#content-sustainable-impact-journey .card-item .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#content-sustainable-impact-journey .card-item .title {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 8px;
}

#content-sustainable-impact-journey .card-item .year {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

#content-sustainable-impact-journey .card-item .desc {
  color: #232323;
  font-size: 12px;
  line-height: 18px;
}

#content-sustainable-impact-journey .card-wrapper {
  overflow: hidden;
  position: relative;
  /* width: calc(min(93vw, 1200px) + max(3.5vw, (100vw - 1200px) / 2)); */
  width: 100%;
}

#content-sustainable-impact-journey .card-wrapper:after {
  content: "";
  width: 370px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 18.92%, #FFF 69.46%);
  position: absolute;
  right: -76px;
  top: 0;
}

#content-sustainable-impact-journey .card-container {
  gap: 80px;
  display: flex;
  transition: transform 0.4s ease;
}

#content-sustainable-impact-journey .nav-wrapper {
  margin-top: 40px;
}

#content-sustainable-impact-journey .nav-container {
  display: flex;
  gap: 40px;
  justify-content: center;
}

#content-sustainable-impact-journey .nav-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

#content-sustainable-impact-journey .nav-item .circle {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 4px solid #FFE7E5;
}

#content-sustainable-impact-journey .nav-item .year {
  color: #000;
  font-size: 12px;
  line-height: 20px;
  opacity: 0.25;
}

#content-sustainable-impact-journey .nav-item.active .circle {
  background-color: #FF6E00;
  border: 0;
}

#content-sustainable-impact-journey .nav-item.active .year {
  opacity: 1;
  font-weight: 600;
}

#content-csr-division-team .member-bg {
  position: absolute;
  inset: 0;
}
#content-csr-division-team {
  position: relative;
  overflow: hidden;
}

#content-csr-division-team .background {
  position: absolute;
  background-image: url(/wp-content/themes/csr-bib/images/front-page/home-organization-bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 285px;
  left: 50%;
  transform: translateX(-50%);
  width: 970px;
  height: 970px;
}

#content-csr-division-team .content-block {
  text-align: center;
}

#content-csr-division-team .content-block p {
  color: #000;
  line-height: 24px;
  margin-bottom: 7px;
}

#content-csr-division-team .content-block p:first-of-type {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
  color: #105962;
  text-align: left;
}

#content-csr-division-team .content-block p:first-of-type em {
  font-style: normal;
}

#content-csr-division-team .content-block p:first-of-type+p {
  text-align: left;
  font-size: 14px;
  line-height: 20px;
}
#content-csr-division-team .content-block p:first-of-type+p strong {
  font-weight: normal;
}

#content-csr-division-team .content-block .wp-block-table th,
#content-csr-division-team .content-block>.wp-block-table td:last-child {
  display: none;
} 

#content-csr-division-team .content-block .wp-block-table thead,
#content-csr-division-team .content-block .wp-block-table th,
#content-csr-division-team .content-block .wp-block-table td {
  border: 0;
}

#content-csr-division-team .content-block .wp-block-table img {
  width: 75% !important;
}

#content-csr-division-team .content-block .wp-block-table+p:has(a) {
  margin-top: -30px;
}



#content-csr-division-team .dialog-members p:has(strong) {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 9px;
  color: #000;
}

#content-csr-division-team .dialog-members p:has(strong) em {
  color: #006069;
  font-style: normal;
}

#content-csr-division-team .dialog-members p:not(:has(strong)) {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  width: 43%;
}

#content-csr-division-team .members {
  display: grid;
  grid-template-columns: repeat(auto-fill, 150px);
  gap: 11px;
  overflow: auto;
  max-height: 450px;
  margin-top: 32px;
  justify-content: center;
}

#content-csr-division-team .member {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  padding: 4px 3.65px;
  flex-direction: column;
  justify-content: flex-end;
}

#content-csr-division-team .member-bg:after {
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 34.9%, rgba(0, 0, 0, 0.45) 99.73%);
  position: absolute;
  inset: 0;
}

#content-csr-division-team .member-content {
  position: relative;
  background-color: #FF6E00;
  border-radius: 6px;
  border: 0.378px solid rgba(255, 255, 255, 0.15);
  padding: 4px 5px;
  color: #fff;
  text-align: center;
}

#content-csr-division-team .member-content .name {
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

#content-csr-division-team .member-content .title {
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

#content-csr-division-team .dialog-members {
  border: 0;
  width: 92%;
  border-radius: 18px;
  padding: 25px;
  text-align: left;
}

.page-template-template-csr-management h2 {
  color: #105962;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
}

#content-sroi-csi-program thead {
  border-bottom: 0;
}

#content-sroi-csi-program th {
  background-color: #105962;
  color: #fff;
  font-weight: 600;
  padding: 16px;
}
#content-sroi-csi-program td {
  padding: 16px;
  text-align: center;
  color: #000;
  font-weight: 500;
  border-color: #fff;
}
#content-sroi-csi-program tr:nth-child(odd) td {
  background-color: #F1F1F1;
}
#content-sroi-csi-program tr:nth-child(odd) td:first-child {
  background-color: #E7EEEF;
}
#content-sroi-csi-program tr:nth-child(even) td {
  background-color: #e5e5e5;
}
#content-sroi-csi-program tr:nth-child(even) td:first-child {
  background-color: #B5CCCE;
}

/* 1st table -> row divs */
#content-human-development-index .first-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-bottom: 24px;
}
#content-human-development-index .first-table-row {
  border-radius: 8px;
  border: 1px solid #E9EAEB;
  background: #FFF;
  box-shadow: -2px -2px 8px 0 rgba(27, 27, 27, 0.08), 2px 2px 8px 0 rgba(27, 27, 27, 0.08);
  padding: 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px;

}
#content-human-development-index .table-cell-0 {
  grid-column: 1/3;
  color: #181D27;
  line-height: 24px;
  font-weight: 600;
}
#content-human-development-index .table-cell-2 {
  text-align: right;
}
#content-human-development-index .first-table-row:nth-child(1) .table-cell-2 img {
  border-radius: 8px;
  background: #ECFDF3;
  padding: 15px;
  width: auto !important;
}
#content-human-development-index .first-table-row:nth-child(1) .table-cell-1 {
  color: #12B76A;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}
#content-human-development-index .first-table-row:nth-child(2) .table-cell-2 img {
  border-radius: 8px;
  background: #E7EEEF;
  padding: 15px;
  width: auto !important;
}
#content-human-development-index .first-table-row:nth-child(2) .table-cell-1 {
  color: #105962;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}

#content-human-development-index .my-bar-chart-wrapper {
  border-radius: 4px;
  border: 1px solid #E9EAEB;
  background: #FFF;
  box-shadow: -2px -2px 8px 0 rgba(27, 27, 27, 0.08), 2px 2px 8px 0 rgba(27, 27, 27, 0.08);
  margin-top: 24px;
  padding: 16px;
}

/* 2nd table -> bar chart */
#content-human-development-index .my-bar-chart {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-around;
}

#content-human-development-index .my-bar-chart-legend {
  display: flex;
  justify-content: center;
  font-size: 12px;
  margin-top: 19.5px;
  gap: 40px;
}

#content-human-development-index .my-bar-chart-legend>div {
  position: relative;
}

#content-human-development-index .my-bar-chart-legend>div:before {
  content: "";
  width: 9px;
  height: 9px;
  display: block;
  position: absolute;
  top: 50%;
  left: -8px;
  border-radius: 50%;
  transform: translate(-100%, -50%);
}

#content-human-development-index .my-bar-chart-legend>div:nth-child(1):before {
  background-color: #FF6E00;
}

#content-human-development-index .my-bar-chart-legend>div:nth-child(2):before {
  background-color: #105962;
}

#content-human-development-index .my-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#content-human-development-index .my-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 200px;
}

#content-human-development-index .my-bar {
  width: 46px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

#content-human-development-index .my-bar-inner {
  width: 100%;
  border-radius: 2px 2px 0 0;
  background: #FF6E00;
  position: relative;
}

#content-human-development-index .my-bar .text {
  position: absolute;
  top: 0;
  transform: translateY(-100%);
  color: #1D1D1D;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* optional: bar 2 different */
#content-human-development-index .my-bar-inner-2 {
  background-color: #105962;
}

#content-human-development-index .my-bar-group-label {
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
  max-width: 80px;
}

#content-village-development-index .wp-block-table:first-of-type td {
  margin-bottom: 16px;
  display: block;
  border-radius: 8px;
  border: 1px solid #E9EAEB;
  background: #FFF;
  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
  padding: 16px;
}

#content-village-development-index .wp-block-table:nth-of-type(2) th {
  border-bottom: 0;
  font-weight: 700;
  color: #fff;
  background-color: #8E8E8E;
}

#content-village-development-index .wp-block-table:nth-of-type(2) td {
  font-size: 14px;
  border-color: #fff;
  padding: 16px;
}

#content-village-development-index .wp-block-table:nth-of-type(2) thead {
  border-bottom-color: #fff;
}

#content-village-development-index .wp-block-table:nth-of-type(2) tr:nth-child(odd) td:first-child {
  background-color: #F5F5F5;
}

#content-village-development-index .wp-block-table:nth-of-type(2) tr:nth-child(even) td:first-child {
  background-color: #fafafa;
}

#content-village-development-index .wp-block-table:nth-of-type(2) td:not(:first-child) {
  text-align: center;
  color: #000;
}

#content-village-development-index .vdi-independent,
#content-village-development-index .vdi-mandiri {background-color: #63BE7B;}
#content-village-development-index .vdi-developed,
#content-village-development-index .vdi-berkembang {background-color: #C0D981;}
#content-village-development-index .vdi-developing,
#content-village-development-index .vdi-sedang-berkembang {background-color: #F6E984;}
#content-village-development-index .vdi-underdeveloped,
#content-village-development-index .vdi-belum-berkembang {background-color: #FBA476;}
#content-village-development-index .vdi-very-underdeveloped,
#content-village-development-index .vdi-sangat-belum-berkembang {background-color: #E06666;}

#content-village-development-index .vdi-legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 12px;
  color: #000;
}

#content-village-development-index .vdi-legend-item {
  position: relative;
}

#content-village-development-index .vdi-legend-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.page-template-template-csr-management .pagination {
    display: flex;
    width: fit-content;
    column-gap: 20px;
    align-items: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    user-select: none;
    margin-bottom: 32px;
}
.page-template-template-csr-management .pagination .pages {display: flex; column-gap: 6px;}
.page-template-template-csr-management .pagination .prev,
.page-template-template-csr-management .pagination .next {
    font-size: 0;
    padding: 4px;
    border-radius: 6px;
    background-color: #F2F2F2;
    color: #CCCCCC;
    cursor: pointer;
}
.page-template-template-csr-management .pagination .prev.active,
.page-template-template-csr-management .pagination .next.active {background-color: #FF6E00; color: #fff;}
.page-template-template-csr-management .pagination .page-item {
    color: #737373;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.page-template-template-csr-management .pagination .page-item.active {color: #FF6E00; background-color: #FFEEE1;}

.page-template-template-csr-management .inactive-page,
.page-template-template-csr-management .inactive-filter {
    display: none !important;
}


/* Responsive - Stack layout */
@media (max-width: 1024px) {
  .csr-main-content .wp-block-table.journey-table tbody tr,
  .csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(1) {
    grid-column: 1 !important;
  }

  .csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(2),
  .csr-main-content .wp-block-table.journey-table tbody tr:nth-child(even) td:nth-child(4) {
    grid-column: 1 !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(1),
  .csr-main-content .wp-block-table.journey-table td:nth-child(1) {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: 250px !important;
    margin-bottom: 16px !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(2) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(3) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(4) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(2) strong {
    font-size: 22px !important;
  }

  #content-our-five-pillars .card-item .content {
    padding: 11px 6px;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
  }
  #content-our-five-pillars .card-item .content .heading {
    font-size: 16px;
    line-height: 24px;
  }
  #content-our-five-pillars .card-item .content .desc {
    font-size: 10px;
    line-height: 15.8px;
  }

  #content-our-five-pillars .bar-container .bar {
    width: 10.5px;
    height: 3px;
  }

  #content-our-five-pillars .bar-container .bar.active {
    width: 33px;
  }

  #content-our-five-pillars {
    padding-top: 0;
    padding-bottom: 37px;
    overflow: hidden;
  }

  #content-our-five-pillars .ellipse {
    width: 237px;
    height: 237px;
    filter: blur(123px);
    top: -85px;
    right: -70px;
  }

  #content-our-five-pillars .content-header {
    margin-bottom: 32px;
  }

  #content-our-five-pillars .content-header > p:first-child {
    margin-bottom: 16px;
  }

  #content-our-five-pillars .content-header > p:nth-child(2) {
    font-size: 14px;
    line-height: 20px;
  }

  #content-our-five-pillars .card-wrapper {
    overflow: hidden;
  }

  #content-our-five-pillars .card-container {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    transition: transform 0.4s ease;
  }

  #content-our-five-pillars .card-item {
    flex: 0 0 280px;
    border-radius: 12px;
    padding: 9px;
  }

  #content-our-five-pillars .bar-container {
    margin-top: 21px;
    display: flex;
    justify-content: center;
    gap: 4.4px;
  }

  #content-our-five-pillars .card-item:last-child .content .heading {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  .csr-main-content .wp-block-table.journey-table table {
    gap: 32px !important;
  }

  .csr-main-content .wp-block-table.journey-table tbody tr {
    padding: 24px 0 !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(1) {
    height: 200px !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(2) strong {
    font-size: 20px !important;
  }

  .csr-main-content .wp-block-table.journey-table td:nth-child(4) {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  #content-csr-video-highlights iframe {
    aspect-ratio: 3.5 / 2;
    height: auto;
    border-radius: 10px;
  }

  #content-our-five-pillars .content-header {
    display: block;
  }

  #content-our-five-pillars .content-header > p:nth-child(2) {
    text-align: left;
  }
  #content-our-five-pillars .card-item:last-child .content a {
    font-size: 12px;
    line-height: 14.4px;
  }
  #content-our-five-pillars .card-item:last-child .content a:after {
    width: 14px;
    height: 14px;
    margin-left: 6px;
  }
  #content-our-five-pillars .content-header > p:first-child {
    font-size: 20px;
    line-height: 30px;
  }

  .page-template-template-csr-management .csr-sidebar-nav {
    display: none;
  }
  .page-template-template-csr-management .banner {
    padding-top: calc(var(--header));
    padding-bottom: 20px;
  }

  .page-template-template-csr-management .banner .container p:has(strong) {
    font-size: 24px;
    line-height: 32px;
  }

  .page-template-template-csr-management .banner .container {
    font-size: 12px;
    line-height: 18px;
  }

  .csr-tab-wrapper {
    overflow-x: scroll;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 0;
    margin-bottom: 0;
    border-radius: 0;
  }
  .csr-content-box {
    top: 0;
  }
  .csr-tabs .container {
    width: 95%;
  }
  .csr-tab-item {
    white-space: nowrap;
  }
  .csr-layout {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .csr-sidebar {
    padding-top: 24px;
    background-color: #fff;
    top: 104px;
  }
  #content-csr-video-highlights p:has(strong),
  .page-template-template-csr-management h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 16px;
  }

  #content-sustainable-impact-journey .container {
    padding-bottom: 82px;
  }

  #content-sustainable-impact-journey .container p:has(strong)+p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
  }

  #content-sustainable-impact-journey .card-container,
  #content-sustainable-impact-journey .nav-container {
    overflow-x: auto;
  }

  #content-sustainable-impact-journey .nav-container {
    gap: 0;
  }

  #content-sustainable-impact-journey .nav-item {
    flex: 0 0 75px;
    gap: 8px;
  }

  #content-sustainable-impact-journey .nav-item .year {
    font-size: 11px;
  }

  #content-sustainable-impact-journey .nav-item .circle {
    width: 24px;
    height: 24px;
  }

  #content-sustainable-impact-journey .card-wrapper {
    width: 100%;
  }

  #content-sustainable-impact-journey .card-wrapper:after {
    display: none;
  }

  #content-sustainable-impact-journey .card-item {
    flex-basis: 100%;
    grid-template-columns: 1fr;
  }

  #content-sustainable-impact-journey .card-item .card-image img {
    aspect-ratio: 3.5/2;
  }

  #content-sustainable-impact-journey .card-item .card-image {
    margin-bottom: 16px;
    aspect-ratio: 3.5/2;
    border-radius: 8px;
  }

  #content-sustainable-impact-journey .card-item .title {
    font-size: 18px;
    line-height: 28px;
  }

  #content-sustainable-impact-journey .card-item .year {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
  }

  #content-sustainable-impact-journey .card-item .desc {
    font-size: 14px;
    line-height: 20px;
  }

  #content-sustainable-impact-journey .nav-wrapper {
    margin-top: 76px;
    margin-bottom: 32px;
  }

  #content-csr-division-team .content-block a {
    padding: 7px 11px;
    font-size: 12px;
    margin-bottom: 16px;
  }
  #content-csr-division-team .dialog-members p:has(strong) {
    font-size: 20px;
    line-height: 30px;
  }
  #content-csr-division-team .background {
    width: 353px;
    height: 353px;
    top: 253px;
  }

  #content-csr-division-team .content-block p {
    font-size: 14px;
    line-height: 20px;
  }

  #content-csr-division-team .content-block .wp-block-table img {
    width: 100% !important;
    height: unset !important;
  }

  #content-csr-division-team .content-block>.wp-block-table td:first-child {
    display: none;
  }

  #content-csr-division-team .content-block>.wp-block-table td:last-child {
    display: table-cell;
    padding: 0;
  }

  #content-csr-division-team .dialog-members {
    border-radius: 12px;
    padding: 28px 15px;
  }

  #content-csr-division-team .dialog-members p:not(:has(strong)) {
    width: 100%;
  }

  #content-sroi-csi-program th,
  #content-sroi-csi-program td {
    padding: 8px;
    font-size: 12px;
  }

  #content-human-development-index .first-table {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #content-human-development-index .my-bar {
    width: 19px;
  }

  #content-human-development-index .my-bar .text {
    font-size: 7.5px;
  }

  #content-human-development-index .my-bars {
    gap: 8px;
  }

  #content-human-development-index .my-bar-chart-wrapper {
    margin-bottom: 24px;
  }

  #content-village-development-index .wp-block-table:nth-of-type(2) td {
    padding: 4px;
    font-size: 10px;
  }
  #content-village-development-index .wp-block-table:nth-of-type(2) th {
    font-size: 10px;
  }
  #content-village-development-index .vdi-legend {
    flex-wrap: wrap;
    margin-bottom: 24px;
    row-gap: 8px;
  }
}

@media (max-width: 380px) {
  #content-csr-division-team .members {
    height: unset;
    max-height: unset;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }

  #content-csr-division-team .member {
    aspect-ratio: 1;
    width: unset;
    height: unset;
  }

  #content-csr-division-team .member-content .name {
    font-size: 11px;
    line-height: 15px;
  }
}
