/* ==========================================================================
   FINANCIAL INFORMATION & FUNDS COMPONENT STYLES
   ========================================================================== */

.financial-information-section {
  margin: 0;
  padding: 0 0 70px;
  font-family: "Noto Sans", "Segoe UI", system-ui, sans-serif;
}

/* Header */
.financial-information-header {
  margin-bottom: 1.75rem;
}

.financial-information-title {
  font-family: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1348C3 !important;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.financial-information-desc {
  font-size: 1rem;
  font-weight: 400;
  color: #3B3F44;
  line-height: 1.5;
  margin: 0;
}

/* Funds Grid */
.financial-funds-grid {
  margin-top: 0.5rem;
}

.financial-fund-wrapper {
  display: flex;
  flex-direction: column;
}

/* Individual Card */
.financial-fund-card {
  background-color: #f8faff;
  border: 1.5px solid #d4e3fc;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  transition: all 0.25s ease-in-out;
  box-shadow: none;
}

.financial-fund-card:hover {
  border-color: #1348C3;
  transform: translateY(-3px);
  box-shadow: none;
}

/* Left Icon Circle */
.financial-fund-icon-box {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: 50%;
  background-color: #1348C3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.financial-fund-icon-box img,
.financial-fund-icon-box svg,
.financial-fund-icon-box i {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

/* Ensure FontAwesome icons or SVGs are pure white */
.financial-fund-icon-box i {
  color: #ffffff !important;
  filter: none;
}

/* Drupal field wrappers within icon box */
.financial-fund-icon-box .field,
.financial-fund-icon-box .field__item,
.financial-fund-icon-box .field__items,
.financial-fund-icon-box .media,
.financial-fund-icon-box .contextual-region {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.financial-fund-icon-box .contextual {
  display: none !important;
}

/* Right Content Area */
.financial-fund-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1.25rem;
  min-width: 0;
  flex-grow: 1;
}

.financial-fund-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #4a5568;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.financial-fund-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1348C3;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Drupal inline fields handling */
.financial-fund-name .field,
.financial-fund-name .field__item,
.financial-fund-amount .field,
.financial-fund-amount .field__item {
  display: inline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .financial-information-section {
    padding-bottom: 40px;
  }

  .financial-information-title {
    font-size: 1.6rem;
  }

  .financial-fund-card {
    padding: 1.1rem 1.25rem;
  }

  .financial-fund-icon-box {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }

  .financial-fund-icon-box img,
  .financial-fund-icon-box svg {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  .financial-fund-amount {
    font-size: 1.5rem;
  }
}

/* Dark Mode */
[data-theme="dark"] .financial-fund-card,
.dark-mode .financial-fund-card {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: none;
}

[data-theme="dark"] .financial-fund-card:hover,
.dark-mode .financial-fund-card:hover {
  background-color: #243248;
  border-color: #60a5fa;
}

[data-theme="dark"] .financial-information-desc,
.dark-mode .financial-information-desc {
  color: #94a3b8;
}

[data-theme="dark"] .financial-fund-name,
.dark-mode .financial-fund-name {
  color: #93c5fd;
}

[data-theme="dark"] .financial-fund-amount,
.dark-mode .financial-fund-amount {
  color: #ffffff;
}

[data-theme="dark"] .financial-information-title,
.dark-mode .financial-information-title {
  color: #ffffff !important;
}