/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://staging.snowcountryroofing.com/
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

/* ------------------------- */
/* Form: Contact Appointment */
/* ------------------------- */
.contact_apointment {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
}

.label_apointment {
  flex: 1;
  min-width: 160px;
}

.contact_apointment input[type="text"],
.contact_apointment input[type="email"],
.contact_apointment input[type="tel"] {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  font-size: 14px;
}

.contact_apointment input[type="submit"] {
  padding: 10px 20px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .contact_apointment {
    flex-wrap: wrap;
  }

  .label_apointment {
    flex: 100%;
    min-width: 100%;
  }
}

.wpcf7-spinner {
  display: none !important;
}

/* ------------------------- */
/* Custom Post Layout        */
/* ------------------------- */
.post-container {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin: 20px auto 0;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
}

.post-meta-left {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: sticky;
  top: 50px;
  margin: 0;
  padding: 0;
}

.custom-date-box {
  background: #f6f6f6;
  padding: 5px 14px;
  border-radius: 150px;
  font-size: 21px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  width: 100%;
}

.custom-date-box:hover {
  background-color: #23A455;
  color: #fff;
}

.post-share-icons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
  padding: 0;
}

.post-share-icons a {
  color: #d0d0d4;
  font-size: 15px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.post-share-icons a:hover {
  color: #23A455;
}

.post-content-right {
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.post-content-right img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.entry-title {
  font-size: 32px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .post-container {
    flex-direction: column;
    gap: 10px;
  }

  .post-meta-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .post-content-right {
    margin-left: 0;
  }
}

/* ------------------------- */
/* Pagination Styles         */
/* ------------------------- */
.pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 8px;
  margin-top: 20px;
}

.pagination li {
  display: inline-flex;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e3e2e7;
  background-color: white;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.pagination li span.current,
.pagination li a:hover {
  border-color: #23a455;
  color: #fff;
  background-color: #23a455;
}

/* ------------------------- */
/* Blog & Archive Styling    */
/* ------------------------- */
body.blog .custom-header,
.single-post .custom-header {
  background-color: #23A455;
}

body.blog .page-header {
  display: none;
}

.post-meta-info {
  font-size: 0.85em;
  color: #666;
  margin: 8px 0 16px;
}

.post-meta-info .post-author,
.post-meta-info .post-tags {
  display: inline-block;
  margin-right: 10px;
}

.post-content-right a,
.post-content-right a:visited {
  color: #000;
  text-decoration: none;
}

.post-content-right a:hover {
  color: #333;
  text-decoration: underline;
}

/* ------------------------- */
/* Latest Posts Grid         */
/* ------------------------- */
.latest-posts-section {
  margin-top: 50px;
}

.latest-posts-section h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.latest-posts-grid.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.latest-post-item {
  background: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.latest-post-item:hover {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.latest-post-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.latest-post-item h3 {
  font-size: 1.1em;
  margin: 0;
}

/* Adjust spacing between icons and content in the top header */

@media only screen and (min-width: 1024px) {
.elementor-widget-icon-box.elementor-position-left .elementor-icon-box-icon {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: -10px !important;}
}
/* ------------------------- */
/* Header Styling            */
/* ------------------------- */
body.home .custom-header {
  background-color: transparent !important;
  width: 100%;
  z-index: 999;
}

body:not(.home) .custom-header {
  background-color: #23a455 !important;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-header .elementskit-icon a,
.custom-header .elementskit-list-icon a {
  font-size: 18px !important;
  line-height: 1 !important;
  height: 18px !important;
  width: 18px !important;
}

/* ------------------------- */
/* Circular Image Styling    */
/* ------------------------- */
.circleimg img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 50%;
}

@media only screen and (max-width: 720px) {
  .circleimg img {
    max-width: 300px !important;
    height: 300px !important;
  }
}

/* ------------------------- */
/* Booking Form Box Shadow   */
/* ------------------------- */
.wpbc_booking_form_simple .wpbc__form__div {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* ------------------------- */
/* Elementor Specific Fixes  */
/* ------------------------- */
@media (max-width: 767px) {
  .elementor-element.elementor-element-f8ee2b9 .elementor-icon-box-title,
  .elementor-element.elementor-element-f8ee2b9 .elementor-icon-box-title a,
  .elementor-element.elementor-element-8ff04b4 .elementor-icon-box-title,
  .elementor-element.elementor-element-8ff04b4 .elementor-icon-box-title a {
    margin-top: 3px !important;
  }
}

@media only screen and (max-width: 600px) {
  .elementor-41 .elementor-element.elementor-element-34f59c97 .elementskit-navbar-nav > li > a .elementskit-submenu-indicator {
    color: #021343;
    fill: #021343;
  }
}