/*
Theme Name: CMLF
Author: Sprucetech
Description: Theme for CMLF
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
}

.elementor-menu-anchor {
    scroll-margin-top: 150px;
}

a {
	text-decoration-color: #2F5C84;
}

.cmlf-by-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2F5C84;
    font-weight: 600;
}

.cmlf-by-author__icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    line-height: 1;
}

.cmlf-by-author__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

ul.cmlf-top-buttons {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 15px 0;
    padding: 0;
}

ul.cmlf-top-buttons li a{
    background-color: #2F5C84;
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media only screen and (max-width: 1250px) {
    ul.cmlf-top-buttons li a{
        font-size: 14px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 600px) {
    ul.cmlf-top-buttons {
        flex-direction: column;
        gap: 5px;
    }
}

ul.cmlf-social-icons {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 15px 0;
}

ul.cmlf-social-icons li a{
    color: #2F5C84;
}

ul.cmlf-social-icons .social-icon img,
ul.cmlf-social-icons .social-icon svg {
    max-height: 20px;
    width: auto;
    display: inline-block;
}

#sidebar-sticky ul{
    margin: 0;
}

#sidebar-sticky ul li {
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20px' height='20px' viewBox='0 0 16 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect width='16' height='16' id='icon-bound' fill='none' /%3E%3Cpolygon points='11,8 6,13 6,3' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right top;
}

/* Subtitle */
.subtitle {
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px; /* 137.5% */
    text-transform: capitalize;
}

/* Link Copy */
.link-copy {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 133.333% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* Body Copy */
.body-copy {
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}

/* Button Copy 1 */
.button {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    text-transform: uppercase;
}

/* H1 */
h1, .elementor-widget-theme-post-content h1, .elementor-widget-theme-post-content h1 a {
    font-family: Raleway;
    font-size: 90px;
    font-style: normal;
    font-weight: 800;
    line-height: 75px; /* 83.333% */

}

@media only screen and (max-width: 600px) {
    h1, .elementor-widget-theme-post-content h1, .elementor-widget-theme-post-content h1 a {
        font-size: 42px;
        line-height: 45px; /* 107.143% */
        text-transform: capitalize;
    }
}

/* H2 */
h2, .elementor-widget-theme-post-content h2, .elementor-widget-theme-post-content h2 a {
    font-family: Raleway, sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 800;
    line-height: 64px; /* 106.667% */
    color: #22477F;
}

/* Mobile/H2 */
@media only screen and (max-width: 600px) {
    h2, .elementor-widget-theme-post-content h2, .elementor-widget-theme-post-content h2 a {
        font-size: 22px;
        line-height: 32px;
    }
}

/* H3 */
h3, .elementor-widget-theme-post-content h3, .elementor-widget-theme-post-content h3 a {
    font-family: Raleway, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px; /* 125% */
    text-transform: capitalize;
    color: #22477F;
}

@media only screen and (max-width: 600px) {
    h3, .elementor-widget-theme-post-content h3, .elementor-widget-theme-post-content h3 a {
        font-size: 22px;
        line-height: 28px; /* 127.273% */
    }
}

/* H4 */
h4, .elementor-widget-theme-post-content h4, .elementor-widget-theme-post-content h4 a {
    font-family: Raleway, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 28px; /* 127.273% */
    color: #22477F;
}

/* H5 */
h5 .elementor-widget-theme-post-content h5, .elementor-widget-theme-post-content h5 a {
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    text-transform: capitalize;
    color: #22477F;
}

.cmlf-blog-filter {
    margin: 1.5rem 0;
}

.cmlf-blog-filter__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.cmlf-blog-filter__field {
    flex: 1 1 200px;
    min-width: 180px;
}

.cmlf-blog-filter__field select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
}

.cmlf-blog-filter__actions {
    display: flex;
    align-items: stretch;
}

.cmlf-blog-filter__button {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 73.357px;
    background-color: #079F95;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cmlf-blog-filter__button:hover,
.cmlf-blog-filter__button:focus {
    background-color: #05877f;
}

@media (max-width: 768px) {
    .cmlf-blog-filter__field,
    .cmlf-blog-filter__actions {
        flex: 1 1 100%;
    }

    .cmlf-blog-filter__button {
        width: 100%;
    }
}
