/* ===== Bonds Page Specific Styles ===== */

.bonds-nav {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto 20px auto;
}

.bonds-nav-bottom {
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ===== Hero Section ===== */
.bonds-hero {
  width: 95%;
  max-width: 1100px;
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a3a4a 0%, #1e1e1e 100%);
  border-radius: 16px;
  border: 1px solid #2a5a6a;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.15);
}

.bonds-hero-title {
  color: #00b4d8;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.bonds-hero-subtitle {
  color: #aaa;
  font-size: 16px;
  margin: 0;
}

/* ===== Content Sections ===== */
.bonds-section {
  width: 95%;
  max-width: 1100px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-left: 4px solid #00b4d8;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.bonds-section-title {
  color: #00b4d8;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.bonds-section-text {
  color: #bbb;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 24px 0;
  text-align: justify;
}

/* ===== Age Allocation Cards ===== */
.allocation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.allocation-card {
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 18px 20px;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.allocation-age {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.allocation-pct {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.allocation-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* ===== ETF Tables ===== */
.etf-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
}

.etf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}

.etf-table thead tr {
  background: #00b4d8;
}

.etf-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.etf-table td {
  padding: 11px 16px;
  color: #ddd;
  border-bottom: 1px solid #2e2e2e;
  vertical-align: middle;
}

.etf-table tbody tr:last-child td {
  border-bottom: none;
}

.etf-table tbody tr:hover td {
  background: #333;
  transition: background 0.15s ease;
}

.etf-ticker {
  font-weight: 700;
  color: #00b4d8;
  font-size: 15px;
}

.etf-name {
  font-weight: 600;
  color: #f0f0f0;
  display: block;
  margin-bottom: 3px;
}

.etf-subdesc {
  font-size: 12px;
  color: #888;
}

.etf-yield {
  color: #00c896;
  font-weight: 600;
}

.etf-price {
  font-weight: 600;
  color: #f5f5f5;
}

.etf-change-pos {
  color: #00c896;
  font-weight: 500;
}

.etf-change-neg {
  color: #ff4d4d;
  font-weight: 500;
}

.etf-loading {
  text-align: center;
  color: #aaa;
  padding: 20px;
  font-style: italic;
}

.etf-maturity {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #00b4d8;
  font-weight: 600;
}

/* ===== Net Assets & Expense Ratio ===== */
.etf-aum {
  color: #f5f5f5;
  font-weight: 500;
  font-size: 13px;
}

.etf-expense {
  color: #f0a500;
  font-weight: 600;
  font-size: 13px;
}

.etf-ticker-link {
  color: #00b4d8;
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

.etf-ticker-link:hover {
  color: #fff;
  background: rgba(0, 180, 216, 0.2);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}