/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/



/* UTILITY  */
.rs-color-white * {
	color: #ffffff;
}

.rs-border-radius img {
	border-radius: 3px;
}

/* Eyebrow text */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C96F3D;
}

.eyebrow span {
  display: block;
  width: 34px;
  height: 2px;
  background-color: #C96F3D;
}



/* Mobile */
@media (max-width: 767px) {
 .eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

/* GREEN STAT ROW */
.stat-item {
  text-align: center;
}

.stat-number {
  margin-bottom: 0;
	color: #ffffff !important;
}

.stat-text {
  margin-top: 0;
  margin-bottom: 0;
}
















/* ================================
   Residential / Commercial Split Panels
   Images and overlays are handled in WPBakery column settings
================================ */

/* Removes gaps between the two WPBakery columns */
.no-column-gap,
.no-column-gap > .wpb_column,
.no-column-gap > .vc_column_container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.no-column-gap .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Main image panel columns */
.split-panel,
.split-panel > .vc_column-inner {
  position: relative !important;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Make content fill the column correctly */
.split-panel .wpb_wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* CONTENT */
.split-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 620px;
  padding: 70px;
  color: #ffffff !important;
}

/* Force text white */
.split-content,
.split-content h3,
.split-content p,
.split-content ul,
.split-content li {
  color: #ffffff !important;
}


/* LABEL/EYEBROW */
.split-label {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff !important;
}

.residential-label,
.commercial-label {
  color: #ffffff !important;
}


/* HEADING */
.split-content h3 {
  margin: 0 0 24px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  color: #ffffff !important;
}

/* Coloured emphasis words */
.split-residential .split-content h3 span {
  color: #c56a3b !important;
}

.split-commercial .split-content h3 span {
  color: #4c6b3a !important;
}


/* PARAGRAPH */
.split-content p {
  max-width: 540px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9) !important;
}


/* LISTS */
.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  color: #ffffff !important;
}

.split-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9) !important;
}

.split-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c56a3b;
}

.split-commercial .split-list li::before {
  background: #4c6b3a;
}


/* BUTTONS */
.split-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  background: #c56a3b;
  border-radius: 3px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1 !important;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.split-button:hover {
  background: #a85630;
  color: #ffffff !important;
}

.split-button-text,
.split-button-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

.split-button-arrow {
  font-size: 15px;
}

.split-button-orange {
  background: #c56a3b;
}

.split-button-orange:hover {
  background: #a85630;
  color: #ffffff !important;
}

.split-button-green {
  background: #4c6b3a;
}

.split-button-green:hover {
  background: #3f5b30;
  color: #ffffff !important;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .split-panel,
  .split-panel > .vc_column-inner {
    min-height: 520px;
  }

  .split-content {
    padding: 50px;
  }
}

@media (max-width: 767px) {
  .split-panel,
  .split-panel > .vc_column-inner {
    min-height: 580px;
  }

  .split-content {
    padding: 38px 24px;
  }

  .split-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .split-button {
    width: 100%;
  }
}










/* ================================
   Footer Testimonials Section
================================ */
.diy-footer-testimonials {
  background: #e8e8e8;
}

.diy-footer-testimonials .vc_column-inner,
.diy-footer-testimonials .wpb_wrapper {
  width: 100%;
}

.diy-footer-testimonials > .wpb_column > .vc_column-inner > .wpb_wrapper,
.diy-footer-testimonials .vc_column_container > .vc_column-inner > .wpb_wrapper {
  max-width: 1180px;
  margin: 0 auto;
}

/* Eyebrow */
.diy-footer-testimonials .eyebrow {
  margin-bottom: 24px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c56a3b;
}

/* Heading */
.diy-footer-testimonials h2 {
  margin: 0 0 56px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #111111;
}

/* POSTS EXTENDED GRID */
.diy-footer-testimonials .portfolio,
.diy-footer-testimonials .portfolio-row,
.diy-footer-testimonials .gem-news-grid,
.diy-footer-testimonials .news-grid,
.diy-footer-testimonials .portfolio-items {
  width: 100% !important;
}

/* Spacing between grid cards */
.diy-footer-testimonials .portfolio-item,
.diy-footer-testimonials .news-grid-item,
.diy-footer-testimonials .gem-news-grid-item {
  padding: 0 16px 32px !important;
  box-sizing: border-box !important;
}

/* Remove unwanted theme card backgrounds */
.diy-footer-testimonials .portfolio-item-inner,
.diy-footer-testimonials .gem-news-grid-item-inner,
.diy-footer-testimonials .post-item,
.diy-footer-testimonials .post-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}


/* LOOP ITEM CARD */
.diy-review-card {
  background: #ffffff;
  padding: 56px 50px !important;
  min-height: 340px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-shadow: none;
  border: none;
  box-sizing: border-box !important;
}

/* Fix WPBakery row/column spacing inside the loop card */
.diy-review-card-row,
.diy-review-card-row .vc_column-inner,
.diy-review-card-row .wpb_wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.diy-review-card .wpb_text_column {
  margin-bottom: 0 !important;
}

/* Accent line */
.review-accent {
  width: 46px;
  height: 2px;
  margin-bottom: 28px;
  background: #c56a3b;
}

/* Optional: make every second card green */
.diy-footer-testimonials .portfolio-item:nth-child(2n) .review-accent,
.diy-footer-testimonials .news-grid-item:nth-child(2n) .review-accent,
.diy-footer-testimonials .gem-news-grid-item:nth-child(2n) .review-accent {
  background: #4c6b3a;
}

/* Stars */
.review-stars {
  margin-bottom: 24px;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
  color: #f2c94c;
}

/* Quote text */
.review-text {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  color: #666666;
}

.review-text p,
.review-text .wpb_wrapper,
.review-text .wpb_wrapper p {
  margin: 0 !important;
  font-size: inherit;
  line-height: inherit;
  font-style: inherit;
  color: inherit;
}

/* Author block */
.review-author {
  margin-top: auto !important;
  padding-top: 28px !important;
  border-top: 1px solid #e5e1da;
}

/* Post title inside author block */
.review-author .post-title,
.review-author h1,
.review-author h2,
.review-author h3,
.review-author h4,
.review-author a,
.review-author .title-h1,
.review-author .title-h2,
.review-author .title-h3,
.review-author .title-h4,
.review-author .title-h5,
.review-author .title-h6 {
  display: block;
  margin: 0 0 8px !important;
  font-family: "Oswald", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  color: #111111 !important;
  text-decoration: none !important;
}

.review-author span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #999999;
}

/* Hide unwanted default loop images/meta if they appear */
.diy-review-card img,
.diy-review-card .post-featured-image,
.diy-review-card .gem-news-item-image,
.diy-review-card .portfolio-item-image,
.diy-review-card .post-meta,
.diy-review-card .post-date,
.diy-review-card .post-author,
.diy-review-card .post-comments {
  display: none !important;
}

/* Pagination buttons */
.portfolio-navigator.gem-pagination .pages a,
.portfolio-navigator.gem-pagination .prev,
.portfolio-navigator.gem-pagination .next {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-radius: 3px;
}

/* Hover */
.portfolio-navigator.gem-pagination .pages a:hover,
.portfolio-navigator.gem-pagination .prev:hover,
.portfolio-navigator.gem-pagination .next:hover {
  background-color: #c56a3b !important;
  border-color: #c56a3b !important;
  color: #ffffff !important;
  border-radius: 3px;
}

/* Current page */
.portfolio-navigator.gem-pagination .pages a.current {
  background-color: #c56a3b !important;
  border-color: #c56a3b !important;
  color: #ffffff !important;
  border-radius: 3px;
}

/* Previous and next arrow icons */
.portfolio-navigator.gem-pagination .prev i::before,
.portfolio-navigator.gem-pagination .next i::before {
  color: #ffffff !important;
  border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .diy-footer-testimonials .portfolio-item,
  .diy-footer-testimonials .news-grid-item,
  .diy-footer-testimonials .gem-news-grid-item {
    padding: 0 0 24px !important;
  }

  .diy-review-card {
    min-height: auto;
    padding: 46px 40px !important;
  }
}

@media (max-width: 767px) {
  .diy-footer-testimonials {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .diy-footer-testimonials h2 {
    margin-bottom: 36px;
  }

  .diy-review-card {
    padding: 36px 28px !important;
  }
}

/* ================================
   Footer Mods
================================ */
.diy-tiny-footer-text {
	color: #384244;
	font-size: 12px;
}

.footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-eyebrow span {
  display: block;
  width: 34px;
  height: 2px;
  background-color: #C96F3D;
}

/* Mobile */
@media (max-width: 767px) {
 .footer-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

.footer-eyebrow-grey {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #384244;
}

.footer-eyebrow-grey span {
  display: block;
  width: 34px;
  height: 2px;
  background-color: #C96F3D;
}

/* Mobile */
@media (max-width: 767px) {
 .footer-eyebrow-grey {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}

.diy-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.diy-footer-list a {
 color: #ffffff !important;
}

.diy-footer-list a:hover {
 color: #000000 !important;
}

.diy-footer-list li::before {
  content: none;
  display: none;
}


/* SERVICE PAGE */
.quote-box-button-no-margin,
.quote-box-button-no-margin .gem-button {
    margin: 0 !important;
}












/* ================================
   Riotspace Orange Bullet List
================================ */

.riotspace-orange-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.riotspace-orange-list li {
  position: relative;
  margin: 0px;
  break-inside: avoid;
  font-size: 15px;
  line-height: 1.45;
  color: #ffffff;
}

.riotspace-orange-list li:last-child {
  margin-bottom: 0;
}

.riotspace-orange-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c56a3b !important;
  color: #c56a3b !important;
  transform: translateY(-50%);
}

.riotspace-orange-list-normal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.riotspace-orange-list-normal li {
  position: relative;
  margin: 0px;
  break-inside: avoid;
  font-size: 15px;
  line-height: 1.45;
  color: #5f727f;
}

.riotspace-orange-list-normal li:last-child {
  margin-bottom: 0;
}

.riotspace-orange-list-normal li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c56a3b !important;
  color: #c56a3b !important;
  transform: translateY(-50%);
}

/* ================================
   Two-Column Layout
================================ */

.riotspace-orange-list--two-columns {
  columns: 2;
}

/* ================================
   Optional Bold / Blocky Version
================================ */

.riotspace-orange-list--bold li {
  margin-bottom: 6px;
  padding-left: 22px;

  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: #FFFFFF;
}

.riotspace-orange-list--bold li::before {
  width: 7px;
  height: 7px;
  background-color: #c56a3b !important;
  color: #c56a3b !important;
}

/* ================================
   Mobile
================================ */

@media (max-width: 767px) {
  .riotspace-orange-list--two-columns {
    columns: 1;
  }
}






/* ================================
  PRICING INFO BOX
================================ */

.diy-callout-box {
	background-color: #f7f7f7;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid rgba(197, 106, 59, 0.25);
	box-shadow: 0 2px 8px rgba(197, 106, 59, 0.12);
}

@media (max-width: 767px) {
	.diy-callout-box {
		margin-left: 21px;
		margin-right: 21px;
		width: auto !important;
	}
}






/* ========================================
   DORSET DIY - CONTACT FORM 7
======================================== */

.dorset-diy-contact-form {
  --dorset-diy-orange: #c56a3b;
  --dorset-diy-orange-dark: #a85630;
  --dorset-diy-dark: #111111;
  --dorset-diy-text: #5f5f5f;
  --dorset-diy-border: #dedbd5;

  width: 100%;
  max-width: none;
  margin: 0;
}


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

.dorset-diy-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.dorset-diy-contact-form__field {
  min-width: 0;
  width: 100%;
}

.dorset-diy-contact-form__field--full,
.dorset-diy-contact-form__actions {
  grid-column: 1 / -1;
}


/* ========================================
   LABELS
======================================== */

.dorset-diy-contact-form__label {
  display: block;
  width: 100%;

  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;

  color: var(--dorset-diy-dark);
}


/* ========================================
   CF7 WRAPPERS
======================================== */

.dorset-diy-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}


/* ========================================
   INPUTS
======================================== */

.dorset-diy-contact-form__input,
.dorset-diy-contact-form__textarea {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;

  margin-top: 9px !important;

  border: 1px solid var(--dorset-diy-border) !important;
  border-radius: 3px !important;

  background: #ffffff !important;
  color: var(--dorset-diy-dark) !important;

  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;

  box-shadow: none !important;
  outline: none !important;

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

.dorset-diy-contact-form__input {
  min-height: 56px !important;
  padding: 0 17px !important;
}

.dorset-diy-contact-form__textarea {
  min-height: 190px !important;
  padding: 16px 17px !important;
  resize: vertical;
}

.dorset-diy-contact-form__input::placeholder,
.dorset-diy-contact-form__textarea::placeholder {
  color: #9b9b9b !important;
  opacity: 1;
}


/* ========================================
   FOCUS
======================================== */

.dorset-diy-contact-form__input:focus,
.dorset-diy-contact-form__textarea:focus {
  border-color: var(--dorset-diy-orange) !important;

  box-shadow:
    0 0 0 3px rgba(197, 106, 59, 0.10) !important;
}


/* ========================================
   SUBMIT BUTTON
======================================== */

.dorset-diy-contact-form__actions {
  margin-top: 4px;
}

.dorset-diy-contact-form__submit {
  min-height: 50px !important;
  padding: 0 24px !important;

  border: 1px solid var(--dorset-diy-orange) !important;
  border-radius: 3px !important;

  background: var(--dorset-diy-orange) !important;
  color: #ffffff !important;

  font-family: "Oswald", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;

  text-transform: none !important;
  letter-spacing: 0 !important;

  cursor: pointer !important;
  box-shadow: none !important;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.dorset-diy-contact-form__submit:hover {
  background: var(--dorset-diy-orange-dark) !important;
  border-color: var(--dorset-diy-orange-dark) !important;

  transform: translateY(-1px);

  box-shadow:
    0 8px 20px rgba(17, 17, 17, 0.08) !important;
}


/* ========================================
   VALIDATION
======================================== */

.dorset-diy-contact-form .wpcf7-not-valid {
  border-color: #b64232 !important;
}

.dorset-diy-contact-form .wpcf7-not-valid-tip {
  margin-top: 7px;

  font-size: 13px;
  color: #b64232;
}


/* ========================================
   CF7 RESPONSE
======================================== */

.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 14px 17px !important;

  border: 0 !important;
  border-left: 3px solid var(--dorset-diy-orange) !important;

  background: #f8f6f3 !important;

  font-size: 14px;
  line-height: 1.5;
  color: var(--dorset-diy-dark);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

  .dorset-diy-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .dorset-diy-contact-form__field--full,
  .dorset-diy-contact-form__actions {
    grid-column: auto;
  }

  .dorset-diy-contact-form__submit {
    width: 100% !important;
  }

}























