/*
Theme Name: Newbook CRS
Theme URI: https://www.newbook.cloud/
Description: Parent theme for the Newbook CRS
Author: Newbook
Author URI: https://www.newbook.cloud/
Version: 2025.10.17
Text Domain: newbook-crs
*/

html,
html body {
  margin: 0;
  padding: 0;
}

/*
*
* Typography
*
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--nb-heading-font-family);
  font-weight: var(--nb-heading-font-weight);
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: var(--nb-body-font-family);
  font-weight: var(--nb-body-font-weight);
}

/*
*
* Header
*
*/
.nbcrs-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--nb-header-background-colour);
}

.nbcrs-logo {
  height: 3rem;
  width: auto;
  max-width: 200px;
}

/*
*
* Banner
*
*/
.nbcrs-banner {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.nbcrs-banner-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.nbcrs-banner-overlay {
  background-color: #000000a3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.nbcrs-banner-content {
  color: #fff;
  text-align: center;
}

.nbcrs-title {
  padding: 0 10px 10px 10px;
  margin: 0;
  line-height: 1;
  font-size: 1.6em;
}

@media (min-width: 768px) {
  .nbcrs-title {
    font-size: 2em;
  }
}

.nbcrs-location {
  padding: 0;
  margin: 0;
  line-height: 1;
}

/*
*
* Newbook Online park details
*
*/
.nbtcrs-more-details-container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex-direction: row;
  padding: 0 14px 0;
}

.nbtcrs-more-details-content,
.nbtcrs-more-details-gallery-container {
  position: relative;
}

@media (min-width: 768px) {
  .nbtcrs-more-details-container {
    max-width: clamp(300px, 100vw - 30px, var(--nb-content-max-width));
    padding: 48px 0 0;
    align-items: flex-start;
  }

  .nbtcrs-more-details-content,
  .nbtcrs-more-details-gallery-container {
    width: calc(50% - 1rem);
  }
}

.nbtcrs-more-details-content {

}

.nbtcrs-more-details-content h2,
.nbtcrs-more-details-content h3 {
  margin-bottom: 1rem;
}

.nbtcrs-more-details-gallery {

}

.nbtcrs-more-details-gallery img {
  max-width: 100%;
  width: 100%;
  border-radius: var(--nb-input-border-radius);
}

.nbtcrs-more-details-gallery-count {
  background-color: var(--nb-panel-background);
  border-radius: var(--nb-input-border-radius);
  padding: 0.5rem;
  font-size: 14px;
  width: max-content;
  position: absolute;
  bottom: 16px;
  right: 16px;
  cursor: pointer;
}

.nbtcrs-more-details-gallery-count:hover {
  opacity: 0.8;
}

.nbtcrs-park-features {
  background-color: var(--nb-panel-background);
  padding: 1.25rem 1.5rem;
}

.nbtcrs-park-features h3 {
  margin-top: 0;
}

.nbtcrs-park-features ul {
  display: flex;
  flex-wrap: wrap;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.nbtcrs-park-features li {
  width: 50%;
  margin-bottom: 0.5rem;
}

/*
*
* Not set up error
*
*/
.nbo-not-setup {
  text-align: center;
  padding: 56px 0;
}

/*
*
* Footer
*
*/
.nbtcrs-footer {
  text-align: center;
  padding: 1rem;
  background-color: #efefef;
}