/* Everest Manla additions on top of the SeaPearl stylesheet. Keep the theme's own rules in style.css untouched. */

/* Logo is a 306x150 PNG; fit it in the 100px header the SVG logo was designed for. */
.cs_site_branding img {
  height: 64px;
  width: auto;
}
.cs_text_widget .cs_footer_logo {
  height: 90px;
  width: auto;
}

/* Reviews have no photos; show the guest's initial in the avatar circle instead. */
.cs_testimonial_initial {
  height: 110px;
  width: 110px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--primary-font);
  font-size: 46px;
  line-height: 1;
}

/* Guest details on the room reservation card (accent background). */
.cs_book_now_card .cs_book_input {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  color: #fff;
  padding: 7px 15px;
  min-height: 47px;
  outline: none;
  border-radius: 5px;
}
.cs_book_now_card .cs_book_input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.cs_book_now_card .cs_book_input:focus {
  border-color: #fff;
}
.cs_book_now_card .cs_book_input + .cs_book_input {
  margin-top: 12px;
}
.cs_book_now_card .cs_book_note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* Room description written in the editor. */
.cs_room_details .cs_room_text h3 {
  font-size: 24px;
  margin: 25px 0 12px;
}
.cs_room_details .cs_room_text ul {
  padding-left: 20px;
}
.cs_room_details .cs_room_text p:empty,
.cs_room_details .cs_room_text li:empty {
  display: none;
}

/* Font Awesome icons in the facilities list, in place of the template's SVG icons. */
.cs_list.cs_style_3 li > i {
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  text-align: center;
  color: var(--accent);
}

/* Flash messages after a form is sent. */
.cs_flash {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  padding: 18px 50px 18px 22px;
  border-radius: 5px;
  color: #fff;
  background-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.cs_flash.cs_flash_error {
  background-color: #b3261e;
}
.cs_flash_close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

/* Gallery page: photos after the first batch wait for "Load More". */
.cs_grid_item.cs_gallery_hidden {
  display: none;
}

.cs_form_error {
  color: #b3261e;
  font-size: 14px;
  margin-top: 4px;
}

/* Footer: three equal columns with equal gaps. */
.cs_footer_grid_4.cs_footer_grid_3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 70px;
}
.cs_footer_grid_4.cs_footer_grid_3col .cs_text_widget + .cs_social_btns {
  margin-top: 25px;
}
@media (max-width: 1199px) {
  .cs_footer_grid_4.cs_footer_grid_3col { gap: 40px 40px; }
}
@media (max-width: 767px) {
  .cs_footer_grid_4.cs_footer_grid_3col { grid-template-columns: 1fr; gap: 45px; }
}

/* Gallery hover: transparent black with white text and icon. */
.cs_gallery_item.cs_style_1 .cs_gallery_item_hover,
.cs_gallery_item.cs_style_3 .cs_gallery_item_hover {
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.cs_gallery_item.cs_style_3 .cs_hover_text,
.cs_gallery_item.cs_style_3 .cs_hover_icon {
  color: #fff;
}

/* Font sizes. SeaPearl's sizes suit its short demo headings; the resort's headings are longer. */
.cs_long_heading {
  font-size: 50px;
  line-height: 1.2em;
}
.cs_card.cs_style_1 .cs_card_title,
.cs_card.cs_style_7 .cs_card_title {
  font-size: 38px;
}
.cs_testimonial_blockquote.cs_fs_50 {
  font-size: 38px;
}
@media (max-width: 1400px) {
  .cs_long_heading { font-size: 42px; }
  .cs_testimonial_blockquote.cs_fs_50 { font-size: 34px; }
}
@media (max-width: 991px) {
  .cs_long_heading { font-size: 32px; }
  .cs_fs_67 { font-size: 40px; }
  .cs_fs_89 { font-size: 46px; }
  .cs_card.cs_style_1 .cs_card_title,
  .cs_card.cs_style_7 .cs_card_title { font-size: 32px; }
  .cs_testimonial_blockquote.cs_fs_50 { font-size: 28px; }
  .cs_fs_50 { font-size: 34px; }
  .cs_page_heading h1.cs_fs_67 { font-size: 40px; }
}
@media (max-width: 575px) {
  .cs_long_heading { font-size: 26px; }
  .cs_fs_67 { font-size: 32px; }
  .cs_fs_89 { font-size: 36px; }
  .cs_fs_50 { font-size: 28px; }
  .cs_fs_38 { font-size: 26px; }
  .cs_fs_150 { font-size: 48px; }
  .cs_card.cs_style_1 .cs_card_title,
  .cs_card.cs_style_7 .cs_card_title { font-size: 28px; }
  .cs_testimonial_blockquote.cs_fs_50 { font-size: 22px; }
  .cs_page_heading h1.cs_fs_67 { font-size: 30px; }
  .cs_hero_subtitle { font-size: 12px; }
}

/* Floating WhatsApp button. */
.cs_whatsapp_float {
  position: fixed;
  z-index: 999;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.cs_whatsapp_float:hover {
  color: #fff;
  transform: scale(1.08);
}
.cs_flash {
  bottom: 96px;
}
@media (max-width: 575px) {
  .cs_whatsapp_float { right: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 27px; }
  .cs_flash { left: 16px; right: 16px; bottom: 80px; }
}

/* Long URLs and emails in content wrap instead of running off narrow screens. */
.cs_blog_details a,
.cs_iconbox_right a,
.cs_menu_widget a {
  overflow-wrap: anywhere;
}
@media (max-width: 991px) {
  .cs_contact_info_boxes {
    flex-wrap: wrap;
  }
  .cs_contact_info_box {
    flex: 1 1 260px;
    min-width: 0;
  }
}

/* About intro: space between the heading and the photo (the template overlaps them). */
.cs_about.cs_style_3 .cs_about_img {
  margin-top: 50px;
}
@media (max-width: 991px) {
  .cs_about.cs_style_3 .cs_about_img {
    margin-top: 30px;
  }
}

/* "Things to do" list: photo on the left, title on the right. */
.cs_list.cs_style_2 .cs_list_in.cs_list_with_img {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 70px;
}
.cs_list_with_img .cs_list_img {
  width: 170px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.cs_list_with_img:hover .cs_list_img {
  transform: scale(1.04);
}
.cs_list.cs_style_2 .cs_list_with_img .cs_list_icon {
  top: 50%;
  margin-top: -25px;
}
@media (max-width: 767px) {
  .cs_list.cs_style_2 .cs_list_in.cs_list_with_img { gap: 15px; padding-right: 55px; }
  .cs_list_with_img .cs_list_img { width: 100px; height: 72px; }
}
/* Keep the floating WhatsApp button off the footer's bottom links on phones. */
@media (max-width: 767px) {
  .cs_bottom_footer {
    padding-bottom: 70px;
  }
}

/* Footer contents. */
.cs_footer_contact li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6em;
}
.cs_footer_contact li > i {
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  text-align: center;
  color: var(--accent);
}
.cs_footer_contact li + li {
  margin-top: 14px;
}
.cs_footer_links_2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.cs_footer_links_2col li {
  margin: 0;
}
.cs_footer .cs_text_widget p {
  margin-top: 25px;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .cs_bottom_footer {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
/* Tablet: logo row on top, contact and links side by side. */
@media (min-width: 768px) and (max-width: 991px) {
  .cs_footer_grid_4.cs_footer_grid_3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs_footer_grid_4.cs_footer_grid_3col .cs_footer_grid_item:first-child {
    grid-column: 1 / -1;
  }
}

/* Experience / info detail sidebar. */
@media (min-width: 992px) and (min-height: 1000px) {
  .cs_detail_sidebar {
    position: sticky;
    top: 120px;
    padding-left: 20px;
  }
}
.cs_detail_card {
  padding: 35px 30px;
  color: rgba(255, 255, 255, 0.88);
}
.cs_detail_card_kicker {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.cs_detail_card_text {
  font-size: 15px;
  margin-bottom: 25px;
}
.cs_detail_wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.cs_detail_wa i {
  font-size: 20px;
}
.cs_detail_wa:hover {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}
.cs_detail_contact {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
}
.cs_detail_contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs_detail_contact li + li {
  margin-top: 8px;
}
.cs_detail_contact a {
  color: #fff;
  overflow-wrap: anywhere;
}
.cs_detail_block {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--gray);
  border-radius: 5px;
}
.cs_detail_block .cs_sidebar_widget_title {
  margin-bottom: 20px;
}
.cs_detail_list li + li {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.cs_detail_list_item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cs_detail_list_item img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.cs_detail_list_item:hover img {
  transform: scale(1.04);
}
.cs_detail_list_title {
  display: block;
  font-size: 19px;
  line-height: 1.3em;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.cs_detail_list_item:hover .cs_detail_list_title {
  color: var(--accent);
}
.cs_detail_list_meta {
  display: block;
  font-size: 13px;
  color: var(--secondary);
}
.cs_detail_more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* No drop cap on experience / info details: their text often starts with bold labels. */
.cs_blog_details.cs_no_dropcap p:first-child:first-letter,
.cs_blog_details.cs_no_dropcap > img:first-child + p:first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}
@media (min-width: 992px) {
  .cs_detail_sidebar { padding-left: 20px; }
}
