/*
 * Letölthető tartalmak — ported from the otpercangol theme's style.css.
 * Theme-independent: works under hello-elementor and generatepress-child alike.
 */

.vocabulary {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  border: 1px solid #efeef3;
  background-color: #f8f7fc;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 0 12px 0 rgba(50, 50, 50, 0.05);
}

@media only screen and (min-width: 992px) {
  .vocabulary {
    justify-content: space-between;
    flex-direction: row;
  }
}

.vocabulary h2 {
  width: 100%;
}

/*
 * The two-class selector deliberately outranks Elementor's global kit typography
 * (.elementor-kit-NNN h2 sets 60px), which would otherwise dwarf the post title.
 * Kept below the post title: that heading widget is 30px desktop / 22px mobile.
 */
.vocabulary h2.downloadable-items__title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 15px;
}

@media only screen and (max-width: 767px) {
  .vocabulary h2.downloadable-items__title {
    font-size: 18px;
  }
}

.downloadable-items {
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.downloadable-items li {
  background-color: #fff;
  padding: 5px;
  font-size: 20px;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 0 12px 0 rgba(50, 50, 50, 0.05);
}

.downloadable-items li:last-child {
  margin-bottom: 0;
}

.downloadable-items li a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.downloadable-items li a:hover {
  color: #57c2c8;
}

.downloadable-items li a svg {
  flex: 0 0 auto;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 3px;
  margin-bottom: 2px;
}

.downloadable-items__name {
  width: calc(100% - 200px);
}

.downloadable-items__button {
  background-color: #f42548;
  color: #fff;
  font-weight: bold;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 10px 20px;
  margin-right: -10px;
  margin-top: -15px;
  margin-bottom: -15px;
  transition: all 0.2s;
}

.downloadable-items__button:hover {
  background-color: #57c2c8;
}
