/*
 * Release 1.8.5
 * The public vacation share is a read-only version of the household card.
 */

body.shared-view.portal-household {
  color-scheme: light !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 246, 193, .94), transparent 31rem),
    linear-gradient(145deg, #fff7cf 0%, #f8e7a4 57%, #efd17c 100%) !important;
}

body.shared-view.portal-household::before {
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 255, 255, .72), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(255, 237, 158, .52), transparent 30rem),
    linear-gradient(145deg, #fff7cf, #f4db8f) !important;
}

body.shared-view.portal-household::after {
  display: none !important;
}

body.shared-view.portal-household main.shell {
  padding-top: clamp(30px, 4vw, 58px);
}

.shared-vacation-readonly {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.shared-vacation-readonly .vacation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.shared-vacation-readonly .vacation-heading > div {
  min-width: 0;
}

.shared-vacation-readonly .vacation-heading h2 {
  margin: 7px 0 11px;
  font-size: clamp(2.15rem, 4.4vw, 3.2rem);
}

.shared-readonly-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(133, 94, 18, .2);
  border-radius: 999px;
  background: rgba(245, 228, 180, .5);
  color: #80601d;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.shared-vacation-readonly .travel-section {
  margin-top: 20px;
}

.shared-vacation-readonly .travel-section .section-title {
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.25fr);
}

.shared-vacation-readonly .stays-section-head {
  margin-top: 31px;
}

.shared-vacation-readonly .excursion-section,
.shared-vacation-readonly .tips-section {
  margin-top: 32px;
}

.shared-vacation-readonly .vacation-chat {
  width: 100%;
  max-width: none;
  margin: 32px 0 0;
  box-sizing: border-box;
}

.shared-vacation-readonly .shared-footer-note {
  margin-bottom: 0;
}

body.shared-view.portal-household .footer {
  color: #746b59;
}

@media (max-width: 800px) {
  .shared-vacation-readonly .vacation-heading {
    display: grid;
    gap: 14px;
  }

  .shared-readonly-badge {
    justify-self: start;
  }

  .shared-vacation-readonly .travel-section .section-title {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.shared-view.portal-household main.shell {
    padding-top: 20px;
  }

  .shared-vacation-readonly {
    padding: 18px;
  }

  .shared-vacation-readonly .vacation-heading h2 {
    font-size: 2.2rem;
  }
}
