/* FAQ-aligned list chrome: bordered rounded rows, #eee fill, vertical stack */

.file-download-component {
  padding-top: 2vw;
  padding-bottom: 2vw;
}

.file-download-big-container {
  max-width: 755px;
  margin-left: auto;
  margin-right: auto;
}

/* Match centered-title-with-cta: subtitle with rules, then centered title */
.file-download-heading-wrapper {
  text-align: center;
  margin-bottom: 2.22vw;
}

.file-download-component .file-download-subtitle {
  border-top: 0.5px solid #1d2025;
  border-bottom: 0.5px solid #1d2025;
  padding: 0.6vw 0.8vw;
  letter-spacing: 0.14vw;
  text-transform: uppercase;
  font-size: 0.89vw;
  font-weight: 400;
  line-height: 1vw;
  color: #1d2025;
  font-family: Satoshi, sans-serif;
  display: inline-block;
}

.file-download-component .file-download-title {
  text-transform: capitalize;
  font-size: 3.33vw;
  font-weight: 400;
  line-height: 3.89vw;
  color: #1d2025;
  font-family: Satoshi, sans-serif;
  max-width: 45vw;
  margin: 0 auto;
  padding-top: 1.7vw;
  padding-bottom: 1.2vw;
}

.file-download-list {
  display: flex;
  flex-direction: column;
  gap: 2.22vw;
  max-width: 755px;
  margin-left: auto;
  margin-right: auto;
}

.file-download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid #000;
  border-radius: 20px;
  background-color: #eee;
  padding: 15px 18px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.file-download-item:hover {
  background-color: #fff;
}

.file-download-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px #1d2025;
}

.file-download-item:active {
  background-color: #fff;
}

.file-download-item-label {
  flex: 1;
  font-weight: 300;
  text-transform: capitalize;
  font-size: 2vw;
  line-height: 1.2;
  color: #1d2025;
}

.file-download-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #1d2025;
}

/* Modal */

.file-download-modal-content {
  border-radius: 20px;
  border: 1px solid #000;
  overflow: hidden;
}

.file-download-modal-header {
  border-bottom: 1px solid rgba(29, 32, 37, 0.15);
  padding: 1rem 1.25rem;
}

.file-download-modal-title {
  font-size: 1.35rem;
  font-weight: 400;
  color: #1d2025;
  text-transform: capitalize;
}

.file-download-modal-body {
  padding: 1.25rem;
}

.file-download-cf7-wrap .wpcf7-form p {
  margin-bottom: 1rem;
}

.file-download-cf7-wrap .wpcf7-form label {
  display: block;
  font-weight: 300;
  font-size: 16px;
  color: #1d2025;
  margin-bottom: 6px;
}

.file-download-cf7-wrap .wpcf7-form-control-wrap {
  display: block;
}

.file-download-cf7-wrap input[type="email"],
.file-download-cf7-wrap input[type="tel"],
.file-download-cf7-wrap input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  background-color: var(--light-gray, #eee);
  border: 1px solid rgba(29, 32, 37, 0.28);
  padding: 10px 12px;
  border-radius: 5px;
  color: #1d2025;
  font-family: inherit;
  font-size: 15px;
}

.file-download-cf7-wrap input:focus {
  border-color: #3898ec;
  outline: none;
}

.file-download-cf7-wrap input[type="submit"] {
  margin-top: 0.5rem;
  width: 100%;
  background-color: var(--black, #1d2025);
  color: var(--white, #f9f9f9);
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
}

.file-download-cf7-wrap input[type="submit"]:hover {
  opacity: 0.92;
}

@media (max-width: 991px) {
  .file-download-component .file-download-subtitle {
    letter-spacing: 0.125rem;
    font-size: 0.8rem;
    line-height: 0.9rem;
  }

  .file-download-component .file-download-title {
    font-size: 3rem;
    line-height: 4rem;
    max-width: 100%;
  }

  .file-download-heading-wrapper {
    margin-bottom: 1.5rem;
  }

  .file-download-item-label {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .file-download-item-icon {
    width: 28px;
    height: 28px;
  }

  .file-download-item-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 2780px) {
  .file-download-big-container {
    max-width: 920px;
  }

  .file-download-list {
    max-width: 920px;
  }
}
