/* ==================================================
   RENGINIŲ VEDĖJŲ PUSLAPIS
   Visos taisyklės apribotos .hosts-page elementu,
   kad nesikirstų su pagrindinio puslapio style.css.
================================================== */

.hosts-page {
  --hosts-purple: #6d27d8;
  --hosts-purple-dark: #5720b4;
  --hosts-purple-medium: #8c45dc;
  --hosts-purple-light: #f5efff;
  --hosts-pink: #e824a7;
  --hosts-text: #171922;
  --hosts-muted: #686475;
  --hosts-border: #e8e1ed;
  --hosts-card-bg: #ffffff;
  --hosts-soft-bg: #fbf9fd;

  width: 100%;
  display: block;
  color: var(--hosts-text);
  background: #ffffff;
  font-family: "Manrope", Arial, sans-serif;
}

.hosts-page *,
.hosts-page *::before,
.hosts-page *::after {
  box-sizing: border-box;
}

.hosts-page img {
  max-width: 100%;
}

.hosts-page .hosts-shell {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}


/* ==================================================
   PUSLAPIO SEKCIJA
   Svarbu: čia išjungiamos iš style.css paveldėtos
   .hosts-list grid ir horizontalios slinkties taisyklės.
================================================== */

.hosts-page .hosts-list {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 35px 0 90px;
  display: block;
  overflow: visible;
  grid-template-columns: none;
  align-items: initial;
  justify-content: initial;
  gap: 0;
}


/* ==================================================
   KELIO NAVIGACIJA
================================================== */

.hosts-page .hosts-breadcrumbs {
  width: 100%;
  margin: 0 0 30px;
  padding: 11px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--hosts-border);
  color: #777180;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hosts-page .hosts-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hosts-page .hosts-breadcrumbs a:hover {
  color: var(--hosts-purple);
}

.hosts-page .hosts-breadcrumbs i {
  color: #aaa3b1;
  font-size: 8px;
}

.hosts-page .hosts-breadcrumbs span[aria-current="page"] {
  color: var(--hosts-purple-dark);
}


/* ==================================================
   PUSLAPIO ANTRAŠTĖ
================================================== */

.hosts-page .hosts-list__header {
  width: 100%;
  margin: 0 0 34px;
  padding: 34px 38px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border: 1px solid var(--hosts-border);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 93% 10%,
      rgba(109, 39, 216, 0.15),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fcfaff 55%,
      #f4edff 100%
    );
}

.hosts-page .hosts-list__header::before {
  width: 155px;
  height: 155px;
  position: absolute;
  right: -58px;
  bottom: -82px;
  content: "";
  border-radius: 50%;
  background: rgba(109, 39, 216, 0.09);
  pointer-events: none;
}

.hosts-page .hosts-list__heading {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hosts-page .hosts-list__eyebrow {
  margin: 0 0 9px;
  display: inline-flex;
  align-items: center;
  color: var(--hosts-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hosts-page .hosts-list__heading h1 {
  margin: 0 0 12px;
  color: var(--hosts-text);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hosts-page .hosts-list__heading p {
  max-width: 700px;
  margin: 0;
  color: var(--hosts-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.hosts-page .hosts-list__count {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  flex: 0 0 auto;
  border: 1px solid rgba(109, 39, 216, 0.17);
  border-radius: 999px;
  color: var(--hosts-purple-dark);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 7px 20px rgba(57, 27, 88, 0.07);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}


/* ==================================================
   VEDĖJŲ GRIDAS
================================================== */

.hosts-page .hosts-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}


/* ==================================================
   VEDĖJO KORTELĖ
================================================== */

.hosts-page .host-card {
  min-width: 0;
  height: 100%;
  margin: 0;
}

.hosts-page .host-card__link {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hosts-border);
  border-radius: 22px;
  color: inherit;
  background: var(--hosts-card-bg);
  box-shadow: 0 8px 27px rgba(37, 18, 56, 0.06);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hosts-page .host-card__link:hover {
  border-color: rgba(109, 39, 216, 0.38);
  box-shadow: 0 18px 42px rgba(55, 25, 82, 0.13);
  transform: translateY(-6px);
}

.hosts-page .host-card__link:focus-visible {
  outline: 3px solid rgba(109, 39, 216, 0.28);
  outline-offset: 4px;
}


/* ==================================================
   APSKRITA NUOTRAUKA
================================================== */

.hosts-page .host-card__media {
  width: 100%;
  min-height: 238px;
  padding: 30px 24px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(109, 39, 216, 0.13),
      transparent 52%
    ),
    linear-gradient(
      180deg,
      #faf7ff 0%,
      #ffffff 100%
    );
}

.hosts-page .host-card__image {
  width: 178px;
  height: 178px;
  padding: 6px;
  position: relative;
  flex: 0 0 178px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--hosts-purple),
    #a865eb,
    var(--hosts-pink)
  );
  box-shadow:
    0 15px 35px rgba(80, 34, 119, 0.2),
    0 0 0 8px rgba(109, 39, 216, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hosts-page .host-card__image img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  border: 5px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.hosts-page .host-card__link:hover .host-card__image {
  box-shadow:
    0 20px 42px rgba(80, 34, 119, 0.27),
    0 0 0 10px rgba(109, 39, 216, 0.08);
  transform: scale(1.035);
}


/* ==================================================
   ŽENKLELIAI
================================================== */

.hosts-page .host-card__badge {
  max-width: calc(100% - 32px);
  padding: 7px 11px;
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(27, 18, 31, 0.73);
  box-shadow: 0 5px 14px rgba(20, 8, 27, 0.14);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.hosts-page .host-card__badge--new {
  background: linear-gradient(135deg, #9852e6, #7231cb);
}


/* ==================================================
   KORTELĖS TURINYS
================================================== */

.hosts-page .host-card__body {
  min-width: 0;
  padding: 9px 24px 24px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.hosts-page .host-card__body h2 {
  margin: 0 0 11px;
  color: var(--hosts-text);
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hosts-page .host-card__description {
  min-height: 70px;
  margin: 0 0 21px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--hosts-muted);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}


/* ==================================================
   INFORMACIJOS SĄRAŠAS
================================================== */

.hosts-page .host-card__facts {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.hosts-page .host-card__facts li {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  margin: 0;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #eee8f2;
  border-radius: 13px;
  background: #fdfcff;
}

.hosts-page .host-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--hosts-purple);
  background: var(--hosts-purple-light);
  font-size: 14px;
}

.hosts-page .host-card__fact-content {
  min-width: 0;
}

.hosts-page .host-card__fact-content small,
.hosts-page .host-card__fact-content strong {
  display: block;
}

.hosts-page .host-card__fact-content small {
  margin: 0 0 3px;
  color: #8a8391;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hosts-page .host-card__fact-content strong {
  min-width: 0;
  color: #4f4959;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}


/* ==================================================
   KAINA IR RODYKLĖ
================================================== */

.hosts-page .host-card__footer {
  width: 100%;
  margin-top: auto;
  padding-top: 19px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.hosts-page .host-card__price {
  min-width: 0;
}

.hosts-page .host-card__price small {
  margin: 0 0 6px;
  display: block;
  color: #8a8391;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hosts-page .host-card__price strong {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(109, 39, 216, 0.15);
  border-radius: 12px;
  color: var(--hosts-purple-dark);
  background: linear-gradient(135deg, #faf7ff, var(--hosts-purple-light));
  box-shadow: 0 5px 14px rgba(101, 38, 189, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.hosts-page .host-card__price i {
  flex: 0 0 auto;
  color: var(--hosts-purple);
  font-size: 14px;
}

.hosts-page .host-card__action {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--hosts-purple);
  background: var(--hosts-purple-light);
  font-size: 15px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.hosts-page .host-card__link:hover .host-card__action {
  color: #ffffff;
  background: var(--hosts-purple);
  transform: translateX(2px);
}


/* ==================================================
   RESPONSIVE DIZAINAS
================================================== */

@media (max-width: 1180px) {
  .hosts-page .hosts-shell {
    width: calc(100% - 48px);
  }

  .hosts-page .hosts-grid {
    gap: 20px;
  }

  .hosts-page .host-card__body {
    padding-right: 19px;
    padding-left: 19px;
  }

  .hosts-page .host-card__fact-content strong {
    font-size: 11.5px;
  }
}


@media (max-width: 1020px) {
  .hosts-page .hosts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosts-page .hosts-list__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hosts-page .host-card__fact-content strong {
    font-size: 12px;
  }
}


@media (max-width: 700px) {
  .hosts-page .hosts-shell {
    width: calc(100% - 28px);
  }

  .hosts-page .hosts-list {
    padding: 20px 0 60px;
    overflow: visible;
    grid-template-columns: none;
    justify-content: initial;
  }

  .hosts-page .hosts-breadcrumbs {
    margin-bottom: 20px;
    padding: 9px 0;
    font-size: 10px;
  }

  .hosts-page .hosts-list__header {
    margin-bottom: 23px;
    padding: 27px 22px;
    border-radius: 20px;
  }

  .hosts-page .hosts-list__heading h1 {
    margin-bottom: 10px;
    font-size: 31px;
  }

  .hosts-page .hosts-list__heading p {
    font-size: 13px;
    line-height: 1.65;
  }

  .hosts-page .hosts-list__count {
    display: none;
  }

  .hosts-page .hosts-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hosts-page .host-card__link {
    border-radius: 19px;
  }

  .hosts-page .host-card__media {
    min-height: 222px;
    padding: 26px 20px 16px;
  }

  .hosts-page .host-card__image {
    width: 168px;
    height: 168px;
    flex-basis: 168px;
  }

  .hosts-page .host-card__body {
    padding: 8px 18px 20px;
  }

  .hosts-page .host-card__body h2 {
    font-size: 21px;
  }

  .hosts-page .host-card__description {
    min-height: 0;
    font-size: 13px;
    -webkit-line-clamp: initial;
  }

  .hosts-page .host-card__facts li {
    padding: 11px;
  }
}


@media (max-width: 390px) {
  .hosts-page .hosts-shell {
    width: calc(100% - 22px);
  }

  .hosts-page .hosts-list__header {
    padding: 24px 18px;
  }

  .hosts-page .host-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hosts-page .host-card__price strong {
    width: 100%;
  }

  .hosts-page .host-card__action {
    align-self: flex-end;
  }
}