/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/******************************************
// Defaults CSS for the theme
******************************************/

/* box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* remove default margins */
* {
  margin: 0;		
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;  
}

/* Allow percentage based heights in application */
html,
body {
  height: 100%;
}

/* Accessible line height (for WCAG2.1) and improve text rendering */
body {
  line-height: 1.5; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}

/* Change focus outline */
:focus {
  outline: 1px dotted var(--black);
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,button,textarea,select {
  font: inherit;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Hide stuff */
.hide {
	display: none;
}

.no-scroll {
  overflow-y: hidden;
}

.no-margin {
  margin: 0 !important;
}

#topcontrol {
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;   
  background: var(--orange);
  border-radius: 12px 12px 0 0;
  transition: var(--transition-fast);
}

#topcontrol:hover,
#topcontrol:focus {
  height: 52px;
  background: var(--yellow);
  outline: none;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Color of highlight */
::-moz-selection { 
  background: var(--darkgrey); 
  color: #fff; 
  text-shadow: none; 
}

::selection { 
  background: var(--darkgrey); 
  color: #fff; 
  text-shadow: none; 
}

/*set variables */
:root {
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --headingfont: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --handwritten: 'Just Another Hand', cursive;
  --navy: #102B3C;
  --primary: var(--navy);
  --teal: #23A0AB;
  --secondary: var(--teal);
  --red: #EC1320;
  --tertiary: var(--red); 
  --black: #0B090A;
  --mutednavy: #3D4F5C;
  --grey: #A3A3A3;
  --beige: #efe6d3;
  --cream: #FAF8F3;
  --darkcream: #F6F1E6;
  --darkgrey: #4B5563;
  --secondarygrey: var(--grey);
  --lightgrey: #D1D5DB;
  --lightestgrey: #F3F4F6;
  --white: #fff;
  /* --gradient:linear-gradient(90deg, rgba(219,39,51,1) 0%, rgba(255,95,1,1) 100%); */
  --fade:all 0.2s ease-out;
  --transition-fast: all 100ms ease-out;
  --transition-normal: all 200ms ease-out;
  --transition-slow: all 400ms ease-out; 
  --spacing-mobile: 1rem;
  --spacing-desktop: 2rem;
  --section-padding-mobile: 1rem;
  --section-padding-desktop: 4rem;
  --section-margin: 4rem;
}

/* Typeography */
html {
	font-size: 16px;
  font-family: var(--font);
}

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--black);
}

h1 {
  margin: 0; 
  font-family: var(--handwritten);
  font-size: 5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0;
  word-break: break-word;
  text-transform: none;
}

.editor-styles-wrapper h1 {
  color: black !important;
}

h2 {
  position: relative;
  margin: 0;
  padding-bottom: 0;
  font-family: var(--headingfont);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: 1.28px;
	word-break: break-word;
  border-bottom: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-family: var(--headingfont);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: 1.4px;
	word-break: initial;
  text-transform: uppercase;
}

h4 {
  margin: 0;
  font-family: var(--headingfont);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: 1.1px;
	word-break: break-word;
  text-transform: none;
}

h5 {
  margin: 0;
  font-family: var(--headingfont);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: .8px;
	word-break: break-word;
}

h6 {
  margin: 0;
  font-family: var(--headingfont);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: .6px;
	word-break: break-word;
}

p {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: 0;
}

p:not(:first-child):last-child {
  margin-bottom: 0;
}

p:empty {
  display: none;
}

.kicker,
.is-style-kicker {
  display: block;
  margin: 0;
  font-family: var(--handwritten);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1;
  letter-spacing: .96px;
}

a {
  text-decoration: underline;
  color: var(--primary);
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
}

li:not(.wp-block-navigation-item):not(.wp-block-social-link) {
  margin: 0.5rem 0 0 2rem;
  padding: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0;
  line-height: 1.5;
}

li:not(.wp-block-navigation-item):not(.wp-block-social-link):first-child {
  margin-top: 0;
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: 8.125rem;
    letter-spacing: 0;
    line-height: 1;
  }
  
  h2 { 
    font-size: 2.875rem;
    letter-spacing: 1.8px;
    line-height: 1.1;
  }
  
  h3 {
    font-size: 1.5rem;
    letter-spacing: 1.4px;
    line-height: 1;
  }
  
  h4 {
    font-size: 1.5rem;
    letter-spacing: 1.1px;
    line-height: 1.1;
  }
  
  h5 {
    font-size: 1.25rem;
    letter-spacing: .8px;
    line-height: 1.2;
  }
  
  h6 {
    font-size: 1.125rem;
    letter-spacing: .6px;
    line-height: 1.25;
  }

  p, li:not(.wp-block-navigation-item):not(.wp-block-social-link) {
    font-size: 1.25rem;
    letter-spacing: 0;
    line-height: 1.7;
  }

  .kicker,
  .is-style-kicker {
    font-size: 3rem;
  }
}

/* Overline and Underline on headings */
.is-style-overline {
  padding-top: 1rem;
}

.is-style-overline:before {
  position: absolute;
  content: '';
  width: 80px;
  height: 2px;
  background-color: var(--tertiary);
  top: 0rem;
  left: 0;
}

.is-style-no-underline {
  border-bottom: none;
  padding-bottom: 0;
}

.is-style-underline {
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

.is-style-underline:after {
  position: absolute;
  content: '';
  width: 110px;
  height: 2px;
  background-color: var(--secondary);
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
  .is-style-underline {
    text-align: left;
  }
  
  .is-style-underline:not(.has-text-align-center):after {
    left: 0;
    transform: unset;
  }
}

/* Modifiers for desktop and mobile only */
@media screen and (min-width: 1201px) {
  .mobile-only {
    display: none !important;
  }
}

@media screen and (max-width: 1200px) {
  .desktop-only {
    display: none !important;
  }

  :not(section.footer) .center-on-mobile {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .column-on-mobile {
    flex-direction: column;
  }
}

@media screen and (min-width: 782px) and (max-width: 1200px) {  
  section.footer .center-on-mobile {    
    align-items: flex-end;
  }
}


/* Modifiers for alignment */
.has-text-align-center {
  text-align: center;
}

.justify-items-center {
  justify-items: center;
}

.align-items-center {
  align-items: center;
}

@media screen and (max-width: 781px) {  
  .justify-center-mobile {
    justify-content: center !important;
  }
}

/* Modifiers for spacing */
@media screen and (max-width: 781px) {  
  .no-padding-mobile {
    padding: 0 !important;
  }
}


/******************************************
//BUTTONS BLOCK
*/
.wp-block-buttons {
  margin-top: var(--spacing-desktop);
}

@media screen and (max-width: 1023px) {
  .wp-block-buttons {
    justify-content: center;
  }
}


/******************************************
//BUTTONS 
*/
.button,
.wp-block-button__link,
.wp-block-button__link:visited,
.is-style-alt .wp-block-button__link,
.button_in_menu a,
.wp-block-file__button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px 35px;
  background-color: var(--tertiary);
  border: 2px solid var(--tertiary);
  border-radius: 999px;
  font-family: var(--headingfont);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: nowrap;
  cursor: pointer;
  overflow: hidden;
}

.button:hover,
.wp-block-button__link:hover,
.button:focus-visible,
.wp-block-button__link:focus-visible,
.button_in_menu a:hover,
.button_in_menu a:focus-visible,
.wp-block-file__button:hover,
.wp-block-file__button:focus-visible {
  background-color: #fff;
  color: var(--tertiary);
  text-decoration: none;
}

.button_alt,
.is-style-alt .wp-block-button__link {
  background-color: #fff;  
  border: 2px solid #fff;
  color: var(--navy);
}

.button_alt:hover,
.button_alt:focus-visible,
.is-style-alt .wp-block-button__link:hover,
.is-style-alt .wp-block-button__link:focus-visible {
  background-color: #fff;
  border-color: var(--tertiary);
  color: var(--tertiary);
}

@media screen and (max-width: 600px) {
  .button,
  .wp-block-button__link,
  .wp-block-button__link:visited,
  .is-style-alt .wp-block-button__link,
  .button_in_menu a,
  .wp-block-file__button {
    font-size: .9rem;
  }
}

/******************************************
//LAYOUT
*/
/* Global padding is set in theme.json. We are modifying it here for mobile */
@media screen and (max-width: 1023px) {
  .has-global-padding {
    padding: 0 1rem;
  }

  .has-global-padding > .alignfull {
    margin-right: -1rem;
    margin-left: -1rem;
  }
}

/* Vertical margins and padding for containers */
.main-content {
  margin: 0;
}

.main-content:has(.no-top-margin) {
  margin-top: 0 !important;
}

.main-content:has(.no-bottom-margin) {
  margin-bottom: 0 !important;
}

.main-content__single {
  margin: 0 0; 
}

.main-content__archive {
  margin: var(--section-margin) 0;
}

.main-content__home {
  margin: 0 0 7rem;
}

/* 404 Page */
#four-oh-four {
  margin: var(--section-margin) 0;
}

/* Modifiers for blocks that have a background */
:where(.has-background):not(.wp-block-button__link):not(.wp-block-separator):not(.wp-block-accordion) {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--section-margin);
  padding-bottom: var(--section-margin);
}

/* Exceptions: accordion block and anything inside it */
.wp-block-accordion.has-background:not(.wp-block-button__link):not(.wp-block-separator),
.wp-block-accordion .has-background:not(.wp-block-button__link):not(.wp-block-separator) {
  margin-top: unset;
  margin-bottom: unset;
  padding-top: unset;
  padding-bottom: unset;
}

/* Alignments and Positioning */
@media screen and (max-width: 1023px) {
  body .main-content .is-layout-constrained .alignright {
    float: none;
    margin: 0 auto;
  }
}


/******************************************
//HEADER
*/
.admin-bar header {
  top: 32px;
}

.drawer a:hover {
  color: var(--primary);
}

.header {
  position: sticky;
  top: 0;
  transition: transform 0.3s ease;
  z-index: 10; 
  background-color: #fff;  
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16)
}

.header.hidden {
  transform: translateY(-100%); 
}

@media screen and (max-width: 1200px) {
  .header .header-logo-wrapper {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .header .wp-block-site-logo {
    width: 100px;
    height: auto;
  }
}

/******************************************
// NAVIGATION MENUS
*/ 

/* Main Menu */
nav.menu-main li {
  margin: 0;
}

/* Mobile Main Menu */
@media screen and (max-width: 1200px) {  
  /* hamburger icon */
  nav.menu-main {
    order: 3;
    justify-content: flex-end;
  }

  nav.menu-main > button svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--navy);
  }

  /* Close icon */
  .wp-block-navigation__responsive-container-close {
    top: 1rem;
    right: 1rem;
  }

  .wp-block-navigation-overlay-close {
    position: relative;
    top: 2rem;
    right: 1rem;
  }

  .wp-block-navigation-overlay-close svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Desktop Main Menu */
@media screen and (min-width: 1201px) { 
  nav.menu-main {
    margin-right: 1rem;
  }

  /* top level menu items (<li>) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item {
    padding: 5px 0;
  }  

  /* top level menu link (<a>) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item:not(.button_in_menu) > a {
    font-size: 1rem;
    color: var(--navy) !important;
  }  

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item:not(.button_in_menu):hover > a {    
    color: var(--secondary) !important;
    text-decoration: none;
  } 
  
  /* submenu icon */
  nav.menu-main .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
    color: var(--navy);
    stroke: var(--navy);
  }

  /* Current menu item */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item.current-menu-item > a {
    color: var(--teal) !important;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item.current-menu-item svg {
    stroke: #b0b0b0;
  }

  /* Submenu */ 
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu {
    left: 70% !important;
    transform: translateX(-50%);
    min-width: 280px !important;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1.5px solid var(--lightgrey);
    border-radius: 10px;
    text-align: center;
    visibility: hidden;
    transition: all 0.15s linear;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu::before {
    content: '';
		position: absolute;
		left: 50%;
		top: -10px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 10px 10px 10px;
		border-color: transparent transparent var(--lightgrey) transparent;
		z-index: 9999;
    transform: translateX(-50%);
  }

  /* Submenu items */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item {
    
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item a {
    padding: 10px;
    justify-content: center;
    color: var(--navy) !important;
    text-decoration: none;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item:hover a {
    color: var(--teal) !important;
  }

  /* Current submenu item */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item.current-menu-item a {
    color: #b0b0b0 !important;    
  } 
}

/* Vertical Nav Block */
nav.is-vertical li {
  margin: 0;
}

@media screen and (max-width: 1023px) {
  nav.is-vertical {
    align-items: center;
  }
  
  nav.is-vertical ul {
    text-align: center;
    align-items: center;
  }   
}

/* Footer Nav */ 
section.footer nav li {
  font-size: 1rem;
  line-height: 1.3;
}

section.footer nav li:hover a {
  color: #fff !important;
}

/* Adjust the menu breakpoint */
body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}

body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width: 1201px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}

	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}


/******************************************
// LANGUAGE SWITCHER
*/
.ld-language-switcher,
.ld-login-button {
  align-items: center;
  background-color: transparent;
  border: 1.5px solid #e6dfd3;
  border-radius: 24px;
  box-sizing: border-box;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--headingfont);
  font-size: 1rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 1.6px;
  line-height: 1;
  min-height: 44px;
  padding: 0 10px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.ld-language-switcher:hover,
.ld-language-switcher:focus-visible,
.ld-login-button:hover,
.ld-login-button:focus-visible {
  border-color: var(--secondary);
  color: var(--secondary);
  text-decoration: none;
}

.ld-language-switcher__icon,
.ld-login-button__icon {
  color: currentColor;
  display: inline-flex;
  flex: 0 0 auto;
  pointer-events: none;
}

.ld-language-switcher__icon svg,
.ld-login-button__icon svg {
  display: block;
  fill: none;
  height: 1.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.1rem;
}

.ld-language-switcher__label,
.ld-login-button__label {
  color: currentColor;
}


/******************************************
//BANNER
*/
@media screen and (max-width: 1023px) { 
  .banner .wp-block-cover h1 {
    line-height: 1.2;
  }  
}


/******************************************
//INTERIOR BANNER
*/
.banner-interior .wp-block-cover {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.banner-interior .wp-block-cover__inner-container {
  width: 100%;
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.local-detours-route-banner {
  margin: 0;
  background-color: var(--primary);
}

.local-detours-route-banner .wp-block-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: auto;
  background-color: var(--primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  text-align: center;
}

@media screen and (min-width: 1201px) {
  .local-detours-route-banner .wp-block-cover {
    min-height: 400px;
    height: 500px;
    max-height: 500px;
  }
}

.local-detours-route-banner__overlay {
  background-color: var(--mutednavy);
  opacity: 0.1;
}

.local-detours-route-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  text-align: center;
}

.local-detours-route-banner__kicker {
  margin: 0;
  color: var(--white);
}

.local-detours-route-banner__title {
  margin: 0;
  font-family: var(--headingfont);
  font-weight: 700;
  font-size: 4rem;
  text-transform: uppercase;
}

.local-detours-route-banner__details {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.local-detours-route-banner__details li {
  margin: 0 !important;
}

.local-detours-route-banner__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid #e6dfd3;
  border-radius: 999px;
  background-color: var(--teal);
  color: var(--white);
  font-family: var(--headingfont);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1;
  text-transform: uppercase;
}

.local-detours-route-banner__detail--price {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
}

@media screen and (max-width: 1023px) {
  .banner-interior .wp-block-cover h1,
  .banner-interior .local-detours-route-banner__title {
    font-size: 2.8rem;
    word-break: normal;
  }
}

@media screen and (min-width: 1024px) {
  .banner-interior .wp-block-cover {
    padding-top: var(--section-margin);
    padding-bottom: var(--section-margin);
  }

  .local-detours-route-banner .wp-block-cover {
    min-height: 400px;
  }

  .local-detours-route-banner__details {
    flex-direction: row;
  }
}


/******************************************
//MAIN CONTENT - CONTENT BLOCKS
*/

/* Cover Block */
.wp-block-cover {
  padding-left: 0;
  padding-right: 0;  
}

/* List block */
.main-content ul {
  margin: 0;
  padding: 0;
  text-align: left;
}

.main-content ul:not(.is-style-icon-bullets) li::marker {
  color: var(--primary);
}

/* .main-content .has-background ul:not(.is-style-icon-bullets) li::marker {
  color: #fff;
} */

.main-content ul.is-style-icon-bullets {    
  list-style: none;
  list-style-position: inside;
}

.main-content ul.is-style-icon-bullets li {
  list-style: none;
  position: relative;
  padding-left: 21px; /* Adjust padding to make space for the SVG */
}

.main-content ul.is-style-icon-bullets li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px; 
  height: 16px; 
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzM2NmQ5ZiIgY2xhc3M9ImJpIGJpLWNoZXZyb24tZG91YmxlLXJpZ2h0IiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMuNjQ2IDEuNjQ2YS41LjUgMCAwIDEgLjcwOCAwbDYgNmEuNS41IDAgMCAxIDAgLjcwOGwtNiA2YS41LjUgMCAwIDEtLjcwOC0uNzA4TDkuMjkzIDggMy42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjY0NiAxLjY0NmEuNS41IDAgMCAxIC43MDggMGw2IDZhLjUuNSAwIDAgMSAwIC43MDhsLTYgNmEuNS41IDAgMCAxLS43MDgtLjcwOEwxMy4yOTMgOCA3LjY0NiAyLjM1NGEuNS41IDAgMCAxIDAtLjcwOCIvPgo8L3N2Zz4='); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.main-content ol {
  margin: 1rem 0;
  padding: 0;
  text-align: left;
  list-style-position: inside;
}

.main-content ol li {
  margin-left: .5rem;
}

/* Image Block & Main Content Images */
.wp-block-image.is-style-default img {
  border-radius: 8px;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .wp-block-image.is-style-rounded img {
    width: 158px;
    margin: 0 auto;
  } 
}

/* Image Captions */
.wp-block-image figcaption {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: center;
}

/* Media & Text Block */
.wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}

.wp-block-media-text img {
  /* max-width: 215px;
  border-radius: 8px; */
}

@media screen and (max-width: 1024px) {
  .wp-block-media-text {
    /* gap: 2rem 0;
    justify-items: center; */
  }

  .wp-block-media-text__content {
    
  }
}

/* Gallery Block */
.main-content .wp-block-gallery img {
  max-height: 190px !important;
}

.main-content .wp-block-gallery figcaption {
  display: none;
}

/* Fix blur on gallery images that have captions */
.wp-block-gallery figure:before {
  content: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: none !important;
}

/* Blockquote Block */
blockquote.wp-block-quote {
  width: 100%;  
  padding: 0;
}

blockquote.wp-block-quote p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

blockquote.wp-block-quote cite {
  display:block;
  margin-top: 1rem;  
  font-size: 1rem;
  font-style: normal;
  color: #fff;
}

@media screen and (max-width: 781px) {
  blockquote.wp-block-quote {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--secondarygrey);
  }  
  
  .wp-block-column:last-of-type .wp-block-quote {
    border-bottom: none;
  }
}

/* Table Block */
.main-content .wp-block-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  text-align: left;
}

.main-content .wp-block-table thead {
  border-bottom: 2px solid;
}

.main-content .wp-block-table td,
.main-content .wp-block-table th {
  padding: 5px 10px 5px 5px;
  vertical-align: top;
  border-color: var(--grey);
  font-size: .8rem;
}

.main-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.main-content .wp-block-table.is-style-rates tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}

.main-content .wp-block-table.is-style-stripes,
.main-content .wp-block-table.is-style-rates {
  border-bottom: 0;
}

.main-content .wp-block-table.is-style-rates td:first-of-type {
  width: 56%;
}

.main-content .wp-block-table.is-style-stripes td {
  width: 22%;
  border-color: transparent;
}

@media screen and (min-width: 768px) {
  .main-content .wp-block-table td,
  .main-content .wp-block-table th {
    font-size: 1rem;
  }

  .main-content .wp-block-table.is-style-rates td:first-of-type {
    width: 70%;
  }

  .main-content .wp-block-table.is-style-rates td {
    width: 15%;
    border-color: transparent;
  }
}

@media screen and (min-width: 1024px) {
  .main-content .wp-block-table table {
    width: 80%;
  }
}

/* Columns Block - Display Flex on the individual COLUMN */
.wp-block-columns .wp-block-column.is-style-display-flex {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.wp-block-columns .wp-block-column.is-style-display-flex > * {
  margin: 0;
}

/* .wp-block-columns .wp-block-column.is-style-display-flex .wp-block-buttons {
  flex-grow: 1;
} */

/* Column Block - Rounded Corners + Dropshadow */
.wp-block-columns.is-style-has-dropshadow .wp-block-column {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--lightgrey);
  border-radius: 29px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.wp-block-columns.is-style-has-dropshadow .wp-block-column .wp-block-buttons {
  flex-grow: 1;
}

/* Column Block with background color */
.wp-block-columns .wp-block-column.has-background {
  position: relative;
  padding: 40px 40px 60px;  
}

/* Column Block with css background */
.wp-block-columns .wp-block-column.is-style-has-background {
  position: relative;
  padding: 40px 40px 60px;  
}

.wp-block-columns .wp-block-column.is-style-has-background p {
  font-weight: 700;
  color: var(--black);
}

.wp-block-columns .wp-block-column.is-style-has-background:after {
  position: absolute;  
  content: '';
  bottom: -32px;    
  display: block;
  width: 140px;
  height: 64px;
  background: url(../img/arrows-white.png) no-repeat center center;
  background-size: 100%;
}

.wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(even):after {
  left: 0;
}

.wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(odd):after {
  right: 0;
}

@media screen and (min-width: 1024px) {
  .wp-block-columns .wp-block-column.is-style-has-background:after {
    bottom: -44px;
    width: 194px;
    height: 89px;
    background-size: unset;
  }

  .wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(even):after {
    left: -43px;
  }

  .wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(odd):after {
    right: -43px;
  }
}

/* Column Block - Not stacked on mobile */
@media screen and (max-width: 600px) {  
  .wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
    flex-basis: 33.3%;
  }
}

/* Column Block - Stack below 1200px */
@media screen and (max-width: 1201px) {  
  .wp-block-columns.is-style-stack-on-tablet {
    flex-direction: column-reverse;
  }
}

/* Column Block - Reverse Order on Mobile */
@media screen and (max-width: 769px) {  
  .wp-block-columns.is-style-reverse-mobile {
    flex-direction: column-reverse;
  }
}

/* Column blocks remove borders on mobile */
@media screen and (max-width: 781px) {
  .main-content .wp-block-columns .wp-block-column {
    border: none !important;
  }
}

/* GROUP BLOCK */
.wp-block-group.is-layout-grid {
  justify-content: center;
  justify-items: center;
}

/* mobile styling for grid layout */
@media screen and (max-width: 1023px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    justify-items: center;
  }  
}

@media screen and (max-width: 767px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr;
  } 
}

/* Group Block with Parallax BG */
.wp-block-group.has-parallax-bg {
  position: relative;  
  margin-top: 0;
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.wp-block-group.has-parallax-bg::before { 
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../img/program-guidelines-bg.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 1;
  mix-blend-mode: lighten;
}

.wp-block-group.wp-block-group.has-parallax-bg * {
  position: relative;
  z-index: 2;
}

/* Separator Block (hr) */
.wp-block-separator {
  border-top-width: 1px;
}

/* Social Links Block */
.wp-block-social-link {
  border-radius: 3px;
}

.wp-block-social-links .wp-social-link a {
  padding: 0 !important;
}

.wp-block-social-links .wp-social-link svg {
  height: 20px;
  width: 20px;
}

/* File Block */
.wp-block-file a:not(.wp-block-file__button) {
  font-size: 1.2rem;
}

/* Hyperlink Group Block */
.wp-block-tiptip-hyperlink-group-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
}

/* Accordion Block */
.wp-block-accordion h3 span {
  text-decoration: none;
}

.wp-block-accordion.numbered-accordion {
  counter-reset: accordion-item;
}

.wp-block-accordion.numbered-accordion .wp-block-accordion-item {
  counter-increment: accordion-item;
}

.wp-block-accordion.numbered-accordion .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

.wp-block-accordion.numbered-accordion .wp-block-accordion-heading__toggle-title::before {
  content: counter(accordion-item);
  font-family: var(--handwritten);
  color: var(--tertiary);
  font-size: 3rem;
  line-height: 1;
  margin-right: 1.5rem;
}

/******************************************
// The following are styles for custom patterns
*/
.ld-route-map-placeholder {
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.08);
}

.ld-route-distance-card {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
}

@media screen and (min-width: 640px) {
  .ld-route-distance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1200px) {
  .ld-route-distance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Iframes (Google Maps) */
iframe {
  display: block;
  width: 80%;
  margin: 0 auto;
}


/* wavy bottom border */
.has-wave-bottom {
  position: relative;
}

:not(.banner).has-wave-bottom {
  padding-bottom: 8rem !important;
}

.has-wave-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -21px;
  width: 100%;
  height: 4rem;  
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  pointer-events: none;
}

.has-wave-bottom.has-wave-bottom_cream::after {
  background-image: url("../img/wave-bottom-cream.svg");
}

.has-wave-bottom.has-wave-bottom_white::after {
  background-image: url("../img/wave-bottom-white.svg");
}


@media screen and (min-width: 1200px) {
  .has-wave-bottom::after {
    bottom: -5px;
  }  
}

/* wavy top border */
.has-wave-top {
  position: relative;
  padding-top: 4rem !important;
}

.has-wave-top::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2rem;
  width: 100%;
  height: calc(4rem + 1px);  
  background-image: url("../img/wave-footer.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  pointer-events: none;
} 

@media screen and (min-width: 1200px) {
  .has-wave-top::before {
    top: -3rem;
  }  
}

/******************************************
//FOOTER
*/

section.footer a {
  text-decoration: none;
}

section.footer a:hover {
  color: #fff;
}

section.footer .local-detours-auth-link {
  font-size: 0.875rem;
}


/******************************************
// Blog Roll and Archive GRID
// This is applied to the Post Template block
*/
.wp-block-post-template.is-layout-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4rem;
  max-width: 400px;
  margin: 0 auto;
  justify-items: center;
}

@media screen and (min-width: 1024px) {
  .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    max-width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 100%;
  }
} 

.wp-block-post-template.is-layout-grid .wp-block-columns {
  height: 100%;
}


/******************************************
// Route Cards
*/
.wp-block-post,
.local-detours-route-card {  
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  height: 100%;  
  margin: 0 !important;
  padding: 0;
  text-align: left;
  background-color: #fff;
  transition: var(--fade);
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.wp-block-post .post-details-wrapper,
.local-detours-route-card .post-details-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0;
  padding: 1rem 1rem 3rem;
  border-radius: 8px;
  background-color: transparent;
  box-shadow: none;
  transition: var(--fade);
}

.wp-block-post-featured-image img,
.local-detours-route-card .local-detours-route-card__media img,
.local-detours-route-card .post-details-wrapper > a:first-child img,
.local-detours-route-card .post-details-wrapper > span:first-child img,
.local-detours-route-card .post-details-wrapper > img:first-child {
  position: relative;
  width: 100%;
  height: 220px;
  max-height: 220px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  border-bottom: 0;
  /* border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0!important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px; */
}

.local-detours-route-card__media {
  display: block;
}

.wp-block-post .post-details,
.local-detours-route-card .post-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem 0;
  margin: 2rem 0 0;
  padding: 0;
}

.wp-block-post .post-details h3,
.local-detours-route-card .post-details h3,
.local-detours-route-card .local-detours-route-card__title {
  display: block;
  margin: 0 !important;
  padding-bottom: 14px;
  color: var(--secondary);
  font-size: 2rem;
  text-align: left;
  font-family: var(--handwritten);
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
}

.wp-block-post .post-details h3::after,
.local-detours-route-card .post-details h3::after {
  display: none;
}

.wp-block-post .post-details h3 a,
.local-detours-route-card .post-details h3 a {
  color: var(--secondary);
  text-decoration: none;
}

.wp-block-post .post-details h3 a:hover,
.local-detours-route-card .post-details h3 a:hover {
  color: var(--secondary);
}

.wp-block-post .post-details .wp-block-post-date {
  margin: 0 !important;
}

.wp-block-post .post-details p,
.wp-block-post .post-details .wp-block-post-excerpt,
.wp-block-post .post-details .wp-block-post-excerpt__excerpt,
.local-detours-route-card .post-details p,
.local-detours-route-card .local-detours-route-card__excerpt,
.local-detours-route-card .local-detours-route-card__meta {
  margin: 0;
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.wp-block-post .post-details .wp-block-post-excerpt,
.wp-block-post .post-details .wp-block-post-excerpt__excerpt,
.local-detours-route-card .local-detours-route-card__excerpt {
  flex-grow: 1;
}

.wp-block-post .wp-block-read-more {
  margin: 2rem auto 0 !important;
}

.local-detours-route-card .read-more-wrapper {
  margin-top: auto;
  margin-bottom: 2rem;
  padding: 0 1rem 1rem;
  text-align: center;
}

@media screen and (min-width: 768px) {  
}

@media screen and (min-width: 1024px) {
  .wp-block-post-featured-image img,
  .local-detours-route-card .local-detours-route-card__media img,
  .local-detours-route-card .post-details-wrapper > a:first-child img,
  .local-detours-route-card .post-details-wrapper > span:first-child img,
  .local-detours-route-card .post-details-wrapper > img:first-child {
    height: 256px;
    max-height: 256px;
    object-fit: cover;
  }
}


/******************************************
// Latest Posts Block Post Grid
*/
.tsc-latest-posts-block {
  position: relative;
}

.tsc-latest-posts-block .latest-posts-post-grid {
  display: grid;
  grid-gap: 4rem;
  max-width: 400px;
  margin: 4rem auto 0;
  justify-items: center;
}

@media screen and (min-width: 1024px) {
  .tsc-latest-posts-block .latest-posts-post-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    max-width: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .tsc-latest-posts-block .latest-posts-post-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 4rem;
    max-width: 100%;
  }
}

/******************************************
// Latest Posts Block
*/
/* Default styles and grid display  */
.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) {  
  display: flex;
  flex-direction: column;
  max-width: 400px;
  height: 100%;  
  text-align: left;
  background-color: #fff;
  transition: var(--fade); 
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details-wrapper {
  flex-grow: 1; /* Normally this is 1 and would push the read-more down to the bottom of all cards */
  padding: 1rem 1rem 2rem;
  border-radius: 8px;   
  background-color: transparent; 
  box-shadow: none;
  transition: var(--fade);
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card):hover,
.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details-wrapper:focus-within {
  /* box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1); */
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details-wrapper img {
  position: relative;
  width: 100%;
  height: 220px;
  max-height: 220px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  /* border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0!important; */
  /* border-top-left-radius: 10px;
  border-top-right-radius: 10px; */
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem 0; 
  margin-top: 1rem; 
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details h3 {
  margin: 0;
  padding-bottom: 14px;
  color: var(--secondary);
  text-align: left;
  font-size: 2rem;
  font-family: var(--handwritten);
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details h3 a {
  color: var(--secondary);
  text-decoration: none;
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details h3 a:hover {
  color: var(--secondary);
}

.tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details p {
  flex-grow: 1;
  margin: 0;
  font-size: .875rem;
}

.tsc-latest-posts-block .read-more-wrapper {
  margin-bottom: 2rem;
  padding: 0 1rem 1rem;
  text-align: center;
}

.post-thumb-wrapper hr {
  margin: 2rem 0;
  border-top: 2px solid var(--darkgrey);
}

@media screen and (min-width: 768px) { 
  .tsc-latest-posts-block .read-more-wrapper a.read-more {
    width: auto;
  }
}

@media screen and (min-width: 1024px) {
  .tsc-latest-posts-block .post-thumb-wrapper:not(.local-detours-route-card) .post-details-wrapper img {
    object-fit: cover;
    height: 256px;
    max-height: 256px;
  }
}


/******************************************
//PAGINATION
*/
.wp-block-query-pagination {
  gap: 0;
}

.pagination-navigation,
.wp-block-query-pagination-numbers {
  display: flex;
  justify-self: center;
  justify-content: center;
  /*box-shadow: 0 0 5px 0px rgb(0 0 0 / 30%);
  border: 1px solid #bebebe;
  border-radius: 30px; */
  text-transform: uppercase;
  margin: 3rem 0 0;
  background: #fff;
}

.pagination-navigation .page-numbers,
.wp-block-query-pagination-numbers .page-numbers {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 32px;
  padding: 5px 18px;
  border-right: 1px solid #ccc;
  transition: var(--fade);
  text-decoration: none;
  background-color: transparent;
}

.pagination-navigation .page-numbers:last-child,
.wp-block-query-pagination-numbers .page-numbers:last-child {
  border-right: none;
}
  
.pagination-navigation .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers:hover {
  background-color: var(--grey);
}

.pagination-navigation .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers.current {
  color: #fff;
  background: var(--primary);
}

.pagination-navigation .page-numbers.prev,
.pagination-navigation .page-numbers.next,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  padding: 5px 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 32px;
  background-color: transparent;
  color: var(--primary);
  text-decoration: none;
  transition: var(--fade);
}

.pagination-navigation .page-numbers.prev:hover,
.pagination-navigation .page-numbers.next:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
  background-color: var(--grey);
}


.pagination-navigation .page-numbers:first-child,
.wp-block-query-pagination-previous {
  border-radius: 30px 0 0 30px;
}

.pagination-navigation .page-numbers:last-child,
.wp-block-query-pagination-next {
  border-radius: 0 30px 30px 0;
}


