/*
 Theme Name: SustainEquip
 Template: storefront
 Description: Custom child theme of Storefront.
 Version: 1.0.0
*/

/* ===== Frame & content sizing ===== */
:root{
  --frame-max: 1920px;                     /* overall site frame (content clamp) */
  --content-max: calc(1920px - 2*210px);   /* 1500px content column */

  /* Home icon sizing */
  --home-icon-btn: 3rem;   /* overall button size */
  --home-icon-glyph: 2rem; /* house glyph size inside */

}


/* Put this near the top of style.css */
html, body,
button, input, select, textarea,
.site-title, .site-description,
.main-navigation a,
h1, h2, h3, h4, h5, h6,
p, li, dd, dt, blockquote, figcaption,
.btn, .button, .btn-pill,
.woocommerce a.button,
.wpcf7 input, .wpcf7 select, .wpcf7 textarea {
  font-family: "Helvetica Neue",Arial,sans-serif;
}


/* Center the 1920px frame for content only */
#page{
  display:block;
  width:100%;
  max-width:100vw;
  margin-left:auto !important;
  margin-right:auto !important;
  position: absolute;
  top: 0;
}
@media (min-width: 1920px){
  #page{
    width:100vw;
    margin-left:0!important;
    margin-right:0 !important;
  }
}

/* Content container (used inside sections) */
.col-full{
  max-width:var(--content-max) !important;
  width:80%;
  margin-left:auto;
  margin-right:auto;
  padding-left:0;
  padding-right:0;
  gap:0;
}

/* Header basics */
.site-header{
  padding-top:0;
  width:100vw;
  margin-bottom: 0!important;
}

/* ===== Header bar (desktop) ===== */
@media (min-width:768px){
  .header-bar{
    height:133px;                    /* exact bar height */
    padding-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
    box-sizing:border-box;
    display:block;
  }

  .header-bar > .col-full{
    display:flex;
    align-items:center;              /* vertical centering */
    justify-content:space-between;   /* branding left, nav right */
    gap:0;                           /* no end gaps */
    height:100%;
  }

  /* Branding: remove stray margins so it truly centers */
  .header-branding,
  .header-branding .site-branding{
    display:flex;
    align-items:center;
    margin:0 !important;
    padding:0 !important;
  }
  .header-branding .site-title,
  .header-branding .site-description{
    margin:0; line-height:1;
  }
  .header-branding img{ display:block; }

  /* Nav: right-aligned items */
  .main-navigation .menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;        /* right edge */
    gap:1.25rem;
    margin:0;
  }

  .main-navigation .menu > li{
    display:flex;                    /* normalize vertical alignment */
    align-items:center;
  }

  .main-navigation .menu > li > a{
    display:inline-flex;
    align-items:center;
    line-height:1.2;
    padding:.6rem 0;
    color:inherit;                   /* let Customizer control link color */
  }

  /* Hide burger on desktop */
  .menu-toggle{ display:none; }
}

/* Desktop: allow a wider site logo (beats parent rule) */
@media (min-width:768px){
  .site-header .site-branding img.custom-logo{
    max-width:495px;
    height:auto;
  }
}

/* Hide any duplicate fallback list the Customizer might inject */
.header-bar .menu + .menu{ display:none; }

/* ===== Menu item styling ===== */

/* Marketplace pill */
.main-navigation .menu > li.is-marketplace > a{
  display:inline-block;
  padding:.5rem 1rem;
  border:2px solid currentColor;     /* uses the same color as links */
  border-radius:9999px;
  line-height:1.1;
}
.main-navigation .menu > li.is-marketplace > a:hover,
.main-navigation .menu > li.is-marketplace.current-menu-item > a{
  background:rgba(0,0,0,.06);
}



/* Storefront float rule override so nav hugs right edge */
@media (min-width: 768px){
  .woocommerce-active .site-header .main-navigation{
    margin-right: 0 !important; /* ensure nav is flush right */
  }
}

/* =======================================================================
   HERO — full-bleed media with overlaid columns (no .col-full clamp)
   ======================================================================= */

.row-hero{
  position: relative;
  width: 100%;
  overflow: clip;
  
}

/* Media fills viewport width */
.hero-media img,
.hero-media video,
.hero-media iframe{
  display:block;
  width:100%;
  
}


/* Uncomment for a billboard height instead
.row-hero{ min-height: 70vh; }
.hero-media img, .hero-media video{ height: 70vh; object-fit: cover; }
*/

/* Bottom-anchored overlay strip */
.hero-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;               /* detach from top */
  height: 45%;             /* or: clamp(220px, 45%, 560px) */
  display: flex;
  align-items: center;     /* center copy within the strip */
  color: #fff;
  background: rgba(0,0,0,.42);
  pointer-events: none;    /* keep; links are re-enabled in children */
  z-index: 1;
}

.hero-overlay .col-full {
  width: 80%;
}



/* Inner overlay with frame (no clamp to 1500px) */
.hero-overlay__inner{
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* Copy containers are interactive */
.hero-col,
.hero-grid{ pointer-events: auto; }

/* 1 or 2 columns */
.hero--cols-1 .hero-col--single{
  max-width: 60ch; /* keep lines readable; remove if you want 100% */
}

.hero--cols-2 {
  min-height:calc(100vh - 133px)!important; /* 100% minus header height */
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Semi-opaque black panels for readability */
.hero-col{
  
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  backdrop-filter: saturate(1.08);
}

/* Typography inside hero */
.hero-copy p{ margin: 0 0 .75rem 0; }
.hero-copy h1, .hero-copy h2, .hero-copy h3{ margin: 0 0 .5rem 0; color: inherit; }

/* Pill button reused in hero (matches header pill feel) */
.btn-pill{
  display:inline-block;
  padding:.55rem 1.1rem;
  border:2px solid currentColor;
  border-radius:9999px;
  line-height:1.1;
  text-decoration:none;
  color: inherit;
}


/* Mobile hero tweaks */
@media (max-width:767px){
  .hero-overlay__inner{ padding-left: 1rem; padding-right: 1rem; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero--cols-1 .hero-col--single{ max-width: none; }
}

/* Force white text in Hero overlay */
.row-hero .hero-copy,
.row-hero .hero-col { color: #fff!important; }

/* Give the hero a definite height so the overlay can anchor */
.row-hero{
  position: relative;
  min-height: clamp(420px, calc(470px - 133px), 900px); /* tune to taste */
  overflow: hidden;
}

/* Make the media fill the hero box */
.hero-media{
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-media video,
.hero-media iframe{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom overlay with intrinsic height (no % height) */
.hero-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  /* remove fixed height: let content dictate height */
  background: rgba(0,0,0,.42);
  color: #fff;
  z-index: 1;
  pointer-events: none; /* links re-enabled below */
}
.hero--cols-1 {
  .hero-overlay{
    position: absolute;
    left: 0; right: 0; bottom: 0;
    /* remove fixed height: let content dictate height */
    background: rgba(0,0,0,.42);
    min-height: 100%;
  }
}


.hero-col, .hero-grid { pointer-events: auto; }

/* Hero credit: small, unobtrusive, clickable */
.hero-credit{
  position: absolute;
  left: .5rem;
  bottom: .5rem;
  z-index: 2;
  font-size: .75rem;
  line-height: 1.3;
  color: #fff;
  opacity: .9;
  pointer-events: auto; /* ensure links are clickable */
}
.hero-credit a{
  color: inherit;
  text-decoration: underline;
}

.hero-col--single{
  min-width: 100%;
}



/* =======================================================================
   FOOTER (new structure)
   ======================================================================= */

/* keep your vertical spacing; also prevent float-collisions */
.site-footer{
  margin-top: 0px;
  clear: both;
  padding-bottom: 0;
}

.footer-main{
  margin-bottom:30px;
}

/* Row paddings */
.site-footer .footer-logo-row > .col-full { padding: 0; }
.site-footer .footer-main     > .col-full { padding: 0; }
.site-footer .footer-meta     > .col-full { padding: 0; }

/* Row 1: logo */
.footer-logo img{
  max-width: 495px;
  height: auto;
  display: block;
}
.footer-logo{ margin-bottom: 40px; }

/* Row 2: 4 columns */
.footer-grid{
  display: grid;
  grid-template-columns: 275px 200px 200px 1fr; /* cols 1–3 narrow, col 4 flex */
  gap: 20px;
  align-items: start;
}

/* Address */
.footer-address{
  margin: 0 0 20px 0;
  font-style: normal;   /* stop <address> italics */
  font-family: inherit; /* match site font */
  line-height: 1.4;
  white-space: pre-line;/* render \n as breaks, collapse extra spaces/tabs */
}

/* Legal menu */
.footer-legal-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.footer-legal-menu a{ text-decoration: none; }

/* Contact list */
.footer-contact{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.footer-contact a{ text-decoration: none; }

/* Socials */
.footer-socials{
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social img{
  width: 28px;
  height: 28px;
  display: block;
}

/* Row 3: company number line */
.footer-regline{
  margin: 0 0 30px 0;
  opacity: .9;
}

/* Row 4: copyright bar (Customizer colors) */
.footer-bottom{
  padding: 20px 0;
  background: var(--footer-bottom-bg, transparent);
  color: var(--footer-bottom-text, inherit);
}
.footer-bottom a{
  color: var(--footer-bottom-link, currentColor);
  text-decoration: underline;
}
.footer-bottom p{
  margin: 0;
  padding: 0;
  font-size: .875rem;
  line-height: 1.4;
}

/* Responsive footer */
@media (max-width: 991px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; }
  .site-footer .footer-logo-row > .col-full{ padding: 0; }
  .site-footer .footer-main     > .col-full{ padding: 0; }
  .site-footer .footer-meta     > .col-full{ padding: 0; }
  .footer-bottom{ text-align: center; }
}


/* Equal-height hero columns + bottom-aligned pills */
.row-hero .hero-grid{
  /* already grid; just be explicit */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;      /* both columns stretch to the tallest */
}

.row-hero .hero-col{
  display: flex;             /* stack content */
  flex-direction: column;
  min-height: 100%;          /* fill the grid track */
  padding-left: 0;
}

/* Normalize top spacing so headings line up neatly */
.row-hero .hero-col > :first-child{ margin-top: 0; }
.row-hero .hero-col h1,
.row-hero .hero-col h2,
.row-hero .hero-col h3{ margin: 0 0 .5rem 0; }

/* Push the CTA/pill to the bottom of each panel */
.row-hero .hero-cta{ margin-top: auto; }

/* Optional: keep pills aligned left inside each column */
.row-hero .hero-cta .btn-pill{ align-self: flex-start; }

/* Mobile: still fine when columns stack (pill sits at bottom of its panel) */
@media (max-width: 767px){
  .row-hero .hero-grid{ grid-template-columns: 1fr; }
}


/* Cards */

/* ===== Cards section (centered head, black pill CTA, bordered cards) ===== */
.row-cards{ padding-block: 2.5rem; }

/* Header area centered */
.cards-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.cards-title{ margin: 0; }
.cards-desc{ margin: 0; max-width: 80ch; }

/* Top CTA: black pill, white text, no border */
.cards-head__cta{ margin-top: .5rem; }
.cards-head__cta .btn-pill{
  background: #000;
  color: #fff;
  border: 0;
  padding: .6rem 1.2rem;
  text-decoration: none;
}
.cards-head__cta .btn-pill:hover,
.cards-head__cta .btn-pill:focus{
  background: #000;
  opacity: .5;
}

/* Grid variants (handled by PHP class cards-grid--cols-N) */
.cards-grid{
  display: grid;
  gap: 1.25rem;
}
.cards-grid--cols-1{ grid-template-columns: 1fr; }
@media (min-width: 768px){
  .cards-grid--cols-2{ grid-template-columns: repeat(2, 1fr); }
  .cards-grid--cols-3{ grid-template-columns: repeat(3, 1fr); }
}

/* Card: border, centered content, even vertical rhythm */
.card{
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* icon, title, flexible text, CTA */
  row-gap: .75rem;
  padding: 1.25rem;
  border: 1px solid #707070;
  border-radius: 14px;
  background: #fff;
  min-height: 100%;
  text-align: center;
}

/* Icon at top, centered */
.card-icon{
  width: 56px;
  height: 56px;
  object-fit: contain;
  justify-self: center;  /* center horizontally */
  align-self: start;
  display: block;
}

/* Title and text centered with clean spacing */
.card-title{ margin: .5rem 0 .35rem 0; }
.card-text{ margin: 0; }

/* Card visuals apply to both <a.card> and <article.card> */
.card{
  display: grid;
  grid-template-rows: auto auto 1fr; /* icon, title, flexible text */
  row-gap: .75rem;
  padding: 1.25rem;
  border: 1px solid #707070;
  border-radius: 14px;
  background: #fff;
  min-height: 100%;
  text-align: center;
  text-decoration: none; /* kill underline if it's an <a> */
  color: inherit;        /* inherit text color */
}

/* Make linked cards feel interactive + accessible */
.card--link{ cursor: pointer; }
.card--link:hover{ box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-1px); }
.card--link:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-color: currentColor;
}

/* Icon centered at top */
.card-icon{
  width: 56px; height: 56px;
  object-fit: contain;
  justify-self: center;
  align-self: start;
  display: block;
}

/* Tidy spacing */
.card-title{ margin: .5rem 0 .35rem 0; }
.card-text{ margin: 0; }


/* ===== Latest Auctions ===== */
.row-latest-auctions{ 
  padding-block: 2.5rem;
    h1, h2 {
    text-align: center; 
    margin-bottom:3.25rem;
  }
}

.latest-auctions-grid{
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;          /* mobile */
}
@media (min-width: 768px){
  .latest-auctions-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .latest-auctions-grid{ grid-template-columns: repeat(3, 1fr); }
}

.auction-card{
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  min-height: 100%;
}

.auction-thumb-link{ display:block; }
.auction-thumb{
  display:block;
  width:100%;
  height:330px;
  object-fit: cover;
}

.auction-body{
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem 1rem 1.1rem;
  .auction-title {
    font-size: 1rem;
    font-weight: bold;
  }
  .auction-desc {
    font-size: 0.875rem;
    color: #666;
  }
}

.auction-desc{ margin: 0; }
.auction-cta{ margin: .25rem 0 0 0; }

/* Black pill button (white text, no border) */
.btn-pill--black{
  background: #000!important;
  color: #fff !important;
  border: 0;
  padding: .6rem 1.2rem;
  border-radius: 9999px;
  line-height: 1.1;
  text-decoration: none;
  display: inline-block;
}
.btn-pill--black:hover,
.btn-pill--black:focus{
  background: #000;
  opacity: .5;
}




.latest-auctions-empty{
  text-align: center;
  padding: 2.5rem 0;
}
.latest-auctions-empty h2{ margin: 0 0 .75rem 0; }
.latest-auctions-empty__cta .btn-pill--black{ margin-top: .25rem; }


/* ===== Linear Rows ===== */
.row-linear{
  padding: 2.25rem 0;
  /* background + color are inline from ACF */
}
.row-linear a{ color: inherit; }

.linear-title{
  text-align: center;
  margin: 0 0 3.5rem 0;
  color: inherit; /* follows text_colour */
}

.linear-grid{
  display: grid;
  gap: 1.25rem;
}

/* Content card inside each grid item */
.linear-card{
  background: transparent;   /* inherits section bg */
  color: inherit;
  text-align: center;
}
.linear-icon{
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto .5rem auto;
  color: var(--currentColor);
}
.linear-card__title{
  margin: .25rem 0 .25rem 0;
}
.linear-card__desc{
  margin: 0;
}

/* Transition images */
.linear-transition{
  width: 100px;
  height: auto;
  display: block;
  object-fit: contain;
  margin: calc(50%/2) auto;        /* center in its grid cell */
}


 

/* Five-row layout vs single-row (all middle) — already set via inline grid-template-rows,
   these are just semantic hooks if you want special tweaks later. */
.linear-grid--five-rows {}
.linear-grid--one-row {}

/* Responsive: let columns wrap down on smaller screens */
@media (max-width: 1024px){
  .linear-grid{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 640px){
  .linear-grid{ grid-template-columns: 1fr !important; }
}

/* Full-width photo inside the linear card */
.linear-photo{
  display: block;
  width: 100%;
  height: 175px;
  border-radius: 15px;
  object-fit: cover;;
}

/* Icon sizing variants (default var = 150px) */
.linear-icon{
  --linear-icon-size: 150px;
  width: var(--linear-icon-size);
  height: var(--linear-icon-size);
  object-fit: contain;
  display: block;
  margin-bottom: .5rem; /* space before title */
}

/* Explicit sizes */
.linear-icon--lg{  --linear-icon-size: 150px; } /* your current standard */
.linear-icon--xl{  --linear-icon-size: 220px; } /* “bigger” option */

/* Keep your existing transition image size rules intact */
.linear-transition{
  width: 100px;
  height: 100px;
  object-fit: cover;     /* square crop */
  border-radius: 8px;    /* or keep your previous radius */
  display: block;
}

.linear-card__title{
  color: currentColor;
}

/* Transition icon recolor via CSS mask (SVG only) */
.linear-transition--mask{
  width: 100px;
  height: 100px;
  display: block;
  background: currentColor;                 /* ← inherits section text colour */
  -webkit-mask: var(--tr-icon) no-repeat center / contain;
          mask: var(--tr-icon) no-repeat center / contain;
  border-radius: 8px;                        /* keep your look */
}

.linear-icon--mask{
  width: var(--linear-icon-size, 150px);
  height: var(--linear-icon-size, 150px);
  background: currentColor;
  -webkit-mask: var(--icon-src) no-repeat center / contain;
          mask: var(--icon-src) no-repeat center / contain;
  display: block;
}



/*=== Two-column blocks ===*/
.row-two-cols { padding: 1.25rem 0; }
.row-two-cols__title { margin: 0 0 1rem 0; }
.row-two-cols__title.align-left   { text-align: left; }
.row-two-cols__title.align-center { text-align: center; }
.row-two-cols__title.align-right  { text-align: right; }

/* Each row gets full-bleed background via wrapper; content is clamped by .col-full */
.two-col-row { padding: 1.25rem 0; }

/* Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.two-col-grid.two-col-grid--single {
  grid-template-columns: 1fr;      /* no image → single column */
}

/* Text alignment inside the text column */
.two-col-text.text-left   { text-align: left; }
.two-col-text.text-center { text-align: center; }
.two-col-text.text-right  { text-align: right; }

.two-col-text__title { margin: 0 0 .5rem 0; }
.two-col-text__desc  { margin: 0; }

/* Image */
.two-col-image { margin: 0; }
.two-col-image__img {
  display: block;
  width: 396px;
  height: 264px;
  object-fit: cover;
  border-radius: 20px;
}

.linear-item--transition { max-width: 100px; width:100px; display: flex; justify-content: center; height: 150px;}
.linear-item--transition .linear-transition { width: 100%; height: auto; max-width: 100px;} /*position: relative; bottom: 18% !important;*/

.linear-card__title { margin: 1rem 0 1rem; }




/* Responsive */
@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr; }
}


/* ===================================================================
   Contact Form (scoped) — colors come from ACF via inline CSS vars
   =================================================================== */
.cf7-section,
.row-contact {
  padding: 2.5rem 0;
  background: var(--cf-bg, transparent);
  color: var(--cf-color, inherit);
}
.cf7-section a,
.row-contact a { color: currentColor; }

/* Head */
.cf7-head { text-align: center; margin-bottom: 1rem; }
.cf7-title { color: currentColor; margin: 0 0 .35rem; }
.cf7-sub   { margin: 0; }

/* Grid */
.cf7-grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: 1fr 1fr;
}
.cf7-field { display: flex; flex-direction: column; gap: .4rem; }
.cf7-col--full,
.cf7-field--full,
.cf7-span-2 { grid-column: 1 / -1; }

@media (max-width: 767px){
  .cf7-grid { grid-template-columns: 1fr; }
}

/* Inputs */
.cf7-input,
.cf7-select,
.cf7-textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  line-height: 1.2;
  color: #000 !important;
}

.cf7-textarea { min-height: 140px; resize: vertical; }
.cf7-section option { color: #000 !important; } /* ensure select options readable */

/* Pill buttons (transparent bg, colored by currentColor) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border: 2px solid currentColor;
  border-radius: 9999px;
  background: transparent;
  color: currentColor;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}
.btn-pill:hover,
.btn-pill:focus { opacity: .5; }

/* Actions */
.cf7-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.cf7-actions--split { justify-content: space-between; }

/* Upload: visually-hidden native input, label acts as trigger */
.cf7-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.cf7-upload .cf7-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.cf7-upload__hint { display: block; margin-top: .5rem; opacity: .8; }

/* Terms / legal */
.cf7-terms a { text-decoration: underline; }

/* Multi-step visibility */
.cf7-steps .cf7-step { display: none; }
.cf7-steps .cf7-step.is-active { display: block; }

/* CF7 status messages: keep visible on dark backgrounds */
.cf7-section .wpcf7 form .wpcf7-response-output { border-color: currentColor; }

/* Optional page layout tweak */
.content-area { margin-bottom: 0 !important; }


/* If CF7/WordPress injects a <p> around your buttons */
.cf7-actions--split > p{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  margin:0;
}
.cf7-actions--split > p > br{ display:none; } /* if a <br> sneaks in */

/* 1) Don’t stretch grid items; let them hug content */
.cf7-grid{
  align-items: start;        /* stop stretching */
}

/* 2) Kill the auto <p> spacing inside your columns */
.cf7-col > p{
  margin: 0;
}
.cf7-col > p > br{ display:none; }  /* CF7 sometimes injects <br> */

/* 3) Make labels behave like block rows (no extra margin) */
.cf7-col label{
  display: block;
  margin: 0;
}

/* 4) If you gave .cf7-col any background/padding for styling,
   put that on inner elements instead so the column itself
   doesn’t make the row look “tall”. */



/* ========== Marketplace ========== */

/* Breadcrumbs */
.market-breadcrumb {
  padding: 1rem 0 .5rem;
}


.market-breadcrumb ol {
  display:flex; flex-wrap:wrap; gap:.5rem;
  list-style:none; margin:0; padding:0;
}
.market-breadcrumb li { display:flex; align-items:center; gap:.5rem; }
.market-breadcrumb li+li::before { content: "/"; opacity:.6; }

/* Filter bar (inside 1500px col) */
.market-filterbar{
  background:#f3f3f3;
  border-radius: 14px;
  padding: 1rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items:end;
}
.market-filter{ display:flex; flex-direction:column; gap:.35rem; }
.market-filter__label{ font-size:.95rem; opacity:.85; }

/* Styled select w/ down triangle */
.market-select{
  width:100%;
  padding:.7rem .9rem;
  border:1px solid #e3e3e3;
  border-radius:8px;
  background:#fff;
  line-height:1.2;
  color:#000;
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 10px) calc(50% - 3px),
    right 10px center;
  background-size: 6px 6px, 6px 6px, 1px 1px;
  background-repeat: no-repeat;
}

/* Heading & category description */
.market-heading { margin: 1.25rem 0 .5rem; }
.market-catdesc { margin: 0 0 1.25rem; }

/* Product grid: 4-up on desktop */
.market-grid{
  display:grid;
  gap:1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px){
  .market-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px){
  .market-grid{ grid-template-columns: repeat(4, 1fr); }
}

/* Card */
.row-market{
  margin: 1.25rem 0 2rem 0;
}
.market-card{
  display:flex; flex-direction:column;
  border:1px solid #e6e6e6;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  min-height:100%;
}
.market-card__thumb img{   
  display: block;
  width: 100%;
  height: 150px;      
  object-fit: cover; 
}
.market-card__body{ display:flex; flex-direction:column; gap:.6rem; padding:1rem 1rem 1.1rem; }
.market-card__title{ margin:0; font-size:1rem; font-weight: bold; }
.market-card__meta{ font-size:.7473rem; color:#666; }
.market-card__excerpt p{ margin:.25rem 0 0; font-size: .85rem; }
.market-card__cta{ margin:.25rem 0 0; }

/* Pagination (dots + triangles) */
.market-pager { margin: 1.25rem 0 0; }
.market-pager ul{
  list-style:none; padding:0; margin:0;
  display:flex; gap:.4rem; flex-wrap:wrap; align-items:center;
}
.market-pager a,
.market-pager span{
  display:inline-flex; justify-content:center; align-items:center;
  min-width: 2rem; height: 2rem;
  border-radius: 9999px;
  text-decoration:none;
  border:1px solid #ddd;
  padding: 0 .5rem;
}
.market-pager .pager-dot{ border:1px solid #ddd; }
.market-pager .is-current{
  background:#000; color:#fff; border-color:#000;
}
.market-pager .pager-first,
.market-pager .pager-prev,
.market-pager .pager-next,
.market-pager .pager-last{
  font-weight:600;
}
.market-empty{ opacity:.8; }

/* Unify CF7 submit with the pill look, scoped per form section */
.cf7-section .wpcf7 form .wpcf7-submit.btn-pill,
.row-contact .wpcf7 form .wpcf7-submit.btn-pill,
.cf7-section input[type="submit"].btn-pill,
.row-contact input[type="submit"].btn-pill {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  border: 2px solid currentColor !important;
  border-radius: 9999px;
  background: transparent !important;
  color: currentColor !important;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.cf7-section .wpcf7-submit.btn-pill:hover,
.row-contact .wpcf7-submit.btn-pill:hover,
.cf7-section .wpcf7-submit.btn-pill:focus,
.row-contact .wpcf7-submit.btn-pill:focus,
.cf7-upload.btn-pill:hover {
  opacity: .5;
  outline: none;
}

/* If you still have an older “black pill” override, neutralize it */
.row-contact .wpcf7-submit {
  background: transparent !important;
  color: currentColor !important;
  border: 2px solid currentColor !important;
}

/* Smoothen the change */
.row-contact .wpcf7-submit.btn-pill,
.cf7-section .wpcf7-submit.btn-pill{
  transition: background-color .2s ease, opacity .2s ease, border-color .2s ease;
}

/* Optional fallback if color-mix isn't supported */
@supports not (background-color: color-mix(in srgb, currentColor 14%, transparent)) {
  .row-contact .wpcf7-submit.btn-pill:hover,
  .row-contact .wpcf7-submit.btn-pill:focus-visible,
  .cf7-section .wpcf7-submit.btn-pill:hover,
  .cf7-section .wpcf7-submit.btn-pill:focus-visible{
    box-shadow: inset 0 0 0 9999px rgba(0,0,0,.9); /* subtle fallback */
  }
}


/* ==== Single product layout ==== */
.suseq-product-top { padding: 1rem 0 0; }
.woocommerce-breadcrumb { margin: .25rem 0 1rem; }

.suseq-product-hero { padding: 1.25rem 0 2rem; }
.suseq-product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr; /* gallery a touch wider */
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px){
  .suseq-product-grid { grid-template-columns: 1fr; }
}

/* Summary */
.suseq-product-summary .product_title { margin: 0 0 .25rem; }
.suseq-sku { margin: 0 0 .75rem; opacity: .9; }
.suseq-short { margin: 0 0 1rem; }

/* Details grid (2 rows x 3 cols, auto-compacts) */
.suseq-details { margin: 1rem 0 1.25rem; }
.suseq-details__title { margin: 0 0 .5rem; }
.suseq-details__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .5rem .75rem;
  margin-bottom: .35rem;
}
.suseq-details__cell { display: grid; gap: .15rem; }
.suseq-details__cell .k { font-weight: 600; font-size: .95rem; }
.suseq-details__cell .v { font-size: 1rem; }

/* CTAs */
.suseq-ctas { margin-top: 1rem; }

/* Row 2 grid */
.suseq-product-body { padding: 1rem 0 2rem; }
.suseq-body-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}
@media (max-width: 900px){
  .suseq-body-grid { grid-template-columns: 1fr; }
}
.suseq-body-title { margin: 0 0 .5rem; }
.suseq-longdesc { margin: 0 0 1rem; }

.suseq-acf-list h3 { margin: 0 0 .5rem; }
.suseq-specs { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.suseq-contact-hint { margin: .25rem 0 0; }

/* Docs list (right column) */
.suseq-docs-title { margin: 0 0 .5rem; }
.suseq-docs-type { margin: .75rem 0 .25rem; }
.suseq-docs-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.suseq-doc {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}
.suseq-doc__link { display: grid; grid-template-columns: 40px 1fr; gap: .75rem; align-items: center; padding: .75rem .9rem; text-decoration: none; color: inherit; }
.suseq-doc__icon {
  width: 32px; height: 32px; display: block; background: currentColor; opacity: .85; border-radius: 6px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0v6h6'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23fff' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm0 0v6h6'/></svg>") no-repeat center / contain;
}
.suseq-doc__name { font-weight: 600; display: block; }
.suseq-doc__desc { margin: .15rem 0 0; opacity: .9; }

/* Row 3: Similar listings (reuses your latest-auctions styles) */
.suseq-similar { padding: 1rem 0 2rem; }
.suseq-similar__title { margin: 0 0 .75rem; }

/* Keep Woo gallery thumbs beneath main image (if your theme stacks differently) */
.woocommerce-product-gallery { --thumb-gap: .5rem; }


/* Main gallery image should fill its grid column */
.suseq-product-gallery,
.suseq-product-gallery .woocommerce-product-gallery,
.suseq-product-gallery .woocommerce-product-gallery__wrapper,
.suseq-product-gallery .woocommerce-product-gallery__image {
  width: 100%;
}
.suseq-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Make the thumbnail strip a compact, full-width grid under the main image */
.woocommerce-product-gallery .flex-control-thumbs,
.woocommerce-product-gallery ol.flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr); /* matches the PHP filter above */
  gap: .5rem;                             /* tighter spacing; tweak as needed */
  margin: .75rem 0 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
@media (max-width: 600px){
  .woocommerce-product-gallery .flex-control-thumbs,
  .woocommerce-product-gallery ol.flex-control-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
  }
}

/* Remove default float/width/margins Woo/Storefront might apply */
.woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}

/* Thumbs fill their grid cells and look crisp */
.woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;     /* keeps them square even before load */
  object-fit: cover;
  border-radius: 12px;     /* optional, matches your cards */
}

/* Optional hover focus for thumbs */
.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* If your theme sets a max-width on the gallery, remove it */
.suseq-product-gallery .woocommerce-product-gallery { max-width: none; }

.storefront-full-width-content.single-product div.product .woocommerce-product-gallery{
	width: 100%!important;
}

/* Remove any bullets/numbers/pseudo-icons on Woo gallery thumbnails */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs,
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill theme-injected markers/icons */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li::before,
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li::after,
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li::marker {
  content: none !important;
  display: none !important;
}

/* Extra belt-and-braces in case Storefront targets more globally */
.suseq-product-hero ol.flex-control-thumbs li::before,
.single-product ol.flex-control-thumbs li::before {
  content: none !important;
  display: none !important;
}

.entry-content .suseq-product-hero ol.flex-control-thumbs li::before {
  content: none !important;
  display: none !important;
}

/* 1) Nuke any pseudo elements on the thumbnail list itself */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs::before,
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs::after {
  content: none !important;
  display: none !important;
}

/* 2) Use a clean grid for thumbs (no floats/margins from theme) */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* set your count */
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* 3) Remove float/width/margins some themes apply to each LI */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  list-style: none !important;
}

/* 4) Make thumbs fill their cell neatly */
.suseq-product-hero .woocommerce-product-gallery ol.flex-control-thumbs li img{
  display: block;
  width: 100%;
  height: 150px;      
  object-fit: cover;
}

/* === Active menu item = orange === */
:root {
  --nav-active: #ff7a00; /* tweak to your brand orange */
}

/* Current item (WP adds several classes depending on context) */
.site-header .main-navigation .menu > li.current-menu-item   > a,
.site-header .main-navigation .menu > li.current_page_item   > a,
.site-header .main-navigation .menu > li.current-menu-parent > a,
.site-header .main-navigation .menu > li.current_page_parent > a,
.site-header .main-navigation .menu > li.current-menu-ancestor > a {
  color: var(--nav-active);
}

/* Make sure the “Home” icon inherits the orange when active */
.site-header .main-navigation .menu > li.is-home.current-menu-item > a {
  color: var(--nav-active);
}

/* Marketplace pill: border & hover tint when active */
.site-header .main-navigation .menu > li.is-marketplace.current-menu-item > a {
  color: var(--nav-active);
  border-color: var(--nav-active);
  background: rgba(255, 122, 0, .08); /* light orange tint */
}

/* Optional: same tint on hover/focus of the active item */
.site-header .main-navigation .menu > li.current-menu-item > a:hover,
.site-header .main-navigation .menu > li.current-menu-item > a:focus {
  opacity: .95;
}


/* Hi-DPI + compact viewport (e.g., Surface at 200%) */
@media (min-resolution: 2dppx) and (max-width: 1400px) and (max-height: 950px) and (orientation:landscape) {
  /* Let hero grow with content instead of forcing a fixed height */
  .header-bar {
    width: 92vw;
  }
  .row-hero { 
    padding-block: 2rem; 
  }


  /* If hero has two columns, stack them so content doesn’t overflow 
  .row-hero.hero--cols-2 .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }*/

  /* Tighter, fluid type so headings don’t push the CTA offscreen */
  .row-hero .hero-col h2 {
    font-size: xx-small;
    line-height: 1.2;
    margin: 0 0 .6rem 0;
  }
  .row-hero .hero-copy p {
    font-size: xx-small;
    margin: .5rem 0;
  }
  .row-hero .btn-pill {
    padding: .55rem 1.1rem;
    font-size: xx-small;
  }

  /* Keep media sane height-wise; avoid pushing overlay off the bottom */
  .row-hero .hero-media img,
  .row-hero .hero-media video {

    width: 100%;
    max-height: calc(100vh - 133px); /* leave room for text + CTA */
    height: auto;
    object-fit: cover;
  }

  .hero-credit{ 
    position: absolute;
    font-size: xx-small;
    bottom: .1rem; right: .1rem;
    width: max-content;
  }

  .cards-grid{
    gap: 2.25rem;
  }
}

/* Extra guard for short viewports in general */
@media (max-height: 800px){
  .row-hero { padding-block: 2rem; }
}
/* ===== Mobile header (>320 and <366px) ===== */

@media (min-width:320px) and (max-width:366px) and (orientation:portrait) {

  /* Header row */
  .header-bar{ padding: 10px 0; }
  .header-bar > .col-full{
    display:flex;
    align-items:center;
    justify-content:space-between!important;
    flex-wrap: wrap;              /* let nav drop below */
  }

  
  .site-header .site-branding img.custom-logo{
    padding-top: 10px;
    max-width: 55vw;
    width: 55vw;                  /* scales nicely on 300 to 480px */
    height:auto;
    display:block;
  }

  /* Clean hamburger button */
  .menu-toggle{
    order: 2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px; height:44px;
    margin-top:6px;
    padding:0;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:#fff;                   /* or 'inherit' */
    cursor:pointer;
  }

  /* Nuke any theme glyphs */
  .menu-toggle::before,
  .menu-toggle::after{ content:none !important;}

  button.menu-toggle::before, button.menu-toggle::after, button.menu-toggle span::before{
    left: -.925em!important;
  }

  /* Base burger icon */
.menu-toggle .burger {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
}

.menu-toggle .burger > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* Top, middle and bottom bars */
.menu-toggle .burger > span:nth-child(1) { top: 0; }
.menu-toggle .burger > span:nth-child(2) { top: 8px; }
.menu-toggle .burger > span:nth-child(3) { bottom: 0; }

/* Transform to an X when menu is open */
.menu-toggle.is-open .burger > span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.menu-toggle.is-open .burger > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .burger > span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Remove any ::before/::after rules or box-shadow from earlier attempts */
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: none !important;
}

  /* Nav below logo+burger, hidden by default, animated open */
  #site-navigation{
    order: 3;
    width:100%;
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .32s ease;
  }
  #site-navigation.is-open{
    max-height:70vh;              /* enough to show menu items */
    opacity:1;
    transform: translateY(0);
  }
  #site-navigation .menu{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    padding:.75rem 0;
  }


  /* == HERO == */
  .hero--cols-2 {
      min-height: calc(115vh - 133px) !important;
  }

  .hero-video, .hero-media img{
    max-height:38%;
  }

  .hero--cols-1{
    p{
      font-size: small;
    }
    h2{
      font-size: medium;
    }
  }
  
  .hero--cols-2 {
  
   .hero-overlay {
      top:40%;
      height: fit-content;
      background: none;
      .hero-overlay__inner {
        padding: 0
      }
    }
  }

  .hero--cols-2 .hero-overlay .hero-copy .hero-grid {
    display: flow;
    
    p{
      font-size: smaller;
    }

    .hero-col{
       color: black!important;
       padding-top: 20px;
       padding-bottom: 20px;
       max-width: 100%!important;
       padding-right:0;
    }
    h2{
      color: black!important;
      font-size: smaller;
    }
    .hero-cta{
      width: 100%;
      text-align: center;
      .btn-pill{
        font-size: small;
      }
    }
  }

    /* 2 cols */

  .row-two-cols__title.align-left, .row-two-cols__title.align-right{
    text-align: center!important;
  }
  .two-col-text.text-left, .two-col-text.text-right{
    text-align: center!important;
  }

  .two-col-image__img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }


  /* cards section */
  .row-cards{
    margin: 25px 0;
    padding: 0;
    .btn-pill{
      margin: 0 0 30px 0;
    }
  }

  /* Latest Auctions */
  .row-latest-auctions{
    padding: 25px 0;
  }
  .linear-card{
    padding-bottom: 25px;
  }

  /* Linear Columns - Stacked */
    /* Stack the linear rows into a single column */
  .linear-grid--one-row {
    grid-template-columns: 1fr !important;
  }

  /* Center the transition column and rotate the arrow to point down */
  .linear-item--transition {
    display:flex;
    justify-content:center;
    padding:0.5rem 0;      /* add a bit of space above and below */
  }
  .linear-item--transition .linear-transition {
    transform: rotate(90deg);
  }

    /* Force all linear grids into one column, overriding inline styles */
  .row-linear .linear-grid {
    display: flow;
    place-content: center;
  }

  /* Center the transition column and rotate the arrow downwards */
  .row-linear .linear-item--transition {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    max-width: 100%!important;
    width: 100%!important;
  }
  .row-linear .linear-item--transition .linear-transition {
    transform: rotate(90deg);
    margin:0;
  }

  /* Footer */
  .footer-logo img{
    max-width: 70vw;
    width: 70vw;
    height:auto;
    display:block;
    margin: 0 auto;
  }
}
/* ===== Mobile header (>367 and <535px) ===== */

@media (min-width:367px) and (max-width:535px) and (orientation:portrait) {

  /* Header row */
  .header-bar{ padding: 10px 0; }
  .header-bar > .col-full{
    display:flex;
    align-items:center;
    justify-content:space-between!important;
    flex-wrap: wrap;              /* let nav drop below */
  }

  
  .site-header .site-branding img.custom-logo{
    padding-top: 10px;
    max-width: 55vw;
    width: 55vw;                  /* scales nicely on 300 to 480px */
    height:auto;
    display:block;
  }

  /* Clean hamburger button */
  .menu-toggle{
    order: 2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px; height:44px;
    margin-top:6px;
    padding:0;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:#fff;                   /* or 'inherit' */
    cursor:pointer;
  }

  /* Nuke any theme glyphs */
  .menu-toggle::before,
  .menu-toggle::after{ content:none !important;}

  button.menu-toggle::before, button.menu-toggle::after, button.menu-toggle span::before{
    left: -.925em!important;
  }

  /* Base burger icon */
.menu-toggle .burger {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
}

.menu-toggle .burger > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* Top, middle and bottom bars */
.menu-toggle .burger > span:nth-child(1) { top: 0; }
.menu-toggle .burger > span:nth-child(2) { top: 8px; }
.menu-toggle .burger > span:nth-child(3) { bottom: 0; }

/* Transform to an X when menu is open */
.menu-toggle.is-open .burger > span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.menu-toggle.is-open .burger > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .burger > span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Remove any ::before/::after rules or box-shadow from earlier attempts */
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: none !important;
}

  /* Nav below logo+burger, hidden by default, animated open */
  #site-navigation{
    order: 3;
    width:100%;
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .32s ease;
  }
  #site-navigation.is-open{
    max-height:70vh;              /* enough to show menu items */
    opacity:1;
    transform: translateY(0);
  }
  #site-navigation .menu{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    padding:.75rem 0;
  }


  /* == HERO == */


  .hero-video, .hero-media img{
    max-height:38%;
  }
  
  .hero--cols-2 {
  
   .hero-overlay {
      top:40%;
      height: fit-content;
      background: none;
      .hero-overlay__inner {
        padding: 0
      }
    }
  }

  .hero--cols-1{
    p {
      font-size: small;
    }
    h2 {
      font-size: medium;
    }
  }

  .hero--cols-2 .hero-overlay .hero-copy .hero-grid {
    display: flow;
    
    p{
      font-size: smaller;
    }

    .hero-col{
       color: black!important;
       padding-top: 20px;
       padding-bottom: 20px;
       max-width: 100%!important;
       padding-right:0;
    }
    h2{
      color: black!important;
      font-size: smaller;
    }
    .hero-cta{
      width: 100%;
      text-align: center;
      .btn-pill{
        font-size: small;
      }
    }
  }

    /* 2 cols */

  .row-two-cols__title.align-left, .row-two-cols__title.align-right{
    text-align: center!important;
  }
  .two-col-text.text-left, .two-col-text.text-right{
    text-align: center!important;
  }

  .two-col-image__img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }


  /* cards section */
  .row-cards{
    margin: 25px 0;
    padding: 0;
    .btn-pill{
      margin: 0 0 30px 0;
    }
  }

  /* Latest Auctions */
  .row-latest-auctions{
    padding: 25px 0;
  }
  .linear-card{
    padding-bottom: 25px;
  }

  /* Linear Columns - Stacked */
    /* Stack the linear rows into a single column */
  .linear-grid--one-row {
    grid-template-columns: 1fr !important;
  }

  /* Center the transition column and rotate the arrow to point down */
  .linear-item--transition {
    display:flex;
    justify-content:center;
    padding:0.5rem 0;      /* add a bit of space above and below */
  }
  .linear-item--transition .linear-transition {
    transform: rotate(90deg);
  }

    /* Force all linear grids into one column, overriding inline styles */
  .row-linear .linear-grid {
    display: flow;
    place-content: center;
  }

  /* Center the transition column and rotate the arrow downwards */
  .row-linear .linear-item--transition {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    max-width: 100%!important;
    width: 100%!important;
  }
  .row-linear .linear-item--transition .linear-transition {
    transform: rotate(90deg);
    margin:0;
  }

  /* Footer */
  .footer-logo img{
    max-width: 70vw;
    width: 70vw;
    height:auto;
    display:block;
    margin: 0 auto;
  }
}

/* ===== (>535px and <900) ===== */

@media (min-width:535px) and (max-width:900px) and (orientation:portrait) {

  /* Header row */
  .header-bar{ padding: 10px 0; }
  .header-bar > .col-full{
    display:flex;
    align-items:center;
    justify-content:space-between!important;
    flex-wrap: wrap;              /* let nav drop below */
  }

  
  .site-header .site-branding img.custom-logo{
    padding-top: 10px;
    width: 40vw;                  /* scales nicely on 300 to 480px */
    height:auto;
    display:block;
  }

  /* Clean hamburger button */
  .menu-toggle{
    order: 2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px; height:44px;
    margin-top:6px;
    padding:0;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:#fff;                   /* or 'inherit' */
    cursor:pointer;
  }

  /* Nuke any theme glyphs */
  .menu-toggle::before,
  .menu-toggle::after{ content:none !important;}

  button.menu-toggle::before, button.menu-toggle::after, button.menu-toggle span::before{
    left: -.925em!important;
  }

  /* Base burger icon */
.menu-toggle .burger {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
}

.menu-toggle .burger > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* Top, middle and bottom bars */
.menu-toggle .burger > span:nth-child(1) { top: 0; }
.menu-toggle .burger > span:nth-child(2) { top: 8px; }
.menu-toggle .burger > span:nth-child(3) { bottom: 0; }

/* Transform to an X when menu is open */
.menu-toggle.is-open .burger > span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.menu-toggle.is-open .burger > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .burger > span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Remove any ::before/::after rules or box-shadow from earlier attempts */
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: none !important;
}

  /* Nav below logo+burger, hidden by default, animated open */
  #site-navigation{
    order: 3;
    width:100%;
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .32s ease;
  }
  #site-navigation.is-open{
    max-height:70vh;              /* enough to show menu items */
    opacity:1;
    transform: translateY(0);
  }
  #site-navigation .menu{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    padding:.75rem 0;
  }


  /* == HERO == */
  .row-hero.hero--cols-2{
    min-height:120vh!important;
  }

  .hero-video, .hero-media img{
    max-height:60%;
  }
  
  .hero--cols-2 {
  
   .hero-overlay {
      top:63%;
      height: fit-content;
      background: none;
      .hero-overlay__inner {
        padding: 0
      }
    }
  }

  .hero--cols-2 .hero-overlay .hero-copy .hero-grid {
    display: flow;
    
    p{
      font-size: small;
    }

    .hero-col{
       color: black!important;
       padding-top: 20px;
       padding-bottom: 20px;
       max-width: 100%!important;
       padding-right:0;
    }
    h2{
      color: black!important;
      font-size: medium;
    }
    .hero-cta{
      width: 100%;
      text-align: center;
      .btn-pill{
        font-size: small;
      }
    }
  }

  /* 2 cols */

  .row-two-cols__title.align-left, .row-two-cols__title.align-right{
    text-align: center!important;
  }
  .two-col-text.text-left, .two-col-text.text-right{
    text-align: center!important;
  }

  .two-col-image__img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  

  /* cards section */
  .row-cards{
    margin:25px 0;
    padding: 0;
    .btn-pill{
      margin-bottom: 30px;
    }
  }

  /* Latest Auctions */
  .row-latest-auctions{
    padding: 25px 0;
  }
  .linear-card{
    padding-bottom: 25px;
  }

  /* Linear Columns - Stacked */
    /* Stack the linear rows into a single column */
  .linear-grid--one-row {
    grid-template-columns: 1fr !important;
  }

  /* Center the transition column and rotate the arrow to point down */
  .linear-item--transition {
    display:flex;
    justify-content:center;
    padding:0.5rem 0;      /* add a bit of space above and below */
  }
  .linear-item--transition .linear-transition {
    transform: rotate(90deg);
  }

    /* Force all linear grids into one column, overriding inline styles */
  .row-linear .linear-grid {
    display: flow;
    place-content: center;
  }

  /* Center the transition column and rotate the arrow downwards */
  .row-linear .linear-item--transition {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    max-width: 100%!important;
    width: 100%!important;
  }
  .row-linear .linear-item--transition .linear-transition {
    transform: rotate(90deg);
    margin:0;
  }

  /* Footer */
  .footer-logo img{
    max-width: 70vw;
    width: 70vw;
    height:auto;
    display:block;
    margin: 0 auto;
  }
}

/* ===== (>901px and <1185) ===== */

@media (min-width:901px) and (max-width:1185px) and (orientation:portrait) {

  /* Header row */
  .header-bar{ padding: 10px 0; }
  .header-bar > .col-full{
    display:flex;
    align-items:center;
    justify-content:space-between!important;
    flex-wrap: wrap;              /* let nav drop below */
  }

  
  .site-header .site-branding img.custom-logo{
    padding-top: 10px;
    width: 40vw;                  /* scales nicely on 300 to 480px */
    height:auto;
    display:block;
  }

  /* Clean hamburger button */
  .menu-toggle{
    order: 2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px; height:44px;
    margin-top:6px;
    padding:0;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    color:#fff;                   /* or 'inherit' */
    cursor:pointer;
  }

  /* Nuke any theme glyphs */
  .menu-toggle::before,
  .menu-toggle::after{ content:none !important;}

  button.menu-toggle::before, button.menu-toggle::after, button.menu-toggle span::before{
    left: -.925em!important;
  }

  /* Base burger icon */
.menu-toggle .burger {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
}

.menu-toggle .burger > span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}

/* Top, middle and bottom bars */
.menu-toggle .burger > span:nth-child(1) { top: 0; }
.menu-toggle .burger > span:nth-child(2) { top: 8px; }
.menu-toggle .burger > span:nth-child(3) { bottom: 0; }

/* Transform to an X when menu is open */
.menu-toggle.is-open .burger > span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.menu-toggle.is-open .burger > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .burger > span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Remove any ::before/::after rules or box-shadow from earlier attempts */
.menu-toggle .burger::before,
.menu-toggle .burger::after {
  content: none !important;
}

  /* Nav below logo+burger, hidden by default, animated open */
  #site-navigation{
    order: 3;
    width:100%;
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .32s ease, opacity .22s ease, transform .32s ease;
  }
  #site-navigation.is-open{
    max-height:70vh;              /* enough to show menu items */
    opacity:1;
    transform: translateY(0);
  }
  #site-navigation .menu{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    padding:.75rem 0;
  }


  /* == HERO == */
  .row-hero.hero--cols-2{
    min-height:100vh!important;
  }

  .hero-video, .hero-media img{
    max-height:60%;
  }
  
  .hero--cols-2 {
  
   .hero-overlay {
      top:63%;
      height: fit-content;
      background: none;
      .hero-overlay__inner {
        padding: 0
      }
    }
  }

  .hero--cols-2 .hero-overlay .hero-copy .hero-grid {
    display: flow;
    
    p{
      font-size: small;
    }

    .hero-col{
       color: black!important;
       padding-top: 20px;
       padding-bottom: 20px;
       max-width: 100%!important;
       padding-right:0;
    }
    h2{
      color: black!important;
      font-size: medium;
    }
    .hero-cta{
      width: 100%;
      text-align: center;
      .btn-pill{
        font-size: medium;
      }
    }
  }

  

  /* cards section */
  .row-cards{
    margin:25px 0;
    padding: 0;
    .btn-pill{
      margin-bottom: 30px;
    }
  }

  /* Latest Auctions */
  .row-latest-auctions{
    padding: 25px 0;
  }
  .linear-card{
    padding-bottom: 25px;
  }

  /* Linear Columns - Stacked */
    /* Stack the linear rows into a single column */
  .linear-grid--one-row {
    grid-template-columns: 1fr !important;
  }

  /* Center the transition column and rotate the arrow to point down */
  .linear-item--transition {
    display:flex;
    justify-content:center;
    padding:0.5rem 0;      /* add a bit of space above and below */
  }
  .linear-item--transition .linear-transition {
    transform: rotate(90deg);
  }

    /* Force all linear grids into one column, overriding inline styles */
  .row-linear .linear-grid {
    display: flow;
    place-content: center;
  }

  /* Center the transition column and rotate the arrow downwards */
  .row-linear .linear-item--transition {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    max-width: 100%!important;
    width: 100%!important;
  }
  .row-linear .linear-item--transition .linear-transition {
    transform: rotate(90deg);
    margin:0;
  }

  /* Footer */
  .footer-logo img{
    max-width: 70vw;
    width: 70vw;
    height:auto;
    display:block;
    margin: 0 auto;
  }
}

/* Hide burger on desktop */
@media (min-width:1186px){
  .menu-toggle{ display:none; }
}

/* Default Template: fixed 50px horizontal padding on main content */
.page-template-default #content.site-content {
  padding-left: 50px;
  padding-right: 50px;
}