/*
Theme Name: Prothera Wellness
Theme URI:
Author: Lance Hammond
Author URI:
Description: Custom design for Jenn Prothera
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.0
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prothera-wellness
Tags: full-site-editing
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img:not([class]),
iframe {
    display: block;
}

:where(input:not(:is([type='button'], [type='submit'])), select, textarea) {
    background-color: var(--wp--preset--color--base);
    border: 1px solid #bbb;
    border-radius: 0;
    color: var(--wp--preset--color--contrast);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 400;
    line-height: 1.5;
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
    width: 100%;
}

:where(input:focus, textarea:focus, select:focus) {
    outline: 2px solid var(--wp--preset--color--primary);
}

:where(input[type='checkbox'], input[type='image'], input[type='radio']) {
    width: auto;
}

::placeholder {
    color: var(--wp--preset--color--contrast);
    opacity: 0.5;
}

.entry-content {
    container-type: inline-size;
}

.entry-content :is(.alignleft, .alignright) {
    margin-block-end: 1em;
}

.entry-content :is(.alignleft, .alignright):first-child + * {
    margin-top: 0;
}

@container (width < 600px) {
    .entry-content .wp-block-image:is(.alignright, .alignleft) {
        float: none !important;
        margin: 0 0 1.5rem;
        width: 100%;
        text-align: center;
    }

    .entry-content .wp-block-image:is(.alignright, .alignleft) img {
        max-height: 400px;
        width: auto !important;
        display: inline-block !important;
    }
}

html,
body {
    height: 100%;
}

html:has(.admin-bar) {
    height: calc(100% - 46px);
}

@media (min-width: 782px) {
    html:has(.admin-bar) {
        height: calc(100% - 32px);
    }
}

.wp-site-blocks {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100%;
}

.wp-site-blocks > * {
    margin: 0;
}

.site-header:has(.is-sticky) {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 0 9px #0001;
}

.admin-bar .site-header:has(.is-sticky) {
    top: 40px;
}

@media (min-width: 782px) {
    .admin-bar .site-header:has(.is-sticky) {
        top: 32px;
    }
}

.has-modal-open :is(.site-header, .site-header__inner) {
    -webkit-backdrop-filter: unset !important;
    backdrop-filter: unset !important;
}

.wellness-retreat-form-message {
  background: #d0ddd0;
  color: #8a9e86;
  padding: 8px 16px;
  font-size: .9em;
  border: 1px solid;
}

.gform_button {
  background: var(--wp--preset--color--primary);
  color: #fff;
  border: 0;
  font: inherit;
  line-height: 1;
  padding: 1em;
  font-size: .85em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


body.no-featured-image .page-header {
  min-height: 200px !important;
  
  .wp-block-cover__background {
    opacity: 1 !important;
    background: #718970 !important;
  }
}

.page-header .wp-block-cover__image-background {
  object-position: 50% 30%;
}

.gfield_label {
  margin-bottom: 0 !important;
}

.gfield-choice-input {
  margin-inline-start: 0;
  transform: scale(1.2)
}

.ginput_total {
  padding: 0 !important;
}

@media (max-width: 767px) {
  .site-header .wp-block-social-link-label {
    display: none;
  }
}

.am-testimonials {
  overflow: hidden;
  
  p {
    padding-inline: 30px;
  }
  
  .slick-prev {
    left: 10px;
  }
  
  .slick-next {
    right: 10px;
  }
}

.am-testimonial__content::before,
.am-testimonial__content::after {
  content: '"';
}

ul.wp-block-navigation > .wp-block-navigation-item:is(.current-menu-item, .current-menu-ancestor) {
  border-bottom: 2px solid;
}