/* ========================================
   FINANCING PROGRAM PAGE
   ======================================== */

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.financing-sections {
  padding: 60px 0;
  max-width: 1024px;
  margin: 0 auto;
}

.financing-section {
  padding: 0 0 40px;
}

.financing-section:last-of-type {
  padding-bottom: 0;
}

.financing-section + .financing-section {
  padding-top: 10px;
}

.financing-section-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--ifa-primary-600);
  margin-bottom: 16px;
}

.financing-section-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ifa-black);
}

.financing-section-content p:last-child {
  margin-bottom: 0;
}

.financing-section-content a {
  color: var(--ifa-secondary-500);
  font-weight: 700;
  text-decoration: underline;
}

.financing-section-content ul,
.financing-section-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.financing-section-content ul {
  list-style-type: disc;
}

.financing-section-content ol {
  list-style-type: decimal;
}

.financing-section-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.financing-section-content li:last-child {
  margin-bottom: 0;
}

.financing-section-content ul ul {
  list-style-type: circle;
  margin-bottom: 0;
  margin-top: 6px;
}

.financing-section-content ul ul ul {
  list-style-type: square;
}

.financing-section-content ol ol {
  list-style-type: lower-alpha;
  margin-bottom: 0;
  margin-top: 6px;
}

.financing-section-content ol ol ol {
  list-style-type: lower-roman;
}

.financing-section-content ul ol,
.financing-section-content ol ul {
  margin-bottom: 0;
  margin-top: 6px;
}

/* ========================================
   FILE ICONS
   ======================================== */
.financing-section-content a[href$=".pdf"],
.financing-section-content a[href$=".docx"],
.financing-section-content a[href$=".doc"],
.financing-section-content a[href$=".csv"],
.financing-section-content a[href$=".xlsx"],
.financing-section-content a[href$=".xls"],
.financing-section-content a[href$=".pptx"],
.financing-section-content a[href$=".ppt"],
.financing-section-content a[href$=".txt"],
.financing-section-content a[href$=".rtf"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ifa-black);
  text-decoration: none;
}

.financing-section-content a[href$=".pdf"]::before,
.financing-section-content a[href$=".docx"]::before,
.financing-section-content a[href$=".doc"]::before,
.financing-section-content a[href$=".csv"]::before,
.financing-section-content a[href$=".xlsx"]::before,
.financing-section-content a[href$=".xls"]::before,
.financing-section-content a[href$=".pptx"]::before,
.financing-section-content a[href$=".ppt"]::before,
.financing-section-content a[href$=".txt"]::before,
.financing-section-content a[href$=".rtf"]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
}

.financing-section-content a[href$=".pdf"]::before {
  background-image: url("../images/icons/pdf.svg");
}

.financing-section-content a[href$=".docx"]::before,
.financing-section-content a[href$=".doc"]::before,
.financing-section-content a[href$=".pptx"]::before,
.financing-section-content a[href$=".ppt"]::before,
.financing-section-content a[href$=".txt"]::before,
.financing-section-content a[href$=".rtf"]::before {
  background-image: url("../images/icons/docx.svg");
}

.financing-section-content a[href$=".csv"]::before,
.financing-section-content a[href$=".xlsx"]::before,
.financing-section-content a[href$=".xls"]::before {
  background-image: url("../images/icons/xlsx.svg");
}

/* ========================================
   BOND PROGRAM SECTION
   ======================================== */
.financing-bonds {
  padding: 0 0 80px;
  max-width: 1024px;
  margin: 0 auto;
}

.financing-bonds-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--ifa-primary-600);
  margin-bottom: 16px;
}

.financing-bonds-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ifa-black);
  margin-bottom: 16px;
}

.financing-bonds-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.financing-bond-file {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 24px;
  background-color: var(--ifa-light-100);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--ifa-transition);
  box-shadow: 0px 3px 3px 0px #00000024;
}

.financing-bond-file:hover {
  background-color: var(--ifa-light-300);
}

.financing-bond-file:not(:has(.financing-bond-file-desc)) {
  align-items: center;
}

.financing-bond-file-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.financing-bond-file-info {
  flex: 1;
  min-width: 0;
}

.financing-bond-file-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ifa-black);
  line-height: 1.4;
}

.financing-bond-file-desc {
  font-size: 14px;
  color: var(--ifa-black);
  font-style: italic;
  margin: 2px 0 0;
}

.financing-bond-file-datetime {
  margin-left: auto;
  flex-shrink: 0;
  text-align: right;
  font-size: 15px;
  color: var(--ifa-black);
  line-height: 1.4;
  margin-bottom: 0;
}

.financing-bond-file-date {
  margin: 2px 0 0;
}

.financing-bond-file-time {
  margin: 2px 0 0;
  font-style: italic;
  font-size: 14px;
}
