/* Investor Presentation — Annual Reports + AGM (Figma match) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ip-navy: #000080;
  --ip-navy-bar: #2d3e66;
  --ip-gold: #dda126;
  --ip-orange: #ec7a11;
  --ip-text: #000000;
  --ip-muted: #5a5a5a;
  --ip-sans: 'Inter', 'Open Sans', Arial, sans-serif;
}

.page-ip-redesign {
  font-family: var(--ip-sans);
  color: var(--ip-text);
  background: #ffffff;
}

.page-ip-redesign .site-footer-nav .container {
  width: 98% !important;
  max-width: 98% !important;
}

.ip-page {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
  padding: 24px 0 48px;
}

/* Hero */
.ip-hero {
  text-align: center;
  margin: 8px 0 48px;
  padding: 0 16px;
}

.ip-hero h1 {
  margin: 0 0 14px;
  font-family: var(--ip-sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  color: #000;
}

.ip-hero p {
  margin: 0 auto 16px;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ip-gold);
}

.ip-hero-rule {
  width: 120px;
  height: 5px;
  margin: 0 auto;
  background: var(--ip-gold);
  border: none;
  border-radius: 2px;
}

/* Section tabs */
.ip-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  background: #f1f3f9;
  border: 1px solid #dfe4ee;
  border-radius: 14px;
}

.ip-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ip-navy-bar) !important;
  text-decoration: none !important;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ip-tab i {
  font-size: 17px;
  color: var(--ip-gold);
  transition: color 0.2s ease;
}

.ip-tab:hover {
  background: #fff;
  color: var(--ip-navy) !important;
}

.ip-tab.is-active {
  background: linear-gradient(135deg, var(--ip-navy) 0%, var(--ip-navy-bar) 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 128, 0.22);
}

.ip-tab.is-active i {
  color: var(--ip-gold);
}

.ip-panel {
  animation: ipFadeUp 0.35s ease;
}

.ip-panel[hidden] {
  display: none !important;
}

@keyframes ipFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Annual Returns */
.ip-returns {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e3e7ef;
}

.ip-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid #e3e7ef;
  transition: background 0.15s ease;
}

.ip-return:hover {
  background: #f7f9fc;
}

.ip-return-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.ip-return-title i {
  font-size: 22px;
  color: #d9342b;
}

.ip-returns-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ip-muted);
}

/* Section titles */
.ip-section {
  margin-bottom: 56px;
}

.ip-section > h2 {
  margin: 0 0 22px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ip-navy);
}

/* AGM year pills */
.ip-years-div {
  padding-top: 1%;
}

.ip-years {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.ip-years > li {
  float: none !important;
  margin: 0 !important;
}

.ip-years > li > a {
  display: inline-block;
  margin: 0 !important;
  padding: 10px 16px !important;
  min-width: 96px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #000 !important;
  background: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}

.ip-years > li > a:hover {
  border-color: var(--ip-navy) !important;
  color: var(--ip-navy) !important;
}

.ip-years > li.active > a,
.ip-years > li.active > a:hover,
.ip-years > li.active > a:focus {
  background: var(--ip-gold) !important;
  border-color: var(--ip-gold) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.ip-agm-notice {
  margin: 0 0 20px;
  max-width: 960px;
  font-size: 15px;
  line-height: 1.65;
  color: #222;
}

.ip-agm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 14px;
  background: var(--ip-navy-bar);
  color: #fff;
  border-radius: 2px;
}

.ip-agm-bar-year {
  font-size: 15px;
  font-weight: 700;
}

.ip-agm-bar-dl {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.ip-agm-bar-dl:hover {
  text-decoration: underline !important;
  color: #fff !important;
}

.ip-agm-docs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ip-agm-docs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4px;
  border-bottom: 1px solid #e8ecf2;
  font-size: 14px;
  color: #222;
}

.ip-agm-docs li:last-child {
  border-bottom: none;
}

.ip-agm-docs a.pdf {
  flex: 0 0 auto;
  color: var(--ip-gold) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.ip-agm-docs a.pdf:hover {
  text-decoration: underline !important;
}

/* Reports grid */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.ip-card {
  text-align: center;
}

.ip-card-cover {
  display: block;
  margin: 0 auto 14px;
  max-width: 280px;
  border: 1px solid #cfd6e0;
  background: #fff;
  overflow: hidden;
}

.ip-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.ip-card-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.ip-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  padding: 10px 22px;
  background: var(--ip-orange);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.ip-card-btn:hover {
  background: #d56b0c;
  color: #fff !important;
}

.ip-card-btn i {
  font-size: 14px;
}

@media (max-width: 900px) {
  .ip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
  }
}

@media (max-width: 560px) {
  .ip-grid {
    grid-template-columns: 1fr;
  }

  .ip-agm-docs li,
  .ip-return {
    flex-direction: column;
    align-items: flex-start;
  }

  .ip-tab {
    flex: 1 1 100%;
    justify-content: center;
  }
}
