/* ================================ GENERAL CLASSES ================================ */

.blog-filter-options label > input[type=checkbox] {
    width: auto;
    height: auto;
    position: static;
    margin-right: 10px;
}


@media (max-width: 480px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* ================================ TESTIMONIALS LIST PAGE ================================ */

.standout-button { /* Duplicate CSS */
    border: none;
    background-color: #ef9645;
    color: white;
}

.testimonials-page > h1 {
    text-align: center;
}

.testimonials-page > h1, .testimonial-details-page > h1 {
    color: #007ba4;
    margin: 1rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem;
}

.testimonial-box {
    background-color: #f2f7fc;
    padding: 1.75rem;
    margin: 0.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.testimonials-container .testimonial-box {
    height: 480px;
    position: relative;
}

.testimonial-box .standout-button {
    padding: 0.5rem 1rem;
    top: 45px;
    position: absolute;
    z-index: 2;
    font-size: 0.65rem;
}

button.standout-button {
    float: right;
    margin-top: 1rem;
}

.testimonial-box img {
    align-self: center;
}

.testimonial-details-page .testimonial-images .testimonial-image {
    margin: 1rem 1.25rem;
    max-width: 280px;
    max-height: 280px;
}

.testimonial-box .review-stars {
    align-self: center;
    display: flex;
}

.testimonial-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-images .image-container {
    position: relative;
}

.testimonial-info h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #007ba4;
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
    padding: 0.3rem;
}

p.testimonial-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-images .testimonial-image-large {
    position: absolute;
    padding: 1rem;
    z-index: 2;
    top: -10%;
    left: 100%;
    width: 450px;
    background-color: white;
    border: 1px solid #ccc;
    display: none;
}

.testimonial-images .image-container:hover .testimonial-image-large {
    display: block;
}

/* ARROW */

.testimonial-image-large::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 11px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 11px solid #ccc;
    left: -12px;
    top: 40%;
    z-index: 3;
}

.testimonial-image-large::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 12px solid white;
    left: -10px;
    top: 40%;
    z-index: 4;
}

/* ================================ TESTIMONIAL DETAILS PAGE ================================ */

.testimonial-images {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.testimonial-images .testimonial-image {
    height: 300px;
}

.testimonial-details-page .review-stars img {
    margin: 2px;
}

/* ================================ BLOG LIST PAGE ================================ */


.temp-widget { /* For testing purposes only */
    height: 580px !important;
    background-color: #ccc !important;
    margin: 0.75rem;
}

.blog-page-master .page-body {
    display: flex;
    flex-direction: column;
}

.blog-page-master h1, .blog-page-master h2, .blog-page-master h3, .blog-page-master h4 {
    color: #007ba4;
    margin: 0.5rem 0;
}

h1.blog-page-title {
    text-align: left;
    border-bottom: 1px solid;
}

.blog-header {
    display: flex;
    margin-bottom: 1.5rem;
    height: 40vh;
}

.blog-header > a {
    display: none;
}

header.blog-header > a > .blog-post, header.blog-header > .blog-filter {
    height: 24rem;
}

.blog-posts-list .blog-header .blog-post {
    height: 100%;
}

.blog-filter {
    flex: 3;
}

.blog-filter h4 {
    color: #007ba4;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.blog-filter-options label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.blog-filter, .blog-post {
    border: 1px solid #CECECE;
    border-radius: 5px;
    margin: 0.75rem;
}



.blog-post {
    background-color: #FBFBFB;
    overflow: hidden;
}

.blog-post > img {
    object-fit: cover;
    height: 150px;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

.block-of-blogs .blog-post {
    height: 580px;
}

.blog-post .post-head {
    background-color: #fff;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.blog-post .post-head > div {
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-post .post-head p {
    text-align: right;
    color: #999;
}

.blog-post .post-head p::before {
    content: '\e930';
    display: inline-block;
    margin: -4px 6px 0 0;
    font-family: prisma;
    font-size: 16px;
    vertical-align: middle;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
}

.latest-blog-entry {
    display: flex;
    flex: 9;
}

.latest-blog-entry > a {
    max-width: 35%;
}

.latest-blog-entry img {
    object-fit: cover;
}

.block-of-blogs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    margin-bottom: 1rem; /* When changing this value, change grid-gap as well */
    order: 2;
}

.blog-header .blog-post h3 {
    font-size: 1.4rem;
}

.blog-post h2 {
    padding-bottom: 3px;
    border-bottom: 1px solid;
}

.blog-post h3 {
    margin-bottom: 1rem;
}

.blog-post .tags {
    padding-top: 0.5rem;
}

.blog-post .tags > ul {
    display: flex;
}

.blog-cat-tag {
    color: #555;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    text-transform: capitalize;
    border: 1px solid #CECECE;
}

.tags > ul > .blog-cat-tag:not(:last-child) {
    margin-right: 5px;
}

.blog-post .post-head, .blog-post .post-text, .blog-filter, .blog-post .tags {
    padding: 1.2rem;
}

.post-description-preview {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============== BLOG POST PAGE ============== */

.blog-post-page ul {
    list-style: disc;
}

.blog-post-page ol {
    list-style: decimal;
}

.blog-post-page h2 {
    padding-bottom: 3px;
    border-bottom: 1px solid;
    margin: 1rem 0 1.5rem 0;
}

.blog-post-page blockquote {
    margin: 0.5rem;
}

.blog-post-page img {
    margin: 1rem 0;
}

/* ============== TEMPLATES ============== */

.cat-page-SEO .content-section {
    padding: 1.5rem;
}

.cat-page-SEO h2 {
    color: #007ba4;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    margin-bottom: 15px;
}

/* ================================ MEDIA ================================ */

@media (min-width: 1200px) {
    .template-row-of-images > div:not(:last-child) {
        margin-right: 1.2rem;
    }
}

@media (max-width: 1000px) {
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-row-of-images > div:not(:first-child) {
        margin-top: 1.2rem;
    }
}

@media (max-width: 720px) {

    .blog-post .post-head, .blog-post .post-text, .blog-filter, .blog-post .tags {
        padding: 0.85rem;
    }

    .blog-header {
        flex-direction: column;
        height: auto;
        margin-bottom: 0;
    }

    .blog-filter-options {
        display: flex;
        flex-wrap: wrap;
    }

    .checkbox-option {
        margin-right: 15px;
    }

    .blog-filter-options label > input[type=checkbox] {
        margin-right: 2px;
    }

    .block-of-blogs {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .testimonial-box {
        max-height: 450px;
        height: auto;
    }

    .testimonial-images img {
        width: 200px;
        height: 200px;
    }

    .blog-header .blog-post {
        display: flex;
        flex-direction: column;
    }

    .latest-blog-entry img {
        object-fit: cover;
        max-width: 100%;
        max-height: 13vh;
    }

    .latest-blog-entry p.post-description-preview {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .block-of-blogs .blog-post {
        height: auto;
    }

    .post-description-preview {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .block-of-blogs {
        grid-template-columns: repeat(1, 1fr);
    }

}

