/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}
ul,ol{padding-inline-start:0;margin-block-start:0;margin-block-end:0;}


/* CONTENTS 

utility classes 
skip link
short pages
fallbacks
fonts
color, font, and size variables 
color sections
basic font and text spacing styles
Set width-related headline sizes for narrowest browser widths

general page layouts
header
add 'fixed-header'
general nav link styles
nav mobile / hamburger
nav desktop - see dynamic css file
footer
social links 
responsive video wrapper
cta button styles

basic content

page section template
 page section headers
 page section template hero
 page-section-image-text
 page section template cards
 card widths
 responsive layout media blocks
 short-height media blocks

tfe agegate

tfe legal styles

wines pages
  wines pages mobile
  single wine page
  wines pages desktop

special page styles
 404 page 
 contact page and form
 sitemap
 faqs pages

extras
 reduced motion preference
 additional no-js styles

CONTENTS */


/* utility classes */
.nowrap{white-space:nowrap;}
.hidden{display:none;}
.screen-reader-only{clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;position:absolute !important;}
.clearfix::after{content:'';display:table;clear:both;}
.stop-transitions * {transition:none !important;}

/* skip link  */
.skip-to-main {
  text-align: center;
}
.skip-to-main a:focus {
  margin-top: 1em;
  -webkit-transition: margin .2s ease-in;
  transition: margin .2s ease-in;
}
.skip-to-main a {
  position: absolute;
  left: var(--single-space);
  z-index: 20;
  text-align: center;
  display: inline-block;
  padding: var(--single-space);;
  margin-top: -4em;
  cursor: pointer;
  background: #fff;
  -webkit-transition: margin .2s ease-in-out;
  transition: margin .2s ease-in-out;
}

/* forces short pages to fill full browser height */
@supports (top:0) { /* for non-ie browsers only */
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: flex-start;
  }
}

/* fallbacks for browsers that don't support css variables */
body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
html {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
}
body div, 
header, main, footer {
  box-sizing: border-box;
}

.page-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100%;
  height: auto;
}

/* allow scrolling on legal/utility pages */
body.terms,
body.privacy,
body.accessibility {
  overflow: auto;
  height: auto;
}
html:has(body.terms),
html:has(body.privacy),
html:has(body.accessibility) {
  overflow: auto;
  height: auto;
}
body.terms .page-wrapper,
body.privacy .page-wrapper,
body.accessibility .page-wrapper {
  overflow: auto;
  height: auto;
  min-height: 100vh;
}

/* fonts */


/* color, font and size variables */
:root {
  --dark-gray: #222;
  --mid-gray: #5c5c5c;
  --light-gray: #e4e4e4;
  --white: #fff;
  --black: #000;
  /*--highlight: #62a34e;*/
  --header-green: #3e843c;
  --highlight: #468533;
  --lighter-green: #5bac59;

  --body-font: 'montserrat', sans-serif;
  --display-font: 'din-condensed', sans-serif;

  --half-space: .5rem;
  --single-space: 1rem;
  --mid-space: 1.5rem;
  --double-space: 2rem;
  --max-width: 80rem;
  --narrow-max-width: 56.25rem;
  --max-ch-width: 75ch;
}

/* color sections */
/* change color class names to describe actual color choices */
/* then copy to themes settings color section */
header, body, footer, .light {
  background-color: #ffffff;
}
header, body, footer, .light, .light a {
  color: var(--dark-gray);
}
.light-variant {
  background-color: var(--light-gray);
}
.light-variant, .light-variant a {
  color: var(--dark-gray);
}
.dark {
  background-color: var(--dark-gray);
}
.dark, .dark a {
  color: var(--white);
  background-color: var(--dark-gray);
}
.dark-variant {
  color: var(--white);
  background-color: var(--dark-gray-v2);
}
.highlight {
  color: var(--white);
  background-color: var(--highlight);
}
.light .text-link, 
.light-variant .text-link {
  color: var(--highlight);
}
.light .text-link:active, 
.light .text-link:focus, 
.light .text-link:hover, 
.light-variant .text-link:active,
.light-variant .text-link:focus,
.light-variant .text-link:hover {
  color: var(--mid-gray);
}
.dark .text-link, 
.dark-variant .text-link,
.highlight .text-link {
  color: var(--dark-gray);
}
.dark .text-link:active, 
.dark .text-link:focus, 
.dark .text-link:hover, 
.dark-variant .text-link:active,
.dark-variant .text-link:focus,
.dark-variant .text-link:hover {
  color: var(--highlight-bright);
}
.highlight .text-link:active, 
.highlight .text-link:focus, 
.highlight .text-link:hover {
  color: var(--mid-gray);
}
.light .cta, 
.light-variant .cta {
  color: var(--white);
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
}
.light .cta:active, 
.light .cta:focus, 
.light .cta:hover, 
.light-variant .cta:active,
.light-variant .cta:focus,
.light-variant .cta:hover {
  color: var(--white);
  background-color: var(--highlight);
}
.dark .cta, 
.dark-variant .cta {
  color: var(--dark-gray);
  background-color: var(--white);
  border-color: var(--white);
}
.dark .cta:active, 
.dark .cta:focus, 
.dark .cta:hover, 
.dark-variant .cta:active,
.dark-variant .cta:focus,
.dark-variant .cta:hover {
  color: var(--white);
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
}

/* basic font and text spacing styles */
h1, h2, h3, h4 {
  font-family: sans-serif;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: .02em;
}
h1, .primary-head {
  font-size: 40px;
  font-size: 2.5rem;
}
h2, .secondary-head {
  font-size: 32px;
  font-size: 2rem;
}
h3, .tertiary-head,
.tfelegal ol li::marker {
  font-family: var(--display-font);
  font-size: 24px;
  font-size: 1.5rem;
}
p, ul, ol, dl, h5, h6 {
  font-family: serif;
  font-family: var(--body-font);
  font-size: 18px;
  font-size: 1.125rem;
}

/* Set width-related headline sizes for narrowest browser widths */
@media only screen and (max-width:24em) {
  h1, .primary-head { font-size: 9vw; }
  h2, .secondary-head { font-size: 7vw; }
  h3, .tertiary-head, .tfelegal ol li::marker { font-size: 5vw; }
  p, ul, ol, dl { font-size: 1rem; }
}
h1, h2, h3, h4, p, ul, ol, dl {
  margin-bottom: 0;
  line-height: 1;
}
li {
  margin-bottom: 8px;
  margin-bottom: var(--half-space);
}
li:last-of-type {
  margin-bottom: 0;
}
img {
  max-width: 100%;
  height: auto;
}
ul.bullet li,
ol.number li,
ol.lowercase li,
ol.uppercase li {
  padding-left: 8px;
  padding-left: var(--half-space);
  margin-left: 16px;
  margin-left: var(--single-space);
}
ul.bullet li {
  list-style: disc;
}
ol.number {
  list-style: decimal;
}
ol.lowercase {
  list-style: lower-alpha;
}
ol.uppercase {
  list-style: upper-alpha;
}
@media only screen and (min-width: 56.25em) {
  h1, h2, h3, h4, p, ul, ol, dl {
    margin-bottom: 8px;
    margin-bottom: var(--half-space);
    line-height: 1.4;
  }
}


/* general page layouts */
main {
  /* for background darkening when nav open */
  position: relative;
}
.content {
  margin: 7em auto 0 auto;
  padding: var(--single-space);
  max-width: 100em;
}
@media only screen and (min-width: 56.25em){
  .content {
    padding: var(--double-space);
  }
}
.full-width .content,
.wide .content {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.full-width .content {
  max-width: 100%;
}
.wide .content {
  max-width: 96em;
}
.narrow-width .content {
  max-width: 56.25em;
}


/* header */
.header {
  position: fixed;
  z-index: 5;
  width: 100%;
}
.header-top-bar {
  width: 100%;
  min-height: 4rem;
  background: var(--header-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
}
.header-top-bar-text {
  margin: 0 auto;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.03em;
}
.header-content {
  position: relative;
  padding: var(--single-space);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.header-logo-link {
  display: inline-block;
  width: 20em;
  max-width: 50%;
  height: auto;
  z-index: 10;
  transition: all .3s ease-in-out;
  cursor: pointer;
}
.header-logo-link:focus, 
.header-logo-link:hover {
  transform: scale(1.05);
  opacity: 0.7;
  transition: all .3s ease-in-out;
}
.logo-center .header-logo-link {
  display: block;
  margin: 0 auto;
}
.header a {
  text-decoration: none;
}
.header a:active, .header a:focus, .header a:hover {
  text-decoration: underline;
}
@media only screen and (min-width: 56.25em) {
  .header-content {
    padding: var(--single-space);
  }
}

/* add 'fixed-header' class to body or div.page-wrapper *
/* to make nav/header always visible */
.fixed-header .header {
  position: fixed;
  z-index: 5;
  height: 5em;
}
.fixed-header .main {
  padding-top: 5em;
}

/* general nav link styles */
.menu a {
  text-transform: uppercase;
  padding: 0;
  white-space: nowrap;
}
.header .menu a {
  display: inline-block;
  color: var(--dark-gray);
  font-size: 1.8em;
  transition: all .3s ease-in-out;
}
.header .menu a:hover {
  color: var(--highlight);
  scale: 1.05;
  transition: all .3s ease-in-out;
}
.header .menu li + li {
  position: relative;
}
.header .menu li + li::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: -0.5em;
  width: 50%;
  height: 1px;
  background: var(--dark-rose);
  z-index: 1;
  transform: translateX(-50%);
}
#nav-chk {
  display: none;
}

/* nav mobile / hamburger */
#nav-toggle,
.no-js .nav-chk-label   {
  position: absolute;
  top: .825em;
  right: .57em;
  z-index: 5;
  color: var(--dark);
  font-size: 1.75em;
  background: 0 0;
  border: none;
  padding: 0;
  cursor: pointer;
}
#nav-toggle:before,
.no-js .nav-chk-label:before {
  content: "\f0c9";  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-size: 1em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.site-navigation {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  padding: 0 .5em .5em;
  z-index: 8;
}
.site-navigation .menu-main-menu-wrapper {
  position: absolute;
  top: 5em;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  height: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--cta-bg);
  background: var(--white);
  padding: 0 0;
  -webkit-transition: height 0.3s ease, padding 0.3s ease;
  transition: height 0.3s ease, padding 0.3s ease;
}
.site-navigation.menu-open .menu-main-menu-wrapper,
.no-js #nav-chk:checked ~ .menu-main-menu-wrapper {
  height: 28em; 
  padding: 1em 0;
  margin-top: 0;
  overflow: visible;
}
.menu-open #nav-toggle:before,
.no-js #nav-chk:checked ~ .nav-chk-label:before {
  content: "\f00d";
}
.menu-header-menu-container {
  padding-right: 1.8em;
}
.social-icons {
  margin-bottom: .5em;
}
.menu li + li {
  /*margin-top: .5em;*/
}
.no-js #nav-toggle {
  display: none;
}
.no-js .nav-chk-label {
  display: block;
}
@media only screen and (min-width: 56.25em) {
  #nav-toggle,
  .no-js .nav-chk-label   {
    top: 1em;
    right: 1.25em;
  }
}

/* nav desktop - see dynamic css file */

/* footer  */
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  color: var(--white);
  background-color: var(--dark-gray);
}
#footer::before {
  content: none;
}
.footer-content {
  padding: var(--half-space) var(--single-space);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /*gap: var(--mid-space);*/
}
.footer-nav {
  margin: .5em auto;
  font-size: .8em;
}
.footer-email {
  width: 100%;
  margin: .3em auto;
  text-align: center;
}
.footer-email a {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  margin: .25em auto;
}
.footer-email a:active,
.footer-email a:focus,
.footer-email a:hover {
  color: var(--highlight);
  transition: all .3s ease-in-out;
  padding-bottom: 3px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
}
.footer a {
  text-decoration: none;
  font-family: var(--body-font);
  color: var(--white);
}
.footer a:active, 
.footer a:focus, 
.footer a:hover {
  transition: all .3s ease-in-out;
  padding-bottom: 3px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  color: var(--highlight);
}
.social-icon-wrapper {
  margin: .3em 0;
}
.footer-copyright {
  font-size: .8em;
}
.footer-logo-link .logo-link {
  max-width: 10em; 
  margin: 0 auto;
  transition: all .3s ease-in-out;
  cursor: pointer;
}
.footer-logo-link:focus, 
.footer-logo-link:hover {
  transform: scale(1.05);
  opacity: 0.7;
  transition: all .3s ease-in-out;
}
.footer .menu {
  margin-bottom: 0;
}
.footer .menu li + li {
 /*margin-top: var(--single-space);*/
}
#menu-footer-menu {
  display:flex;
  flex-direction: row;
  margin: 0 auto;
  justify-content: center;
  font-size: 1em;
  max-width: fit-content;
  margin: 1em auto;
}
#menu-footer-menu li {
  margin: .5em;
}
@media only screen and ( min-width: 56.25em ) {
  .footer-content {
    padding: var(--half-space);
  }
  #menu-footer-menu {
    flex-direction: row;
  }
  #menu-footer-menu li {
    margin: 0 0 .3em 0;
  }
}

/* social links */
.social-links,
.social-links li {
  margin-bottom: 0;
}
.social-icon-wrapper li {
  display: inline-block;
}
.social-icon-wrapper li + li {
  margin-left: var(--double-space);
}
a.social-icon {
  display: inline-block;
  text-decoration: none;
  transition: all .4s ease-in-out;
}
.social-icon::before {
  display: inline-block;
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: 400;
  font-size: 1.75em;
  line-height: 1;
  padding-top: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.social-contact::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0e0";
}
.social-facebook::before {
  content: "\f09a";
}
.social-instagram::before {
  content: "\f16d";
}
.social-tiktok::before {
  content: "\e07b";
}


/* responsive video wrapper */
.video-wrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.5%;
	/* padding-bottom: calc((100% + 26px)*.565); */
}
.video-wrapper > iframe,
.video-wrapper > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* cta button styles */
/* cta button-style link */
.cta {
  display: inline-block;
  padding: var(--half-space) var(--single-space);
  font-family: var(--display-font);
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
}
.cta,
.cta.reverse:active,
.cta.reverse:focus,
.cta.reverse:hover {
  background-color: var(--highlight);
  color: var(--light);
  border: 1px solid var(--highlight);
}
.cta.reverse,
.cta:active,
.cta:focus,
.cta:hover {
  background-color: var(--light);
  color: var(--highlight);
}
.cta.highlight,
.cta.highlight-reverse:active,
.cta.highlight-reverse:focus,
.cta.highlight-reverse:hover {
  background-color: var(--highlight);
  color: var(--light);
  border: 1px solid var(--highlight);
}
.cta.highlight-reverse,
.cta.highlight:active,
.cta.highlight:focus,
.cta.highlight:hover {
  background-color: var(--light);
  color: var(--highlight);
}

/* basic content */
.basic-content {
  padding: 0 var(--single-space);
  max-width: var(--max-width);
  margin: 0 auto;
}
@media only screen and (min-width: 56em) {
  .basic-content {
    padding: 0 var(--double-space);
  }
}

/* page section template */
.page-section-wrapper {
  /*padding-top: 7em;*/
  display: flex;
  flex-direction: column;
}
.page-section-wrapper section {
  padding: var(--single-space);
  max-width: var(--max-width);
  height: fit-content;
  margin: 0 auto;
}
.page-section-wrapper section.full-width {
  padding: 0;
}
@media only screen and (min-width: 56em) {
  .page-section-wrapper section {
    padding: var(--double-space);
    max-width: var(--max-width);
  }
}

/* page section headers */
.page-section-header {
  text-align: center;
  margin: 0 auto;
  max-width: 56.25em;
  padding-bottom: var(--single-space);
}
.page-section-header *:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 56em) {
  .page-section-header {
    padding-bottom: var(--double-space);
  }
}


/* page section template hero */
.page-section-wrapper .page-section-hero {
  position: relative;
  display: flex;
  max-width: none;
  width: 100%;
  height: 60vh;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}
.flex-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: visible;
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 3;
}
.page-section-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*background-color: var(--dark-gray);*/
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
/* Hero overlay elements */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
  pointer-events: none;
}
.page-section-hero .content {
  padding-top: 0;
  padding-bottom: 0;
}
.hero-text-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  color: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.hero-text-overlay p {
  font-size: 1.5em;
  margin: 1em 0;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}
.page-section-hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.page-section-hero.top .flex-wrapper {
  justify-content: flex-start;
  /*padding-top: var(--single-space);*/
  padding-top: 3em;
}
.page-section-hero.middle .flex-wrapper {
  justify-content: center;
}
.page-section-hero.bottom .flex-wrapper {
  justify-content: flex-end;
  padding-bottom: var(--single-space);
}
.page-section-hero.left .flex-wrapper {
  align-items: flex-start;
  padding-left: var(--single-space);
}
.page-section-hero.right .flex-wrapper {
  align-items: flex-end;
  padding-right: var(--single-space);
}
.page-section-hero .flex-wrapper h1 {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  font-size: 4em;
  font-weight: 900;
  padding-top: 1.7em;
  /* max-width: 20em; */
}
.page-section-hero.white h1 {
  color: #fff; 
}
.page-section-hero.left h1 {
  text-align: left;
}
.page-section-hero.right h1 {
  text-align: right;
}
.page-section-hero.light h1 {
  font-weight: 100;
}
.page-section-hero.bold h1 {
  font-weight: 600;
}
.page-section-hero-img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: auto;
  /* height: 63em; */
  /* max-height: 40em; */
  min-height: 100%;
}
@media only screen and (min-width: 56em) {
  .page-section-hero.top .flex-wrapper {
    padding-top: 9em;
  }
  .page-section-hero.bottom .flex-wrapper {
    padding-bottom: var(--double-space);
  }
  .page-section-hero.left .flex-wrapper {
    padding-left: var(--double-space);
  }
  .page-section-hero.right .flex-wrapper {
    padding-right: var(--double-space);
  }
  .page-section-hero .flex-wrapper h1 {
    font-size: 5em;
    padding-top: 0;
}
}


/* page section image text */
.page-section-image-text .image-text-rows,
.page-section-image-text .image-text-row,
.page-section-image-text .image-text-img,
.page-section-image-text .image-text-txt {
  display: flex;
  flex-wrap: wrap;
  /*max-width: var(--max-width);*/
  margin: 0 auto;
  /* max-width: 74em; */
}
.page-section-image-text .image-text-img img {
  min-height: 18.5em;
  object-fit: cover;
  overflow: hidden;
}
.page-section-image-text .image-text-txt {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 1em 2.5em;
  background-color: var(--transparent-overlay);
}
.page-section-image-text .image-text-content {
  max-width: 36em;
  margin: 0 auto;
}
.page-section-image-text .image-text-row + .image-text-row {
  margin-top: 2em;
}
.image-text-row.white-bg {
  background-color: var(--white);
}
.image-text-row.light-gray-bg {
  background-color: var(--light-gray-ok);
}
.image-text-row.black-bg {
  background-color: var(--dark-gray);
}
.image-text-row.green-bg {
  background-color: var(--highlight);
}
.image-text-row.white-bg .image-text-row {
  background-color: var(--white);
}
.image-text-row.white-text .image-text-row {
  color: var(--light-gray-ok);
}
.image-text-row.black-text .image-text-row {
  color: var(--dark-gray);
}
.image-text-row.green-text .image-text-row {
  color: var(--highlight-bright);
}
.page-section-image-text .head-five {
  font-family: var(--light-serif-font);
  text-transform: uppercase;
  font-size: 20px;
  font-size: 2em;
  margin-bottom: .5em;
  letter-spacing: 3px;
}
.page-section-image-text .head-two {
  margin-bottom: .25em;
}
.page-section-image-text .page-section-custom-content + .page-section-link,
.page-section-image-text .page-section-link + .page-section-custom-content {
  margin-top: 1em;
}
@media only screen and ( min-width: 56.25em ) {
  .page-section-image-text .image-text-row {
    flex-wrap: nowrap;
  }
  .page-section-image-text .image-text-row + .image-text-row {
    margin-top: 4em;
    flex-direction: column;
  }
  .image-text-row:nth-of-type(odd), 
  .image-text-row.image-right{
    flex-direction: row-reverse;
  }
  .image-text-row.image-left{
    /*flex-direction: row;*/
    flex-direction: column;
  }
  .image-text-row .image-text-img,
  .image-text-row .image-text-txt {
    flex: 50%;
  }
  .image-text-row .image-text-txt {
    padding: 2em 2em 2.5em;
  }
}

/* page section custom */
.page-section-custom {
  text-align: center;
}
.page-section-custom-content {
  padding: var(--single-space);
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  max-width: 74em;
}
.page-section-custom.full-width .page-section-custom-content {
  padding: 0;
  max-width: 100%;
}
.page-section-custom-content p {
  font-size: 1em;
  margin-bottom: 2em;
  text-align: center;
  max-width: var(--narrow-max-width);
  margin: 0 auto;
}
.page-section-custom.full-width .page-section-custom-content p {
  max-width: 100%;
}
.page-section-custom .page-section-custom-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* page section template cards */
.page-section-cards {
  text-align: center;
  z-index: 1;
}


/* overlay cards on top of the preceding hero section */
.page-section-cards.over-hero {
  position: relative;
  z-index: 2;
  margin-top: -76vh;
  padding-top: 0;
}
/* always show 2 cards side by side in over-hero on all screen sizes */
.page-section-cards.over-hero .cards {
  column-gap: 0;
  row-gap: 0;
  flex-wrap: nowrap;
}
.page-section-cards.over-hero .cards .card {
  flex-basis: calc(50% - 0.25em);
  flex-grow: 0;
  flex-shrink: 0;
}
/* keep card-text labels on a single line */
.page-section-cards.over-hero .card-text {
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(1.3em, 1.8vw, 1rem);
}
.page-section-cards.over-hero .card-text h3,
.page-section-cards.over-hero .card-text p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: inherit;
  margin-bottom: 0;
}
.card {
  margin-bottom: var(--single-space)
}
.card:last-of-type {
  margin-bottom: 0;
}
.card img {
  margin: 0 auto;
  max-width: 90%;
  max-width: calc(100% - 2em);
}
.icon-left .card {
  display: flex;
  gap: var(--single-space);
  align-items: center;
}
.icon-left .card-img {
  flex: 0 0 8em;
}
.icon-left .card-img img {
  margin-bottom: 0;
}
.icon-left .card-text {
  text-align: left;
}
.card .cta {
  margin-top: var(--single-space);
}

/* card widths */
.page-section-cards .head-two {
  margin-bottom: 1em;
}
.page-section-cards .cards {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
  row-gap: 3em;
  justify-content: center;
  margin-bottom: var(--double-space);
  /*margin: 1em 1em 2em 1em;*/
}
.page-section-cards .cards .card {
  /*flex: 0 1 100%;*/
}
.card,
.card-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.card-img {
  margin: 0 auto;
}
.card-img-link img {
  transition: all .4s ease-out;
  background: rgba(0,0,0,0.0);
}
.card-img-link:hover img {
  transform: scale(1.015);
  opacity: .9;
  transition: all .4s ease-out;
  background: rgba(0,0,0,0.3);
}
.card-img img.circle {
  border-radius: 50%; 
}
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 2em;
}
.card-img-wrapper:hover .card-img img,
.card-img-wrapper:hover .card-img-overlay {
  transform: scale(1.05);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.card-img img,
.card-img-overlay {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
  pointer-events: none;
}
.card-img-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  color: var(--white);
  font-size: 1.8rem;
  font-family: var(--body-font);
  text-transform: uppercase;
}
.card-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 17em;
}
/* in over-hero, images fill vh-based height so cards span available screen */
.page-section-cards.over-hero .card-img img {
  height: 50vh;
  max-height: none;
  object-fit: cover;
}
.card-details {
  max-width: 36em;
}
.card-details h3 {
  font-family: var(--body-font);
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 1.75em;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: .5em;
}
.card-text {
  justify-content: space-between;
  margin: 0 auto;
}
.icon-left .card {
  display: flex;
  flex-direction: row;
  gap: 1em;
  align-items: center;
}
.icon-left .card-img {
  flex: 0 0 25%;
  max-width: 8em;
}
.icon-left .card-img img {
  margin-bottom: 0;
}
.icon-left .card-text {
  text-align: left;
  justify-content: flex-start;
}
.icon-left .card-text .card-details {
  margin: 0;
}
.icon-left .card-img img,
.icon-top .card-img img {
  width: 5.25em;
  height: auto;
}
.card .cta {
  margin-top: 16px;
  margin-top: 1rem;
}

/* responsive layout media blocks */

/* =====================================================
  MOBILE LAYOUT  <= 56em (approx 896px)
  Note: home now uses the simplified header/content/footer shell
  defined later; this block remains for broader responsive behavior.
  ===================================================== */
@media only screen and (max-width: 56em) {

  :root {
    --mobile-header-h:       clamp(5.25rem, 11svh, 6.25rem);
    --mobile-footer-h:       clamp(6.5rem, 13svh, 8.5rem);
  }

  /* main fills viewport between header and footer+email */
  .main {
    position: fixed;
    top: var(--mobile-header-h);
    left: 0;
    right: 0;
    bottom: var(--mobile-footer-h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* flex chain: article → section-wrapper → hero/cards */
  .article {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .page-section-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
  }

  /* hero: 40% of available content height.
     Overlay is flipped on mobile: img goes absolutely positioned
     (background layer) and flex-wrapper is normal flow (foreground),
     so the text block can never float above the hero's own top edge. */
  .page-section-wrapper .page-section-hero,
  .page-section-hero {
    flex: 0 0 40%;
    height: auto;
    min-height: 0;
    width: 100%;
    padding: 0;
    max-width: 100%;
    /* hero is now a flex container that centres the flex-wrapper */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  /* image becomes the absolute background layer */
  .page-section-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  /* flex-wrapper is normal flow — cannot escape above the hero */
  .page-section-hero .flex-wrapper {
    position: relative;
    top: auto;
    height: auto;
    width: 100%;
    z-index: 3;
    justify-content: center;
    padding-top: 0;
  }
  .page-section-hero .flex-wrapper h1 {
    font-size: 3em;
    padding-top: 0;
  }

  /* content section fills the remaining height under hero */
  .page-section-custom.full-width {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: static;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
  }
  .page-section-custom.full-width .page-section-custom-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .page-section-custom.full-width .page-section-custom-content > p,
  .page-section-custom.full-width .page-section-custom-content > figure,
  .page-section-custom.full-width .page-section-custom-content > div {
    flex: 1;
    min-height: 0;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-section-custom.full-width .page-section-custom-content {
    padding: var(--mobile-content-pad-y) 0;
    box-sizing: border-box;
  }
  .page-section-custom.full-width .page-section-custom-content .section-content-image,
  .page-section-custom.full-width .page-section-custom-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 0.5rem);
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }
  /* legal/utility pages: undo fixed layout so full page can scroll */
  body.terms .main,
  body.privacy .main,
  body.accessibility .main {
    position: relative;
    top: auto;
    bottom: auto;
    height: auto;
    overflow: visible;
  }
  body.terms .article,
  body.privacy .article,
  body.accessibility .article {
    display: block;
    min-height: 0;
  }
}

@media only screen and (min-width: 28em) {
  .card-img img {
    max-height: 20em;
  }
}

@media only screen and ( min-width: 37.5em ) {
  .page-section-cards.col-3 .cards .card,
  .page-section-cards.col-4 .cards .card {
    flex-basis: calc(50% - 1em);
  }
  .card-img img {
    max-height: 30em;
  }
}
@media only screen and ( min-width: 56.25em ) {
  .page-section-cards.col-2 .cards .card {
    flex-basis: calc(50% - 1em);
  }
  .page-section-cards.col-3 .cards .card {
    flex-basis: calc(33.33% - 1.333em);;
  }
  .page-section-cards.col-4 .cards .card {
    flex-basis: calc(25% - 1.5em);;
  }
  .card-img img {
    max-height: 30em;
  }
  .page-section-cards.over-hero {
    margin-top: -67vh;
  }
  .page-section-cards.over-hero .card-img img {
    height: 50vh;
    max-height: none;
  }
}
@media only screen and ( min-width: 75em ) {
  .page-section-cards .cards,
  .page-section-cards.col-3 .cards {
    gap: 1em;
  }
  .page-section-cards.col-2 .cards .card {
    flex-basis: calc(50% - 2em);
  }
  .page-section-cards.col-3 .cards .card {
    flex-basis: calc(33.33% - 2.667em);;
  }
  .page-section-cards.col-4 .cards .card {
    flex-basis: calc(25% - 3em);;
  }
  .card-img img {
    max-height: 30em;
  }
  .page-section-cards.over-hero {
    margin-top: -68vh;
  }
  .page-section-cards.over-hero .card-img img {
    height: 52vh;
    max-height: none;
  }
}

/* short-height media blocks */

/* =====================================================
  SHORT HEIGHT LAYOUT >= 56.25em wide + <= 40em tall
  Kept for responsive compatibility; home-specific behavior is
  overridden by the simplified shell block below.
  ===================================================== */
@media only screen and (min-width: 56.25em) and (max-height: 40em) {
  :root {
    --nh-header-h: 5.5em;
    --nh-footer-h: 8.5em;
  }
  .main {
    position: fixed;
    top: var(--nh-header-h);
    left: 0;
    right: 0;
    bottom: var(--nh-footer-h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .article {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .page-section-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
  }
  /* hero: 50% of available height, image as background layer */
  .page-section-wrapper .page-section-hero,
  .page-section-hero {
    flex: 0 0 50%;
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }
  .page-section-hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .page-section-hero .flex-wrapper {
    position: relative;
    top: auto;
    height: auto;
    width: 100%;
    z-index: 3;
    justify-content: center;
    padding-top: 0;
  }
  .page-section-hero .flex-wrapper h1 {
    font-size: 2.5em;
    padding-top: 0;
  }
  .hero-content {
    font-size: 0.85em;
  }
  .page-section-custom.full-width {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: static;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
  }
  .page-section-custom.full-width .page-section-custom-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: var(--home-content-pad-y) 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .page-section-custom.full-width .page-section-custom-content > p,
  .page-section-custom.full-width .page-section-custom-content > figure,
  .page-section-custom.full-width .page-section-custom-content > div {
    flex: 1;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-section-custom.full-width .page-section-custom-content .section-content-image,
  .page-section-custom.full-width .page-section-custom-content img {
    display: block;
    width: auto;
    max-width: calc(100% - 0.5rem);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }
}

/* =====================================================
  SHORT HEIGHT LAYOUT >= 56.25em wide + 40.01em to 50em tall
  Kept for responsive compatibility; home-specific behavior is
  overridden by the simplified shell block below.
  ===================================================== */
@media only screen and (min-width: 56.25em) and (min-height: 40.01em) and (max-height: 50em) {
  :root {
    --nhmax-header-h: 6em;
    --nhmax-footer-h: 9em;
  }
  .main {
    position: fixed;
    top: var(--nhmax-header-h);
    left: 0;
    right: 0;
    bottom: var(--nhmax-footer-h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .article {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .page-section-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
  }
  /* hero: 42% of available height, image as background layer */
  .page-section-wrapper .page-section-hero,
  .page-section-hero {
    flex: 0 0 42%;
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .page-section-hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .page-section-hero .flex-wrapper {
    position: relative;
    top: auto;
    height: auto;
    width: 100%;
    z-index: 3;
    justify-content: center;
    padding-top: 0;
  }
  .page-section-hero .flex-wrapper h1 {
    font-size: 3em;
    padding-top: 0;
  }
  .hero-content {
    font-size: 0.9em;
  }
  .page-section-custom.full-width {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: static;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
  }
  .page-section-custom.full-width .page-section-custom-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: var(--home-content-pad-y) 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .page-section-custom.full-width .page-section-custom-content > p,
  .page-section-custom.full-width .page-section-custom-content > figure,
  .page-section-custom.full-width .page-section-custom-content > div {
    flex: 1;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .page-section-custom.full-width .page-section-custom-content .section-content-image,
  .page-section-custom.full-width .page-section-custom-content img {
    display: block;
    width: auto;
    max-width: calc(100% - 0.5rem);
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }
}
/* fluid home tuning across narrow, short, and wide viewports */
@media only screen and (max-width: 45em) {
  .footer-email a {
    margin: 0.25em auto;
    font-size: 0.95em;
  }
}

/* simplified home shell: header | content | footer */
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-wrapper {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) header,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) footer {
  flex: 0 0 auto;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .main {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .article,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-wrapper .page-section-hero,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-hero {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  max-height: clamp(8rem, 24svh, 14rem);
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: clamp(0.25rem, 1svh, 0.75rem) 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content > p,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content > figure,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content > div {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content .section-content-image,
body.home:has(.page-section-wrapper > .page-section-custom.full-width) .page-section-custom.full-width .page-section-custom-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

/* strict containment for any page using page-section-custom */
body:has(.page-section-custom) .page-wrapper {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body:has(.page-section-custom) header,
body:has(.page-section-custom) footer {
  flex: 0 0 auto;
}
body:has(.page-section-custom) .header {
  position: relative;
  top: auto;
  width: 100%;
}
body:has(.page-section-custom) #footer {
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
}
body:has(.page-section-custom).fixed-header .header {
  position: relative;
  height: auto;
}
body:has(.page-section-custom).fixed-header .main {
  padding-top: 0;
}
body:has(.page-section-custom) .main {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body:has(.page-section-custom) .article,
body:has(.page-section-custom) .page-section-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body:has(.page-section-custom) .page-section-custom {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}
body:has(.page-section-custom) .page-section-custom-content {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
body:has(.page-section-custom) .page-section-custom-content > p,
body:has(.page-section-custom) .page-section-custom-content > figure,
body:has(.page-section-custom) .page-section-custom-content > div {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body:has(.page-section-custom) .page-section-custom-content > p img,
body:has(.page-section-custom) .page-section-custom-content > figure img,
body:has(.page-section-custom) .page-section-custom-content > div img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* home fallback without :has(): enforce strict header|content|footer shell */
body.home .page-wrapper {
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}
body.home .header,
body.home #footer {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  width: 100%;
}
body.home .main {
  position: relative;
  inset: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.home .article,
body.home .page-section-wrapper,
body.home .page-section-custom.full-width,
body.home .page-section-custom.full-width .page-section-custom-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.home .page-section-custom.full-width .page-section-custom-content {
  overflow: hidden;
}
body.home .page-section-custom.full-width .page-section-custom-content > p,
body.home .page-section-custom.full-width .page-section-custom-content > figure,
body.home .page-section-custom.full-width .page-section-custom-content > div {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home .page-section-custom.full-width .page-section-custom-content > p img,
body.home .page-section-custom.full-width .page-section-custom-content > figure img,
body.home .page-section-custom.full-width .page-section-custom-content > div img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}


/* tfe agegate */
.tfe-agegate {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1600;
  background: rgba(60,60,60,.8);
}
.tfe-agegate-dialog {
  font-size: 1rem;
  background: none;
  /* box-shadow: 0 0 1.875em 0 rgb(2 2 2); */
  /* background: var(--dark-gray); */
}
.tfe-agegate-image {
  width: 75%;
}
.tfe-agegate p {
  color: var(--white);
  font-size: 1.25em;
  line-height: 1.4;
  font-family: var(--body-font);
  font-weight: 300;
}
.tfe-enter {
  font-family: var(--display-font);
  vertical-align: bottom;
  padding: var(--single-space);
  color: var(--highlight);
  background: var(--white);
  border: 1px solid var(--highlight);
}
.tfe-enter:hover,
.tfe-enter:focus {
  color: var(--white);
  background: var(--highlight);
  border: 1px solid var(--white);
}
@media only screen and (min-width: 40em) {
  .tfe-agegate-image {
    width: 50%;
  }
}


/* tfe legal styles */
.tfelegal {
  max-width: 50em;
  margin: 5em auto 3em;
  padding-bottom: 5em;
}
.tfelegal h1 {
  color: var(--dark-gray);
  letter-spacing: .05em;
  padding-bottom: .3em;
}
.tfelegal h2 {
  color: var(--dark-gray);
  letter-spacing: .05em;
  padding-bottom: .3em;
}
.tfelegal p {
  color: var(--dark-gray);
  line-height: 1.4;
  padding-bottom: 1em;
}
.tfelegal a {
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px solid var(--highlight);
  transition: all 0.3s ease-in-out;
}
.tfelegal a:hover {
  color: var(--mid-gray);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--mid-gray);
  transition: all 0.3s ease-in-out;
}
.tfelegal ul {
  padding-bottom: 1em;
}
.tfelegal ul.bullet li {
  margin-left: 1.25em;
}
.tfelegal ol.number li,
.tfelegal ol.lowercase li,
.tfelegal ol.uppercase li,
.tfelegal ol[type='a'] li,
.tfelegal ol[type='A'] li {
  margin-left: 1.5em;
}
.tfelegal ul.bullet li {
  list-style: disc;
  line-height: 1.4;
}
.tfelegal ol.number {
  list-style: decimal;
}
.tfelegal ol.lowercase,
.tfelegal ol[type='a'] {
  list-style: lower-alpha;
}
.tfelegal ol.uppercase,
.tfelegal ol[type='A'] {
  list-style: upper-alpha;
}
.tfelegal ol li::marker {
  font-family: var(--body-font);
  font-weight: 400;
}
@media only screen and (min-width: 56.25em) {
  .tfelegal {
    margin: 7em auto 3em;
  }
}


/* wines pages */

/* wines pages mobile */
.wines-page-content {
  padding: 3em 3em; 
  width: var(--max-width); 
  padding-top: 2em;
  display: block;
}
.wines-content-overlay {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  background-color: var(--transparent-overlay);
  padding: 1em 1em;
  margin: 0 auto 1em auto;
}
.wines-wrapper {
  flex-direction: row;
  justify-content: space-around;
}
.wines-wrapper > div:last-of-type .wine-card-content { 
  border-right: none; 
}
.wine-card {
  flex: 1 0 40%;
  margin: 0 2em;
}
.wine-card-content {
  text-align: center;
  margin-bottom: 4em;
  /* display: flex; */
  /* flex-direction: column;*/
}
.wine-card-header {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: space-between; */
  align-items: center;
  margin-bottom: 1em;
}
.wine-title {
  font-family: var(--light-serif-font);
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1em;
  text-align: center;
}
.wine-subtitle {
  font-family: var(--regular-block-font);
  font-size: 1.5em;
  text-transform: capitalize;
  letter-spacing: 3px;
  margin-bottom: 1em;
  text-align: center;
}
.wine-card-bottle {
  max-width: 13em;
  margin: 1cqw auto 0;
}
.wine-card-details {
  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  margin: 0 auto;
  line-height: 1.4;
  font-size: 1.125rem;
  text-align: center;
}
.wine-links {
  text-align: center;
  margin-top: 1em;
  white-space: nowrap;
}
.wine-links a {
  font-family: var(--bold-block-font);
  color: var(--white);
  margin: 0 auto;
}
.wine-links a:hover {
  color: var(--highlight);
  background-color: var(--white);
}

/* single wine page */
.single-wine-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.wine-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.wine-details-image {
  position: relative;
  margin: 1em auto;
}
.wine-details-video {
  margin-top: 2em;
  margin-bottom: .5em;
  width: 100%;
}

/* wines pages desktop */
@media screen and (min-width: 65em) {
  .wines-page-content {
    width: 100%;
    padding: 2em 0;
    display: block;
  }
  .wines-content-overlay {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    background-color: var(--transparent-overlay);
    padding: 1em 1em;
    margin: 0 auto 2em auto;
  }
  .wines-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 2em 0 0 0;
  }
  .wine-card {
    margin-bottom: 3em;
  }
  .wine-card-content {
    /* display: flex; */
    /* flex-direction: column; */
    text-align: center;
    margin-bottom: 2em;
  }
  .wine-card-bottle {
    margin: 0 auto 1em;
  }
  .wine-card-details {
      margin: 0 auto;
      line-height: 1.4;
      font-size: 1.125rem;
  }
  .wine-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1em;
  }
  .wine-details-image {
    position: relative;
    min-width: 30%;
    max-width: 30%;
    margin: 0 auto;
  }
  .wine-details-video {
    margin: 1em 2em;
    width: 70%;
  }
}


/* special page styles */

/* 404 page */
.hero-text-error.h1 {
  color: var(--dark-gray);
}
.error-buttons-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto;
}
.button-error {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1em;
  padding: var(--single-space);
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin: 1em;
  background-color: var(--white);
  color: var(--dark-brown);
  border-style: solid;
  border-width: 2px;
  border-color: var(--dark-brown);
  margin-top: 2em;
}
.button-error:active,
.button-error:focus,  
.button-error:hover {
  background-color: var(--dark-gray);
  color: var(--white);
  border-color: var(--dark-gray);
}
.article-wrapper .error-page {
  /*margin: 3em;
  margin-top: 15em;*/
}
.error-box {  
  font-family: var(--body-font);
  font-weight: 400;
  margin-top: 10em;
  text-align: center;
  padding: 2em;
  border-style: solid;
  border-width: 2px;
  border-color: var(--highlight);
  min-width: 14em;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10em;
  max-width: 40em;
  background-color: rgba(255, 255, 255, 0.7);
}
.error-box h2 {
  font-family: var(--body-font);
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 1.3em;
  letter-spacing: 0;
}
@media only screen and (min-width: 56.25em) {
  .error-box {  
    margin-top: 17em;
  }
}

/* contact page and form */
.gravity-form {
  max-width: var(--narrow-max-width);
  margin: 0 auto;
}
.gform_wrapper {
  position: relative;
  margin: 0 .5em;
  z-index: 9999;
}
.gform_heading {
  text-align: center;
  margin: 0 auto;
}
.gform_title {
  margin-bottom: .3em;
}
.gform_required_legend {
  margin-bottom: .5em;
}
.gform-theme--framework * {
  text-align: center;
}
.gform_description {
  display: none;
}
.gfield_label {
  display: none;
}
/* Reduce gap between form fields */
.gform_wrapper .gfield {
  margin-bottom: 0 !important;
}
/* Gravity Forms side-by-side field layout */
#input_2_1_3, #input_2_1_6 { /* replace with your actual IDs */
  /*width: 50% !important;*/
  float: left;
  box-sizing: border-box;
}
.gform_wrapper .gf_left_half,
.gform_wrapper .gf_right_half {
  width: 50% !important;
  float: left;
  box-sizing: border-box;
}
.gform_wrapper .gf_left_half {
  padding-right: 8px;
}
.gform_wrapper .gf_right_half {
  padding-left: 8px;
}
.gform_wrapper .gf_left_third,
.gform_wrapper .gf_middle_third,
.gform_wrapper .gf_right_third {
  width: 33.33% !important;
  float: left;
  box-sizing: border-box;
}
.gform_wrapper .gf_left_third { padding-right: 8px; }
.gform_wrapper .gf_right_third { padding-left: 8px; }
/* clear float after rows */
.gform_wrapper .gf_right_half + li,
.gform_wrapper .gf_right_third + li {
  clear: both;
}
/* stack on mobile */
@media screen and (max-width: 37.5em) {
  .gform_wrapper .gf_left_half,
  .gform_wrapper .gf_right_half,
  .gform_wrapper .gf_left_third,
  .gform_wrapper .gf_middle_third,
  .gform_wrapper .gf_right_third {
    width: 100% !important;
    float: none;
    padding: 0;
  }
}
@media only screen and (min-width: 56.25em) {
  .gform_wrapper .gfield {
    margin-bottom: 0.3rem !important;
  }
}
body .gform_wrapper input[type="text"] {
  height: 40px;
}
/* For multi-line paragraph textareas */
body .gform_wrapper textarea {
  height: 20px;
}
input[type="text"],
input[type="email"],
textarea {
  font-family: var(--body-font);
  color: var(--dark-gray);
  width: 95%;
  border: 1px solid var(--dark-gray);
  line-height: 1em;
  padding: 10px;
  border-radius: 5px;
  font-size: 1em;
  /* background-color: var(--light-gray-ok); */
}
input[type="submit"] {
  /* display: inline-block; */
  font-family: var(--bold-block-font);
  font-size: 1em;
  padding: var(--single-space);
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
  cursor: pointer;
  margin-top: 0.7em;
  background-color: var(--highlight);
  color: var(--white);
  border-style: solid;
  border-width: 2px;
  border-color: var(--highlight);
  border-radius: 5px;
  width: 100%;
}
input[type="submit"]:hover {
  background-color: #fff;
  color: #000;
  border-style: solid;
  border-width: 2px;
  border-color: var(--highlight);
}
.gform-theme--framework * {
  grid-row-gap: 0 !important;
  row-gap: 0 !important;
}
.gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
  margin-block-start: 0 !important;
}
.gform_wrapper .gform_footer input[type="submit"] {
  background-color:var(--highlight) !important; 
  color: #ffffff !important;           
  width: 100% !important;            
  border: 1px solid var(--highlight) !important;
  font-family: var(--body-font) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
.gform_wrapper .gform_footer input[type="submit"]:hover {
  background-color:var(--white) !important; 
  color: var(--highlight) !important;                   
}

/* old contact form styles */
/*.contact-page-title {
  margin-top: 2em;
  padding-bottom: 3em;
}
.contact-column.one_half{
	padding-right: 10px;
}

@media screen and (max-width: 37.5em) {
  .contact-box { 
    max-width: 95%;
  }
  .contact-container {
    flex-direction: column;
    gap: 0em;
  }
  .contact-column.one_half{
    padding-right: 0px;
  }
}
label {
  font-family: var(--light-serif-font);
  text-transform: uppercase;
  text-align: left;
  color: var(--dark-gray);
  font-size: 1.4em;
}
#wpcf7-f5100-o1 > form > p {
  margin-top: .8em;
  text-align: left !important;
}

.wpcf7 input[type=”submit”],
.wpcf7 input[type=”button”] {
  background-color:#725f4c;
  width:100%;
  text-align:center;
  text-transform:uppercase;
}*/

/* sitemap */
.sitemap-page {
  max-width: var(--narrow-max-width);
  text-align: center;
  font-size: 1.2em;
  line-height: 2;
  margin: 3em auto 5em auto;
}
.sitemap-page-title {
  margin-top: 0;
  margin-right: 2em;
  font-family: var(--display-font);
  font-size: 3em;
  padding-bottom: 1em;
  text-align: left;
}
.sitemap-box {  
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  font-weight: 400;
  text-align: left;
  padding: 1em;
  min-width: 14em;
  max-width: 70em;
  margin-left: auto;
  margin-right: auto;
}
.sitemap-box a {
  color: var(--dark-gray);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--dark-gray);
  padding-bottom: 1px;
  transition: all 0.3s ease-in-out;
}
.sitemap-box a:hover {
  color: var(--dark-rose);
  border-bottom: 1px solid var(--dark-rose);
  padding-bottom: 4px;
  transition: all 0.3s ease-in-out;
}
.sitemap-box li {
  padding-top: 1em;
}
@media screen and (min-width: 56em) {
  .sitemap-box { 
    flex-direction: row;
    justify-content: space-around;
  }
  .sitemap-page-title {
    white-space: nowrap;
  }
}


/* faqs pages */
/* faqs pages */
.page-faqs .content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 50em;
  margin: 2em auto;
}
.page-faqs a {
  color: var(--dark-brown);
  text-decoration: none;
  font-family: var(--body-font-bold);
  font-weight: 700;
  border-bottom: 1px solid var(--dark-brown);
  transition: all 0.3s ease-in-out;
}
.page-faqs a:focus,
.page-faqs a:hover {
  color: var(--highlight);
  border-bottom: 1px solid var(--highlight);
  padding-bottom: 3px;
  transition: all 0.3s ease-in-out;
}
.page-faqs h1 {
  font-family: var(--display-font);
  font-size: 3em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.section-faqs h2 {
  text-align: left;
  font-family: var(--display-font);
  font-size: 2.5em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.section-faqs .content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: var(--narrow-max-width);
  margin: 0 auto;
}
.faq-item {
  position: relative;
  margin-bottom: var(--single-space);
}
.faq-chk {
  display: none;
}
.faq-checkbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: var(--half-space);
}
.faq-icon {
  width: .75em;
  height: .75em;
  margin: -.15em 0 0 var(--half-space);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(0deg);
  transition: transform .5s ease-in-out;
}
.faq-icon .bar {
  width: .75em;
  height: 2px;
  background-color: var(--dark-gray);
  position: relative;
}
.faq-icon .bar:nth-of-type(2) {
  position: absolute;
  left: 0;
  transform: rotate(90deg);
  transition: opacity .25s ease-in-out;
}
.faq-chk:checked ~ .faq-checkbox .faq-icon {
  transform: rotate(180deg);
  transition: transform .5s ease-in-out;
}
.faq-chk:checked ~ .faq-checkbox .bar:nth-of-type(2) {
  opacity: 0;
}
.faq-question {
  margin-top: 0;
  margin-right: 1em;
  text-align: left;
  font-weight: 500;
}
.faq-answer {
  height: auto;
  max-height: 0;
  overflow: hidden;
  text-align: left;
  margin-bottom: var(--mid-space);
}
.faq-answer *:last-child{
  margin-bottom: 0;
}
.faq-chk:checked ~ .faq-answer {
  max-height: 20em;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-chk .carat {
    transition: transform .5s ease-in-out;
  }
  .faq-answer {
    transition: max-height 1s ease-in-out;
  }
}
@media only screen and (min-width: 37.5em) {
  .faq-chk:checked ~ .faq-answer {
    max-height: 15em;
  }
}
@media only screen and (min-width: 56.25em) {
  .page-faqs .content {
    text-align: left;
  }
  .page-faqs h2 {
    margin-bottom: var(--triple-space);
  }
  .faq-checkbox {
    justify-content: space-between;
  }
  .faq-icon {
    width: 1em;
    height: 1em;
    margin-top: .1em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform .5s ease-in-out;
  }
  .faq-icon .bar {
    width: 1em;
  }
  .faq-chk:checked ~ .faq-answer {
    max-height: 15em;
  }
}

/* extras */

/* reduced motion preference */

/* additional no-js styles */



@media only screen and (min-width: 28em) {
 
}
@media only screen and (min-width: 56em) {

}
@media only screen and (min-width: 75em) {
  
}
@media only screen and (min-width: 94em) {
  
}