/*
Theme Name: Cheq
Description: Cheq Theme
Version: 1.0
Text Domain: cheq
*/

.contact_form .form { flex-direction: column; }

.hero__main .section__text form { flex-wrap: wrap; }
.hero__main .section__text form .wpcf7-not-valid-tip { font-size: 0.8em; }
.hero__main .section__text form .wpcf7-response-output { width: 100%; width: 100%; margin: 0; padding: 5px 10px; font-size: 0.8em; line-height: 1.2; }

.post_meta { margin-top: 25px; display: flex; }
.post_meta p { margin-bottom: 0; line-height: 1.2; }
.post_meta .sep { margin: 0 15px; }
.post_thumbnail { margin-top: 25px; text-align: center; }

.blog-card-description p { min-height: 50px; }

.hero-demo .hero__main .form .wpcf7-not-valid-tip { font-size: 0.8em; }
.hero-demo .hero__main .form .wpcf7-response-output { width: 100%; width: 100%; margin: 0; padding: 5px 10px; font-size: 0.8em; line-height: 1.2; }

.trusted__item picture img { max-height: 9.9rem; }

.page-template-template-careers .positions .position__head h4 { font-size: 2rem; }
.page-template-template-careers .positions .position__body h2 { font-size: 2.6rem; line-height: 1.2; }
.page-template-template-careers .positions .position__footer { font-size: 1.2rem; }

.overlay { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.8); z-index: 10; display: none; }
.popup_form { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 10px; z-index: 11; display: none; }
.popup_form_inner { padding: 20px 30px; }
.popup_form .actions { text-align: center; }
.popup_close { position: absolute; right: 1rem; top: 1rem; width: 3rem; height: 3rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='40' height='40' fill='white'/%3e%3cpath d='M29.8449 9.02539L30.9761 10.1566L10.1585 30.9726L9.02734 29.8422L29.8449 9.02539Z' fill='%23A4ADBA'/%3e%3cpath d='M10.1585 9.02539L30.9761 29.8414L29.8449 30.9734L9.02734 10.1574L10.1585 9.02539Z' fill='%23A4ADBA'/%3e%3c/svg%3e ");
    background-repeat: no-repeat; background-position: center; background-size: contain; cursor: pointer; font-size: 0; transition: 0.3s; }
.popup_close:hover { background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='40' height='40' fill='white'/%3e%3cpath d='M29.8449 9.02539L30.9761 10.1566L10.1585 30.9726L9.02734 29.8422L29.8449 9.02539Z' fill='%233E444A'/%3e%3cpath d='M10.1585 9.02539L30.9761 29.8414L29.8449 30.9734L9.02734 10.1574L10.1585 9.02539Z' fill='%233E444A'/%3e%3c/svg%3e "); }

.hero-solutions-single h1 { font-size: var(--headings-sizes-h1); }
.hero-solutions-single .hero__main { object-fit: contain; }

/* .hero-solutions-single + .text-block .button { color: #15172C; }
.hero-solutions-single + .text-block .button .button__content { background: #EEF1FA; }
.hero-solutions-single + .text-block .button:hover { color: #fff; }
.hero-solutions-single + .text-block .button:hover .button__content { background: transparent; } */

.fs-simple_quote-author { margin-top: 30px; }

.report-card__image picture { padding-top: 100%; }
.report-card__image picture image { padding-top: 100%; }

.blog-resources { padding: 90px 0; background: #fff; }

/* New blog styles */
body.blog { padding-bottom: 0; }
.blog-page .header, .single.single-post .header { position: relative; color: var(--color-dark); }
.blog-page .header__bottom { background-color: var(--color-white); }
.blog-page .header .button__content { background: var(--color-white); color: var(--color-dark); }
.blog-page .header a:hover .button__content { background: transparent; color: var(--color-white); }
.blog-featured_new { background: #EEF1FA; padding: 107px 0 94px; }
.blog-featured_new h4 { font-family: "Avenir", sans-serif; font-size: 1.9rem; color: #15172C; line-height: 1.5; font-weight: 400; margin-bottom: 15px; }
.f_single_post { padding-right: 50px; }
.f_single_post h2.g-txt { font-size: 2.6rem; }
.f_single_post h2:hover { --g-txt-gradient: #000; }
.fsp_image { margin-bottom: 18px; }
.fsp_image img { vertical-align: text-bottom; }
.fsp_info { font-size: 1.9rem; color: #888890; line-height: 1.5; }
.fsp_info span { margin: 0 10px; }
.f_recent_posts h4 { margin-bottom: 62px; }
.f_r_post:not(:last-child) { border-bottom: 1px solid rgba(17, 18, 34, 0.2); padding-bottom: 18px; margin-bottom: 28px; }
.f_r_post h3 { margin-bottom: 2px; }
.f_r_post h3 a { font-family: "Avenir", sans-serif; font-size: 2.4rem; color: #15172C; line-height: 1.45; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease-in-out; }
.f_r_post h3 a:hover { --g-txt-gradient: var(--gradient-main); background: var(--g-txt-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.subscribe_updates { background: #DDDAEF; padding: 70px 0; }
.su_form_wrapper { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.su_form_wrapper h3 { margin-bottom: 0; flex: 1; }
.su_form { flex: 1; }
.su_form .hs_email > label { display: none; }
.su_form .hbspt-form { max-width: 100%; }
.su_form .hs-form-field .hs-input { color: var(--color-dark); border-bottom: 1px solid #15172C; padding: 0 2px; }
.su_form .hs-form-field .hs-input:hover { border-color: linear-gradient(90deg, #9925cf 0%, #fd0173 100%); }
.su_form .hs_submit .hs-button { line-height: 1; text-transform: uppercase; position: relative; display: flex; align-items: center; align-content: center; justify-content: center; z-index: 1; transition: background 0.3s ease-in-out; height: 3.6rem; background: #DDDAEF; border-radius: 3.2rem; padding: var(--btn-pd); }
.su_form .hs_submit .hs-button:hover { background-color: transparent; color: var(--color-white) !important; }

section.blog { padding: 90px 0; background: #fff; }
section.blog .row { gap: 10rem; }
section.blog .blog-card { flex-direction: row; gap: 2.4rem; }
section.blog .press-card__image { max-width: 458px; }
section.blog .blog-card__info { width: auto; justify-content: center; }
.blog-card-description a { color: #15172C; text-decoration: none; }
.blog-card-description a:hover { --g-txt-gradient: var(--gradient-main); background: var(--g-txt-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

section.blog .blog__menu ul { border-radius: 0.4rem; overflow: hidden; }
section.blog .blog__menu ul li { background: var(--gradient-main); padding: 2px 0; }
section.blog .blog__menu ul li:first-child { padding-left: 2px; }
section.blog .blog__menu ul li:last-child { padding-right: 2px; }
section.blog .blog__menu ul a { height: 36px; background: #fff; transition: background 0.3s ease-in-out, color 0.3s ease-in-out; border: 0; }
section.blog .blog__menu ul a:hover { background: transparent; }
section.blog .blog__menu ul a.active { background: var(--gradient-main); }

.single_post_new .default__head { padding: 107px 0; min-height: 0; }
.single_post_info { padding-right: 50px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.single_post_info h1 { font-size: 4.5rem; line-height: 1.3; margin-bottom: 20px; }
.socials.post_share a { background-color: var(--color-purple); color: var(--color-white); }
.socials.post_share a:hover { background-color: var(--color-white); color: var(--color-dark); }
.single_post_image { padding-left: 50px; }
.single_post_image .post_thumbnail { margin-top: 10px; }
.single_post_content { padding-bottom: 9.4rem; }
.single_post_content a { color: #FE0072; text-decoration: none; }
.single_post_content a:hover { text-decoration: underline; }

.single_post_author { display: flex; padding-top: 20px; }
.spa_image img { width: 300px; height: auto; border-radius: 100%; }
.spa_info { flex: 1; padding-left: 24px; }
.spa_info h4 { font-size: 26px; margin-bottom: 24px; }
.spa_info h3 { font-size: 24px; margin-bottom: 0; }
.spa_info p { line-height: 1.6; }
.spa_social.socials a { background-color: var(--color-purple); color: var(--color-white); }
.spa_social.socials a:hover { background-color: var(--color-white); color: var(--color-dark); text-decoration: none; }

.recommended_posts { padding: 9.5rem 0 17rem; }
.recommended_posts h4 { font-size: 4.5rem; margin-bottom: 18px; }
.all_recent_posts { display: flex; gap: 44px; }
.srp_image { margin-bottom: 25px; }
.srp_image img { vertical-align: top; }
.srp_read_more a { color: var(--color-dark); }
.srp_read_more .button__content { background: var(--color-purple-white); }

.hs-form legend { font-size: 1.4rem; line-height: 1.6; margin-bottom: 2rem; }
.hs-form ul.inputs-list { margin: 0; padding: 0; list-style-type: none; }
.hs-form ul.inputs-list label { color: #fff; line-height: 1.2; display: flex; align-items: flex-start; }
.hero-demo .hs-form ul.inputs-list label input,
.hs-form ul.inputs-list label input { width: 18px !important; min-height: 18px !important; margin-right: 10px; }
/* New blog styles */

@media screen and (max-width: 991px) {
	.footer__certifications { flex-wrap: nowrap; }
}