/*
Theme Name:   VEMO/Frost
Template:     frost
Text Domain:  frost-child
Description:  A clean child theme of Frost that adds a front page with custom design for the Vemo corporate website. 
Author:       Kaloyan Asenov
Author URI:   https://asenoff.net
Version:      1.0.34
Tags:         corporate, business, full-width, responsive, clean, modern, block-theme, news, company-profile, internal-site
*/

body {
  font-kerning: normal;
  font-feature-settings: "kern";
}

button-font-kern {
  font-kerning: normal;
  font-feature-settings: "kern";    
}

h1, h2, h3, h4, h5, h6 {
  font-kerning: normal;
}

/* FIXED WIDTH for the block wrapper (adjust as needed) */
.wp-block-search {
  max-width: 320px; /* or width: 320px; */
}

/* ROUND THE INPUT CORNERS (pill style) */
.wp-block-search__input {
  border-radius: 9999px;
  height: 1.5rem;
}

/* If you use the "button inside" variation, nudge the icon into the field nicely */
.wp-block-search .wp-block-search__inside-wrapper {
  position: relative;
}

.wp-block-search__input {
  padding-right: 2.5rem; /* room for the icon button */
}

.wp-block-search__button.wp-element-button {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;   /* keep your theme’s background */
  padding: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
}

.wp-block-search__button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mail-column.header-mail-column, .phone-column.header-phone-column {
    display: flex;
    align-items: center;      /* vertical alignment */
    justify-content: flex-end;/* optional: keeps right alignment */
    gap: 8px;                 /* space between icon and text */
}

.phone-column.header-phone-column {
    font-size:18px;
}

.has-solid-border {
    border-style: solid;
}


/* 1) Make the page a positioning context (safe, global) */
.wp-site-blocks { position: relative; }

/* ===========================
   SEARCH (unchanged, just kept here)
   =========================== */

.wp-block-search {
  max-width: 320px;
}

.wp-block-search__input {
  border-radius: 9999px;
}

.wp-block-search .wp-block-search__inside-wrapper {
  position: relative;
}

.wp-block-search__input {
  padding-right: 2.5rem;
}

.wp-block-search__button.wp-element-button {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
}

.wp-block-search__button svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* On very small screens let the search breathe */
@media (max-width: 600px) {
  .wp-block-search {
    max-width: 100%;
  }
}

/* ===========================
   HEADER LAYOUT + LOGO
   =========================== */
 .site-header{
    /* Choose a base unit; everything scales from this */
    --u: 10px;                 /* 1 unit */
    --header-top-h: calc(5 * var(--u));
    --header-main-h: calc(7 * var(--u));
    
    /* Overlap into slider must be 12 units */
    --logo-overlap-h: calc(10.8 * var(--u));
    
    /* Total logo panel height = 5 + 7 + 10.8 = 22.8 units */
    --logo-panel-h: calc(var(--header-top-h) + var(--header-main-h) + var(--logo-overlap-h));
    
    /* 4:3 logo panel (W:H) => width = height * 4/3 */
    --logo-panel-w: calc(var(--logo-panel-h) * 1.2632);
    
    --container-pad: 24px;
    --container-pad-mobile: 6px;
    --divider: #d6d6d6;
    --teal: var(--wp--preset--color--deep-teal, #1f6f67);
    
    position: relative;
    z-index: 50;
}

    /* Social icons in left panel */
    .site-header ul.wp-block-social-links {
      font-size: 18px;
      gap: 5px;
    }
    
    .site-header .header-lite-top .header-top-cols {
        min-width: 450px;
    }

  /* TOP WHITE BAR */
  .site-header .header-top-bar{
    height: var(--header-top-h);
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header .header-top-inner{
    width: 100%;
    padding-left: calc(var(--logo-panel-w) + var(--container-pad));
    padding-right: var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: nowrap;
  }

  /* Keep search contained so it won’t collide at 1024 */
  .site-header .wp-block-search{
    min-width: 200px;
    max-width: 320px;
  }
  .site-header .wp-block-search__inside-wrapper{
    width: 100%;
  }

  /* CTA width equals last two icon cells (2×80px = 160px) */
  .site-header .header-top-cols{
    flex-wrap: nowrap;
  }

  .site-header .header-top-cols > .wp-block-column:last-child{
    flex: 0 0 176px;
    max-width: 176px;
  }

  .site-header .header-top-cols > .wp-block-column:last-child .wp-block-buttons,
  .site-header .header-top-cols > .wp-block-column:last-child .wp-block-button,
  .site-header .header-top-cols > .wp-block-column:last-child .wp-block-button__link{
    width: 100%;
  }

  .site-header .wp-block-button__link{
    border-radius: 0;
    border: 0;
    min-height: var(--header-top-h);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: var(--teal);
    color: #fff;
  }
 
 /* Visually fix wp backery shortcodes overflow on mobile screens */ 
  p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
/* Force top social icons to black (WP uses currentColor) */
.site-header .wp-block-social-link a,
.site-header .wp-block-social-link a svg{
    color: var(--wp--preset--color--dark-gray)!important;
    fill: currentColor!important;
}

/* Keep main content beneath header; header overlap is handled by logo panel */
  main{
    position: relative;
    z-index: 1;
  }

    header.site-header .wp-block-group.header-top-inner.has-background {
      min-height: var(--header-top-h);
      display: flex;
      align-items: center;
    }
    
  /* RIGHT ICON STRIP (5×70px) */
    
    /* 1A) Set the desired “icon color” to the banner white on hover */
    .site-header .header-main-bar .menu-open-btn {
      color: var(--wp--preset--color--white, #ffffff);
      background: var(--wp--preset--color--pine, #316564);;
    }
    
    /* 1A) Set the desired “icon color” to the banner green */
    .site-header .header-main-bar .menu-open-btn:hover {
      color: var(--wp--preset--color--pine, #316564);
      background: #dde6e5;
    }
    
    /* 1A) Set the desired “icon color” to the banner white on hover */
    .site-header .header-main-bar .header-icon-columns .main-header-column:hover{
      color: var(--wp--preset--color--pine, #316564);
      background: #dde6e5!important;
    }
    
    /* 1A) Set the desired “icon color” to the banner green */
    .site-header .header-main-bar .header-icon-columns .main-header-column{
      color: var(--wp--preset--color--pine, #316564);
      background: var(--wp--preset--color--white, #ffffff);
    }
    
    /* Force the icon link to inherit that color (beats wp-elements rule) */
    div.header-main-bar div.header-icon-columns a{
      color: inherit;
    }
    
    
    /* 1C) Make the vertical separators/borders the same green (overrides inline border-left-color gray) */
    .header-main-bar .header-icon-columns .wp-block-column {
      border-left-style: solid;
    }
    
    /* Ensure the main bar and its inner flex rows stretch to full height */
    .header-main-bar,
    .header-main-bar > .wp-block-group,
    .header-main-bar .header-icon-columns,
    .header-main-bar .header-icon-columns .wp-block-column {
      height: 100%;
    }
    
    /* Remove any vertical spacing that introduces “gaps” */
    .header-main-bar .header-icon-columns {
      margin-top: 0 !important;
      gap: 0 !important;
    }
    
    /* Make each icon cell fill the bar and center the SVG */
    .header-main-bar .header-icon-columns .wp-block-column > a {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      padding: 0 !important;       /* kills top/bottom padding */
      margin: 0 !important;
      line-height: 0;              /* avoids baseline spacing */
    }
    
    /* Ensure the svg itself doesn’t introduce extra whitespace */
    .header-main-bar .header-icon-columns svg {
      display: block;
    }
    
    /* Remove inter-column spacing so icon tiles butt together cleanly */
    .header-main-bar .header-icon-columns {
      column-gap: 0 !important;
    }
    
    /* Make sure each icon column is exactly 80px (your inline flex-basis is 80px; this enforces it) */
    .header-main-bar .header-icon-columns .wp-block-column {
      flex: 0 0 70px !important;
    }
    
    /* Ensure the icon columns row sits at the far right like the top bar content */
    .header-main-bar .header-icon-columns {
      margin-left: auto !important;
    }

  
/* Mobile */
@media (max-width: 785px) {
  .site-header .header-logo-overlap.is-style-default { display: none; }
  .header-logo-tablet { display: none; }
  .header-logo-phone { display: block; }
  .site-header .header-logo-no-overlap { display: none; }
  .mobile-hide {display:none};
  
    header.site-header .wp-block-group.header-top-inner.has-background {
      padding: 0 var(--container-pad-mobile);
    }
    
  div.wp-block-group.alignfull.header-main-bar div.wp-block-group.header-nav{
      display: none;
  }
  
  .header-main-bar .header-icon-columns {
      display: none;
    }
    
   .site-header .header-top-bar.wp-block-group {
        display: none;
   }
   
   .site-header .header-logo-phone{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 60;
  }
  
  /* MAIN WHITE BAR (constant background, no "steps") */
  .site-header div.header-main-bar.wp-block-group {
    height: var(--header-main-h);
    padding: 0;
    background: var(--white)!important;
  }
  
    /* reserve space for logo on the green bar inner row */
  .site-header .header-main-bar > .wp-block-group.alignwide{
    padding-left: 108px;
    padding-right: 0px!important;
    height: var(--header-main-h);
    background: var(--white)!important;
  }  
  
    .site-header .header-top-cols {
        min-width: 450px;
    }
}

/* Tablet */
@media (min-width: 785px) and (max-width: 1459px) {
  .site-header .header-logo-overlap.is-style-default { display: none; }
  .header-logo-tablet { display: inline-block; }
  .header-logo-phone { display: none; }
  .site-header .header-logo-no-overlap { display: none; }
  .mobile-hide {display:none};

  /* make sure the header can host an absolutely-positioned logo */
  .site-header .header-stacked{
    position: relative;
  }
  
    header.site-header .wp-block-group.header-top-inner.has-background {
      padding: 0 var(--container-pad-mobile);
    }

  /*
    Place the logo inside the green strip:
    top = height of white bar + (green bar center offset)
  */
  .site-header .header-logo-tablet{
    position: absolute;
    left: 0;
    top: 50px;
    z-index: 60;
  }
  
   .site-header .header-logo-tablet img.custom-logo{
    height: var(--logo-h);
    width: auto;
    max-width: none;
    object-fit: contain;
  }
  
  /* reserve space for logo on top bar content too (optional) */
  .site-header .header-top-inner{
    padding-left: calc(var(--logo-w) + (2 * var(--container-pad)));
    padding-right: var(--container-pad);
  }

  /* reserve space for logo on the green bar inner row */
  .site-header .header-main-bar > .wp-block-group.alignwide{
    padding-left: 168px;
    padding-right: 0px;
    height: var(--header-main-h);
  }  
  
    /* MAIN GREEN BAR (constant background, no "steps") */
  .site-header div.header-main-bar.wp-block-group {
    height: var(--header-main-h);
    padding-top: 0;
    padding-bottom: 0;
    background: var(--teal);
  }
  
  div.wp-block-group.alignfull.header-main-bar div.wp-block-group.header-nav {
      display: none;
  }
  
  /* Critical: ensure main bar and top bar use the same horizontal padding */
    .header-top-bar,
    .header-main-bar {
      padding-left: 0px !important;
      padding-right: 0px !important;
    }
    
    .site-header .header-top-cols {
        min-width: 450px;
    }

}

/* Desktop */
@media (min-width: 1460px) {
  .site-header .header-logo-overlap.is-style-default { 
      display: flex;
      align-items: center;   /* vertical centering */
  }

  .header-logo-tablet { display: none; }
  .header-logo-phone { display: none; }
  .site-header .header-logo-no-overlap { 
      display: block; 
      position: absolute;
      top: 0;
      left: 0;
  }

  .site-header .header-stacked{
    position: relative;
  }
  
  a.menu-open-btn {
      display:none;
  }
  
  div.mobile-drawer {
      display: none;
  }
  
  header.site-header .wp-block-group.header-top-inner.has-background {
    padding: 0 var(--container-pad);
  }

  /* MAIN GREEN BAR (constant background, no "steps") */
  .site-header div.header-main-bar.wp-block-group {
    height: var(--header-main-h);
    padding-top: 0;
    padding-bottom: 0;
    background: var(--teal);
    display: flex;
    align-items: center;
  }

  /* Remove nested backgrounds that can create layers/steps */
  .site-header .header-main-bar .wp-block-group,
  .site-header .header-main-bar .wp-block-navigation{
    background: transparent;
  }

  /*
    alignwide wrappers in block themes often have max-width + auto margins.
    Kill that so the teal bar reads as one continuous layer.
  */
  .site-header .header-main-bar > .wp-block-group.alignwide{
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;

    padding-left: calc(var(--logo-panel-w) + var(--container-pad));
    padding-right: 32px;

    display: flex;
    align-items: stretch;
    justify-content: flex-end; /* keeps layout flush right */
    gap: 0;
  }

  /* Layout inside green bar: [nav (flex)] [icons fixed 320] */
  .site-header .header-nav{
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* push menu to the right */
    padding: 0;
    min-width: 0; /* prevents overflow weirdness in flex */
  }

  /* Make the navigation itself right-justify */
  .site-header .header-nav .wp-block-navigation{
    max-width: 900px;
  }
    
    /* Critical: ensure main bar and top bar use the same horizontal padding */
    .header-top-bar,
    .header-main-bar {
      padding-left: var(--wp--style--root--padding-left, 0px) !important;
      padding-right: var(--wp--style--root--padding-right, 0px) !important;
    }

  /* LOGO PANEL (spans bars + overlaps slider by 12 units) */
  .site-header .header-logo-overlap{
    position: absolute;
    left: 0;
    top: 0;
    width: var(--logo-panel-w);
    height: var(--logo-panel-h);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    z-index: 60; /* above slider */
  }

  .site-header .header-logo-overlap img.custom-logo{
    max-height: calc(var(--logo-panel-h) - 32px);
    width: 192px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  
   .site-header .header-top-cols {
        min-width: 600px;
    }
}



/* === GRID LAYOUT ======================================================= */

/* force a 3-column grid (tablet 2, mobile 1) */
.wp-block-query .wp-block-post-template.is-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* optional: keep the cards centered inside a full-width section */
.wp-block-query.alignfull .wp-block-post-template {
  max-width: 1200px;      /* set the content width you want */
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .wp-block-query .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wp-block-query .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr;
  }
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
    flex: 0 0 25%;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
    flex: 0 0 50%;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
    flex: 0 0 75%;
}


.footer-products ul {
    list-style: none;
    padding-left: 0;
}

.footer-products ul li {
    margin-bottom: 0.5em;
}

.footer-products a {
    color: #ffffff;
    text-decoration: none;
}

.footer-products a:hover {
    opacity: 0.7;
}

/* ================= STATS COUNTER CSS ===========================*/
/* Wrapper */
.stat-counter {
	gap: 0.5rem;
	align-items: center;
}

/* Big outlined number */
.stat-counter__number {
	margin: 0;
	line-height: 1;
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 700;
	letter-spacing: .025em;
	white-space: nowrap;
}

.stat-counter__value {
	display: inline-block;
	/* outlined style; falls back gracefully where unsupported */
	color: transparent;
	-webkit-text-stroke: 1px #a0a0a0;;
	font-variant-numeric: tabular-nums;
	letter-spa
}

/* Small plus */
.stat-counter__suffix {
	display: inline-block;
	font-size: 0.35em;
	vertical-align: super;
}

/* Label on the right */
.stat-counter__label {
	margin: 0;
}

.stat-counter__label_fancy{
	margin: 0;
	line-height: 1;
	font-size: clamp(2rem, 8vw, 4rem);
	font-weight: 700;
	letter-spacing: .025em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px #a0a0a0;;
	font-variant-numeric: tabular-nums;
}

/* Optional: tighter on small screens */
@media (max-width: 600px) {
	.stat-counter {
		gap: 0.75rem;
	}
	.stat-counter__label {
		font-size: 0.75rem;
	}
}

/* ================= END STATS COUNTER CSS ===========================*/


/* ================= SINGLE POST TEMPLATE SIDEBAR ===========================*/
/* Sidebar: Latest Posts list layout */
.gb-element-c117104f .wp-block-latest-posts__list.has-dates {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The outer wrapper of your grid/content */
.gb-element-166baa95 {
	/* Width cannot exceed 1200px, and we keep 10vw gutters on both sides */
	width: calc(100% - 10vw);
	max-width: 1100px;
	margin-inline: auto;   /* center horizontally in all browsers */
}

/* Each list item: thumbnail + text aside */
.gb-element-c117104f .wp-block-latest-posts__list.has-dates li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr); /* thumb | text */
	grid-column-gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 1.25rem;
}

/* Thumbnail */
.gb-element-c117104f .wp-block-latest-posts__featured-image {
	grid-row: 1 / span 2; /* spans title + date rows */
}

.gb-element-c117104f .wp-block-latest-posts__featured-image img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

/* Title + date */
.gb-element-c117104f .wp-block-latest-posts__post-title {
	grid-column: 2;
	grid-row: 1;
	display: block;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.gb-element-c117104f .wp-block-latest-posts__post-title:hover {
	text-decoration: underline;
}

.gb-element-c117104f .wp-block-latest-posts__post-date {
	grid-column: 2;
	grid-row: 2;
	display: block;
	font-size: 0.875rem;
	margin-top: 0.15rem;
	color: rgba(119,119,119,1);
}

/* ================= SINGLE POST TEMPLATE SIDEBAR CATEGORIES ===========================*/

/* Sidebar: categories list */
.gb-element-c117104f .wp-block-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Each category row: name left, count right */
.gb-element-c117104f .wp-block-categories-list .cat-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

/* Category link */
.gb-element-c117104f .wp-block-categories-list .cat-item > a,
.taxonomy-category.wp-block-post-terms > a {
	text-decoration: none;
	font-size: var(--wp--preset--font-size--medium); 
}

/* Count square */
.gb-element-c117104f .wp-block-categories-list .cat-count,
.taxonomy-category.wp-block-post-terms > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6rem;
	height: 1.6rem;
	padding: 0 0.3rem;
	font-size: 0.75rem;
	font-weight: 600;
	background: var(--wp--preset--color--pine);         
	color: #fff;
	border-radius: 2px;
}

/* ================= SINGLE POST TEMPLATE MAIN CONTENT META ROW ===========================*/

/* Single post: meta row (date · author · comments) */
.single .post-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 0.75rem; /* small meta text */
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--medium-gray, #777);
	gap: 0.5rem; /* fallback spacing */
}

/* Each item behaves like a small inline block */
.single .post-meta-row > * {
	display: inline-flex;
	align-items: center;
}

/* Add the dot separators between items */
.single .post-meta-row > * + *::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
	margin: 0 0.75rem;
}

/* Links in the meta row inherit the muted color */
.single .post-meta-row a {
	color: inherit;
	text-decoration: none;
}

.single .post-meta-row a:hover,
.single .post-meta-row a:focus {
	text-decoration: underline;
}

/* ================= SINGLE POST TEMPLATE MAIN CONTENT AUTHOR BOX ===========================*/

/* Author box card */
.single .wp-block-post-author.author-box {
    margin-top: var(--wp--preset--spacing--large, 3rem);
    padding: 2rem 2.5rem;
    background: var(--wp--preset--color--white);
    border-radius: 4px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.single .wp-block-post-author.author-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* Avatar */
.single .wp-block-post-author.author-box .wp-block-post-author__avatar img {
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Name (ADMIN style) */
.single .wp-block-post-author.author-box .wp-block-post-author__name {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single .wp-block-post-author.author-box .wp-block-post-author__name a {
    color: inherit;
    text-decoration: none;
}

/* Bio text */
.single .wp-block-post-author.author-box .wp-block-post-author__bio {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--wp--preset--color--gray)
}

/* === COMMENTS LIST === */

.entry-comments {
	margin-top: var(--wp--preset--spacing--large, 3rem);
}

/* Heading: "3 Replies to…" */
.entry-comments .wp-block-comments-title {
	margin: 0 0 2rem;
	font-size: 1.2rem;
	font-weight: 600;
}

/* Remove default list styles */
.entry-comments .wp-block-comment-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Space between comments */
.entry-comments .wp-block-comment-template > li.comment {
	margin-bottom: 2rem;
}

/* Comment card */
.entry-comments .wp-block-comment-template > li.comment > article {
	display: grid;
	grid-template-columns: auto 1fr;  /* avatar | content */
	column-gap: 1.5rem;
	row-gap: 0.75rem;
	align-items: flex-start;

	padding: 1.5rem 1.75rem;
	background: var(--wp--preset--color--white);
	border-radius: 4px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

/* Avatar */
.entry-comments .wp-block-avatar {
	grid-row: 1 / span 3;
}

.entry-comments .wp-block-avatar img {
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* Header: name + date + edit link */
.entry-comments .wp-block-comment-template header {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

/* Author name */
.entry-comments .wp-block-comment-author-name {
	font-weight: 600;
	font-size: 0.95rem;
}

.entry-comments .wp-block-comment-author-name a {
	color: inherit;
	text-decoration: none;
}

/* Date / meta under the name */
.entry-comments .wp-block-comment-date,
.entry-comments .wp-block-comment-edit-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--dark-gray);
}

.entry-comments .wp-block-comment-date a,
.entry-comments .wp-block-comment-edit-link a {
	color: inherit;
	text-decoration: none;
}

/* Comment content */
.entry-comments .wp-block-comment-content {
	grid-column: 2;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--wp--preset--color--dark-gray);
}

/* Reply link (acts like green “REPLY”) */
.entry-comments .wp-block-comment-reply-link {
	grid-column: 2;
	text-align: right;
}

.entry-comments .wp-block-comment-reply-link a {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--wp--preset--color--dark-gray)
}

.entry-comments .wp-block-comment-reply-link a:hover,
.entry-comments .wp-block-comment-reply-link a:focus {
	text-decoration: underline;
}

/* === COMMENT FORM === */

.entry-comments .comment-respond {
	margin-top: 3rem;
}

/* "Leave a Reply" */
.entry-comments .comment-reply-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 600;
}

/* Small helper text */
.entry-comments .comment-respond .logged-in-as,
.entry-comments .comment-respond .comment-notes,
.entry-comments .comment-respond .required-field-message {
	font-size: 0.85rem;
	color: var(--wp--preset--color--gray);
	margin-bottom: 1.5rem;
}

/* Base styling for all inputs & textarea */
.entry-comments .comment-form textarea,
.entry-comments .comment-form input[type="text"],
.entry-comments .comment-form input[type="email"],
.entry-comments .comment-form input[type="url"] {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--wp--preset--color--light-gray);
	border-radius: 3px;
	font: inherit;
	color: inherit;
	background: var(--wp--preset--color--white);
	box-sizing: border-box;
}

.entry-comments .comment-form textarea {
	min-height: 180px;
	resize: vertical;
}

/* Form rows spacing */
.entry-comments .comment-form p {
	margin: 0 0 1rem;
}

/* Layout: name / email / website in one row on desktop */
@media (min-width: 782px) {
	.entry-comments .comment-form .comment-form-author,
	.entry-comments .comment-form .comment-form-email,
	.entry-comments .comment-form .comment-form-url {
		float: left;
		width: 33.333%;
		box-sizing: border-box;
	}

	.entry-comments .comment-form .comment-form-author,
	.entry-comments .comment-form .comment-form-email {
		padding-right: 1rem;
	}

	.entry-comments .comment-form::after {
		content: "";
		display: block;
		clear: both;
	}
}

/* Submit button */
.entry-comments .form-submit .wp-block-button__link {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 2px;
	border: none;
	background: var(--wp--preset--color--pine);
	color: var(--wp--preset--color--headline-dark-bgnd);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	border: 1px solid var(--wp--preset--color--pine);
}

.entry-comments .form-submit .wp-block-button__link:hover,
.entry-comments .form-submit .wp-block-button__link:focus {
	color: var(--wp--preset--color--pine);
	background: var(--wp--preset--color--white);
}


/* Checkbox row (when visible) */
.entry-comments .comment-form .comment-form-cookies-consent {
	font-size: 0.85rem;
	color: var(--wp--preset--color--gray);
	display: block;
}

/* ================= END SINGLE POST ===========================*/

/* Post cards in a grid */

/* READ MORE link: uppercase + custom underline */
.wp-block-read-more,
.wp-block-post-excerpt a {
    gap: 0.25rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-decoration: none;             /* remove default underline */
    color: var(--wp--preset--color--pine, #316564);                    
}

/* Grey wide underline 
.wp-block-read-more::after,
.wp-block-post-excerpt a:after {
    content: "";
    display: block;
    width: 80px;                     
    max-width: 100%;
    height: 2px;
    background: var(--wp--preset--color--midnight-teal);               
}
*/

/* Optional hover/focus tweak */
.wp-block-read-more:hover::after,
.wp-block-read-more:focus::after,
.cards-excerpt.wp-block-post-excerpt a:hover::after,
.cards-excerpt.wp-block-post-excerpt a:focus::after   {
    background: var(--wp--preset--color--midnight-teal);
}

/* read more arrow */

/* Base Read More link */
.wp-block-read-more {
  text-decoration: none;
  background: none;
}

.wp-block-read-more:hover,
.wp-block-read-more:focus-visible,
.wp-block-read-more:hover::after,
.wp-block-read-more:focus-visible::after {
  background: none;
  box-shadow: none;
  transform: none;
  outline: none;
}

/* Arrow */
.wp-block-read-more::after {
  content: " \2192";              /* → Unicode arrow */
  background: none;
  margin-left: 0.35em;
}

/*============================PAGINATION===============================*/

/* Pagination wrapper */
.wp-block-query-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2.5rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Base style for all pagination items */
.wp-block-query-pagination > * ,
.wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid #e2e2e2;
	text-decoration: none;
	color: var(--wp--preset--color--dark-gray, #555);
	background: #fff;
	box-sizing: border-box;
}

/* Numbers container should not change layout */
.wp-block-query-pagination-numbers {
	display: flex;
	gap: 0.35rem;
}

/* Current page */
.wp-block-query-pagination .page-numbers.current,
.wp-block-query-pagination .page-numbers[aria-current="page"] {
	border-color: #000;
	background: #000;
	color: #fff;
}

/* Hover/focus */
.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus {
	border-color: #000;
	color: #000;
}

/* Previous/Next labels a bit wider */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	padding-inline: 1.1rem;
}

/* ================= 404 PAGE HERO ===========================*/
.nf-bgword {
	margin: 0 0 12px;
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px var(--wp--preset--color--midnight-teal, #183242);
	opacity: 0.8;
}

.nf-title {
	margin: 0 0 10px;
	font-size: clamp(2.25rem, 5vw, 3.4rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--sunrise-red, #f05a38);
}

.nf-desc {
	margin: 0 0 18px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--wp--preset--color--midnight-teal, #183242);
}


.nf-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--pine, #316564);
	border-radius: 999px;
	padding: 4px;
	background: var(--wp--preset--color--white, #fff)
}

.nf-btn a {
	border-color: var(--wp--preset--color--midnight-teal, #183242);
	color: var(--wp--preset--color--midnight-teal, #183242);
	background: transparent;
	padding-inline: 1.6rem;
	font-weight: 700;
}

.nf-btn a:hover,
.nf-btn a:focus-visible {
	color: var(--wp--preset--color--white, #Е5Е5Е5)!important;
	background: var(--wp--preset--color--midnight-teal, #183242)!important;
}

@media (max-width: 700px) {
	.not-found-hero {
		padding-inline: var(--wp--preset--spacing--m, 2rem) !important;
	}
	.nf-bgword {
		letter-spacing: 0.1em;
	}
}

/*========================== Contact US Template ==================================*/

/* ---------------------------------------------------------
   CONTACT SECTION LAYOUT (scoped)
--------------------------------------------------------- */
/* Left info panel */
.gb-element-89a949cb {
  background: #86b93b;           /* adjust to match your green */
  padding: 56px 48px;
  color: #ffffff;
}

.gb-element-89a949cb .wp-block-heading {
  color: #ffffff;
  margin-top: 0;
}

.gb-element-89a949cb .has-medium-font-size {
  margin-top: 28px;
  margin-bottom: 8px;
  font-weight: 600;
}

.gb-element-89a949cb p {
  margin-top: 0;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.85);
}

.gb-element-89a949cb a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
}

.gb-element-89a949cb a:hover {
  text-decoration: underline;
}

/* Social icons in left panel */
.gb-element-89a949cb .wp-block-social-links {
  margin-top: 28px;
  gap: 10px;
}

.gb-element-89a949cb .wp-social-link a, .mail-column .wp-social-link a, .mail-column li.wp-social-link {
  background: transparent;
  color: rgba(255,255,255,0.95);
}

.gb-element-89a949cb .wp-social-link svg {
  fill: currentColor;
}

.mail-column .wp-social-link svg {
  fill: var(--wp--preset--color--dark-gray, #333333);
}


/* ---------------------------------------------------------
   WPForms: TYPOGRAPHY + MINIMAL "UNDERLINE" INPUT STYLE
   (scoped to this one form)
--------------------------------------------------------- */
.vemo-contact-form,
.vemo-contact-form * {
  font-family: inherit !important; /* forces the theme/default font */
}

/* Remove any container chrome */
.vemo-contact-form.wpforms-container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Field spacing */
.vemo-contact-form .wpforms-field {
  margin-bottom: 26px !important;
  padding: 0 !important;
}

/* Labels (light grey, clean) */
.vemo-contact-form .wpforms-field-label {
  font-weight: 400 !important;
  font-size: 14px !important;
  color: #9a9a9a !important;
  margin-bottom: 10px !important;
}

/* Inputs + textarea: only bottom border */
.vemo-contact-form input[type="text"],
.vemo-contact-form input[type="email"],
.vemo-contact-form textarea {
  width: 100% !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e6e6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  /* Match the “airy” look */
  padding: 12px 0 !important;
  line-height: 1.4 !important;
  font-size: 16px !important;
  color: #222 !important;
}

/* Taller message box */
.vemo-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus state: darker underline */
.vemo-contact-form input[type="text"]:focus,
.vemo-contact-form input[type="email"]:focus,
.vemo-contact-form textarea:focus {
  outline: none !important;
  border-bottom-color: #222 !important;
}

/* Placeholder styling (subtle) */
.vemo-contact-form ::placeholder {
  color: #bdbdbd;
  opacity: 1;
}

/* Submit button: black rectangle */
.vemo-contact-form .wpforms-submit-container {
  margin-top: 22px !important;
}

.vemo-contact-form button.wpforms-submit,
.vemo-contact-form .vemo-contact-form-submit-btn {
  background: #316564 !important;
  color: #fff !important;
  border: 1px solid #316564 !important;
  border-radius: 3px !important;

  padding: 1rem 2rem !important;
  font-size: 0.875rem !important;
  height: auto!important;

  box-shadow: none !important;
}

.vemo-contact-form button.wpforms-submit:hover {
  background: #fff !important;
  color: #316564 !important;
}

/* Hide the stray "Name Message *" field if it’s appearing */
#wpforms-4899-field_4-container {
  display: none !important;
}

/* SELECT styling */

/* WPForms "modern" select (Choices.js): make it match your underline inputs */
.vemo-contact-form .wpforms-field-select-style-modern .choices__inner {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e6e6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 0 !important;
  font-size: 16px !important;
  color: #222 !important;
  line-height: 1.4 !important;
}

/* Focus underline */
.vemo-contact-form .wpforms-field-select-style-modern .choices.is-focused .choices__inner,
.vemo-contact-form .wpforms-field-select-style-modern .choices.is-open .choices__inner {
  border-bottom-color: #222 !important;
}

/* Placeholder color */
.vemo-contact-form .wpforms-field-select-style-modern .choices__placeholder {
  color: #bdbdbd !important;
  opacity: 1;
}

/* ---------------------------------------------------------
   RESPONSIVE: stack panels nicely on smaller screens
--------------------------------------------------------- */
@media (max-width: 900px) {
  .gb-element-89a949cb {
    padding: 40px 28px;
  }
}

/* ========================END Contact Us===================*/

/* ========================BEGIN Desktop menu ========================== */

/* keep the link normal */
nav ul.wp-block-navigation__container a.wp-block-navigation-item__content {
  text-decoration: none;
}

/* underline is drawn on the label only */
nav ul.wp-block-navigation__container
a.wp-block-navigation-item__content > .wp-block-navigation-item__label{
  position: relative;
  display: inline-block; /* key: width = text width */
}

/* pseudo underline */
nav ul.wp-block-navigation__container
a.wp-block-navigation-item__content > .wp-block-navigation-item__label::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;              /* gap below text */
  width: 100%;
  height: 1px;               /* thickness */
  background: currentColor;
  opacity: 0;
  transition: opacity 0.32s ease-in-out;
}

nav ul.wp-block-navigation__container
a.wp-block-navigation-item__content.is-current
> .wp-block-navigation-item__label::after {
  opacity: 1;
}

/* hover/focus on the link triggers underline on the label */
nav ul.wp-block-navigation__container
a.wp-block-navigation-item__content:hover > .wp-block-navigation-item__label::after,
nav ul.wp-block-navigation__container
a.wp-block-navigation-item__content:focus-visible > .wp-block-navigation-item__label::after{
  opacity: 1;
}

/* ========================BEGIN Mobile Drawer (Enhanced) ===================== */

:root {
  /* Theme accent (fallback to your hex) */
  --drawer-accent: var(--wp--preset--color--midnight-teal, #183242);
  --drawer-bg: var(--wp--preset--color--white, #fff);
  --drawer-fg: var(--wp--preset--color--dark-grey, #333);
  --drawer-muted: rgba(17, 17, 17, 0.55);
  --drawer-border: rgba(17, 17, 17, 0.10);
  --drawer-hit: 44px; /* tap target */
}

/* Keep your existing hidden + container rules */
.mobile-drawer[hidden] { display: none; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

/* PANEL: make it viewport-height, and prevent the panel itself from scrolling */
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;

  /* Replace height:100% with viewport-based height */
  height: 100dvh;
  max-height: 100dvh;

  width: min(92vw, 380px);
  background: var(--drawer-bg);
  color: var(--drawer-fg);

  transform: translateX(100%);
  transition: transform 200ms ease;

  display: flex;
  flex-direction: column;

  padding: 14px;

  overflow: hidden;                 /* important: scrolling happens inside */
  touch-action: pan-y;
  will-change: transform;

  /* iOS safe-area protection (prevents bottom items from sitting under browser UI) */
  padding-top: calc(14px + env(safe-area-inset-top));
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

/* Fallback for browsers without dvh */
@supports not (height: 100dvh) {
  .mobile-drawer__panel {
    height: 100vh;
    max-height: 100vh;
  }
}

.mobile-drawer__panel.is-open { transform: translateX(0); }

html.is-drawer-open, html.is-drawer-open body { overflow: hidden; }

/* Ensure fixed header/footer don't steal scroll space */
.mobile-drawer__top,
.mobile-drawer__bottom {
  flex: 0 0 auto;
}

/* Make the NAV the scroll container */
.mobile-drawer__panel > nav.drawer-nav {
  flex: 1 1 auto;
  min-height: 0;                    /* critical for flex + scrolling */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer .mobile-drawer__bottom ul {
    margin: 0px;
}

.mobile-drawer .mobile-drawer__bottom {
    margin: 0px;
}

/* Optional: if you want the top controls always visible while nav scrolls */
.mobile-drawer__top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--drawer-bg);
}

/* Optional: keep social icons visible too */
.mobile-drawer__bottom {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--drawer-bg);
}

/* ---------- Top area (teal header strip) ---------- */

.mobile-drawer__top {
  background: var(--drawer-bg);
  margin: calc(env(safe-area-inset-top) * -1) -14px 0px -14px; /* full-bleed */
  padding: env(safe-area-inset-top) 14px 8px 14px;
}

/* Icon row becomes a 2x2 grid + close button like target */
.mobile-drawer__icon-row {
  display: grid;
  grid-template-columns: repeat(4, var(--drawer-hit)) var(--drawer-hit);
  grid-auto-rows: var(--drawer-hit);
  align-items: center;
  gap: 8px;
}

/* WP Buttons block inside the icon row */
.mobile-drawer__icon-row .wp-block-buttons {
  display: contents; /* let children participate in grid */
}

.mobile-drawer__icon-row .wp-block-button.is-style-icon {
  margin: 0; /* remove default gaps */
}

/* Close button matches icon buttons */
.mobile-drawer__close {
  width: var(--drawer-hit);
  height: var(--drawer-hit);
  min-width: var(--drawer-hit);
  min-height: var(--drawer-hit);

  margin-left: 0;
  justify-self: end;

  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: var(--drawer-accent);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Search styling to match target */
.mobile-drawer__top .wp-block-search {
  margin-top: 5px;
}

.mobile-drawer__top .wp-block-search__inside-wrapper {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 8px;
}

.mobile-drawer__top .wp-block-search__input {
  background: transparent;
  border: 0;
  color: var(--drawer-bg);
  outline: none;
}

.mobile-drawer__top .wp-block-search__input::placeholder {
  color: rgba(255,255,255,0.75);
}

.mobile-drawer__top .wp-block-search__button {
  background: transparent;
  border: 0;
  color: var(--drawer-accent);
}

.mobile-drawer__top .wp-block-search__button svg {
  fill: currentColor;
}

/* ---------------------- Icon links --------------------------*/

/* ===== Mobile drawer icon strip (when icons are a Columns block) ===== */

/* Make the Columns block a 5-col grid, full width, no gaps */
.mobile-drawer__top .header-icon-columns {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;

  /* match your strip look */
  background: #dde6e5; /* or var(--drawer-bg) if that's the strip */
  padding: 0;
}

/* Each column becomes a “cell” */
.mobile-drawer__top .header-icon-columns > .wp-block-column {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: var(--drawer-hit);
  padding: 0;

  /* vertical dividers */
  border-left: 1px solid rgba(255,255,255,0.8);
}

/* no divider on the first cell */
.mobile-drawer__top .header-icon-columns > .wp-block-column:first-child {
  border-left: 0;
}

/* Make the icon links fill the cell and be clickable like before */
.mobile-drawer__top .header-icon-columns a[class^="gb-text-"] {
  width: 100%;
  min-height: var(--drawer-hit);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 !important;
  text-decoration: none;
}

/* Keep the SVG sized consistently */
.mobile-drawer__top .header-icon-columns .gb-shape svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ---------- Social icons: move higher and style black/white ---------- */

/* Not pinned at the bottom anymore */
.mobile-drawer__bottom {
  margin-top: 12px;         /* remove auto push-down */
  padding-top: 12px;
}

/* Social icons row */
.mobile-drawer__bottom .wp-block-social-links {
  justify-content: flex-start;
  gap: 14px;
}

/* Make them black icons on white (no colored circles) */
.mobile-drawer__bottom .wp-social-link {
  background: transparent !important;
  border: 0;
  padding: 0;
}

/* Anchor controls size */
.mobile-drawer__bottom .wp-social-link .wp-block-social-link-anchor {
  width: var(--drawer-hit);
  height: var(--drawer-hit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;            /* optional: subtle circle like target */
  background: transparent;
  color: #111;
  text-decoration: none;
}

/* Force SVG to use currentColor */
.mobile-drawer__bottom .wp-social-link svg {
  fill: currentColor;
}

/* Optional: subtle hover/active feedback */
.mobile-drawer__bottom .wp-social-link .wp-block-social-link-anchor:active {
  background: rgba(0,0,0,0.06);
}

/* Row: icons group left, close far right */
.mobile-drawer__icon-row{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Keep the 4 icons grouped together */
.mobile-drawer__icon-row .wp-block-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;          /* remove block default margins */
  flex-wrap: nowrap;  /* keep as a single row */
}

/* Push close to the far right */
.mobile-drawer__close{
  margin-left: auto;
}

/* Optional: ensure all icon buttons are same square hit area */
.mobile-drawer__icon-row .wp-block-button.is-style-icon .wp-block-button__link,
.mobile-drawer__close{
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer__panel { transition: none; }
}

/* --- Admin bar compatibility (front-end) --- */
body.admin-bar .mobile-drawer {
  top: var(--wp-admin--admin-bar--height, 32px);
  height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

body.admin-bar .mobile-drawer__panel {
  top: 0;      /* panel is positioned within .mobile-drawer */
  height: 100%;
}

/* Fallbacks for older WP / unusual contexts */
@media screen and (max-width: 782px) {
  body.admin-bar .mobile-drawer {
    top: var(--wp-admin--admin-bar--height, 46px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 46px));
  }
}

/* --- Mobile drawer icon ribbon (GenerateBlocks icon row) --- */
.mobile-drawer__icon-row .header-icon-columns{
  display: flex;
  gap: 0 !important;                 /* override any block gap */
  background: #DDE6E5;               /* ribbon background */
}

/* Each icon cell */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column{
  flex: 1 1 0;
  padding: 0 !important;
  margin: 0 !important;

  /* white separators */
  border-left: 1px solid #fff !important;
}

/* No separator on the first cell */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column:first-child{
  border-left: 0 !important;
}

/* Make the <a> fill the whole cell and center the icon */
.mobile-drawer__icon-row .header-icon-columns a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--drawer-hit, 44px);
  text-decoration: none;
}

/* Set the icon color (preferably set this in GB, but this is a safe fallback) */
.mobile-drawer__icon-row .header-icon-columns a{
  color: #2F5E5B;
}

/* Square icon ribbon cells */
:root { --icon-cell: 50px; } /* change to 44px/56px/60px etc */

/* Make each column a fixed square “cell” width */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column{
  flex: 0 0 var(--icon-cell) !important;
  max-width: var(--icon-cell) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Make the clickable icon area fill the square cell */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column > a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--icon-cell) !important;  /* this is the missing piece */
  line-height: 1;                       /* avoids extra vertical space */
}

/* Keep SVG from stretching the cell */
.mobile-drawer__icon-row .header-icon-columns a svg{
  width: 24px;
  height: 24px;
  display: block;
}

/* --- Mobile drawer close button (ribbon-aligned) --- */

.mobile-drawer__close{
  width: var(--icon-cell);            /* 60px */
  height: var(--icon-cell);           /* 60px */
  min-width: var(--icon-cell);
  min-height: var(--icon-cell);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: auto;                  /* keep it flush right */
  padding: 0;

  background: #2F5E5B;                /* dark green */
  color: #fff;                        /* white “×” */
  border: 0;

  font-size: 48px;                    /* visual size of the cross */
  line-height: 1;                     /* prevents vertical drift */
  font-weight: 300;                   /* optional: lighter stroke */

  cursor: pointer;
}

/* Optional: touch feedback */
.mobile-drawer__close:active{
  background: #244947;
}

/* Ensure the icon ribbon and close button share one fixed-height row */
.mobile-drawer__icon-row{
  height: var(--icon-cell);      /* 60px */
  align-items: stretch;          /* do not vertically center different-height children */
}

/* Force the GB Columns wrapper (ribbon) to fill the row height */
.mobile-drawer__icon-row .header-icon-columns{
  height: 100%;
  margin: 0 !important;
}

/* Force each column “cell” to fill the row height */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column{
  height: 100%;
}

/* Force the icon link to fill its cell height */
.mobile-drawer__icon-row .header-icon-columns > .wp-block-column > a{
  height: 100% !important;
}

/* Force the close button to also fill the row height */
.mobile-drawer__close{
  align-self: stretch;
  height: 100%;
}

.mobile-drawer__icon-row .header-icon-columns.wp-block-columns {
    padding: 0px;
}

/* ============ Mobile Drawer — Accordion Navigation (LEAN) ============ */

.mobile-drawer{
  --drawer-hit: 45px;
  --drawer-indent: 18px;
}

/* Scope strictly to the drawer nav instance you control */
.mobile-drawer nav.drawer-nav{
  width: 100%;
}

/* Reset list formatting */
.mobile-drawer nav.drawer-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Stack items vertically (kills flex-row leakage) */
.mobile-drawer nav.drawer-nav > ul{
  display: block;
}

/* Each item is a full-width row; also fixes "submenu to the right" by removing flex on LI */
.mobile-drawer nav.drawer-nav li.wp-block-navigation-item{
  display: block;
  width: 100%;
  margin: 0;
  position: relative; /* anchor for toggle */
  border-bottom: 1px solid var(--drawer-border);
}

/* Links: shared row baseline */
.mobile-drawer nav.drawer-nav a.wp-block-navigation-item__content{
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
}

/* Top level: uppercase + taller + space for toggle */
.mobile-drawer nav.drawer-nav > ul > li > a.wp-block-navigation-item__content{
  min-height: var(--drawer-hit);
  padding-right: var(--drawer-hit);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* Toggle button: big tap target on top level */
.mobile-drawer nav.drawer-nav li.has-child > button.wp-block-navigation-submenu__toggle{
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--drawer-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer nav.drawer-nav ul.drawer-nav > li > button.wp-block-navigation-submenu__toggle {
  width: var(--drawer-hit);
  height: var(--drawer-hit);
}

/* Chevron visuals + rotate on open */
.mobile-drawer nav.drawer-nav button.wp-block-navigation-submenu__toggle svg{
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 150ms ease;
}

.mobile-drawer nav.drawer-nav button.wp-block-navigation-submenu__toggle svg path{
  stroke: currentColor;
  fill: none;
}

.mobile-drawer nav.drawer-nav button.wp-block-navigation-submenu__toggle[aria-expanded="true"] svg{
  transform: rotate(180deg);
}

/* Submenu containers: inline accordion body (not flyout) */
.mobile-drawer nav.drawer-nav ul.wp-block-navigation__submenu-container{
  display: block;
  width: 100%;
  min-width: 0;
  position: static;
  inset: auto;
  transform: none;
  box-shadow: none;
  background: transparent; /* integrate into list; set rgba(...) if you want the panel look */
  padding: 0;
}

/* Submenu rows: indentation to show hierarchy */
.mobile-drawer nav.drawer-nav ul.wp-block-navigation__submenu-container a.wp-block-navigation-item__content{
  padding-left: calc(12px + var(--drawer-indent));
  padding-right: 12px;
}

/* Deeper nesting indentation (add more if you need) */
.mobile-drawer nav.drawer-nav
  ul.wp-block-navigation__submenu-container ul.wp-block-navigation__submenu-container
  a.wp-block-navigation-item__content{
  padding-left: calc(12px + (2 * var(--drawer-indent)));
}

/* Hide closed accordion panels (JS uses hidden) */
.mobile-drawer nav.drawer-nav ul.wp-block-navigation__submenu-container[hidden]{
  display: none;
}

/* Interaction feedback (optional but light) */
.mobile-drawer nav.drawer-nav a.wp-block-navigation-item__content:active{
  background: rgba(0,0,0,0.04);
}

.mobile-drawer nav.drawer-nav button.wp-block-navigation-submenu__toggle:active{
  background: rgba(0,0,0,0.06);
}

/* Accessible focus */
.mobile-drawer nav.drawer-nav a.wp-block-navigation-item__content:focus-visible,
.mobile-drawer nav.drawer-nav button.wp-block-navigation-submenu__toggle:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* External styles.min.css interference neutralizer (scoped, minimal) */
.mobile-drawer nav.drawer-nav .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"]
  ~ ul.wp-block-navigation__submenu-container{
  width: 100%;
  min-width: 0;
  background: #ddd;
}

/* ============ End Mobile Drawer — Accordion Navigation (LEAN) ============ */

/* =================== END Mobile Drawer (Enhanced) =================== */

/* =================== FOOTER ========================================= */

.footer-grid.gb-element-39d38fdb h2 {
  margin-top: 0;
  margin-bottom: 12px;
  margin-block-end: 0px;
}

.footer-grid.gb-element-39d38fdb h2 a {
  text-decoration: none;
  color: inherit;
}

.footer-grid.gb-element-39d38fdb h2 a:hover {
  text-decoration: underline;
}

/* Force bottom social icons to grey (WP uses currentColor) */
.footer-grid.gb-element-39d38fdb .wp-block-social-link a,
.footer-grid.gb-element-39d38fdb .wp-block-social-link a svg{
    color: rgba(217,217,217,1)!important;
    fill: currentColor!important;
}

/* Social icons in left panel */
.footer-grid.gb-element-39d38fdb .wp-block-social-links {
  margin-top: 28px;
  gap: 10px;
}

.footer-grid.gb-element-39d38fdb .wp-social-link a {
  background: transparent;
  color: rgba(255,255,255,0.95);
}

.footer-grid.gb-element-39d38fdb .wp-social-link svg {
  fill: currentColor;
}

ul.has-white-colour > li.wp-social-link {
    background-color: rgba(0,0,0,0);
}

.footer-grid .gb-shape {
  background: none;
  padding: 0;
  border: 0;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}
.footer-grid .gb-shape svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ===================== END Footer ============================== */

/* ===================== Image overlaps ========================== */

/* Square container that holds both images */
.overlap-square {
  position: relative;
  aspect-ratio: 1 / 1;   /* forces a square */
  width: 100%;
  overflow: visible;      /* allow overlap to show */
}

/* BACK image: top-left, 80% x 80% */
.overlap-square .overlap-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 80%;
  margin: 0 !important;
}

/* Ensure the cover image fills its block nicely */
.overlap-square .overlap-back img,
.overlap-square .overlap-back .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional: if you want the dim overlay removed/controlled */
.overlap-square .overlap-back .wp-block-cover__background {
  opacity: 0; /* or keep as-is if you want the dim */
}

/* FRONT image: bottom-right, max 40% x 40% */
.overlap-square .overlap-front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 50%;
  margin: 0 !important;
  z-index: 2;
}

/* Keep the front image tidy */
.overlap-square .overlap-front img {
  display: block;
  width: 100%;
  height: auto;           /* preserves image aspect */
  object-fit: cover;
}

/* Optional: hide caption to match your screenshot feel */
.overlap-square .overlap-front figcaption {
  display: none;
}

.green-spacer {
    background: var(--wp--preset--color--pine)
}

/* ================== image-text uniform pictures ============================ */

.wp-block-media-text {
  align-items: center;
}

.wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
}

@media (max-width: 781px) {
  .wp-block-media-text.is-stacked-on-mobile
  .wp-block-media-text__media {
    max-height: 100%;
  }
}

/* ====================== screen readers fallback rules =========================== */
/* WP a11y utility: keep labels for screen readers but hide visually */
.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
}

/* Allow keyboard users to see it when focused (WP convention) */
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  position: static !important;
  white-space: normal !important;
}

/* ========================== text-image fixes - height dominated by text size ================================= */
/* Let the content define the row height */
/* --- Base: mobile-first (stacked) --- */
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
  position: relative;
  overflow: hidden;
}

/* Ensure picture/img behave normally on small screens */
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > picture,
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  display: block;
}

.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
  object-fit: cover; /* harmless on mobile; will mostly behave like normal */
  width: 100%;
}

/* Give the stacked image a sensible visible height */
.wp-block-media-text.is-image-fill-element.is-stacked-on-mobile
  > .wp-block-media-text__media {
  min-height: clamp(220px, 55vw, 420px);
}

/* Force Media & Text to stack below 950px */
@media (max-width: 949px) {
  /* Force stacking for your marked blocks */
  .wp-block-media-text.mt-stack-950 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
  }

  .wp-block-media-text.mt-stack-950.is-stacked-on-mobile > .wp-block-media-text__media {
    grid-area: media;
  }

  .wp-block-media-text.mt-stack-950.is-stacked-on-mobile > .wp-block-media-text__content {
    grid-area: content;
  }
}

/* --- Desktop and up: match text height and cover-fill --- */
@media (min-width: 950px) {
  .wp-block-media-text.is-image-fill-element {
    align-items: stretch;
  }

  .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
    align-self: stretch;
    height: 100%;
    min-height: 0; /* optional; keep if you want true "text drives height" */
  }

  .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > picture,
  .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }

  .wp-block-media-text.is-image-fill-element > .wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ========================== IFRAME FOR GOOGLE MAPS ========================= */

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;   /* change to 4/3 if you prefer */
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======================== TWO ROWS OF COLUMNS ============================ */

/* Parent container holds the two Columns blocks side-by-side */
.two-rows-of-columns {
  display: flex;
  gap: var(--wp--preset--spacing--s);
}

/* Each inner "Columns" block takes half the row */
.two-rows-of-columns > .wp-block-columns {
  flex: 1 1 0;
  margin: 0; /* removes extra vertical spacing between the two groups */
}

/* TABLET and down: stack the two Columns blocks (one over the other) */
@media (max-width: 1200px) {
  .two-rows-of-columns {
    flex-direction: column;
  }
}

/* TABLET and down: stack the two Columns blocks (one over the other) */
@media (max-width: 1200px) {
  .two-rows-of-columns {
    flex-direction: column;
  }
}

/* TABLET and down: stack the two Columns blocks (one over the other) */
@media (max-width: 781px) {
  .wp-block-cover.cover-min-height-150 {
    min-height: 150px;
  }
}

/* TABLET and down: stack the two Columns blocks (one over the other) */
@media (max-width: 781px) {
  .wp-block-cover.cover-min-height-200 {
    min-height: 200px;
  }
}

/* ===================== image gallery zoom ============================*/
/* Triptych hover zoom */
.triptych > div {
  overflow: hidden;            /* clip zoomed image */
  border-radius: 8px;          /* optional */
}

.triptych .wp-block-image {
  margin: 0;                   /* remove figure margins if any */
}

.triptych .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform;
}

/* Hover: zoom image slightly */
.triptych > div .wp-block-image:hover img {
  transform: scale(1.05);
}

/* Optional: subtle “lift” via contrast/brightness */
.triptych > div .wp-block-image:hover img {
  filter: brightness(1.02) contrast(1.02);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .triptych .wp-block-image img {
    transition: none;
  }
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

/* Open state */
.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* The image */
.lightbox-overlay img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  transform: translateY(8px) scale(0.98);
  transition: transform 220ms ease;
  will-change: transform;
}

/* Animate in */
.lightbox-overlay.is-open img {
  transform: translateY(0) scale(1);
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

/* Focus ring */
.lightbox-close:focus-visible {
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay,
  .lightbox-overlay img {
    transition: none;
  }
}

/* ====================== FIXES ======================== */
/* 1) Stop the "nowrap" groups from causing horizontal overflow on small screens */
@media (max-width: 480px) {
  .wp-block-group.is-nowrap.is-layout-flex {
    flex-wrap: wrap !important;   /* override nowrap */
  }
  .wp-block-group.is-layout-flex > * {
    min-width: 0;                 /* prevents flex items from forcing overflow */
    max-width: 100%;
  }
}

/* 2) Reduce the Cover's left/right padding at small widths */
@media (max-width: 480px) {
  .gb-element-6d14df88.alignfull > .wp-block-cover {
    padding-left: var(--wp--preset--spacing--m) !important;
    padding-right: var(--wp--preset--spacing--m) !important;
  }
}

/* 3) Safety: make sure media can’t exceed the viewport */
.gb-element-6d14df88 img,
.gb-element-6d14df88 picture,
.gb-element-6d14df88 iframe {
  max-width: 100%;
}

figure.no-margins-image {
    margin: 0px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.wp-block-post-content p {
    margin-bottom: 0.5rem;
}
}
