.vescina__ideas {
  margin: 0 0 120px;
  padding-top: 40px;
}

.vescina__ideas_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.vescina__ideas_head {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
}

.vescina__ideas_title {
  margin: 0 0 14px;
  font-family: "Mikado", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #0b80b2;
}

.vescina__ideas_intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #222;
}

.vescina__ideas_cta {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 36px;
  border: none;
  border-radius: 50px;
  background: #0b80b2;
  color: #fff;
  font-family: "Mikado", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.vescina__ideas--form-open .vescina__ideas_header,
.vescina__ideas--form-open .vescina__ideas_list {
  display: none;
}

.vescina__ideas--form-open .vescina__ideas_form {
  display: block !important;
}

body.vescine-ideje-form-open .vescina__list,
body.vescine-ideje-form-open .harmonica__wrap {
  display: none !important;
}

.vescina__ideas_cta:hover {
  background: #096a94;
}

.vescina__ideas_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vescina__ideas_form--hidden,
.vescina__ideas_form[hidden] {
  display: none !important;
}

.vescina__idea_card {
  display: flex;
  flex-direction: column;
  background: #eeeeee;
  border-radius: 6px;
  overflow: hidden;
}

.vescina__idea_summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 10px;
  align-items: start;
  padding: 26px 32px;
  overflow: hidden;
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s ease;
}

.vescina__idea_card--opened .vescina__idea_summary {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.vescina__idea_expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.vescina__idea_card--opened .vescina__idea_expand {
  grid-template-rows: 1fr;
}

.vescina__idea_expand > * {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.vescina__idea_card--opened .vescina__idea_expand > * {
  opacity: 1;
  transform: translateY(0);
}

.vescina__idea_body {
  display: contents;
}

.vescina__idea_title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-family: "Mikado", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  text-transform: uppercase;
}

.vescina__idea_content {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  min-width: 0;
}

.vescina__idea_vote {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 170px;
  min-height: 60px;
  height: auto;
  padding: 18px 28px;
  border: none;
  border-radius: 10px;
  background: #0b80b2;
  color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.vescina__idea_summary:not(:has(.vescina__idea_content)) .vescina__idea_vote {
  grid-row: 1;
  align-self: center;
}

.vescina__idea_vote:hover {
  background: #096a94;
}

.vescina__idea_vote_label {
  font-family: "Mikado", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.ideje-form {
  background: #fff;
  margin: 8px 0 48px;
  max-width: 920px;
}

.ideje-form__title {
  margin: 0 0 14px;
  font-family: "Mikado", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #0b80b2;
}

.ideje-form__intro {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: #222;
  max-width: 720px;
}

.ideje-form__label {
  display: block;
  margin: 22px 0 8px;
  font-family: "Mikado", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
}

.ideje-form__hint {
  margin: -2px 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #666;
}

.ideje-form__input,
.ideje-form__textarea {
  width: 100%;
  box-sizing: border-box;
  border: none;
  background: #e4e4e4;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  color: #222;
  border-radius: 6px;
}

.ideje-form__textarea {
  resize: vertical;
  min-height: 96px;
}

.ideje-form__textarea--lg {
  min-height: 200px;
}

.ideje-form__bottom {
  display: flex;
  gap: 28px;
  margin-top: 4px;
  align-items: stretch;
}

.ideje-form__col {
  flex: 1 1 50%;
  min-width: 0;
}

.ideje-form__col--tools {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ideje-form__col--tools .ideje-form__secondary {
  margin-top: 12px;
  width: 70%;
  min-width: 0;
  box-sizing: border-box;
}

.ideje-form__col--tools .ideje-form__links-list,
.ideje-form__col--tools .ideje-form__upload-list {
  margin-top: 12px;
}

.ideje-form__col--submit {
  display: flex;
  flex-direction: column;
}

.ideje-form__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 22px;
  border: none;
  border-radius: 4px;
  background: #d6d6d6;
  color: #222;
  font-family: "Mikado", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ideje-form__secondary:hover {
  background: #c8c8c8;
}

.ideje-form__links-list,
.ideje-form__upload-list {
  width: 100%;
  margin-bottom: 4px;
}

.ideje-form__link-row,
.ideje-form__upload-item {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ideje-form__link-row input {
  flex: 1 1 180px;
  background: #e4e4e4;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
}

.ideje-form__progress {
  flex: 1 1 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.ideje-form__progress-bar {
  height: 100%;
  width: 0;
  background: #0b80b2;
  transition: width 0.15s ease;
}

.ideje-form__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.ideje-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  min-width: 260px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px 36px;
  border: none;
  border-radius: 50px;
  background: #0b80b2;
  color: #fff;
  font-family: "Mikado", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ideje-form__submit:hover {
  background: #096a94;
}

.ideje-form__status {
  margin: 0;
  font-size: 15px;
  color: #0b80b2;
  text-align: right;
}

.ideje-detail {
  background: transparent;
  padding: 40px 44px 36px;
  margin: 0;
  position: relative;
}

.ideje-detail__title {
  margin: 0 0 16px;
  font-family: "Mikado", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  text-transform: uppercase;
}

.ideje-detail__uvod {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: #222;
  max-width: 820px;
}

.ideje-detail__heading {
  margin: 28px 0 14px;
  font-family: "Mikado", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.ideje-detail__heading--caps {
  text-transform: uppercase;
}

.ideje-detail__opis {
  font-size: 16px;
  line-height: 1.65;
  color: #222;
  max-width: 820px;
}

.ideje-detail__opis p {
  margin: 0 0 16px;
}

.ideje-detail__opis p:last-child {
  margin-bottom: 0;
}

.ideje-detail__opis ul,
.ideje-detail__opis ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.ideje-detail__opis li {
  margin-bottom: 6px;
}

.ideje-detail__list {
  margin: 0;
  padding-left: 22px;
  list-style: disc;
  font-size: 16px;
  line-height: 1.55;
  color: #222;
}

.ideje-detail__list li {
  margin-bottom: 8px;
}

.ideje-detail__list a {
  color: #222;
  text-decoration: underline;
}

.ideje-detail__list a:hover {
  color: #0b80b2;
}

.ideje-detail__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.ideje-detail__close {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 8px;
  background: #0b80b2 url("data:image/svg+xml,%3Csvg width='62' height='35' viewBox='0 0 62 35' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 32L31 4L59 32' stroke='%23ffffff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/26px 14px no-repeat;
  cursor: pointer;
  margin-left: auto;
}

.ideje-detail__close:hover {
  background-color: #096a94;
}

.ideje-like {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #0b80b2;
  background: #fff;
  color: #0b80b2;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Mikado", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.ideje-like.is-liked {
  background: #0b80b2;
  color: #fff;
}

.ideje-media {
  margin-bottom: 8px;
}

.ideje-media video,
.ideje-media audio,
.ideje-media img {
  max-width: 100%;
  display: block;
  margin-bottom: 8px;
}

.ideje-media video {
  max-height: 420px;
  background: #000;
}

.vescine-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vescine-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-family: "Mikado", sans-serif;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.vescine-share--footer {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  padding-bottom: 20px;
}

.footer .vescine-share__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.vescina__ideas_empty {
  margin: 0;
  color: #666;
  font-size: 17px;
}

@media (max-width: 1023px) {
  .vescina__ideas_header {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .vescina__ideas_cta {
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }

  .ideje-form__bottom {
    flex-direction: column;
    gap: 0;
  }

  .ideje-form__footer {
    align-items: stretch;
    padding-top: 20px;
  }

  .ideje-form__submit {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .vescina__ideas_title,
  .ideje-form__title {
    font-size: 26px;
  }

  .vescina__idea_summary {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .vescina__idea_vote {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    justify-self: stretch;
    padding: 14px 22px;
  }

  .ideje-detail {
    padding: 24px;
  }

  .ideje-detail__title {
    font-size: 22px;
  }

  .ideje-detail__footer {
    flex-wrap: wrap;
    gap: 16px;
  }
}
