/* =========================================================
   BESTILL ROM
   Page ID: 677
   ========================================================= */


/* =========================================================
   ASTRA RESET
   ========================================================= */

body.page-id-677 .entry-header {
  display: none;
}

body.page-id-677 .site-content {
  padding-top: 0;
}

body.page-id-677 .site-content .ast-container {
  max-width: 100%;
  padding: 0;
}

body.page-id-677 .content-area,
body.page-id-677 .site-main,
body.page-id-677 .entry-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.page-id-677 .site-main {
  padding-top: 0;
}

body.page-id-677 .entry-content > * {
  max-width: none;
}


/* =========================================================
   BASE
   ========================================================= */

.bestill-rom {
  width: 100%;

  color: #172231;
  background: #fffdfb;
}

.bestill-rom h1,
.bestill-rom h2,
.bestill-rom h3,
.bestill-rom p {
  margin-top: 0;
}


/* =========================================================
   HERO
   ========================================================= */

.bestill-rom__hero {
  background: #fffdfb;
}

.bestill-rom__hero-main {
  position: relative;

  display: grid;
  grid-template-columns: 46% 54%;

  width: 100%;
  max-width: 1320px;
  min-height: 390px;

  margin: 0 auto;

  overflow: hidden;

  background: #edf4e4;
  border-radius: 12px;
}


/* HERO CONTENT */

.bestill-rom__hero-content {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 54px 58px;

  background: #edf4e4;
}

.bestill-rom__hero-label,
.bestill-rom__section-label {
  display: block;

  margin-bottom: 10px;

  color: #397542;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bestill-rom__hero h1 {
  margin-bottom: 18px;

  color: #172231;

  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.bestill-rom__hero-content > p {
  max-width: 490px;

  margin-bottom: 0;

  color: #3f4855;

  font-size: 16px;
  line-height: 1.55;
}


/* HERO IMAGE */

.bestill-rom__hero-image {
  position: relative;

  min-height: 390px;

  overflow: hidden;
}

.bestill-rom__hero-photo {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/*
 * Watercolor transition overlay.
 * The overlay image is decorative and comes
 * from the WordPress Media Library.
 */

.bestill-rom__hero-overlay {
  position: absolute;
  z-index: 2;

  top: -15px;
  bottom: -15px;
  left: -2px;

  display: block;

  width: 300px;
  height: calc(100% + 30px);

  object-fit: fill;

  pointer-events: none;
  user-select: none;
}


/* =========================================================
   FEATURES
   ========================================================= */

.bestill-rom__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;

  width: 100%;
  max-width: 1120px;

  margin: 0 auto;
  padding: 34px 24px;

  border-bottom: 1px solid #e8e5e0;
}

.bestill-rom__feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;

  align-items: center;
}


.bestill-rom__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
}

.bestill-rom__feature-icon img {
  display: block;

  width: 58px;
  height: 58px;

  object-fit: contain;
}

.bestill-rom__feature:first-child .bestill-rom__feature-icon {
  width: 58px;
  height: 58px;
  overflow: visible;
}

.bestill-rom__feature:first-child .bestill-rom__feature-icon img {
  width: 80px;
  height: 80px;
  max-width: none;
  object-fit: contain;
}

.bestill-rom__feature h3 {
  margin: 0 0 4px;

  color: #172231;

  font-size: 17px;
  line-height: 1.2;
}

.bestill-rom__feature p {
  margin: 0;

  color: #606875;

  font-size: 14px;
  line-height: 1.45;
}


/* =========================================================
   ROOMS
   ========================================================= */

.bestill-rom__rooms {
  width: 100%;
  max-width: 1120px;

  margin: 0 auto;
  padding: 52px 24px 34px;
}

.bestill-rom__section-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;

  margin-bottom: 28px;

  align-items: end;
}

.bestill-rom__section-header h2 {
  margin: 0;

  color: #172231;

  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.bestill-rom__section-header > p {
  max-width: 390px;

  margin: 0 0 3px;

  color: #606875;

  font-size: 15px;
  line-height: 1.55;
}


/* =========================================================
   ROOM CARDS
   ========================================================= */

.bestill-rom__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bestill-rom__card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: #fff;

  border: 1px solid #ece8e4;
  border-radius: 8px;

  box-shadow: 0 5px 18px rgba(36, 48, 71, 0.07);
}


/* ROOM IMAGE */

.bestill-rom__image {
  display: block;

  overflow: hidden;

  aspect-ratio: 16 / 9;

  background: #eee;
}

.bestill-rom__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.25s ease;
}

.bestill-rom__card:hover .bestill-rom__image img {
  transform: scale(1.025);
}


/* CARD CONTENT */

.bestill-rom__card-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 14px;
}

.bestill-rom__capacity {
  margin-bottom: 8px;

  color: #606875;

  font-size: 12px;
  line-height: 1.3;
}

.bestill-rom__capacity span {
  margin-right: 5px;
}

.bestill-rom__card h3 {
  margin: 0 0 9px;

  font-size: 20px;
  line-height: 1.08;
}

.bestill-rom__card h3 span {
  display: block;

  margin-top: 3px;

  font-size: 17px;
  font-weight: 500;
}

.bestill-rom__card p {
  flex: 1;

  margin: 0 0 14px;

  color: #606875;

  font-size: 13px;
  line-height: 1.45;
}


/* CARD BUTTON */

.bestill-rom__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;

  padding: 10px 12px;

  border-radius: 5px;

  background: #fa5c1e;
  color: #fff;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;
}

.bestill-rom__link:hover,
.bestill-rom__link:focus {
  background: #df4c13;
  color: #fff;

  text-decoration: none;
}

.bestill-rom__link span {
  transition: transform 0.2s ease;
}

.bestill-rom__link:hover span {
  transform: translateX(3px);
}


/* =========================================================
   PRACTICAL INFORMATION
   ========================================================= */

.bestill-rom__practical {
  display: grid;
  grid-template-columns: 54px 220px 1fr;
  gap: 20px;

  width: calc(100% - 48px);
  max-width: 1072px;

  margin: 0 auto 64px;
  padding: 26px 28px;

  align-items: center;

  border-radius: 9px;

  background: #eaf6e5;
}

.bestill-rom__practical-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #65a84f;
  color: #fff;

  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.bestill-rom__practical-title h2 {
  margin: 0;

  color: #172231;

  font-size: 20px;
}

.bestill-rom__practical-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.bestill-rom__practical-list ul {
  margin: 0;

  padding-left: 18px;
}

.bestill-rom__practical-list li {
  margin: 5px 0;

  color: #465248;

  font-size: 14px;
  line-height: 1.5;
}

.bestill-rom__practical-list a {
  color: #356b3d;

  text-decoration: underline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .bestill-rom__hero-main {
    grid-template-columns: 1fr;
  }

  .bestill-rom__hero-content {
    padding: 52px 32px;
  }

  .bestill-rom__hero-image {
    min-height: 320px;
  }

  /*
   * On tablet the image moves below the content,
   * so the desktop watercolor transition is hidden.
   */
  .bestill-rom__hero-overlay {
    display: none;
  }

  .bestill-rom__features {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .bestill-rom__section-header {
    grid-template-columns: 1fr;

    gap: 14px;
  }

  .bestill-rom__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bestill-rom__practical {
    grid-template-columns: 54px 1fr;
  }

  .bestill-rom__practical-list {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .bestill-rom__hero-content {
    padding: 42px 20px;
  }

  .bestill-rom__hero h1 {
    font-size: 40px;
  }

  .bestill-rom__hero-image {
    min-height: 230px;
  }

  .bestill-rom__features {
    padding: 28px 20px;
  }

  .bestill-rom__rooms {
    padding: 46px 20px 28px;
  }

  .bestill-rom__grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .bestill-rom__card h3 {
    font-size: 21px;
  }

  .bestill-rom__practical {
    grid-template-columns: 44px 1fr;

    width: calc(100% - 40px);

    margin-bottom: 44px;
    padding: 20px;
  }

  .bestill-rom__practical-icon {
    width: 42px;
    height: 42px;

    font-size: 24px;
  }

  .bestill-rom__practical-list {
    grid-template-columns: 1fr;

    gap: 0;
  }
}