body #page-container #main-content .et-db #et-boc .et-l .et_pb_row_6.et_pb_row,
.RoomsInfoRoot {
  width: 1300px;
  max-width: 1300px;
  margin: 80px auto;

  @media (max-width: 1400px) {
    width: 90vw;
    max-width: 90vw;
  }
}

body #page-container #main-content .et_pb_row.et_pb_row_0_tb_body.custom_row {
  max-width: 100%;
  overflow-x: clip;
}

.et_pb_section_1_tb_body:has(#vue-app) {
    max-width: 100% !important;
    width: 100% !important;
}

.et_pb_row:has(#vue-app) {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.et_pb_row_7.et_pb_row:has(#vue-app) {
  padding-inline: 30px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 !important;

  @media (max-width: 1400px) {
    padding-inline: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
  }
}

.et_pb_column:has(#vue-app) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.RoomsInfoRoot__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px 25px;
  margin: 50px 0;

  @media (min-width: 1400px) {
    grid-template-columns: 1fr 510px;
  }
}

.Rooms__room-cards-container {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  max-width: 90vw;
}

.RoomCard {
  container-type: inline-size;
  --black: #131313;
  --off-black: #1C3A56;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  width: 90vw;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);

  @media (min-width: 768px) {
    grid-template-columns: 200px 1fr;
    width: 100%;
  }
}

.RoomCard__slider-price-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.RoomCard__text-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 0 15px 40px 15px;
  row-gap: 8px;

  @media (min-width: 768px) {
    padding: 15px 15px 40px 0;
  }
}

.RoomCard__text-container-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.RoomCard__text-container-header-text-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  row-gap: 8px;
}

.RoomCard__header-buttons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 10px;

  @media (min-width: 768px) {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    padding-block: 0;
  }
}

.RoomCard p {
  margin: 0;
}

.RoomCard__slider {
  position: relative;
  max-width: 90vw;
}

.RoomCard__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: grab;
}

.RoomCard__title {
  color: var(--off-black);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 26px;
  padding-bottom: 0;
}

.RoomCard__address {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  padding-top: 5px;
}

.RoomCard__price {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  padding-left: 15px;

  @media (min-width: 768px) {
    text-align: center;
    padding-left: 0;
  } 
}

.RoomCard__button {
  font-family: 'Poppins', sans-serif;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  width: max-content;
  cursor: pointer;
  border: 1px solid #ba2f4e;
}

.RoomCard__book-viewing-button {
  padding: 15px 40px;
  font-weight: 600;
}

.RoomCard__floorplan-buttons-container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
}

.RoomCard__floorplan-button {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 16px;
  margin-top: 15px;
  width: max-content;
  cursor: pointer;
  white-space: nowrap;
}

.RoomCard__virtual-tour-button {
  padding: 8px 28px;
}

.RoomCard__button,
.RoomCard__virtual-tour-button,
.RoomCard__floorplan-button,
.RoomCard__book-viewing-button {
  background-color: #ba2f4e;
  border: 1px solid #ba2f4e;
}

.RoomCard__button:hover,
.RoomCard__virtual-tour-button:hover,
.RoomCard__floorplan-button:hover,
.RoomCard__book-viewing-button:hover {
  background-color: #214063;
  transition: background-color 0.25s;
}

.RoomCard .RoomCard__facilities {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  gap: 7px;
  list-style: none;
  padding: 0 0 5px 0;
}

.RoomCard__facility-icon-container {
  position: relative;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #888;
  background: #F7F7F7;
  color: var(--off-black);
  list-style: none;
  font-weight: 300;
  font-size: 16px;
  margin: 0;
  border-radius: 3px;
}

.RoomCard__facility-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-title] {
  position: relative;
}

[data-title]:hover::after {
  opacity: 1;
  transition: visibility 0.1s ease 0.1s;
  visibility: visible;
}

[data-title]::after {
  content: attr(data-title);
  position: absolute;
  left: 35px;
  bottom: 30%;
  transform: translateY(50%);
  background-color: #fdfdfd;
  color: #444;
  width: max-content;
  height: min-content;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  padding: 3px 4px;
  z-index: 2;
  visibility: hidden;
  border: 1px solid #eee;
  border-radius: 3px;
}

.RoomCard__description {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
}

.RoomCard__description-branded {
  display: flex;
}

.RoomCard__logo {
  height:100px;
  width: 100px;
}

.RoomCard .RoomCard__show-more {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: #F7F7F7;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  height: 40px;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.RoomCard__show-more--expanded svg {
  transform: rotate(180deg);
}

.RoomCard__tags {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: max-content;
  line-height: 1.2;
}

.RoomCard__tag {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
}

.RoomCard__tag--let-individually {
  background-color: #0094FF4D;
}

.RoomCardTag__tag--limited-availability {
  background-color: #FF99004D;
}

.RoomCard__description-text {
  padding-bottom: 45px;
}

.RoomsInfoRoot__map-container {
  order: -1;

  @media (min-width: 1400px) {
    order: unset;
  }
}

/******************************************/

.AcademicYearTabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.AcademicYearTabs__button {
  font-family: 'Poppins', sans-serif;
  color: #ba2f4e;
  background-color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid #ba2f4e;
  font-size: 16px;
  width: max-content;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.AcademicYearTabs__button.active {
  background-color: #ba2f4e;
  color: #fff;
}

.AcademicYearTabs__button:not(.active):hover {
  background-color: #f6a4b6;
}
