/*
Theme Name: Neve Child
Template: neve
Author: Stephen Harper 20th Anniversary Celeberation
Description: Neve Child Theme Custom Built for the Stephen Harper 20th Anniversary Celebration Site
Version: 2.6
Tags: blog, custom-logo, e-commerce, rtl-language-support, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles, footer-widgets, portfolio, left-sidebar, right-sidebar
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Instrument+Serif:ital@0;1&display=swap');


:root {
  --nav-height-dsk: 110px;
  --nav-height-tb: 85px;
  --nav-height-mb: 85px;
  --nav-height-dsk-fr: 120px;
  --nav-height-tb-fr: 100px;
  --nav-height-mb-fr: 90px;
  --border-radius-mb: 20px;
  --border-radius-dsk: 30px;
  --faq-btn-size: 25px;
  --menu-btn-size: 47px;
  --hero-margin-mb: 1.5rem;
  --hero-margin-dsk: 5rem;

  --h1fontsize: clamp(2rem, 1.3857rem + 3.0714vw, 4.15rem);
--h1fontsizefr: clamp(2.5 * 1rem,
    ((2.5 - ((4 - 2.5) / (90 - 20) * 20)) * 1rem + ((4 - 2.5) / (90 - 20)) * 100vw),
    4 * 1rem);
  --h2fontsize: clamp(1.75 * 1rem,
      ((1.75 - ((2.5 - 1.75) / (90 - 20) * 20)) * 1rem + ((2.5 - 1.75) / (90 - 20)) * 100vw),
      2.5 * 1rem);

  --h3fontsize: clamp(1.6 * 1rem,
      ((1.6 - ((2.25 - 1.6) / (90 - 20) * 20)) * 1rem + ((2.25 - 1.6) / (90 - 20)) * 100vw),
      2.25 * 1rem);

  --h4fontsize: clamp(1.5 * 1rem,
      ((1.5 - ((2.15 - 1.5) / (90 - 20) * 20)) * 1rem + ((2.15 - 1.5) / (90 - 20)) * 100vw),
      2.15 * 1rem);

  --h5fontsize: clamp(1.35 * 1rem,
      ((1.35 - ((2 - 1.35) / (90 - 20) * 20)) * 1rem + ((2 - 1.35) / (90 - 20)) * 100vw),
      2 * 1rem);

  --h6fontsize: clamp(1.15 * 1rem,
      ((1.15 - ((1.375 - 1.15) / (90 - 20) * 20)) * 1rem + ((1.375 - 1.15) / (90 - 20)) * 100vw),
      1.375 * 1rem);

  --bodyfontsize: clamp(1rem, 0.8571rem + 0.7143vw, 1.5rem);

  --bodyfontsizelarge: clamp(1.25rem, 1.0357rem + 1.0714vw, 2rem);
}



.no-wrap, .no-wrap-dsk {
  white-space: nowrap;
}

a {
  text-decoration: underline;
  color: inherit;
  font-weight: bold;
}

a:hover {
  color: inherit !important;
}

.m-0 {
  margin: 0;
}

.\!m-0 {
  margin-bottom: 0 !important;
}

.mb-0 {
  margin-bottom: 0;
}

.\!mb-0 {
  margin-bottom: 0 !important;
}

p {
  margin: 0;
}

p+p {
  margin-top: 1rem;
}



.h2, .h2>.wp-element-button {
  font-size: var(--h2fontsize);
}


.h3, .h3>.wp-element-button {
  font-size: var(--h3fontsize);
}

.h4, .h4>.wp-element-button {
  font-size: var(--h4fontsize);
}

.h5, .h5>.wp-element-button {
  font-size: var(--h5fontsize);
}

.h6, .h6>.wp-element-button {
  font-size: var(--h6fontsize);
}




.font-heading {
  font-family: 'Cinzel', Georgia, 'Times New Roman', Times, serif !important;
}

.alternative-serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', Times, serif !important;
}

.font-body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', Times, serif !important;
}

small, .small {
  font-size: 80%;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-bottom: 0;
  font-family: 'Cinzel', Georgia, 'Times New Roman', Times, serif;
  line-height: 1.2;
}

p, .p {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', Times, serif;
   font-size: var(--bodyfontsize);
}

p.has-large-font-size, .p.has-large-font-size {
  font-size: var(--bodyfontsizelarge) !important;
}

hr {
  margin: 10px 0 10px;
}

sup {
  font-size: 50%;
}


.wp-block-column {
  padding-right: 20px;
  padding-left: 20px;
}

.wp-block-separator.is-style-wide {
  display: block;
  margin: 0;
  border-width: 10px;
}

.no-max-inner {
  padding-left: 0;
  padding-right: 0;
}

.no-max-inner>.wp-block-cover__inner-container {
  max-width: 100% !important;
}


.hide-block {
  display: none !important;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.inline-flex {
  display: inline-flex;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.\!flex-col {
  flex-direction: column !important;
}

.\!min-h-0 {
  min-height: 0 !important;
}


.flex-wrap {
  flex-wrap: wrap;
}

.gap-0 {
  gap: 0;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}



.custom-spacer {
  height: 80px !important;
}

.custom-spacer-md {
  height: 60px;
}

.custom-spacer-sm {
  height: 40px !important;
}

.mx-auto {
  margin-right: auto;
  margin-left: auto;
}



/*Buttons*/

.button.has-neve-link-hover-color-background-color,
.wp-element-button.has-neve-link-hover-color-background-color,
.wp-block-button__link.has-neve-link-hover-color-background-color {
  outline: 2px solid var(--nv-secondary-accent) !important;
  outline-offset: 3px;
  transition: all 0.2s;
}

.button.has-neve-link-color-background-color,
.wp-element-button.has-neve-link-color-background-color,
.wp-block-button__link.has-neve-link-color-background-color {
  outline: 2px solid var(--nv-primary-accent) !important;
  outline-offset: 3px;
  transition: all 0.2s;
}

.button.has-neve-link-hover-color-background-color:hover,
.wp-element-button.has-neve-link-hover-color-background-color:hover,
.wp-block-button__link.has-neve-link-hover-color-background-color:hover {
  background-color: var(--nv-primary-accent) !important;
  color: #fff !important;
  outline-color: var(--nv-primary-accent) !important;
}

.button.has-neve-link-color-background-color:hover,
.wp-element-button.has-neve-link-color-background-color:hover,
.wp-block-button__link.has-neve-link-color-background-color:hover {
  background-color: var(--nv-secondary-accent) !important;
  color: #fff !important;
  outline-color: var(--nv-secondary-accent) !important;
}

.wp-block-buttons.is-layout-flex {
  gap: 1rem;
}

.button,
.wp-element-button,
.wp-block-button__link {
  text-transform: uppercase;
  text-decoration: none;
}

/*Buttons Ends*/

/*Header*/
header.header {
  z-index: 1000;
  background-color: transparent;
  width: 100%;
  position: fixed;
  padding: .5rem 15px;
  display: none !important;
}


/*Footer*/

footer {
  display: none !important;
}


/*Footer Ends*/

/*404*/
.error404 #content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error404 #content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.title-404 {
  padding: 100px 0 80px 0;
  text-transform: uppercase;
}

.title-404>h1 {
  font-weight: 900;
}

/*404 Ends*/

/*Hero Block*/

.hero-section {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
  background-color: var(--nv-primary-accent);
  position: relative;
}

.hero-frame-overlay-default {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - var(--hero-margin-mb));
  border: 2px solid #F6F2EB;
  height: calc(100% - var(--hero-margin-mb));
}


/* .hero-frame-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - var(--hero-margin-mb));
  height: calc(100% - var(--hero-margin-mb));
  
} */




.leaf-texture {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url('./assets/leaf-pattern.svg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.number-overlay {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  height: 115%;
  background-image: url('./assets/number.svg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}



.hero-section>.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  padding: calc(var(--hero-margin-mb) + 5px);

}

.hero-content-area-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section>.container .leaf-img {
  width: 80px;
  height: auto;
  margin: auto;
  padding-bottom: 2em;
  animation: leafWobble 4s cubic-bezier(0.25, 0.25, 0.75, 0.75) infinite;
  transform-origin: center center;
}


.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6, .hero-section p {
  color: #fff;
  text-align: center;
}

.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6 {
  font-weight: 900;
  padding-bottom: 1rem;
  text-transform: uppercase;
}

.hero-content-area {
  margin: auto;
}


.hero-section.hero-has-image-background {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.hero-section.hero-has-video {
  position: relative;
  overflow: hidden;
}

.hero-section.hero-has-video .hero-vid-cont {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -1;
}

.hero-section.hero-has-video .hero-vid-cont::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
}

.hero-section.hero-has-video .hero-vid-cont video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  min-height: 50%;
  min-width: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

/*Hero Block Ends*/


/*Social Links Block*/

.social-channels ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-grid;
  gap: 1rem;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
}

.social-channels ul li {
  margin: 0;
}

.social-channels ul li a {
  background-color: var(--nv-primary-accent);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  outline: 2px solid var(--nv-primary-accent) !important;
  outline-offset: 2px;
  transition: all 0.2s;
}

.social-channels ul li a:hover {
  background-color: var(--nv-secondary-accent);
  outline-color: var(--nv-secondary-accent) !important;
}

/*Social Links Block Ends*/



@media screen and (min-width: 960px) {


  .hero-section>.container {
     width: 90%;
      max-width: 1440px;
  }

  .lg\:gap-4 {
    gap: 1rem;
  }

  .custom-spacer {
    height: 120px !important;
  }

  .custom-spacer-md {
    height: 100 !important;
  }

  .custom-spacer-sm {
    height: 80px !important;
  }

  
}

@media screen and (min-width: 992px) {
.hero-frame-overlay, .hero-frame-overlay-default {
  width: calc(100% - var(--hero-margin-dsk));
  height: calc(100% - var(--hero-margin-dsk));
}

.hero-section>.container .leaf-img {
  width: 100px;
}
  
}

@media screen and (min-width: 1440px) {
  
}
@keyframes leafWobble {
  0% {
    transform: rotate(0deg);
  }
  7.5% {
    transform: rotate(-2deg);
  }
  16.7% {
    transform: rotate(2deg);
  }
  26.7% {
    transform: rotate(-1deg);
  }
  36.7% {
    transform: rotate(2deg);
  }
  45.2% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}