/*
 * Additional Styles for Banisolar Theme
 * Corrects header alignment and responsiveness issues.
 */

/* Ensure the header container is fully responsive and centered */
header .headerContainer {
  width: 100% !important;
  max-width: 1121px !important;
  margin: 0 auto !important;
  float: none !important;
}

/* Ensure the header inner layout spans correctly and resets float */
header .headerInner {
  width: 100% !important;
  float: none !important;
}

/* Add safe horizontal padding for mid-sized screens to prevent logo/button from touching screen edges */
@media screen and (min-width: 1101px) and (max-width: 1200px) {
  header .headerInner {
    padding: 0 20px !important;
  }
}

/* ==========================================================================
   Standard Page Layout & Typography (e.g., Privacy Policy Page)
   ========================================================================== */

/* Set a premium, subtle off-white background on pages to make the content card pop */
body.page {
  background-color: #f7f9f4 !important;
}

/* Styling for standard WordPress pages */
article.page,
article.type-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 45px 50px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(81, 165, 16, 0.08); /* extremely subtle brand green border */
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #4a4a4a;
  line-height: 1.85;
  position: relative;
}

/* Reset layout of header element inside article pages */
article.page header.header,
article.type-page header.header {
  position: static !important;
  width: 100% !important;
  background: none !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 0 35px 0 !important;
  border-bottom: 2px solid #51A510;
  padding-bottom: 20px !important;
}

/* Page Title styling */
article.page .entry-title,
article.type-page .entry-title {
  font-size: 32px;
  font-weight: 700;
  color: #27330E; /* brand dark green */
  margin: 0 0 10px 0;
  line-height: 1.3;
}

/* Page Content spacing */
article.page .entry-content {
  font-size: 15.5px;
}

/* Content Headings styling */
article.page .entry-content h1,
article.page .entry-content h2,
article.page .entry-content h3,
article.page .entry-content h4 {
  color: #27330E;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 15px;
}

article.page .entry-content h1 { font-size: 26px; }
article.page .entry-content h2 { font-size: 21px; border-left: 3px solid #51A510; padding-left: 12px; }
article.page .entry-content h3 { font-size: 18px; }
article.page .entry-content h4 { font-size: 16px; }

/* Paragraph styling */
article.page .entry-content p {
  margin-bottom: 20px;
  color: #555555;
}

/* Bullet list custom styling */
article.page .entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

article.page .entry-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #555555;
}

article.page .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #51A510; /* brand green */
  border-radius: 50%;
}

/* Ordered list styling */
article.page .entry-content ol {
  padding-left: 20px;
  margin: 20px 0;
}

article.page .entry-content ol li {
  margin-bottom: 12px;
  color: #555555;
}

/* Sub-items list nested */
article.page .entry-content ul ul,
article.page .entry-content ol ol {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Horizontal lines / Dividers */
article.page .entry-content hr {
  border: 0;
  height: 1px;
  background: #eef3e6;
  margin: 40px 0;
}

/* Links inside content */
article.page .entry-content a {
  color: #51A510;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #51A510;
  transition: all 0.2s ease-in-out;
}

article.page .entry-content a:hover {
  color: #27330E;
  border-bottom-style: solid;
  border-bottom-color: #27330E;
}

/* Responsive adjustments for mobile/tablet */
@media screen and (max-width: 900px) {
  article.page,
  article.type-page {
    margin: 30px 15px;
    padding: 35px 25px;
  }
  article.page .entry-title,
  article.type-page .entry-title {
    font-size: 26px;
  }
}

/* ==========================================================================
   Contact Form – SMS/WhatsApp consent checkbox
   ========================================================================== */

.completeContactWrap .contactFormWrap form p > br {
  display: none;
}

.completeContactWrap .contactFormWrap .wpcf7-form-control-wrap[data-name^="acceptance"] {
  display: block;
  width: 100%;
  float: left;
  margin: 14px 0 10px;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance {
  display: block;
  width: 100%;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  width: 100%;
  margin: 0;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  color: #444;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: #193af5;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item-label {
  flex: 1;
  min-width: 0;
  text-wrap: pretty;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item-label a {
  color: #193af5;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: #2036f5;
}

.completeContactWrap .contactFormWrap .wpcf7-acceptance + .inputWrap,
.completeContactWrap .contactFormWrap .wpcf7-form-control-wrap[data-name^="acceptance"] + .inputWrap {
  margin-top: 4px;
}

@media screen and (max-width: 767px) {
  .completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item label {
    font-size: 12px;
    line-height: 1.6;
  }

  .completeContactWrap .contactFormWrap .wpcf7-acceptance .wpcf7-list-item-label a {
    white-space: normal;
  }
}

/* ==========================================================================
   Footer – email / phone / social alignment
   ========================================================================== */

footer .footerInner .footerBox.infoContact {
  align-items: flex-start;
}

footer .footerInner .footerBox.infoContact span {
  align-items: flex-start;
  justify-content: flex-start;
}

footer .footerInner .footerBox.infoContact span i {
  width: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  text-align: center;
}

footer .footerInner .footerBox.infoContact span p {
  text-align: left;
  line-height: 22px;
}

footer .footerInner .footerBox.infoContact .socialWrap {
  justify-content: flex-start;
  padding-left: 28px; /* icon width (16) + gap (12) – match email/phone text start */
}



footer .footerInner .footerBox ul li{
width:42%!important;    

}