/* Investors module styles, scoped to /investors pages only via the inv- prefix.
   Loaded on top of style.css, matching the insulators.css / news-media.css
   pattern used elsewhere in this project. */

/* =========================================================================
   Hero banner (cat-hero) — matches news-media.css's block exactly (same
   values NewsMediaDetailsBanner uses), duplicated here so /investors pages
   stay self-contained and don't depend on another feature's stylesheet.
   ========================================================================= */
.cat-hero {
  min-height: 520px;
  background-color: #1b2a3a; /* fallback while the hero image loads */
  justify-content: flex-start;
  padding-bottom: 0;
}
.cat-hero::before {
  background: linear-gradient(
    90deg,
    rgba(10, 25, 41, 0.72) 0%,
    rgba(10, 25, 41, 0.4) 45%,
    rgba(10, 25, 41, 0.15) 100%
  );
}
.cat-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 90px;
}
.cat-hero-title {
  color: #fff;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.cat-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .cat-hero {
    min-height: 440px;
  }
  .cat-hero-content {
    padding-bottom: 70px;
  }
}

.inv-page {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  overflow: hidden;
}

/* decorative top-right dot/triangle grid */
.inv-deco {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  grid-template-columns: repeat(3, 28px);
  grid-auto-rows: 28px;
  gap: 6px;
  opacity: 0.9;
  pointer-events: none;
}
.inv-deco span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bcd6fb;
}
.inv-deco span svg {
  width: 14px;
  height: 14px;
  display: block;
}

.inv-layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* ---------------- Sidebar ---------------- */
.inv-sidebar {
  flex: 0 0 300px;
  background: #eaf3ff;
  border-radius: 18px;
  padding: 14px;
}

.inv-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.inv-sidebar-list li + li {
  margin-top: 2px;
}

.inv-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #3a4256;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.inv-icon-wrap {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b6478;
}

.inv-icon-wrap svg {
  width: 19px;
  height: 19px;
}

.inv-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.55);
}

.inv-sidebar-item.is-active {
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.1);
}

.inv-sidebar-item.is-active .inv-icon-wrap {
  color: #1d4ed8;
}

.inv-sidebar-item:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

/* ---------------- Content ---------------- */
.inv-content {
  flex: 1;
  min-width: 0;
}

.inv-section + .inv-section {
  margin-top: 40px;
}

.inv-section-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1f2430;
  margin: 0 0 20px;
}

.inv-empty-state {
  color: #6b7280;
  font-size: 15px;
  margin: 0;
}

/* ---------------- Tab bar ---------------- */
.inv-tabbar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f4f6f9;
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 28px;
  max-width: 100%;
  overflow-x: auto;
}

.inv-tab-btn {
  display: inline-block;
  padding: 10px 22px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #9aa3af;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.inv-tab-btn:hover {
  color: #6b7280;
}

.inv-tab-btn.is-active {
  background: #ffffff;
  color: #1f2430;
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.08);
}

.inv-tab-btn:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

/* ---------------- Document card grid ---------------- */
.inv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.inv-doc-card {
  border: 1px solid #e7ebf1;
  border-radius: 12px;
  padding: 18px 20px 16px;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.inv-doc-card:hover {
  box-shadow: 0 8px 20px rgba(20, 30, 60, 0.08);
  transform: translateY(-1px);
}

.inv-doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.inv-doc-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.inv-doc-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #1f2430;
}

.inv-view-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.inv-view-details svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}
.inv-view-details:hover {
  color: #1d4ed8;
}
.inv-view-details:hover svg {
  transform: translateX(3px);
}
.inv-view-details:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

/* ---------------- Financial results grid ---------------- */
.inv-fr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.inv-fr-card {
  background: #eef1f5;
  border-radius: 6px;
  padding: 28px 30px 26px;
}

.inv-fr-year {
  font-size: 19px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 22px;
}

.inv-fr-quarters {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 56px;
  row-gap: 20px;
}

.inv-fr-quarter {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 500;
  color: #1d4ed8;
  text-decoration: none;
}

.inv-fr-quarter:hover {
  text-decoration: underline;
}

.inv-fr-quarter.is-disabled {
  color: #9aa3af;
  cursor: default;
}

.inv-fr-quarter:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

/* ---------------- Article ---------------- */
.inv-article-heading {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #38417a;
  margin: 0 0 22px;
}

.inv-article-body p {
  font-size: 17px;
  line-height: 1.6;
  color: #4b5573;
  margin: 0 0 4px;
}

.inv-article-body p + p {
  margin-top: 2px;
}

.inv-article-body ul,
.inv-article-body ol {
  list-style: disc;
  margin: 26px 0 0;
  padding-left: 48px;
}

.inv-article-body li {
  font-size: 17px;
  line-height: 1.6;
  color: #4b5573;
  margin-bottom: 14px;
}

.inv-article-body li::marker {
  color: #4b5573;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .inv-layout {
    flex-direction: column;
  }
  .inv-sidebar {
    flex: 1 1 auto;
    width: 100%;
  }
  .inv-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-fr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-deco {
    display: none;
  }
}

@media (max-width: 640px) {
  .inv-page {
    padding: 28px 16px 56px;
  }
  .inv-card-grid {
    grid-template-columns: 1fr;
  }
  .inv-fr-grid {
    grid-template-columns: 1fr;
  }
  .inv-fr-quarters {
    column-gap: 40px;
  }
  .inv-sidebar-item {
    font-size: 14px;
  }
  .inv-tabbar {
    width: 100%;
  }
  .inv-article-heading {
    font-size: 23px;
  }
  .inv-article-body p,
  .inv-article-body li {
    font-size: 15.5px;
  }
}
