/* =========================================================
   ABOUT PAGE – layout & polish
   ========================================================= */

/* Wrapper – reuse global page width but keep it explicit */
.about-page{
  max-width: 900px;
  margin: 0 auto 4rem;
  box-sizing: border-box;
}

/* Name under the main page title */
.about-name{
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  font-weight: 600;
}

/* Opening paragraph – gentle emphasis */
.lede{
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Section headings – a bit more breathing room */
.about-page h2{
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

/* At a glance box – tidy the list */
.about-glance ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-glance li + li{
  margin-top: 0.35rem;
}

/* CTA at the bottom of the About page */
.about-page .hero-actions{
  margin-top: 2rem;
  text-align: left;
}

/* Global: prevent width + padding overflow on mobile */
*, *::before, *::after {
  box-sizing: border-box;
}

/* =========================================================
   FOOTER: Facebook icon – restore blue circle
   ========================================================= */

.footer-icons-row.facebook-row a{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background-color: #1877F2 !important;
  text-decoration: none !important;
}

.footer-icons-row.facebook-row a i{
  font-size: 26px !important;
  color: #ffffff !important;
  line-height: 1 !important;
}


/* =========================================================
   DESIGN & PLANNING (page 4076)
   ========================================================= */

/* Keep title strip aligned to content width */
body.page-id-4076 .page-title-wrapper,
body.page-id-4076 .page-title,
body.page-id-4076 .entry-header{
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
}

/* Remove unintended full-page paper background */
body.page-id-4076,
body.page-id-4076 .site-content,
body.page-id-4076 .content-area,
body.page-id-4076 .content-primary,
body.page-id-4076 .entry-content,
body.page-id-4076 .page-content{
  background: transparent !important;
}

/* The intended highlighted section only */
body.page-id-4076 .dp-highlight{
  background: #f6f6f6 !important;
  padding: 18px 22px;
  border-radius: 4px;
  border: 1px solid #e3e1db;
  margin: 18px 0;
}


/* =========================================================
   HEADER / MENU STRIP COLOURS
   ========================================================= */

/* Menu strip only: force white background (do NOT whiten whole header) */
.site-header .main-navigation,
.site-header nav.main-navigation,
.main-navigation,
.primary-navigation{
  background: #ffffff !important;
}

/* Header area above menu: keep standard grey backdrop */
.site-header{
  background: #e3e2da !important;
}

/* Make sure menu links remain readable on white */
.site-header .main-navigation a,
.main-navigation a{
  color: #2f4657 !important;
}


/* =========================================================
   INTERNAL PAGE GUTTERS + PAGE TITLE ALIGNMENT
   ========================================================= */

/* Pages: add consistent side padding to the actual content */
body.page .entry-content,
body.page .page-content{
  padding-left: 30px !important;
  padding-right: 30px !important;
  box-sizing: border-box;
}

/* Internal pages: page title aligns with content gutters (+10px) */
body.page:not(.home) .page-header .page-title,
body.page:not(.home) .page-header h1{
  padding: 12px 35px !important;
  margin: 0 !important;
  box-sizing: border-box;
}


/* =========================================================
   WORDPRESS CAPTIONS (centre nicely)
   ========================================================= */

.entry-content .wp-caption,
.entry-content .wp-caption.aligncenter{
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  text-align: center !important;
}

.entry-content .wp-caption img{
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.wp-caption-text{
  text-align: center;
}


/* =========================================================
   HOME / CONTACT: hide “Back to top”
   ========================================================= */

.home a.back-to-top,
.page-id-4090 a.back-to-top{
  display: none !important;
}


/* =========================================================
   PAGE-SPECIFIC SPACING TWEAKS
   ========================================================= */

.page-cta{
  margin-bottom: 30px;
}

.page-planting-plans .hero-actions{
  display: flow-root;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.page-about .btn::before,
.page-about .btn::after{
  display: none;
}

/* Where I work: ensure CTA has breathing room above footer */
.border-cta.final-cta{
  padding-bottom: 30px;
}


/* =========================================================
   CASE STUDIES: cards
   ========================================================= */

.case-row{
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 30px;
}

.case-card{
  flex: 1 1 0;
  padding: 20px 22px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.35);
}

.case-card .case-heading{
  margin: 0 0 0.6rem 0;

  /* Optional: keeps card headings visually aligned.
     If this ever feels “wrong”, delete these two lines. */
  display: block;
  min-height: 2.6em;
}

.case-card .case-body{
  margin: 0;
}

/* Optional: make only linked headings look like links, quietly */
.case-card .case-heading a{
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}

.case-card .case-heading a:hover,
.case-card .case-heading a:focus-visible{
  border-bottom-color: rgba(0,0,0,0.45);
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px){
  .case-row{
    flex-direction: column;
  }
}

/* Case study cards: smaller, calmer H2s */
.case-card .case-heading{
  font-size: 1.6rem;   /* try 1.5rem if you want smaller */
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
}


/* =========================================================
   ARTICLES SIDEBAR: hide “Reading further”
   ========================================================= */

#as-further,
#as-further + p,
#as-further + .c-articles-sidebar_intro,
.c-articles-sidebar_intro{
  display: none !important;
}


/* =========================================================
   MOBILE HEADER / MENU CLEANUP (consolidated)
   ========================================================= */

@media (max-width: 768px){

  /* Give the header some breathing room on mobile */
  .site-header,
  #masthead{
    padding-top: 10px !important;
    padding-bottom: 6px !important;
  }

  /* Make branding stack + center */
  #masthead .site-branding,
  .site-header .site-branding,
  .site-branding,
  .brand-text{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* Override any left alignment inside brand text */
  .brand-text,
  .brand-text *{
    text-align: center !important;
  }

  /* Sensible logo sizing */
  #masthead .custom-logo,
  .site-header .custom-logo,
  .custom-logo,
  img.custom-logo{
    max-height: 90px !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* Title/tagline spacing */
  #masthead .site-title,
  #masthead .site-description,
  .site-header .site-title,
  .site-header .site-description,
  .site-title,
  .site-description{
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .site-description{
    margin-top: 4px !important;
  }

  /* Reduce header vertical whitespace */
  .site-branding,
  .brand-text{
    gap: 4px !important;
  }

  /* Burger button: tap target + sizing */
  .menu-toggle,
  button.menu-toggle{
    padding: 10px 14px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    line-height: 1 !important;
    font-size: 32px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  .menu-toggle span,
  button.menu-toggle span{
    font-size: 28px !important;
    line-height: 1 !important;
    display: inline-block !important;
  }

  .menu-toggle::before,
  button.menu-toggle::before,
  .menu-toggle::after,
  button.menu-toggle::after{
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .menu-toggle svg,
  button.menu-toggle svg{
    width: 28px !important;
    height: 28px !important;
  }

  /* Burger button colour + neutral styling */
  button.menu-toggle{
    color: #2f4657 !important;
    background: transparent !important;
    border: 0 !important;
  }

  button.menu-toggle:focus,
  button.menu-toggle:hover{
    color: #2f4657 !important;
  }

  .site-strapline{
    max-width: 28ch;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 4px !important;
    text-wrap: balance;
  }

  .menu-strip,
  .main-navigation{
    margin-top: 6px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Full-bleed page title strip */
  .entry-header,
  .page-header{
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* Tighten page title alignment */
  .page-header .page-title,
  .entry-header .page-title,
  h1.page-title{
    padding-left: 2px !important;
    margin-left: 0 !important;
  }

  /* Full-bleed CTA on mobile */
  .page-cta{
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }

  /* MOBILE NAV: collapse empty space when menu is closed */
  body .site-header .menu-strip,
  body .site-header .main-navigation{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  /* When CLOSED, force common menu containers to take zero space */
  body .site-header .main-navigation:not(.toggled) ul,
  body .site-header .main-navigation:not(.toggled) .menu,
  body .site-header .main-navigation:not(.toggled) .nav-menu,
  body .site-header .main-navigation:not(.toggled) .menu-primary-container{
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
  }

  /* When OPEN, show again */
  body .site-header .main-navigation.toggled ul,
  body .site-header .main-navigation.toggled .menu,
  body .site-header .main-navigation.toggled .nav-menu,
  body .site-header .main-navigation.toggled .menu-primary-container{
    display: block !important;
    height: auto !important;
  }

  /* Where I work (page id 5680) — mobile cleanup */
  body.page-id-5680 ul.regions-grid > li.has-thumb{
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;
  }

  body.page-id-5680 ul.regions-grid > li.has-thumb > span.thumb{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.page-id-5680 ul.regions-grid > li.has-thumb > span.thumb > img{
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
  }

  body.page-id-5680 ul.regions-grid > li.has-thumb > div.entry{
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-id-5680 ul.regions-grid > li.has-thumb > div.entry > h3{
    margin: 0 !important;
  }
}

/* =========================================================
   WPForms: match site look
   ========================================================= */

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea{
  background-color: #e3e2da !important;
  color: #2f4657 !important;
  border: 1px solid #c9c9c3 !important;
  border-radius: 2px;
  padding: 0.6em 0.7em;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus{
  outline: none;
  border-color: #2f4657;
  background-color: #e3e2da;
}

/* Submit button */
.wpforms-container .wpforms-submit,
.wpforms-container input[type="submit"],
.wpforms-container button[type="submit"]{
  background-color: #8a5a44 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0.7em 1.4em;
  font-size: 1em;
  border-radius: 2px;
  cursor: pointer;
}

.wpforms-container .wpforms-submit:hover,
.wpforms-container .wpforms-submit:focus,
.wpforms-container input[type="submit"]:hover,
.wpforms-container input[type="submit"]:focus{
  background-color: #744a38 !important;
}

/* Space below forms */
.wpforms-container{
  margin-bottom: 30px;
}

/* =========================================================
   Footer breathing room — prevent CTA/footer collisions
   ========================================================= */

/* Design & Planning child pages (Consultation etc.)
   Use parent-pageid to catch child pages reliably. */
body.parent-pageid-4076 .page-cta,
body.parent-pageid-4076 .border-cta.final-cta,

/* Planting Plans page */
.page-planting-plans .page-cta,
.page-planting-plans .border-cta.final-cta{
  display: flow-root;              /* contains floats, prevents height collapse */
  clear: both;                     /* stops footer creeping up beside floats */
  margin-bottom: 30px !important;  /* required gap above footer */
}

/* If the last visible element is the button row, give it room too */
.page-planting-plans .hero-actions{
  margin-bottom: 30px !important;
}

/* =========================================================
   Fix: CTA/buttons hard against footer on some pages
   ========================================================= */

/* Ensure CTA wrapper actually “has height” and creates space above the footer */
.border-cta.final-cta{
  display: flow-root;              /* contains floated children */
  clear: both;
  margin-bottom: 30px !important;  /* the gap you want */
}

/* Some pages use an inner wrapper instead */
.page-cta-inner{
  display: flow-root;
  clear: both;
  padding-bottom: 30px;            /* padding avoids margin-collapsing surprises */
}

/* If the last element is the buttons row, give that breathing room too */
.hero-actions{
  margin-bottom: 30px;
}

/* Questionnaire: improve vertical rhythm between sections */
.page-questionnaire h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
}

.page-questionnaire p {
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.page-questionnaire ul,
.page-questionnaire ol {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

.page-questionnaire {
  max-width: 720px;
}

/* Global vertical rhythm refinement */
.entry-content h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}

.entry-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.entry-content h2{
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
}

.entry-content p{
  margin-bottom: 1.05rem;
  line-height: 1.62;
}

.robin-bullets li{
  margin-bottom: 0.35rem;
}

.hero-actions{
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.entry-content h2{
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
}

.entry-content p{
  margin-bottom: 1.15rem;
}

.wp-caption{
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.plan-scroll{
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.plan-caption{
  margin-bottom: 1.6rem;
}

/* Breadcrumbs: ensure links sit above any header/title overlays */
.ag-breadcrumbs{
  position: relative;
  z-index: 10;
}

.ag-breadcrumbs a{
  position: relative;
  z-index: 11;
  display: inline-block;
}

.ag-breadcrumbs{
  position: relative;
  z-index: 9999;
  display: inline-block;
}

.ag-breadcrumbs a{
  position: relative;
  z-index: 10000;
  display: inline-block;
}

.post-nav{
  display: none;
}

/* Posts: force intro paragraph size (more robust selector) */
body.single-post article .entry-content p{
  font-size: inherit;
}

body.single-post article .entry-content > p:first-child{
  font-size: 16px !important;
}

/* Posts: opening paragraph */
body.single-post article p:first-of-type{
  font-size: 16px;
}

img { max-width: 100%; height: auto; }


.si-endnav{
  margin: 40px 0 20px;
  padding: 16px;
  border-top: 1px solid rgba(0,0,0,0.12);

  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;

  max-width: 100%;
  box-sizing: border-box;
}

.si-endnav a{
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Seasonal Insights: top sticky nav (mobile) */
@media (max-width: 768px){

  .seasonal-insight .si-topnav{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(246,246,246,0.96);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.12);

    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;

    margin: 0 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .seasonal-insight .si-topnav a{
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .seasonal-insight .si-topnav__home{
    margin-left: auto;
  }
}

/* Horizontal plan scrollers: make wide plans usable on mobile */
.plan-scroll{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Keep the image “natural width” on desktop, but never let it break layout */
.plan-scroll img{
  display: block;
  height: auto;
}

@media (max-width: 768px){

  /* On phones: scale plans down by limiting height (shrinks width proportionally) */
  .plan-scroll img{
    width: auto !important;
    max-width: none !important;
    max-height: 65vh;   /* adjust: try 55–70vh to taste */
  }

}

/* Footer bottom bar: keep ↑ Top visible and on one line everywhere */
.footer-bottom-bar .footer-bar-right .back-to-top{
  white-space: nowrap !important;
  display: inline-block !important;
}

/* Image captions */

.wp-caption-text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.wp-caption {
  margin-bottom: 34px;
}

.wp-caption img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-caption-text {
  font-size: 14px;
  line-height: 1.55;
  color: #5f5f5f;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.2px;
}

.before-after {
  display: flex;
  gap: 20px;
  margin: 32px 0;
}

.before-after figure {
  flex: 1;
  margin: 0;
}

.before-after img {
  width: 100%;
  height: auto;
  display: block;
}

.before-after figcaption {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  text-align: center;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 768px) {

  .before-after {
    flex-direction: column;
  }

}

.before-after figure:first-child figcaption::before {
  content: "BEFORE";
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 12px;
  color: #444;
  margin-bottom: 4px;
}

.before-after figure:last-child figcaption::before {
  content: "AFTER";
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 12px;
  color: #444;
  margin-bottom: 4px;
}

/* row of three images on home page */
.garden-strip {
  display: flex;
  gap: 20px;
}

.garden-strip figure {
  margin: 0;
}

.garden-strip img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .garden-strip {
    flex-direction: column;
  }
}

.garden-strip {
  display: flex;
  gap: 24px;
  margin: 40px 0;
}

.before-after {
  display: flex;
  gap: 18px;
  margin: 28px 0;
}

.before-after figure {
  position: relative;
  flex: 1;
  margin: 0;
  text-align: left !important;
}

.before-after img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.before-after figcaption {
  display: block;
  margin-top: 8px;
  text-align: left !important;
  font-size: 0.9rem;
  line-height: 1.4;
}

.before-after figure::before {
  display: block;
  margin: 10px 0 4px 0;
  text-align: left !important;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-style: normal;
  font-weight: 700;
  color: #555;
}

.before-after figure.before::before {
  content: "BEFORE";
}

.before-after figure.after::before {
  content: "AFTER";
}

.before-after figcaption::before {
  content: none !important;
  display: none !important;
}

.before-after figcaption {
  display: block;
  margin-top: 8px;
  text-align: left !important;
  font-size: 0.9rem;
  line-height: 1.4;
  font-style: italic;
}
.case-subhead {
  margin-bottom: 4px;
}

.before-after {
  margin-top: 8px;
}

body.page-id-6569 figcaption {
  text-align: left !important;
}

body.page-id-6569 .wp-caption,
body.page-id-6569 .wp-caption-text,
body.page-id-6569 .wp-caption.alignnone,
body.page-id-6569 .wp-caption.aligncenter {
  text-align: left !important;
}

body.page-id-6569 .wp-caption img {
  display: block;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-id-6569 .wp-caption em {
  display: block;
  text-align: left !important;
}

figcaption {
  text-align: left;
  font-size: 0.9em;
}

figure figcaption {
  text-align: left !important;
}

/* ==========================================================================
   Ashbury Gardening: Primary and Ghost CTA Buttons
   Final summer grey-blue / gold version
   ========================================================================== */

/* ------------------------------------------------------------
   Summer button colour variables
   These are used by both primary and ghost buttons.
   ------------------------------------------------------------ */

:root {
  --gold-frame:   #cca462;
  --band-top:     #8296b8;
  --band-middle:  #6a7ea0;
  --band-bottom:  #586985;
}

/* ------------------------------------------------------------
   Shared base styling for both CTA buttons
   ------------------------------------------------------------ */

body .btn.btn-primary,
body .btn.btn-ghost,
body .btn.btn-secondary,
body a.btn-primary,
body a.btn-ghost,
body a.btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 54px !important;
  padding: 0 32px 4px 32px !important;
  box-sizing: border-box !important;

  border-radius: 0 !important;
  border-style: solid !important;
  border-width: 1.5px !important;

  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: none !important;

  transition:
    background-image 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    filter 0.15s ease,
    transform 0.02s ease-in-out !important;
}

/* ------------------------------------------------------------
   Primary button:
   blue gradient, white text, visible gold frame
   ------------------------------------------------------------ */

body .btn.btn-primary,
body a.btn-primary {
  background-color: transparent !important;

  background-image: linear-gradient(
    to bottom,
    var(--band-top) 0%,
    var(--band-middle) 68%,
    var(--band-bottom) 100%
  ) !important;

  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;

  border-color: var(--gold-frame) !important;
  color: #ffffff !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    inset 1px 0 0 rgba(255, 255, 255, 0.10),
    inset -1px 0 0 rgba(0, 0, 0, 0.10) !important;
}

body .btn.btn-primary:hover,
body a.btn-primary:hover {
  filter: brightness(1.08) !important;
  color: #ffffff !important;
}

body .btn.btn-primary:active,
body a.btn-primary:active {
  transform: translateY(1px) !important;
}

/* ------------------------------------------------------------
   Ghost / secondary button:
   pale echo of the primary button
   ------------------------------------------------------------ */

body .btn.btn-ghost,
body .btn.btn-secondary,
body a.btn-ghost,
body a.btn-secondary {
  background-color: transparent !important;

  background-image: linear-gradient(
    to bottom,
    rgba(130, 150, 184, 0.20) 0%,
    rgba(106, 126, 160, 0.16) 68%,
    rgba(88, 105, 133, 0.20) 100%
  ) !important;

  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;

  border-color: var(--gold-frame) !important;
  color: #4d5f7c !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.16),
    inset -1px 0 0 rgba(0, 0, 0, 0.06) !important;
}

body .btn.btn-ghost:hover,
body .btn.btn-secondary:hover,
body a.btn-ghost:hover,
body a.btn-secondary:hover {
  background-image: linear-gradient(
    to bottom,
    rgba(130, 150, 184, 0.34) 0%,
    rgba(106, 126, 160, 0.28) 68%,
    rgba(88, 105, 133, 0.34) 100%
  ) !important;

  border-color: var(--gold-frame) !important;
  color: #2f4657 !important;
}

body .btn.btn-ghost:active,
body .btn.btn-secondary:active,
body a.btn-ghost:active,
body a.btn-secondary:active {
  transform: translateY(1px) !important;
}

/* ------------------------------------------------------------
   Keyboard focus
   ------------------------------------------------------------ */

body .btn.btn-primary:focus-visible,
body .btn.btn-ghost:focus-visible,
body .btn.btn-secondary:focus-visible,
body a.btn-primary:focus-visible,
body a.btn-ghost:focus-visible,
body a.btn-secondary:focus-visible {
  outline: 2px solid #2f4657 !important;
  outline-offset: 3px !important;
}