/*
Theme Name: Doing R Bit
Theme URI:
Author: Skyline Internet
Author URI:
Description:
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doing-r-bit
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

figure img{
 width: auto;
}

.banner-text{
 position: relative;
 z-index: 2;
}

.products.is-layout-grid{
 row-gap: 2em;
}

.wp-block-button svg{
 fill: var(--wp--preset--color--base);
 width: 1.05em;
 height: auto;
 vertical-align: middle;
 margin-left: 10px;
}

.logos{
 align-items: center;
}

.school-streets .is-layout-grid{
 z-index: 2;
 position: relative;
}

.school-streets img{
 height: 450px !important;
}

.products > .wp-block-group{
	transition:transform .25s ease-in-out;
}


.products > .wp-block-group:hover{
	transform:translateY(-2px);
	cursor:pointer;
}

.products > .wp-block-group .wp-block-image+.wp-block-group .wp-block-paragraph+.wp-block-group{
	transform:rotateY(0);
	transition:transform .5s ease-in-out, background-color .55s ease-in-out;
}


.products > .wp-block-group:hover .wp-block-image+.wp-block-group .wp-block-paragraph+.wp-block-group{
	transform:rotateY(360deg);
	background-color:var(--wp--preset--color--custom-dark-green)!important;
}

.wp-block-contact-form-7-contact-form-selector {

}


/* ==========================================
   DOING R BIT - CONTACT US FORM
   Contact Form 7 - Form ID 613
   ========================================== */

#wpcf7-f613-p612-o1 {
    --drb-green: #829b43;
    --drb-light-green: #a8d65e;
    --drb-text: #555555;
    --drb-border: #d5d5d5;

    width: 100%;
    max-width: 100%;
    color: var(--drb-text);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
}

/* Form layout */
#wpcf7-f613-p612-o1 .wpcf7-form {
    width: 100%;
    margin: 0;
}

/* Individual field groups */
#wpcf7-f613-p612-o1 .wpcf7-form > p {
    margin: 0 0 20px;
    padding: 0;
}

/* Field labels */
#wpcf7-f613-p612-o1 label {
    display: block;
    margin: 0;
    color: var(--drb-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

/* Field wrappers */
#wpcf7-f613-p612-o1 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 5px;
}

/* Text, email and textarea fields */
#wpcf7-f613-p612-o1 input[type="text"],
#wpcf7-f613-p612-o1 input[type="email"],
#wpcf7-f613-p612-o1 textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 11px 13px;

    background-color: #ffffff;
    color: #444444;
    border: 1px solid var(--drb-border);
    border-radius: 3px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Single-line input fields */
#wpcf7-f613-p612-o1 input[type="text"],
#wpcf7-f613-p612-o1 input[type="email"] {
    height: 44px;
}

/* Enquiry textarea */
#wpcf7-f613-p612-o1 textarea {
    min-height: 160px;
    resize: vertical;
}

/* Accessible focus effect */
#wpcf7-f613-p612-o1 input[type="text"]:focus,
#wpcf7-f613-p612-o1 input[type="email"]:focus,
#wpcf7-f613-p612-o1 textarea:focus {
    outline: none;
    border-color: var(--drb-light-green);
    box-shadow: 0 0 0 3px rgba(168, 214, 94, 0.18);
}

/* Submit button */
#wpcf7-f613-p612-o1 input.wpcf7-submit {
    display: inline-block;
    box-sizing: border-box;
    min-height: 46px;
    margin: 3px 0 0;
    padding: 11px 28px;

    background-color: var(--drb-green);
    color: #ffffff;
    border: 1px solid var(--drb-green);
    border-radius: 3px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;

    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* Button hover */
#wpcf7-f613-p612-o1 input.wpcf7-submit:hover {
    background-color: #6d8436;
    border-color: #6d8436;
    transform: translateY(-1px);
}

/* Keyboard focus */
#wpcf7-f613-p612-o1 input.wpcf7-submit:focus-visible {
    outline: 2px solid var(--drb-light-green);
    outline-offset: 3px;
}

/* Loading spinner */
#wpcf7-f613-p612-o1 .wpcf7-spinner {
    vertical-align: middle;
}

/* Validation errors */
#wpcf7-f613-p612-o1 .wpcf7-not-valid {
    border-color: #c65353;
}

#wpcf7-f613-p612-o1 .wpcf7-not-valid-tip {
    display: block;
    margin-top: 5px;
    color: #b44343;
    font-size: 14px;
    line-height: 1.5;
}

/* Success and response messages */
#wpcf7-f613-p612-o1 .wpcf7-response-output {
    box-sizing: border-box;
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 3px;
    font-size: 15px;
    line-height: 1.6;
}

#wpcf7-f613-p612-o1 .wpcf7-form.sent .wpcf7-response-output {
    border-color: var(--drb-green);
    background-color: #f5f8ee;
    color: #53652f;
}

/* Mobile devices */
@media screen and (max-width: 767px) {
    #wpcf7-f613-p612-o1 {
        font-size: 16px;
    }

    #wpcf7-f613-p612-o1 label {
        font-size: 16px;
    }

    #wpcf7-f613-p612-o1 input[type="text"],
    #wpcf7-f613-p612-o1 input[type="email"],
    #wpcf7-f613-p612-o1 textarea {
        font-size: 16px;
    }

    #wpcf7-f613-p612-o1 input.wpcf7-submit {
        min-height: 48px;
        padding: 12px 24px;
    }
}

.wpmtst-testimonial p span,
.wpmtst-testimonial p {
    font-size: 18px;
    font-weight: 500;
}

.wpmtst-testimonial .testimonial-name,
.wpmtst-testimonial .testimonial-company {
    font-size: 14px;
}

.school-logos .wp-block-cb-slide-v2{
 align-self: center;
}

.bullet figure img{
 vertical-align: middle;
}

.wp-block-accordion-heading__toggle-icon{
 color: var(--wp--preset--color--custom-dark-green);
 font-size: 1.25em;
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title{
 text-decoration: none;
}

.strong-view.nav-position-outside .wpmslider-controls{
 padding-bottom: 0 !important;
}

.strong-view.pager-style-buttons .wpmslider-pager-link:before{
 color: var(--wp--preset--color--custom-dark-green);
 background-color: var(--wp--preset--color--custom-dark-green);
}

.strong-view .wpmslider-pager-link{
 margin-left: 5px;
}

.wp-block-accordion-panel{
 margin-top: 0;
}

a.wp-block-button__link:has( svg){
        display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
a.wp-block-button__link > svg{
        fill: currentColor;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media(max-width:884px){
  body.home .entry-content > .wp-block-cb-carousel-v2 .swiper .wp-block-cover{
    max-height:50dvh!important;
    min-height:50dvh!important;
  }
  .xs\:px-0{
    padding-left:0!important;
    padding-right:0!important;
  }

  .xs\:px-4{
    padding-left:1.5rem!important;
    padding-right:1.5rem!important;
    padding-top:2rem!important;
    padding-bottom:2rem!important;
  }

  footer .wp-block-columns .wp-block-column{
    margin-bottom:1.5rem;
  }

  .xs\:order-1{
    order:1;
  }
  .xs\:order-2{
    order:2;
  }

  .xs\:flex-col-reverse{
    flex-direction: column-reverse;
  }

  
  aside#sidebar .wp-block-navigation__container.is-vertical {
    width: 100%;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul {
    transform: translateX(-110%);
    transition: all 0.25s;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: var(--sidebarWidth);
    background-color: var(--wp--preset--color--base) !important;
    padding-top: var(--wp--preset--spacing--30);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--30);
    padding-left: var(--wp--preset--spacing--30);
    visibility: visible;
    display: block;
    opacity: 1;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul li {
    margin-bottom: 1rem;
  }

  aside#sidebar .wp-block-navigation__container .has-child > ul.active {
    transform: translateX(0);
    transform: translateX(0);
  }

  aside#sidebar li.mobile-menu-back {
    display: flex;
    flex-grow: 1;
    padding: 0.5em 1em;
    font-size: 0.95rem;
    background:linear-gradient(90deg, #b4d17b, #7e9a3e);
    color: #fff;
    border-radius: 999px;
    max-width: 12rem;
    text-align: center;
    color: #fff;
  }

  aside#sidebar .wp-block-navigation .wp-block-navigation-item {
    justify-content: space-between;
    width: 100%;
  }

  aside#sidebar .wp-block-navigation-submenu__toggle > svg {
    transform: rotate(270deg) !important;
  }

}

@media(min-width:768px) and (max-width:1120px) and (orientation: portrait){
  .tablet-flex-col{
    flex-direction:column!important;
  }

  .tablet-cols-1{
    grid-template-columns: 1fr!important;
  }

  
  .tablet-cols-2{
    grid-template-columns: repeat(2, 1fr)!important;
  }

  .tablet-order-1{
    order:1!important;
  }
  .tablet-order-2{
    order:2!important;
  }

  body .main-nav-group{
    display:none!important;
  }

  body .nav-hamburger{
    display:block!important;
    margin-left:auto!important;
  }

  
  body .nav-hamburger svg{
    height:2rem;
    width:2rem;
  }
}

/* Doing R Bit – Cycle Shelters page (Refined design)
   Paste into Appearance › Editor › Styles › Additional CSS, or the theme's style.css */

.drb-breadcrumb { font-size: .875rem; color: #585a52; margin-bottom: 1rem; }
.drb-breadcrumb a { color: #585a52; text-decoration: none; }
.drb-breadcrumb a:hover { color: var(--wp--preset--color--custom-dark-green); }
.drb-breadcrumb strong { color: inherit; font-weight: 600; }

.drb-eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--custom-dark-green, #839a46);
  margin-bottom: .5rem;
}

.drb-lead { font-size: 1.125rem; line-height: 1.6; color: #46483f; }

/* Tick list */
.drb-checklist { list-style: none; padding-left: 0; display: grid; gap: .75rem; }
.drb-checklist li { position: relative; padding-left: 2rem; }
.drb-checklist li::before {
  content: "";
  position: absolute; left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237e9a3e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.drb-thumbs { margin-top: .75rem; }
.drb-thumbs .wp-block-image { margin: 0; }

/* Spec strip */
.drb-spec-label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #585a52; margin: 0;
}
.drb-spec-value { font-size: 1.25rem; font-weight: 700; margin: .375rem 0 0; }

/* Testimonial – centred and larger (Strong Testimonials view #4) */
.drb-quote { text-align: center; }
.drb-quote .wpmtst-testimonial-content,
.drb-quote .wpmtst-testimonial-content p { font-size: 1.5rem; line-height: 1.5; font-weight: 500; }
.drb-quote .wpmtst-testimonial-field { font-size: .9375rem; }

.drb-footnote { font-size: .8125rem; color: #6b6d64; }

/* Option cards */
.drb-card {
  border: 1px solid #ecece8;
  border-radius: 14px;
  padding: 1.75rem;
  background: #fff;
}
.drb-card-title { font-size: 1.125rem !important; font-weight: 700; text-transform: none; margin: 0; }
.drb-card p { color: #585a52; font-size: .9375rem; line-height: 1.6; margin: 0; }

/* Case study cards */
.drb-cs-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.drb-cs-card .wp-block-post-featured-image { margin: 0; }
.drb-cs-card .drb-card-title a { color: #1d1d1b; text-decoration: none; }
.drb-tag a {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #eef4e1; color: #4e6624;
  padding: .3rem .65rem; border-radius: 999px; text-decoration: none;
}
.drb-cs-excerpt { color: #585a52; font-size: .9375rem; }
.drb-cs-excerpt .wp-block-post-excerpt__more-link {
  display: inline-block; margin-top: .5rem;
  font-weight: 600; color: #5f7a2c; text-decoration: none;
}

/* Enquiry */
.drb-contact-line { font-weight: 600; font-size: 1rem; margin: .25rem 0; }
.drb-contact-line a { color: #1d1d1b; text-decoration: none; }
.drb-form-panel { border-radius: 18px; }
.drb-form-panel input,
.drb-form-panel select,
.drb-form-panel textarea {
  width: 100%; box-sizing: border-box;
  font: inherit; padding: .8rem .9rem;
  border: 1px solid #d6d8cf; border-radius: 10px; background: #fff;
}


/* ==========================================================================
   Doing R Bit – Contact Form 7 enquiry form
   Works inside the grey .drb-form-panel from the Cycle Shelters page,
   or on its own anywhere on the site.
   ========================================================================== */

.drb-cf7 {
  --drb-ink: #1d1d1b;
  --drb-muted: #585a52;
  --drb-line: #d6d8cf;
  --drb-green: var(--wp--preset--color--custom-dark-green, #839a46);
  --drb-green-deep: #5f7a2c;
  --drb-focus: #7e9a3e;
  --drb-error: #b3261e;
  --drb-radius: 10px;

  container-type: inline-size;   /* lets the grid respond to the panel width, not just the screen */
  color: var(--drb-ink);
}

/* Remove stray <p>/<br> if the autop filter isn't added */
.drb-cf7 p:empty,
.drb-cf7 br { display: none; }

/* ---- Layout -------------------------------------------------------------- */

.drb-cf7__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
}

.drb-cf7__field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}

.drb-cf7__field--full { grid-column: 1 / -1; }

/* ---- Labels -------------------------------------------------------------- */

.drb-cf7 label,
.drb-cf7__label {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--drb-ink);
}

.drb-cf7__req { color: var(--drb-green-deep); }
.drb-cf7__opt { font-weight: 400; color: var(--drb-muted); }

/* ---- Inputs -------------------------------------------------------------- */

.drb-cf7 .wpcf7-form-control-wrap { display: block; }

.drb-cf7 input[type="text"],
.drb-cf7 input[type="email"],
.drb-cf7 input[type="tel"],
.drb-cf7 select,
.drb-cf7 textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 3rem;              /* 48px touch target */
  padding: .8rem .9rem;
  font: inherit;
  font-size: 1rem;               /* 16px stops iOS zooming on focus */
  line-height: 1.4;
  color: var(--drb-ink);
  background: #fff;
  border: 1px solid var(--drb-line);
  border-radius: var(--drb-radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.drb-cf7 textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.drb-cf7 ::placeholder { color: #8a8c83; opacity: 1; }

.drb-cf7 select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.drb-cf7 input:hover,
.drb-cf7 select:hover,
.drb-cf7 textarea:hover { border-color: #b9bcae; }

.drb-cf7 input:focus,
.drb-cf7 select:focus,
.drb-cf7 textarea:focus {
  outline: none;
  border-color: var(--drb-focus);
  box-shadow: 0 0 0 3px rgba(126, 154, 62, .25);
}

/* ---- Radio "pills" ------------------------------------------------------- */

.drb-cf7__choices .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.drb-cf7__choices .wpcf7-list-item { margin: 0; }

.drb-cf7__choices .wpcf7-list-item label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  font-weight: 600;
  font-size: .9375rem;
  background: #fff;
  border: 1.5px solid var(--drb-line);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.drb-cf7__choices input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.drb-cf7__choices .wpcf7-list-item label:has(input:checked) {
  background: #eef4e1;
  border-color: var(--drb-focus);
  color: #3f5419;
}

.drb-cf7__choices .wpcf7-list-item label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(126, 154, 62, .35);
}

/* ---- Consent ------------------------------------------------------------- */

.drb-cf7__consent .wpcf7-list-item { margin: 0; }

.drb-cf7__consent label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-weight: 400;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--drb-muted);
  cursor: pointer;
}

.drb-cf7__consent input[type="checkbox"] {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .1rem 0 0;
  accent-color: var(--drb-focus);
  cursor: pointer;
}

.drb-cf7__consent a { color: var(--drb-green-deep); }

/* ---- Footer & submit ----------------------------------------------------- */

.drb-cf7__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.drb-cf7__note {
  margin: 0;
  font-size: .8125rem;
  color: var(--drb-muted);
}

.drb-cf7 .drb-cf7__submit,
.drb-cf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 2rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #b4d17b, #7e9a3e);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.drb-cf7 .drb-cf7__submit:hover { filter: brightness(.95); }
.drb-cf7 .drb-cf7__submit:active { transform: translateY(1px); }
.drb-cf7 .drb-cf7__submit:focus-visible {
  outline: 3px solid rgba(126, 154, 62, .45);
  outline-offset: 3px;
}
.drb-cf7 .drb-cf7__submit:disabled { opacity: .6; cursor: not-allowed; }

.drb-cf7 .wpcf7-spinner { margin: 0 0 0 .75rem; }

/* ---- Validation & response messages ------------------------------------- */

.drb-cf7 .wpcf7-not-valid {
  border-color: var(--drb-error) !important;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .12) !important;
}

.drb-cf7 .wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--drb-error);
}

.wpcf7 form:has(.drb-cf7) .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: .9rem 1.1rem;
  font-size: .9375rem;
  border: 0;
  border-radius: var(--drb-radius);
  background: #fff;
  border-left: 4px solid var(--drb-line);
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #eef4e1;
  border-left-color: var(--drb-focus);
  color: #3f5419;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #fbeeed;
  border-left-color: var(--drb-error);
  color: #7a1b15;
}

/* ---- Folding down on smaller widths -------------------------------------
   Container query: stacks when the form itself gets narrow (e.g. the
   60% column on a tablet). Media query is the fallback for older browsers. */

@container (max-width: 560px) {
  .drb-cf7__grid { grid-template-columns: 1fr; gap: 1rem; }
  .drb-cf7__footer { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .drb-cf7 .drb-cf7__submit { width: 100%; }
}

@supports not (container-type: inline-size) {
  @media (max-width: 782px) {
    .drb-cf7__grid { grid-template-columns: 1fr; gap: 1rem; }
    .drb-cf7__footer { flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .drb-cf7 .drb-cf7__submit { width: 100%; }
  }
}

/* Tighten the grey panel padding on phones */
@media (max-width: 600px) {
  .drb-form-panel {
    padding: 1.5rem 1.25rem !important;
    border-radius: 14px;
  }
  .drb-cf7__choices .wpcf7-radio { gap: .5rem; }
  .drb-cf7__choices .wpcf7-list-item label { padding: 0 .9rem; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .drb-cf7 * { transition: none !important; }
}

/* ==========================================================================
   Product page gallery – .product-page-gallery
   Core Gallery block (4 images): first image large, 3 thumbnails beneath.

   WordPress sizes gallery items with selectors that include
   :not(#individual-image), which carries ID-level specificity. The same
   :not() is repeated below so these rules win without !important.
   ========================================================================== */

.wp-block-gallery.has-nested-images.product-page-gallery {
  --drb-gallery-gap: var(--wp--preset--spacing--20, .75rem);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--drb-gallery-gap);
  margin: 0;
}

/* Reset core's flex sizing on every item */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(#individual-image) {
  width: auto;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: .6em;
  aspect-ratio: 4 / 3;
}

/* Fill each frame (core's is-cropped already does most of this) */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(#individual-image) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* First image: full width, wide crop, larger radius */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(#individual-image):first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  border-radius: 1em;
}

/* Captions: keep on the main image, hide visually on thumbnails
   (still read by screen readers) */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(:first-child) figcaption {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Main image caption: subtle label in the bottom-left corner */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:first-child figcaption {
  left: auto;
  right: auto;
  bottom: .75rem;
  margin-left: .75rem;
  width: auto;
  max-width: calc(100% - 1.5rem);
  max-height: none;
  padding: .35rem .75rem;
  font-size: .8125rem;
  font-weight: 600;
  text-align: left;
  color: #fff;
  background: rgba(29, 29, 27, .65);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Thumbnails that link to a larger view get a gentle hover */
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(:first-child) a img {
  transition: transform .3s ease;
}
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(:first-child) a:hover img,
.wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(:first-child) a:focus-visible img {
  transform: scale(1.04);
}

/* Small screens: tighter gap so the thumbnails stay usable */
@media (max-width: 480px) {
  .wp-block-gallery.has-nested-images.product-page-gallery {
    --drb-gallery-gap: .5rem;
  }
  .wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(#individual-image) {
    border-radius: .5em;
  }
  .wp-block-gallery.has-nested-images.product-page-gallery figure.wp-block-image:not(#individual-image):first-child {
    border-radius: .8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-block-gallery.has-nested-images.product-page-gallery img { transition: none !important; }
}

.strong-view.wpmtst-bold .wpmtst-testimonial:nth-child(even) {
  background:linear-gradient(90deg, #587e0d, #7e9a3e)!important;
  color:#fff;
}

.strong-view-id-12.strong-view.wpmtst-bold .wpmtst-testimonial-field.testimonial-name, .strong-view-id-12.strong-view.wpmtst-bold .wpmtst-testimonial-field.testimonial-company{
 font-size: 14px !important;
 margin-bottom: 0 !important;	
}	

.strong-view-id-12.strong-view.wpmtst-bold .wpmtst-testimonial-content.testimonial-content{
 margin-bottom: 0.5em !important;
}