.case_studies_cols {
  display: flex;
}

.case_studies_cols .wp-block-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case_studies_cols .wp-block-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.what_sets_me_apart_cols {
  display: flex;
}

.what_sets_me_apart_cols .wp-block-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.what_sets_me_apart_cols  .wp-block-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.case_studies_list_cols .wp-block-column > h3,
.case_studies_list_cols .wp-block-column > p,
.case_studies_list_cols .wp-block-column > div.wp-block-buttons {
    padding-left: 20px;
    padding-right: 20px;
}

.calendly {
    margin: 20px; /* Adjust this value as per your requirement */
}

#calendly-block-3 {
    margin: 20px; /* Adjust this value as needed */
}

.case_studies_list_cols .wp-block-column img {
    width: 100% !important; /* Ensures the image takes up the full width of the column */
    height: 170px !important; /* Sets a fixed height for the images */
    object-fit: cover; /* Ensures the image covers the area, maintaining aspect ratio */
}

a[itemprop="name"] {
    white-space: nowrap; /* Prevents the text from wrapping */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Adjust as needed */
    font-size: 28px; /* Adjust the font size to fit in one row */
}

.site-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Adjust as needed */
    font-size: 14px; /* Adjust as needed */
	    white-space: nowrap; /* Ensures text stays on one line */
}

footer .site-info {
    display: none;
}

.footer-credit {
    display: none;
}

.footer-widget-3, /* This targets and hides Footer 3 */
.footer-widget-4 { /* This targets and hides Footer 4 */
    display: none;
}

/* this part optimizes the webpage for mobile devices */



/* Media query for tablets and smaller devices (max-width 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Reduce base font size */
        padding: 0px; /* Reduce padding */
    }

    .review-item {
        font-size: 0.9rem; /* Reduce font size in reviews */
        padding: 20px; /* Reduce padding */
        margin: 10px; /* Reduce margins */
        border-radius: 8px; /* Reduce corner radius */
    }

    .prev, .next {
        font-size: 2.5rem; /* Reduce arrow size */
    }

    /* General button styling for tablets */
    button, .button {
        font-size: 0.875rem; /* Reduce button font size */
        padding: 10px 15px; /* Reduce button padding */
        border-radius: 5px; /* Slightly reduce border radius */
    }
}

/* Media query for mobile phones (max-width 480px) */
@media (max-width: 480px) {
    body {
        font-size: 12px; /* Further reduce font size */
        padding: 5px;
    }

    .review-item {
        font-size: 0.8rem; /* Even smaller font size for mobile */
        padding: 15px;
        margin: 0 2px;
        border-radius: 5px;
    }

    .prev, .next {
        font-size: 2rem; /* Smaller arrows on mobile */
    }

    /* General button styling for mobile */
    button, .button {
        font-size: 0.75rem; /* Smaller font size for buttons on mobile */
        padding: 8px 12px; /* Smaller padding for mobile */
        border-radius: 4px; /* Slightly more compact on mobile */
    }
}


/* Base styles for the header*/

/* Media query for tablets (max-width: 768px) */
@media (max-width: 768px) {
    #masthead.site-header {
        padding: 15px 20px;
    }

    #masthead .site-title {
        font-size: 1.75rem !important; /* Reduce logo size */
			
    }

    .main-navigation {
        gap: 20px;
    }

    #masthead .main-navigation a {
        font-size: 0.875rem !important; /* Reduce font size */
    }

    button, .button {
        font-size: 0.875rem !important;
        padding: 10px 15px;
        border-radius: 5px;
    }
	
	.site-description {
        white-space: normal; /* Allows text to wrap to multiple lines on smaller screens */
    }
}

/* Media query for mobile phones (max-width: 480px) */
/* Mobile styles for screens 480px and below */
/* Mobile styles for screens 480px and below */
@media (max-width: 480px) {
    #masthead .site-title {
        font-family: 'Montserrat', sans-serif !important; /* Enforce Montserrat on mobile */
        font-size: 1.5rem !important; /* Smaller font size on mobile */
        white-space: normal; /* Allow text to wrap into multiple lines */
        text-align: left; /* Align text to the left or adjust as needed */
        word-wrap: break-word; /* Ensure long words break properly */
        line-height: 1.2; /* Adjust line height for better spacing */
    }

    #masthead .site-title a {
        display: inline-block;
        max-width: 100%; /* Ensure it takes the full width */
    }

    #masthead .site-description {
        font-family: 'Montserrat', sans-serif !important; /* Enforce Montserrat for description */
        font-size: 0.875rem !important; /* Adjust the font size of the description */
    }
}

.about-author {
  display: none !important;
}

.post-share {
  display: none !important;
}

.warning-box {
    margin: 20px 0; /* Adjust the top and bottom margins */
    padding: 15px; /* Adds padding inside the box */
}

div.o-posts-grid-post-image img {
    width: 100% !important;
    height: 85px !important;
    object-fit: cover !important;
}
