:root {
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-size: var(--font-size);
    color: var(--text-color);
    line-height: 30px;
    margin-top: 79px;
}

a {
    color: var(--primary-color);
    text-decoration: underline;
}

p {
    margin: 0 0 1em 0;
}

p:last-child {
    margin: 0;
}

select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"] {
    height: 56px;
    line-height: 56px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Avenir';
    padding: 0 16px;
    color: #262626;
    width: 100%;
    font-size: 18px;
}

select {
    appearance: none;
    background-color: #fff;
    background-image: url('../images/select-arrow.png');
    background-image: image-set(url('../images/select-arrow.png') 1x,
    url('../images/select-arrow@2x.png') 2x);
    background-size: 13px 8px;
    background-position: calc(100% - 10px) 50%;
    background-repeat: no-repeat;
}

textarea {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Avenir';
    padding: 0 16px;
    color: #262626;
    width: 100%;
    font-size: 18px;
    padding-top: 15px;
}
.wpcf7-response-output {
    display: none;
}

form .success {
    text-align: center;
    width: 100%;
}

form .success p {
    width: 100% !important;
    max-width: 464px;
    margin: 0 auto !important;
    font-weight: 500;
    color: #1E1E53 !important;
    font-size: 20px;
}

form .success p.title35 {
    margin-bottom: 15px !important;
}

.container {
    --content-width: 1484px;
    max-width: calc(var(--content-width) + 30px);
    margin: 0 auto;
    padding: 0 15px;
}

button,
input[type="submit"],
.button {
    height: 56px;
    line-height: 56px;
    background: var(--primary-color);
    border-radius: 100px;
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.14em;
    padding: 0 32px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Komet';
    font-weight: 800;
    box-shadow: none;
    outline: none;
    border: none;
    cursor: pointer;
}

.button-center {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

.button.b-green {
    background: var(--green);
}

.button.b-white {
    background: var(--white);
}

.button.f-black {
    color: var(--black);
}

.button.b-red {
    background: var(--red);
}

.menu-wrap {
    width: 100%;
}

.site-header {
    background: var(--white);
    padding: 12px 0 3px 0;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.160784);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

.site-branding {
    flex-shrink: 0;
}

.site-header .container {
    display: flex;
    align-items: center;
}

.site-branding .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-right: 68px;
}

.site-branding .logo img {
    width: auto;
    display: block;
}

.main-navigation .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
}

#menu-header-menu,
.header-buttons {
    margin-bottom: 6px;
}

.main-navigation .nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.main-navigation .nav-menu a:hover {
    color: var(--primary-color);
}

.site-header .header-buttons {
    margin-left: auto;
}

.site-header .login {
    font-size: 16px;
    position: relative;
    bottom: 2px;
}

.site-header .button {
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    padding: 0 44px;
    margin-left: 30px;
}

.mobile-menu-open,
.mobile-menu-close {
    display: none;
    margin-left: auto;
    cursor: pointer;
}

@media screen and (max-width: 1500px ) {
    .site-branding .logo {
        margin-right: 30px;
    }

    .main-navigation .nav-menu {
        gap: 30px;
    }

    .site-header .button {
        margin-left: 25px;
    }
}

@media screen and (max-width: 1300px ) {
    .site-header .button {
        padding: 0 32px;
    }

    .site-branding .logo {
        margin-right: 20px;
    }

    .main-navigation .nav-menu {
        gap: 20px;
    }

    .site-header .button {
        margin-left: 15px;
    }
}

@media screen and (max-width: 1200px ) {
    .site-header .login,
    .main-navigation .nav-menu a {
        font-size: 15px;
    }

    .site-header .button {
        font-size: 18px;
        padding: 0 24px;
        height: 40px;
        line-height: 40px;
    }
}

@media screen and (max-width: 1100px ) {
    .site-branding .logo {
        margin-right: 15px;
    }

    .site-header .button {
        margin-left: 5px;
    }

    .site-header .login, .main-navigation .nav-menu a {
        font-size: 14px;
    }

    .main-navigation .nav-menu {
        gap: 15px;
    }

    .site-header .login {
        bottom: 0;
    }

    .site-header .button {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px ) {
    .mobile-menu-open {
        display: block;
        margin-top: 9px;
    }

    .mobile-menu-close {
        margin-right: 9px;
    }

    .menu-open .mobile-menu-open {
        display: none;
    }

    .menu-open .mobile-menu-close {
        display: block;
    }

    .menu-wrap {
        position: fixed;
        bottom: 0;
        left: -101vw;
        width: 100vw;
        top: 78px;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        background: var(--blue);
        z-index: 99;
        padding: 45px 0;
        transition: var(--transition);
    }

    .menu-open .menu-wrap {
        left: 0;
    }

    .main-navigation {
        width: 100%;
        max-width: 288px;
    }

    #menu-header-menu {
        flex-direction: column;
        gap: 31px;
    }

    .main-navigation .nav-menu a,
    .main-navigation .nav-menu a:hover {
        color: #fff;
        font-size: 21px;
        line-height: 1em;
        position: relative;
    }

    .main-navigation .nav-menu a:active::before,
    .main-navigation .nav-menu a:hover::before {
        content: '';
        position: absolute;
        height: 28px;
        bottom: 0;
        left: -14px;
        background: #fff;
        border-radius: 50px;
        width: 2px;
    }

    .site-header .header-buttons {
        display: flex;
        flex-direction: column-reverse;
        margin: 0;
    }

    .site-header .button {
        background: #fff;
        color: var(--green);
        height: 48px;
        line-height: 48px;
        border-radius: 8px;
        font-size: 21px;
        font-weight: 600;
        margin: 0 0 15px 0;
        max-width: 100%;
        width: 295px;
        letter-spacing: 0;
        text-align: center;
    }

    .site-header .button:hover,
    .site-header .button:active {
        border: 2px solid #fff;
        background: var(--blue);
    }

    .site-header .login a,
    .site-header .login {
        font-size: 16px;
        color: #fff;
        text-align: center;
        text-transform: capitalize;
        margin: 0;
    }
}

@media screen and (max-height: 750px ) {
    .main-navigation .nav-menu a,
    .main-navigation .nav-menu a:hover {
        font-size: 18px;
    }

    #menu-header-menu {
        gap: 14px;
    }
}

@media screen and (max-width: 768px ) {
    .site-header {
        padding: 9px 18px 9px 11px;
    }

    .site-branding .logo img {
        max-width: 163px;
    }

    button,
    input[type="submit"],
    .button {
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        padding: 0 20px;
    }
}

.site-footer {
    background: #f2f2f2;
    color: var(--white);
    padding: 40px 0;
}

.site-footer .logo {
    margin-top: -5px;
    margin-bottom: 48px;
}

.site-footer .container {
    text-align: center;
}

.site-footer .left {
    margin-right: 142px;
}

.site-footer .button {
    padding: 0 42px;
}

#menu-footer-menu {
    display: flex;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 60px 0 0;
}

#menu-footer-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

#menu-footer-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu-footer-menu > li {
    margin-right: 142px;
    line-height: 1em;
}

.site-footer .contact {
    text-align: left;
    color: #000;
    display: flex;
    flex-direction: column;
}

.site-footer .contact p {
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 27px;
}

.site-footer .contact a {
    font-size: 16px;
    line-height: 1em;
    text-decoration: none;
    color: #000;
    margin-bottom: 11px;
}

.site-footer .contact .menu-title,
#menu-footer-menu > li > a {
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 16px;
}

#menu-footer-menu .sub-menu {
    display: grid;
    grid-template-rows: 1em 1em 1em 1em;
    grid-auto-flow: column;
    font-size: 16px;
    line-height: 1em;
    gap: 11px 78px;
    margin-top: 14px;
}

#menu-footer-menu .sub-menu a {
    margin-bottom: 27px;
}

@media screen and (max-width: 1500px ) {
    .site-footer .left {
        margin-right: 100px;
    }

    #menu-footer-menu > li {
        margin-right: 78px;
    }

    #menu-footer-menu {
        margin-right: 0;
    }
}

@media screen and (max-width: 1300px ) {
    .site-footer .logo {
        margin-bottom: 30px;
    }

    .site-footer .button {
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        padding: 0 32px;
    }

    .site-footer .left {
        margin-right: 50px;
    }

    #menu-footer-menu > li {
        margin-right: 30px;
    }

    #menu-footer-menu .sub-menu {
        gap: 11px 30px;
    }
}

@media screen and (max-width: 1100px ) {
    .site-footer .contact a,
    #menu-footer-menu .sub-menu {
        font-size: 15px;
    }
}

@media screen and (max-width: 992px ) {
    .site-footer {
        padding-top: 44px;
        padding-left: 13px;
    }

    .site-footer .container {
        flex-direction: column;
    }

    .site-footer .footer-menu {
        order: 1;
    }

    .site-footer .contact {
        order: 2;
    }

    .site-footer .left {
        order: 3;
        margin-top: 31px;
        margin-right: 0;
        margin-left: -13px;
    }

    #menu-footer-menu,
    #menu-footer-menu .sub-menu {
        display: block;
    }

    .site-footer .logo {
        margin-bottom: 23px;
    }

    .site-footer .logo img {
        margin-left: auto;
        margin-right: auto;
    }

    #menu-footer-menu .sub-menu {
        margin-bottom: 38px;
    }

    #menu-footer-menu .sub-menu li {
        margin-bottom: 12px;
    }

    .site-footer .button {
        padding: 0 18px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: var(--transition);
}

.accordionjs .acc_section > .acc_head {
    background: transparent !important;
}

.accordionjs .acc_section > .acc_head::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(100% - 14px);
    top: 20px;
    background-image: url('../images/icon-plus.png');
    background-image: image-set(url('../images/icon-plus.png') 1x,
        url('../images/icon-plus@2x.png') 2x);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.accordionjs .acc_section.acc_active > .acc_head::before {
    background-image: url('../images/icon-minus.png');
    background-image: image-set(url('../images/icon-minus.png') 1x,
        url('../images/icon-minus@2x.png') 2x);
}

#contact {
    padding: 53px 0 56px 0;
    background-image: url('../images/banner-back.jpg');
    background-image: image-set(url('../images/banner-back.jpg') 1x,
    url('../images/banner-back@2x.jpg') 2x);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#contact .container {
    --content-width: 665px;
}

#contact p {
    font-weight: 600;
    font-size: 27px;
    line-height: 34px;
    margin-bottom: 11px;
}

#contact h1,
#contact h2,
#contact h3,
#contact p:first-child strong {
    font-size: 45px;
    line-height: 1em;
    margin-bottom: 20px;
    font-weight: 800;
}

#contact .bottom {
    margin-top: 24px;
    gap: 22px;
}

#contact .button {
    padding: 0 21px;
}

#contact .button2 {
    font-size: 23px;
    padding-right: 13px;
}

@media screen and (max-width: 768px ) {
    .accordionjs .acc_section > .acc_head::before {
        width: 11px;
        height: 11px;
        left: calc(100% - 12px);
    }

    #contact .bottom {
        flex-direction: column;
    }

    #contact p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #contact .button2 {
        padding: 0;
    }
}

@media screen and (max-width: 567px ) {
    #contact {
        padding: 37px 0;
    }

    #contact h1,
    #contact h2,
    #contact h3,
    #contact p:first-child strong {
        font-size: 37px;
    }

    #contact p {
        font-size: 16px;
        line-height: 26px;
        max-width: 360px;
    }

    #contact .bottom {
        margin-top: 20px;
        gap: 10px;
    }

    #contact .button {
        padding: 0 14px;
    }

    #contact .button2 {
        font-size: 20px;
    }
}

#tips {
    padding-top: 112px;
}

#tips .title {
    letter-spacing: 0;
    margin-bottom: 0;
}

#tips .button {
    margin-top: 3px;
    padding: 0 63px;
}

#tips .inner {
    margin-top: 54px;
}

.posts .post {
    border-radius: 11px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: auto;
}

.posts .post-details {
    border: 1px solid #D9D9D9;
    border-top: none;
    padding: 14px 21px 28px 21px;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    flex-grow: 1;
}

.posts .post-date {
    height: 27px;
    line-height: 27px;
    font-size: 12px;
    letter-spacing: 0.08em;
    border-radius: 6px;
    display: block;
    width: fit-content;
    padding: 0 9px;
    margin-bottom: 14px;
}

.posts .post-title {
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.08em;
    height: 3.9em;
    margin-bottom: 8px;
    color: #000;
}

.posts .post-excerpt,
.posts .post-excerpt * {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    color: #000;
}

.posts .thumb {
    height: 197px;
}

.posts .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 992px ) {
    .posts .top {
        display: block;
    }

    .posts .button {
        margin-top: 27px;
    }
}

@media screen and (max-width: 768px ) {
    #tips .title {
        padding-left: 10px;
    }

    #tips .button {
        padding: 0 33px;
        width: fit-content;
        margin-top: 26px;
    }

    #tips .top {
        flex-direction: column;
    }
}

@media screen and (max-width: 567px ) {
    #tips {
        padding-top: 81px;
    }

    #tips .inner {
        margin-top: 38px;
    }
}

@media screen and (max-width: 567px ) {
}

#newsletter .text {
    font-size: 35px;
    line-height: 1em;
    margin: 0 44px 0 0;
    letter-spacing: 0.08em;
}

#newsletter form {
    margin-top: 12px;
    position: relative;
}

#newsletter input[type="email"] {
    height: 55px;
    line-height: 55px;
    background: #fff;
    font-family: 'Avenir';
    font-size: 18px;
    padding: 0 33px;
    border-radius: 100px;
    border: none;
    outline: none;
    max-width: 375px;
}

#newsletter .wpcf7-form-control-wrap .placeholder {
    left: 33px;
    color: #A3A3A6;
}

#newsletter .image img {
    display: block;
    margin-top: -70px;
    margin-left: 33px;
}

#newsletter label {
    position: relative;
    display: block;
}

#newsletter input[type="submit"] {
    position: absolute;
    top: 12px;
    right: 18px;
    color: var(--dark-blue);
    font-size: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    background-image: url('../images/circle-arrow.png');
    background-image: image-set(url('../images/circle-arrow.png') 1x,
        url('../images/circle-arrow@2x.png') 2x);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#newsletter .wpcf7-spinner {
    position: absolute;
    right: -2px;
    top: 16px;
}

#newsletter .wpcf7-not-valid-tip {
    display: none;
}

#newsletter .wpcf7-response-output {
    display: block;
    border: none;
    color: #fff;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 60px;
    left: 0;
    font-size: 13px;
    line-height: 1em;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 1300px ) {
    #newsletter {
        padding: 27px 0 22px 0;
        position: relative;
    }

    #newsletter .image {
        position: absolute;
        max-width: 100px;
        left: 50%;
        transform: translateX(-50%);
        top: -70px;
    }

    #newsletter .image img {
        margin: 0;
    }
}

@media screen and (max-width: 1200px ) {
    #newsletter input[type="email"] {
        max-width: 325px;
    }

    #newsletter .text {
        margin-right: 30px;
    }
}

@media screen and (max-width: 992px ) {
    #newsletter {
        padding: 79px 0 4px 0;
    }

    #newsletter .container {
        flex-direction: column;
        gap: 6px;
    }

    #newsletter .text {
        margin: 0;
        text-align: center;
    }

    #newsletter .image {
        top: -40px;
    }
}

@media screen and (max-width: 768px ) {
    #newsletter input[type="email"] {
        max-width: 360px;
    }
}

@media screen and (max-width: 567px ) {
    #newsletter .text {
        font-size: 27px;
        line-height: 33px;
    }
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form-control-wrap ::placeholder {
  opacity: 0;
}

.wpcf7-form-control-wrap select {
    color: transparent;
}

.wpcf7-form-control-wrap select option {
    color: #000;
}

.wpcf7-form-control-wrap select.has-value {
    color: #000;
}

.wpcf7-form-control-wrap .placeholder {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 18px;
  pointer-events: none;
  font-size: 18px;
  color: #000;
}

.wpcf7-form-control-wrap textarea + .placeholder {
  top: 12px;
  transform: none;
}

.wpcf7-form-control-wrap .placeholder .required {
  color: #E32E22;
}

.wpcf7-form-control-wrap.has-value .placeholder {
    display: none !important;
}

/* .wpcf7-form-control-wrap textarea:not(:placeholder-shown) + .placeholder,
.wpcf7-form-control-wrap input:not(:placeholder-shown) + .placeholder {
  display: none !important;
} */

.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-form-control-wrap .wpcf7-not-valid {
    border-color: #E32E22;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000073;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup.active {
    opacity: 1;
    pointer-events: all;
}

.popup .popup-inner {
    max-width: 700px;
    min-height: 500px;
    width: 100%;
    padding: 40px;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 13px 18px;
    cursor: pointer;
}

[data-popup="contact"] textarea {
    height: 125px;
}

[data-popup="contact"] form p:nth-of-type(-n + 3) {
    width: calc(50% - 10px);
}

.popup .title {
    width: 100% !important;
    margin-bottom: 5px;
}

.popup form {
    margin: 34px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.popup form p {
    width: 100%;
    margin-bottom: 0;
    position: relative;
}

.popup form select {
    background-position: calc(100% - 16px) 50%;
}

[data-popup="apply_now"] form p:nth-of-type(-n + 5){
    width: calc(50% - 10px);
}

.popup form input[type="submit"] {
    margin-top: 4px;
    background: var(--green);
    padding: 0 42px;
}

[data-popup="contact"] form input[type="submit"] {
    padding: 0 72px;
}

.popup .wpcf7-spinner {
    position: absolute;
    top: 18px;
}

@media screen and (max-width: 768px ) {
    .popup .popup-inner {
        border-radius: 0;
        padding: 40px 15px;
    }

    .popup form input[type="submit"] {
        margin-top: 12px;
        padding: 0 21px;
    }
}

@media screen and (max-width: 567px ) {
    .popup form p,
    .popup form p:nth-of-type(-n + 5) {
        width: 100%;
    }

    .popup form {
        gap: 16px;
    }

    .popup .wpcf7-spinner {
        top: 21px;
    }
}

.blog-page .inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 49px;
    margin: 84px 0 45px 0;
}

.blog-page #hero .text h1,
.blog-page #hero  .text h2,
.blog-page #hero  .text h3,
.blog-page #hero  .text p:first-child strong {
	font-size: 49px;
	line-height: 69px;
	display: block;
	font-weight: 400;
	text-transform: uppercase;
	color: var(--red);
	font-family: "PODIUM Soft";
	margin: 0 0 5px 0;
	letter-spacing: 0.08em;
}

.blog-page #hero .text {
	font-size: 20px;
	line-height: 30px;
	max-width: 670px;
	font-weight: 500;
    text-align: center;
    margin: 62px auto 0 auto;
}

.blog-page .posts .thumb {
    height: 241px;
}

.blog-page .posts .post-details {
    padding: 15px 21px 21px 23px;
}

.blog-page .posts .post-date {
    font-size: 17px;
    line-height: 33px;
    height: 33px;
    padding: 0 12px;
    margin-bottom: 17px;
}

.blog-page .posts .post-title {
    font-size: 20px;
    line-height: 30px;
}

.blog-page .pagination {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-page .pagination .page-numbers.next {
    background: url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.530273 12.5303L6.53027 6.53033L0.530273 0.530335" stroke="black" stroke-width="1.5"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 12px;
    height: 17px;
    border: none;
}

.blog-page .pagination .page-numbers.prev {
    background: url('data:image/svg+xml,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.530273 12.5303L6.53027 6.53033L0.530273 0.530335" stroke="black" stroke-width="1.5"/></svg>');
    transform: scale(-1);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 12px;
    height: 17px;
    border: none;
}

.blog-page .pagination .page-numbers {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #000;
    color: #000;
    font-weight: 800;
    font-size: 20px;
    margin: 0 10px;
    border-radius: 50%;
    text-decoration: none;
}

.blog-page .pagination .page-numbers.current {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.blog-page #apply {
    margin-top: 112px;
}

@media screen and (max-width: 992px ) {
    .blog-page .inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 567px ) {
    .blog-page #hero .text {
        margin-top: 42px;
    }

    .blog-page #hero .text h1,
    .blog-page #hero .text h2,
    .blog-page #hero .text h3,
    .blog-page #hero .text p:first-child strong {
        font-size: 38px;
        line-height: 49px;
        max-width: 300px;
        margin: 0 auto 10px auto;
    }

    .blog-page .inner {
        margin-top: 50px;
        margin-bottom: 30px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-page .posts .thumb {
        height: 196px;
    }

    .blog-page .posts .post-details {
        padding: 15px 21px 39px 23px;
    }

    .blog-page .posts .post-date {
        height: 27px;
        line-height: 27px;
        font-size: 12px;
        margin-bottom: 13px;
    }

    .blog-page .posts .post-title {
        font-size: 16px;
        line-height: 21px;
        height: auto;
    }

    .posts .post-excerpt {
        line-height: 26px;
    }

    .blog-page #apply {
        margin-top: 64px;
    }
}

#apply {
    padding: 52px 0 57px 0;
    background-image: url('../images/apply-back.jpg');
    background-image: image-set(url('../images/apply-back.jpg') 1x,
        url('../images/apply-back@2x.jpg') 2x);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#apply .text {
    max-width: 500px;
    margin: 0 auto;
}

#apply p {
    font-weight: 600;
    font-size: 27px;
    line-height: 34px;
    margin-bottom: 11px;
}

#apply h1,
#apply h2,
#apply h3,
#apply p:first-child strong {
    font-size: 45px;
    line-height: 1em;
    margin-bottom: 20px;
    font-weight: 800;
}

#apply .button {
    padding: 0 21px;
    margin-top: 24px;
}

@media screen and (max-width: 567px ) {
    #apply {
        padding: 37px 0 77px 0;
    }

    #apply .text {
        max-width: 300px;
    }

    #apply h1,
    #apply h2,
    #apply h3,
    #apply p:first-child strong {
        font-size: 37px;
    }

    #apply p {
        font-size: 16px;
        line-height: 26px;
    }

    #apply .button {
        margin-top: 19px;
    }
}