/* =============================================================
   Aradel — Bond and Debt Information Module
   Reusable investor structured-data page styles.
   Scope: .ar-bd-section
   ============================================================= */

.ar-bd-section {
  padding-bottom: clamp(56px, 6vw, 88px);
  animation: ar-bd-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ar-bd-section .ar-bd-programme-heading {
  margin: 0 0 24px;
  color: var(--ads-text);
}

.ar-bd-section .ar-bd-supporting-copy {
  max-width: 860px;
  margin-bottom: 40px;
  color: var(--ads-text);
  font-size: 18px;
  line-height: 27px;
}

.ar-bd-section .ar-bd-supporting-copy p {
  margin: 0;
}

.ar-bd-section .ar-bd-supporting-copy p + p {
  margin-top: 12px;
}

.ar-bd-section .ar-bd-summary-box {
  margin-bottom: 49px;
  padding: clamp(28px, 4vw, 48px);
  background: #e6eaeb;
  border-radius: 20px;
}

.ar-bd-section .ar-bd-summary-heading {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ads-text);
}

.ar-bd-section .ar-bd-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(1, 48, 58, 0.12);
}

.ar-bd-section .ar-bd-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(1, 48, 58, 0.12);
}

.ar-bd-section .ar-bd-cell {
  min-width: 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: var(--ads-text);
}

.ar-bd-section .ar-bd-cell--label {
  flex: 0 0 min(34%, 340px);
}

.ar-bd-section .ar-bd-cell--value {
  flex: 1 1 auto;
}

.ar-bd-section .ar-bd-row--accent .ar-bd-cell {
  color: var(--ads-brand-red);
}

.ar-bd-section .ar-bd-table .ar-bd-row:first-child .ar-bd-cell {
  color: var(--ads-brand-red);
  font-weight: 700;
}

.ar-bd-section .ar-bd-value-stack {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 24px;
}

.ar-bd-section .ar-bd-value-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ar-bd-section .ar-bd-value-text {
  flex: 1 1 auto;
  min-width: 0;
}

.ar-bd-section .ar-bd-actions,
.ar-dividend-section .ar-bd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.ar-bd-section .ar-bd-actions--row {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.ar-bd-section .ar-bd-actions .ar-action,
.ar-dividend-section .ar-bd-actions .ar-action {
  font-size: 18px;
  font-weight: 600;
}

.ar-bd-section .ar-bd-data-section {
  margin-top: 72px;
}

.ar-bd-section .ar-bd-data-section__heading {
  margin: 0 0 49px;
  padding: clamp(28px, 4vw, 48px);
  background: #e6eaeb;
  border-radius: 20px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ads-text);
}

.ar-bd-section .ar-bd-data-section__intro {
  max-width: 860px;
  margin-bottom: 24px;
  color: var(--ads-text);
  font-size: 18px;
  line-height: 27px;
}

.ar-bd-section .ar-bd-data-section__intro p {
  margin: 0;
}

.ar-bd-section .ar-bd-data-section__intro p + p {
  margin-top: 12px;
}

.ar-bd-section .ar-bd-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(1, 48, 58, 0.24) transparent;
}

.ar-bd-section .ar-bd-data-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(1, 48, 58, 0.12);
  border-bottom: 1px solid rgba(1, 48, 58, 0.12);
}

.ar-bd-section .ar-bd-data-table thead th {
  padding: 14px 12px 15px;
  text-align: center;
  vertical-align: middle;
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ads-brand-red);
  border-bottom: 1px solid rgba(1, 48, 58, 0.12);
}

.ar-bd-section .ar-bd-data-table tbody td {
  padding: 15px 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 17px;
  line-height: 26px;
  font-weight: 600;
  color: var(--ads-text);
  border-bottom: 1px solid rgba(1, 48, 58, 0.12);
}

.ar-bd-section .ar-bd-inner > .ar-bd-data-section:first-of-type .ar-bd-data-table thead th,
.ar-bd-section .ar-bd-inner > .ar-bd-data-section:first-of-type .ar-bd-data-table tbody td {
  text-align: left;
}

.ar-bd-section .ar-bd-data-table thead th:first-child,
.ar-bd-section .ar-bd-data-table tbody td:first-child {
  padding-left: 0;
}

.ar-bd-section .ar-bd-data-table thead th:last-child,
.ar-bd-section .ar-bd-data-table tbody td:last-child {
  padding-right: 0;
}

.ar-bd-section .ar-bd-data-table tbody td:not(:first-child) .ar-bd-data-table__cell-text {
  white-space: nowrap;
}

.ar-bd-section .ar-bd-data-table thead th:nth-child(1) {
  min-width: 116px;
}

.ar-bd-section .ar-bd-data-table thead th:nth-child(2),
.ar-bd-section .ar-bd-data-table thead th:nth-child(3),
.ar-bd-section .ar-bd-data-table thead th:nth-child(4),
.ar-bd-section .ar-bd-data-table thead th:nth-child(6) {
  min-width: 108px;
}

.ar-bd-section .ar-bd-data-table thead th:nth-child(5),
.ar-bd-section .ar-bd-data-table thead th:nth-child(7) {
  min-width: 132px;
}

.ar-bd-section .ar-bd-data-table thead th:nth-child(8) {
  min-width: 96px;
}

.ar-bd-section .ar-bd-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.ar-bd-section .ar-bd-data-table__cell-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.ar-bd-section .ar-bd-inner > .ar-bd-data-section:first-of-type .ar-bd-data-table__cell-stack {
  align-items: flex-start;
  text-align: left;
}

.ar-bd-section .ar-bd-data-table__cell-text {
  min-width: 0;
}

.ar-bd-section .ar-bd-actions--table-row {
  align-items: center;
  justify-content: center;
}

.ar-bd-section .ar-bd-inner > .ar-bd-data-section:first-of-type .ar-bd-actions--table-row {
  align-items: flex-start;
  justify-content: flex-start;
}

.ar-bd-section .ar-bd-downloads {
  margin-top: 72px;
}

.ar-bd-section .ar-bd-actions--bottom,
.ar-dividend-section .ar-bd-actions--bottom {
  align-items: center;
  justify-content: space-between;
}

.ar-dividend-section {
  padding-bottom: clamp(56px, 6vw, 88px);
  animation: ar-bd-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ar-dividend-table-shell {
  width: 100%;
}

.ar-dividend-section .ar-bd-data-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ar-dividend-section .ar-bd-data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border-top: 1px solid #a1a0a0;
  border-bottom: 1px solid #a1a0a0;
}

.ar-dividend-section .ar-bd-data-table thead th {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--ads-brand-red);
  border-bottom: 1px solid #d4d3d3;
}

.ar-dividend-section .ar-bd-data-table tbody td {
  padding: 16px 18px;
  vertical-align: top;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  color: var(--ads-text);
  border-bottom: 1px solid #d4d3d3;
}

.ar-dividend-section .ar-bd-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.ar-dividend-section .ar-bd-data-table__cell-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ar-dividend-section .ar-bd-data-table__cell-text {
  min-width: 0;
}

.ar-dividend-section .ar-bd-actions--table-row {
  align-items: flex-start;
}

.ar-dividend-chart-card {
  margin-bottom: 40px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid rgba(193, 0, 15, 0.12);
  border: 1px solid color-mix(in srgb, var(--ads-brand-red, #c1000f) 12%, #d9d9d9);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(1, 48, 58, 0.06);
}

.ar-dividend-chart-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ar-dividend-chart-title {
  margin: 0;
  color: var(--ads-text, #1f1f1f);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
}

.ar-dividend-chart-intro {
  max-width: 100%;
}

.ar-dividend-chart-note {
  max-width: 760px;
}

.ar-dividend-chart-intro,
.ar-dividend-chart-note {
  margin: 0;
  color: var(--ads-muted, #666);
  font-size: 16px;
  line-height: 1.7;
}

.ar-dividend-highlight {
  margin-bottom: 28px;
}

.ar-dividend-highlight-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  width: 100%;
  background: linear-gradient(135deg, #01303A 0%, #C1000F 100%);
  background: var(--ar-gradient-investor, linear-gradient(135deg, #01303A 0%, #C1000F 100%));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(1, 48, 58, 0.12);
}

.ar-dividend-highlight-label,
.ar-dividend-highlight-support-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ar-dividend-highlight-value {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 700;
  word-break: break-word;
}

.ar-dividend-highlight-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  width: 100%;
  gap: 10px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.ar-dividend-highlight-support-value {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  font-weight: 700;
  text-align: right;
  justify-self: end;
  white-space: nowrap;
}

.ar-dividend-chart-shell {
  position: relative;
  min-height: 372px;
}

.ar-dividend-chart-subtitle {
  margin: 0 0 18px;
  color: var(--ads-text, #1f1f1f);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
}

.ar-dividend-chart {
  width: 100%;
  height: 360px;
}

.ar-dividend-chart .apexcharts-tooltip {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(1, 48, 58, 0.14);
  font-family: inherit;
}

.ar-dividend-chart .apexcharts-tooltip-title {
  padding: 10px 14px 0;
  margin-bottom: 0;
  background: transparent;
  border-bottom: 0;
  color: var(--ads-muted, #666);
  font-weight: 700;
}

.ar-dividend-chart .apexcharts-tooltip-series-group {
  padding: 6px 14px 12px;
}

.ar-dividend-chart-tooltip {
  padding: 8px 0 2px;
}

.ar-dividend-chart-tooltip__title {
  padding: 0 14px 4px;
  color: var(--ads-muted, #666);
  font-size: 13px;
  font-weight: 700;
}

.ar-dividend-chart-tooltip__value {
  padding: 0 14px 10px;
  color: var(--ads-text, #1f1f1f);
  font-size: 14px;
  font-weight: 700;
}

.ar-dividend-chart .apexcharts-xaxis-label,
.ar-dividend-chart .apexcharts-yaxis-label {
  fill: var(--ads-muted, #666);
}

.ar-dividend-chart-note {
  margin-top: 50px;
}

.ar-dividend-table {
  min-width: 760px;
}

.ar-dividend-footer {
  margin-top: 32px;
}

.ar-dividend-footer__heading {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ads-text);
}

.ar-dividend-actions {
  justify-content: flex-start;
}

@keyframes ar-bd-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-bd-section,
  .ar-dividend-section {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .ar-bd-section .ar-bd-cell {
    font-size: 18px;
    line-height: 27px;
  }

  .ar-bd-section .ar-bd-actions .ar-action,
  .ar-dividend-section .ar-bd-actions .ar-action {
    font-size: 16px;
  }

  .ar-bd-section .ar-bd-data-table {
    min-width: 860px;
  }

  .ar-dividend-table {
    min-width: 700px;
  }

  .ar-dividend-chart-shell {
    min-height: 332px;
  }

  .ar-dividend-chart {
    height: 320px;
  }

  .ar-bd-section .ar-bd-data-table thead th {
    font-size: 16px;
    line-height: 24px;
  }

  .ar-bd-section .ar-bd-data-table tbody td {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  .ar-bd-section .ar-bd-supporting-copy {
    margin-bottom: 32px;
  }

  .ar-bd-section .ar-bd-summary-box {
    margin-bottom: 49px;
    border-radius: 18px;
  }

  .ar-bd-section .ar-bd-data-section__heading {
    margin-bottom: 49px;
    padding: 24px;
    border-radius: 18px;
  }

  .ar-bd-section .ar-bd-row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .ar-bd-section .ar-bd-cell {
    width: 100%;
  }

  .ar-bd-section .ar-bd-cell--label {
    flex: none;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ads-muted);
  }

  .ar-bd-section .ar-bd-row--accent .ar-bd-cell--label {
    color: var(--ads-brand-red);
  }

  .ar-bd-section .ar-bd-cell--value {
    font-size: 18px;
    line-height: 27px;
  }

  .ar-bd-section .ar-bd-value-stack {
    flex-direction: column;
  }

  .ar-bd-section .ar-bd-actions--row,
  .ar-bd-section .ar-bd-actions--bottom,
  .ar-dividend-section .ar-bd-actions--bottom {
    justify-content: flex-start;
  }

  .ar-bd-section .ar-bd-data-section {
    margin-top: 56px;
  }

  .ar-bd-section .ar-bd-data-table {
    min-width: 760px;
  }

  .ar-bd-section .ar-bd-data-table thead th {
    padding: 12px 10px 13px;
  }

  .ar-bd-section .ar-bd-data-table tbody td {
    padding: 13px 10px;
  }

  .ar-dividend-table {
    min-width: 640px;
  }

  .ar-dividend-chart-card {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 18px;
  }

  .ar-dividend-highlight {
    margin-bottom: 24px;
  }

  .ar-dividend-highlight-card {
    gap: 12px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .ar-dividend-chart-header {
    gap: 10px;
    margin-bottom: 16px;
  }

  .ar-dividend-highlight-value {
    font-size: clamp(28px, 9vw, 40px);
  }

  .ar-dividend-chart-subtitle {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .ar-dividend-chart-shell {
    min-height: 304px;
  }

  .ar-dividend-chart {
    height: 272px;
  }

  .ar-bd-section .ar-bd-downloads {
    margin-top: 56px;
  }

  .ar-dividend-footer {
    margin-top: 24px;
  }

  .ar-dividend-footer__heading {
    font-size: 22px;
  }

  .ar-dividend-chart-intro,
  .ar-dividend-chart-note {
    font-size: 15px;
    line-height: 1.6;
  }

  .ar-dividend-chart-note {
    margin-top: 50px;
    line-height: 1.3;
  }

  .ar-dividend-highlight-support {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .ar-dividend-highlight-support-value {
    text-align: left;
    justify-self: start;
    white-space: normal;
  }
}
