/* ══════════════════════════════════════
   ABOUT CHEMANOL PAGE — CSS
══════════════════════════════════════ */

/* ─── HERO ─── */
.about-hero {
  position: relative; min-height: 280px;
  display: flex; align-items: center;
  padding: 56px 40px; overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.about-hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(15,87,164,0.82); }
.about-hero-content { position: relative; z-index: 1; width: 100%; }
.about-hero h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.about-hero p { font-size: 15px; color: rgba(255,255,255,0.88); max-width: 680px; line-height: 1.65; }

/* ─── BREADCRUMB ─── */
.about-breadcrumb { padding: 14px 0; background: #fff; border-bottom: 1px solid #eef2f7; }
.about-breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.about-breadcrumb a { font-size: 12px; color: #0F57A4; font-weight: 500; }
.about-breadcrumb-sep { color: #aaa; font-size: 12px; }
.about-breadcrumb-current { font-size: 12px; color: #888; }

/* ─── LAYOUT ─── */
.about-body { background: #fff; }
.about-body > .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
  align-items: start;
}

/* ─── SIDEBAR ─── */
.about-sidenav { position: sticky; top: 88px; }
.about-sidenav ul { list-style: none; }
.about-sidenav li a {
  display: block; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: #0F57A4;
  border-radius: 6px; transition: background .15s, color .15s; line-height: 1.35;
}
.about-sidenav li a:hover { background: #F7F7F7; }
.about-sidenav li a.active { background: #F7F7F7; color: #020A12; }

/* ─── CONTENT ─── */
.about-content-area { display: flex; flex-direction: column; gap: 64px; }
.about-tab-title { font-size: 28px; font-weight: 500; color: #111; margin-bottom: 20px; line-height: 1.2; }

/* ─── GENERIC CARD ─── */
.ab-card { background: #F7F7F7; border-radius: 10px; padding: 28px 32px; }
.ab-card + .ab-card { margin-top: 14px; }

/* ─── OVERVIEW ─── */
.overview-outer-card { background: #F7F7F7; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.overview-stats-inner { background: #fff; border-radius: 8px; overflow: hidden; }
.overview-stats-row { display: grid; grid-template-columns: repeat(3,1fr); }
.overview-stat { text-align: center; padding: 28px 20px; border-right: 1px solid #e6eaf0; }
.overview-stat:last-child { border-right: none; }
.overview-stat-number { font-size: 42px; font-weight: 500; color: #111; line-height: 1; margin-bottom: 8px; }
.overview-stat-label { font-size: 13px; color: #888; }
.overview-desc { font-size: 14px; color: #444; line-height: 1.75; padding: 4px 8px 8px; }

/* ─── LEADERSHIP ─── */
.leadership-group { margin-bottom: 32px; }
.leadership-group:last-child { margin-bottom: 0; }
.leadership-section-label { font-size: 13px; color: #aaa; font-weight: 400; margin-bottom: 16px; }
.leadership-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.leader-card {}
.leader-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px 8px 0 0;
  display: block;
  background: #e8eef7;
}
.leader-photo-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: #e8eef7;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0b4cc;
}
.leader-photo-placeholder::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: #c5d4e8;
  border-radius: 50%;
}
.leader-info {
  padding: 16px 16px 20px;
  border-top: 1px solid #f0f4f8;
  background: #fff;
  transition: background .25s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.leader-name {
  font-size: 16px;
  font-weight: 700;
  color: #0C2545;
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color .25s;
}
.leader-title {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color .25s;
}
.leader-dept { font-size: 12px; color: #aaa; }
.leader-view-profile {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0F57A4;
  transition: color .25s;
}

/* Mobile slider */
.leader-slider-wrap { display: none; overflow: hidden; }
.leader-slider-track { display: flex; transition: transform .35s ease; will-change: transform; }
.leader-slider-track .leader-card { flex: 0 0 100%; min-width: 100%; }
.leader-slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.leader-slider-dots button { width: 24px; height: 6px; border-radius: 3px; border: none; background: #D5E3F0; cursor: pointer; padding: 0; transition: all .2s; }
.leader-slider-dots button.active { background: #0F57A4; width: 32px; }

/* ─── ICON HEADER CARD ─── */
.icon-header-card { display: flex; gap: 18px; align-items: flex-start; }
.ab-icon-box { width: 48px; height: 48px; background: #fff; border: 1px solid #e4e8ee; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ab-icon-box img { width: 26px; height: 26px; }
.icon-header-title { font-size: 18px; font-weight: 500; color: #111; margin-bottom: 4px; }
.icon-header-sub { font-size: 13px; color: #888; }
.ab-bullet-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ab-bullet-list li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: #333; line-height: 1.5; }
.ab-bullet-list li::before { content: '·'; font-size: 20px; color: #555; flex-shrink: 0; }

/* ─── POLICY GRID ─── */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.policy-card { background: #F7F7F7; border-radius: 10px; padding: 24px; }
.policy-icon { width: 32px; height: 32px; margin-bottom: 14px; }
.policy-name { font-size: 16px; font-weight: 500; color: #0F57A4; margin-bottom: 8px; line-height: 1.3; }
.policy-desc { font-size: 13px; color: #888; margin-bottom: 18px; line-height: 1.5; }
.btn-policy-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border: 1.5px solid #0F57A4; border-radius: 4px;
  font-size: 13px; font-weight: 600; color: #0F57A4; background: transparent;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.btn-policy-outline:hover { background: #0F57A4; color: #fff; }

/* ─── SUPPLY CHAIN ─── */
.supply-chain-desc { font-size: 14px; color: #333; line-height: 1.75; }
.supply-chain-sub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e4e8ee; }
.supply-chain-label { font-size: 13px; color: #888; margin-bottom: 4px; }
.supply-chain-value { font-size: 13px; color: #333; line-height: 1.5; }

/* ─── INVESTOR RELATIONS ─── */
.investor-section { margin-top: 36px; }
.investor-title { font-size: 26px; font-weight: 500; color: #111; margin-bottom: 20px; }
.investor-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 20px; padding: 20px 28px; background: #F7F7F7; border-radius: 10px; }
.investor-stat-label { font-size: 12px; color: #888; margin-bottom: 5px; }
.investor-stat-value { font-size: 18px; font-weight: 600; color: #111; }
.investor-btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-investor-dl {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px; background: #0F57A4; color: #fff;
  border: none; border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-investor-dl:hover { background: #0d4a8e; }
.btn-investor-dl img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* ─── QUALITY ─── */
.quality-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; align-items: stretch; }
.quality-top-grid .ab-card { display: flex; flex-direction: column; }
.quality-card-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.quality-card-title { font-size: 16px; font-weight: 500; color: #111; margin-bottom: 3px; }
.quality-card-sub { font-size: 13px; color: #888; }
.quality-bullet-list { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.quality-bullet-list li { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: #333; line-height: 1.5; }
.quality-bullet-list li::before { content: '·'; font-size: 20px; color: #555; flex-shrink: 0; }
.dev-title { font-size: 18px; font-weight: 500; color: #111; margin-bottom: 10px; }
.dev-desc { font-size: 13px; color: #555; line-height: 1.7; }

/* ─── MEDIA CENTER ─── */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.media-card { background: #F7F7F7; border-radius: 10px; padding: 22px; }
.media-icon-box { width: 42px; height: 42px; background: #fff; border: 1px solid #e4e8ee; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.media-icon-box img { width: 22px; height: 22px; }
.media-card-title { font-size: 16px; font-weight: 500; color: #111; margin-bottom: 6px; }
.media-card-desc { font-size: 13px; color: #888; line-height: 1.5; }

/* ─── CAREERS ─── */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.career-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 24px; }
.career-card-label { font-size: 12px; color: #888; margin-bottom: 8px; }
.career-card-title { font-size: 17px; font-weight: 500; color: #111; margin-bottom: 20px; line-height: 1.4; }
.btn-apply {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: #0F57A4; color: #fff;
  border: none; border-radius: 4px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-apply:hover { background: #0d4a8e; }

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .about-body > .container { grid-template-columns: 200px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .about-hero { padding: 36px 20px; box-sizing: border-box; width: 100%; }
  .about-hero h1 { font-size: 28px; overflow-wrap: break-word; word-break: break-word; }
  .about-hero p { font-size: 14px; overflow-wrap: break-word; }
  .about-body > .container { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-bottom: 40px; }
  .about-sidenav {
    position: static; background: #f7f8fa; border-bottom: 1px solid #e4e8ee;
    padding: 12px 20px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    width: 100%; box-sizing: border-box;
  }
  .about-sidenav ul { display: flex; gap: 8px; white-space: nowrap; padding-bottom: 2px; width: max-content; }
  .about-sidenav li a { padding: 7px 14px; font-size: 12px; white-space: nowrap; border: 1px solid #dde5ef; border-radius: 20px; display: inline-block; }
  .about-sidenav li a.active { background: #0F57A4; color: #fff; border-color: #0F57A4; }
  .about-content-area { padding: 24px 20px; gap: 40px; width: 100%; box-sizing: border-box; overflow: hidden; }
  .about-tab-title { font-size: 22px; }
  .overview-stats-row { grid-template-columns: repeat(3,1fr); }
  .overview-stat-number { font-size: 24px; }
  .overview-stat { padding: 20px 10px; }
  /* Leadership: hide desktop grid, show slider */
  .leadership-grid { display: none !important; }
  .leader-slider-wrap { display: block; }
  .policy-grid { grid-template-columns: 1fr; }
  .quality-top-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .investor-btn-grid { grid-template-columns: 1fr; }
  .supply-chain-sub-grid { grid-template-columns: 1fr; }
  .investor-stats-row { grid-template-columns: 1fr; padding: 16px 20px; }
  .ab-card { padding: 20px; }
}
@media (max-width: 480px) {
  .overview-stats-row { grid-template-columns: 1fr; }
  .overview-stat { border-right: none; border-bottom: 1px solid #e6eaf0; }
  .overview-stat:last-child { border-bottom: none; }
}

/* Media card as link */
.media-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .2s, transform .2s;
}
.media-card-link:hover {
  box-shadow: 0 6px 24px rgba(12,37,69,.12);
  transform: translateY(-2px);
}

/* IR buttons as links */
a.btn-investor-dl {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
a.btn-investor-dl:hover { opacity: .85; }

/* Policy view link */
a.btn-policy-outline {
  display: inline-block;
  text-decoration: none;
}
a.btn-policy-outline:hover { opacity: .85; }
button.btn-investor-dl[disabled],
button.btn-policy-outline[disabled] { opacity: .45; cursor: default; }

/* Mission / Vision / Values block */
.overview-mvv { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.mvv-block { background: #fff; border-radius: 10px; padding: 20px 24px; border-left: 4px solid #0F57A4; }
html[dir="rtl"] .mvv-block { border-left: none; border-right: 4px solid #0F57A4; }
.mvv-label { font-size: 15px; font-weight: 600; color: #0C2545; margin: 0 0 8px; }
.mvv-text { font-size: 14px; color: #444; line-height: 1.7; margin: 0; }
.mvv-values-list { margin: 0; padding-left: 18px; }
.rtl .mvv-values-list { padding-left: 0; padding-right: 18px; }
.mvv-values-list li { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 6px; }
/* leader-card-link handled by .leader-card hover above */
.leader-card-link { text-decoration: none; color: inherit; }
.leader-view-profile {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0F57A4;
}

/* ── Leader Profile Page ── */
.leader-profile-hero {
  background: var(--navy);
  padding: 48px 0 40px;
}
.leader-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s;
}
.leader-back-link:hover { color: #fff; }
.leader-profile-hero-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.leader-profile-photo-wrap { flex-shrink: 0; }
.leader-profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: #e8eef7;
  border: 4px solid rgba(255,255,255,0.2);
}
.leader-profile-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
}
.leader-profile-group {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.leader-profile-name {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.leader-profile-title {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 14px;
  line-height: 1.5;
}
.leader-profile-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}
.leader-profile-body { padding: 48px 0 72px; }
.leader-profile-body .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.leader-profile-section { margin-bottom: 40px; }
.leader-profile-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0C2545;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #E2EEFC;
}
.leader-profile-bio {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}
.leader-edu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f7f9fc;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
}
.leader-edu-item svg { flex-shrink: 0; color: #0F57A4; margin-top: 2px; }
.leader-edu-item p { margin: 0; font-size: 14px; line-height: 1.6; color: #444; }

/* Sidebar */
.leader-profile-sidebar {
  background: #f7f9fc;
  border: 1px solid #e2eaf4;
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 120px;
}
.leader-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 16px;
}
.leader-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  margin-bottom: 4px;
}
.leader-sidebar-item:hover  { background: #E2EEFC; }
.leader-sidebar-item.active { background: #E2EEFC; pointer-events: none; }
.leader-sidebar-photo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #e8eef7;
  flex-shrink: 0;
}
.leader-sidebar-photo-placeholder {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #dce6f0;
  flex-shrink: 0;
}
.leader-sidebar-name  { font-size: 13px; font-weight: 700; color: #0C2545; line-height: 1.3; }
.leader-sidebar-title { font-size: 11px; color: #888; line-height: 1.3; margin-top: 2px; }

@media (max-width: 900px) {
  .leader-profile-body .container { grid-template-columns: 1fr; }
  .leader-profile-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .leader-profile-sidebar { position: static; }
}

/* ── Leadership Boxes ── */
.leadership-box {
  background: #fff;
  border: 1.5px solid #e2eaf4;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
}
.leadership-box:last-child { margin-bottom: 0; }
.leadership-box-title {
  font-size: 20px;
  font-weight: 700;
  color: #0C2545;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #E2EEFC;
}

/* ── Leader card — product card style hover ── */
.leader-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff;
  transition: box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  height: 100%;
  border: 1px solid #ccc;
}
.leader-card:hover {
  box-shadow: 0 0 0 3px #0F57A4, 0 4px 20px rgba(15,87,164,0.12);
  transform: none;
  border-color: transparent;
}
.leader-card:hover .leader-info {
  background: #0F57A4;
}
.leader-card:hover .leader-name {
  color: #fff;
}
.leader-card:hover .leader-title {
  color: rgba(255,255,255,0.8);
}
.leader-card:hover .leader-view-profile {
  color: rgba(255,255,255,0.9);
}

/* ── Leader profile page breadcrumb ── */
.leader-profile-body .breadcrumb-bar,
.breadcrumb-bar {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #0F57A4;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.breadcrumb a:hover { color: #0C2545; }
.breadcrumb-sep {
  color: #bbb;
  display: flex;
  align-items: center;
}
.breadcrumb-current {
  color: #0C2545;
  font-weight: 600;
}
