@font-face {
    font-family: SFPro;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/sfpro/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
}
@font-face {
    font-family: SFPro;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/sfpro/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
}
@font-face {
    font-family: SFPro;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/sfpro/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: Inter;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/inter.ttf') format('truetype');
}
@font-face {
    font-family: Montserrat;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/montserrat.ttf') format('truetype');
}
@font-face {
    font-family: Raleway;
    font-style: normal;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/raleway.ttf') format('truetype');
}
@font-face {
    font-family: Raleway;
    font-style: italic;
    src: url('/wp-content/themes/twentytwentyfive/assets/fonts/raleway-italic.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: normal;
}
body {
    background-image: url('/wp-content/themes/twentytwentyfive/assets/images/background.png');
    background-size: contain;
    font-family: Montserrat;
}
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

header.mobile {
    display: none;
}
header.desktop {
    width: calc(100% - 400px);
    position: fixed;
    z-index: 100;
    top: 40px;
    height: 84px;
    margin: 0 200px;
    padding: 0 50px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}
header.desktop.sticky {
    top: 0;
    margin: 0;
    width: 100%;
    border-radius: 0;
    padding: 0 30px;
}
header.desktop > a {
    display: flex;
}
.header__logo {
    height: 60px;
}
.header__links {
    display: flex;
    gap: 16px;
}
.header__link-wrapper {
    position: relative;
    display: inline-block;
}
.header__link {
    font-weight: 600;
    font-size: 19px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
    min-width: 200px;
}
.submenu a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    font-size: 19px;
}
.submenu a:hover {
    background-color: #f5f5f5;
}
.header__link-wrapper:hover .submenu {
    display: block;
}
.header__subscribe {
    height: 80px;
}

footer.desktop {
    display: flex;
    padding: 80px 440px 40px;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/wp-content/themes/twentytwentyfive/assets/images/footer-background.png');
    color: white;
    font-weight: 400;
    font-size: 14px;
}
footer.mobile {
    display: none;
}
.footer-left, .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.footer-left p {
    margin-bottom: 40px;   
}
.footer-socials-div {
    margin-bottom: 120px;
}
.footer-socials-div p {
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 30px;
}
.footer-social {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-social img {
    width: 25px;
}
.footer-links {
    display: flex;
    margin-bottom: 170px;
}
.footer-links-left, .footer-links-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.footer-links a {
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-terms {
    display: flex;
}
.footer-terms a {
    width: 100%;
    text-decoration: none;
}
.footer-terms a:hover {
    text-decoration: underline;
}

.main {
    width: 100%;
    padding: 60px 200px 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main.mobile {
    display: none;
}
.main:not(:last-of-type) {
    padding: 60px 200px 0;
}
.main:first-of-type {
    padding: 124px 200px 0;
}
.category .main:not(:first-of-type) {
    display: none;
}
.main .content {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #EEEEEE;
    border-radius: 24px;
    padding: 40px;
}
.content h1 {
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 30px;
}
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.tags .tag {
    font-weight: 600;
    font-size: 14px;
    color: #8D7070;
    background: #FBF8F8;
    border: 1px solid #ECEFF6;
    border-radius: 8px;
    padding: 6px 10px;
    text-decoration: none;
    transition: all .25s;
}
.tags .tag:hover {
    color: white;
    background: linear-gradient(92.71deg, #FF7272 0%, #FF3736 51.22%, #FDA5A4 100%);
    border: 1px solid #FF7272;
}
.tags .tag.active {
    color: white;
    background: linear-gradient(92.71deg, #FF7272 0%, #FF3736 51.22%, #FDA5A4 100%);
    border: 1px solid #FF7272;
}
.posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
    column-gap: 12px;
}
.posts__post {
    width: 100%;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 8px;
    text-decoration: none;
    transition: all .25s;
}
.posts__post:hover {
    transform: scale(1.01);
}
.posts__post-image {
    width: 100%;
    aspect-ratio: 7 / 4;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 10px;
}
.posts__post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.posts__post h2 {
    font-family: SFPro;
    font-size: 18px;
    line-height: 20px;
    height: 40px;
    margin-bottom: 8px;
}
.posts__post span {
    color: #A09DB2;
    font-family: SFPro;
    font-size: 14px;
    line-height: 18px;
}

.partner-posts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.partner-posts .posts__post {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0px 2.31px 4.61px 0px #D9DDE6;
}
.partner-posts .posts__post-image {
    padding: 22px 0 22px 14px;
    margin: 22px 0 22px 14px;
    height: 100%; 
    aspect-ratio: 1 / 1;
    width: auto;
    flex-shrink: 0;
}
.partner-posts .posts__post-image img {
    height: 100%;
    width: auto;
}
.partner-posts .posts__post-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.partner-posts h2 {
    margin: 0;
    font-family: Inter;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    height: auto;
    color: #2E3238;
}
.partner-posts p {
    margin: 0;
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 17px;
    height: auto;
    color: #2E3238;
}
.partner-posts .posts__post-media {
    height: 100%;
    aspect-ratio: 3 / 2;
    width: fit-content;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.partner-posts .posts__post-media img {
    height: 100%;
}

.cases-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    row-gap: 20px;
}
.cases-posts .posts__post {
    padding: 0;
    border-radius: 0 0 12px 12px;
    position: relative;
}
.cases-posts .posts__post-image {
    border-radius: 0;
    align-items: flex-start;
}
.cases-posts h2 {
    padding: 0 17px;
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #2E3238;
    margin-bottom: 70px;
    height: auto;
}
.cases-posts p {
    padding: 0 17px;
    font-family: Inter;
    font-weight: 500;
    font-size: 16px;
    line-height: 17px;
    color: #2E3238;
    margin-bottom: 25px;
}

.interview-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
    row-gap: 20px;
}
.interview-posts .posts__post {
    padding: 0;
    border-radius: 20px;
    position: relative;
}
.interview-posts .posts__post-image {
    border-radius: 12px;
    align-items: flex-start;
}
.interview-posts h2 {
    padding: 0 15px;
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 90px;
}

.read-more {
    position: absolute;
    background: linear-gradient(92.71deg, #FF7272 0%, #FF3736 51.22%, #FDA5A4 100%);
    color: white;
    border-radius: 10px;
    width: calc(100% - 22px);
    padding: 7px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    bottom: 11px;
    left: 11px;
}

.see-more {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.see-more a {
    background: linear-gradient(92.71deg, #FF7272 0%, #FF3736 51.22%, #FDA5A4 100%);
    color: white;
    border-radius: 10px;
    width: 300px;
    padding: 13px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post {
    width: 100%;
    padding: 124px 200px 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.post-content {
    width: 100%;
    padding: 70px 420px 40px 70px;
    background-color: white;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    font-family: Raleway;
    position: relative;
}
.post-content > *:not(.banner-top, .banner-side) {
    margin: 0 120px 30px;
}
.post-content > * {
    margin-bottom: 30px;
    width: 100%;
}
.post h1, .post h2, .post h3 {
    text-align: left;
    
}
.post h1 {
    font-weight: 700;
    font-size: 55px;
    line-height: 60px;
}
.post h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 60px;
}
.post h3 {
    font-weight: 700;
    font-size: 30px;
    line-height: 35px;
}
.post p {
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
}
.post ul {
    padding-left: 60px;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
}
.post .wp-block-embed__wrapper {
    width: 100%;
}
.post .wp-block-embed__wrapper iframe {
    width: 100%;
    aspect-ratio: 500 / 281;
    height: auto;
}
.post form {
    margin: 40px 120px 30px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.post form input, .post form textarea {
    width: 100%;
    background: #ECEFF6;
    box-shadow: 0px 7.56px 22.68px 0px #0000000F;
    color: black;
    border: black;
    border-radius: 12px;
    padding: 20px 22px;
    resize: none;
    font-family: Raleway;
    font-weight: 500;
    font-size: 18px;
}
.post form input::placeholder, .post form textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}
.post .input-div {
    width: 100%;
    position: relative;
}
.post .input-div img {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 22px;
}
.post form input[type="submit"] {
    background: linear-gradient(92.71deg, rgba(255, 114, 114, 0.9) 0%, rgba(255, 55, 54, 0.9) 51.22%, rgba(253, 165, 164, 0.9) 100%);
    color: white;
    width: fit-content;
    padding: 22px 30px;
    cursor: pointer;
}
.post form h4 {
    font-weight: 500;
    font-size: 32px;
}

.banner-mobile {
    display: none;
}
.banner-main, .banner-top, .banner-side {
    display: flex;
}
.banner-main {
    justify-content: center;
}
.banner-main img {
    max-width: calc(100% - 400px);
    height: auto;
    max-height: 550px;
    margin: 20px 0;
}
.banner-top {
    justify-content: center;
}
.banner-top img {
    max-height: 400px;
    width: auto;
    margin: 20px 0;
}
.banner-side {
    position: absolute;
    top: 70px;
    right: 70px;
    max-width: 340px;
}
.banner-side img {
    max-width: 340px;
    width: 340px;
}

.pagination {
    grid-column: 1 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.pagination * {
    text-decoration: none;
}
.pagination .prev, .pagination .next {
    background: white;
    border-radius: 8px;
    border: 1px solid #F84A49;
    padding: 14px;
    font-size: 17px;
}
.pagination .page-numbers:not(.prev, .next) {
    background: #ffdde0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.pagination .page-numbers.current {
    background: white;
}

@media screen and (max-width: 1550px) {
    header.desktop {
        width: calc(100% - 200px);
        margin: 0 100px;
    }
    .header__logo {
        height: 50px;
    }
    .header__link {
        font-size: 16px;
    }
    .header__link img {
        width: 11px;
        height: auto;
    }
    .submenu a {
        font-size: 16px;
    }
    footer.desktop {
        padding: 80px 200px 40px;
    }
    .footer-socials-div {
        margin-bottom: 40px;
    }
    .footer-links {
        margin-bottom: 90px;
    }
    .post {
        padding: 124px 170px 130px;
    }
    .post-content {
        padding: 40px 300px 40px 40px;
    }
    .post-content > *:not(.banner-top, .banner-side) {
        margin: 0 0 30px;
        width: 100%;
    }
    .banner-main img {
        max-width: calc(100% - 400px);
        height: auto;
        max-height: 450px;
    }
    .banner-top img {
        max-width: calc(100% - 400px);
        max-height: 300px;
    }
    .banner-side {
        top: 40px;
        right: 20px;
        max-width: 260px;
    }
    .banner-side img {
        max-width: 260px;
        width: 260px;
        right: 40px;
    }
}

@media screen and (max-width: 1024px) {
    header.desktop {
        display: none;
    }
    header.mobile {
        width: calc(100% - 40px);
        height: fit-content;
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 1000;
        top: 25px;
        background: white;
        border-radius: 14px;
        margin: 0 20px;
        padding: 8px 12px 8px 20px;
        /*max-height: 50px;*/
        transition: max-height .5s;
    }
    header.mobile.open {
        max-height: calc(100% - 40px);
    }
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header-top > a {
        display: flex;
    }
    .header__logo {
        height: 40px;
    }
    .header__burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 8px;
        height: 34px;
    }
    .header__burger span {
        width: 24px;
        height: 2px;
        border-radius: 100px;
        background: black;
        transition: background .25s;
    }
    header.mobile.open .header__burger span {
        position: relative;
    }
    header.mobile.open .header__burger span:nth-child(1) {
        transform-origin: top left;
        transform: rotate(-45deg);
        top: 13px;
    }
    header.mobile.open .header__burger span:nth-child(2) {
        display: none;
    }
    header.mobile.open .header__burger span:nth-child(3) {
        transform-origin: bottom left;
        transform: rotate(45deg);
        bottom: 13px;
    }
    .header-bottom {
        display: none;
    }
    header.mobile.open .header-bottom {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
        margin-bottom: 10px;
        overflow: scroll;
    }
    header.mobile .header__link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: black;
        padding-right: 10px;
    }
    header.mobile .header__link-left {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }
    header.mobile .header__link-left img {
        width: 24px;
        height: 24px;
    }
    .mobile-submenu {
        display: none;
        padding-left: 34px;
        flex-direction: column;
    }
    .mobile-submenu a {
        padding: 5px 0;
        text-decoration: none;
        color: #333;
        font-size: 15px;
        display: block;
    }
    .header__item.open .mobile-submenu {
        display: flex;
    }
    .header__arrow {
        transition: all .25s;
    }
    .header__item.open .header__arrow {
        transform: rotate(180deg);
    }
    
    footer.desktop {
        display: none;
    }
    footer.mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 0 40px;
        color: white;
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
            url('/wp-content/themes/twentytwentyfive/assets/images/footer-background.png');
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin-bottom: 85px;
    }
    .footer-socials-div {
        align-items: center;
        margin-bottom: 45px;
    }
    .footer-socials-div p {
        text-align: center;
    }
    .footer-social {
        width: 45px;
        height: 45px;
    }
    .footer-terms {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 75px;
    }
    .footer-terms a {
        text-align: center;
    }
    
    .main {
        padding: 40px 20px 75px;
    }
    .main.desktop {
        display: none;
    }
    .main.mobile {
        display: flex;
    }
    .main:not(:last-of-type) {
        padding: 40px 20px 0;
    }
    .main:first-of-type {
        padding: 110px 20px 0;
    }
    .main .content {
        padding: 25px 15px;
    }
    .banner-main img {
        max-width: calc(100% - 40px);
    }
    .banner-top {
        margin-bottom: 20px;
    }
    .tags {
        row-gap: 6px;
    }
    .posts, .ajax-posts {
        display: flex;
        flex-direction: column;
        row-gap: 12px;
    }
    
    .post {
        padding: 110px 20px 75px;
    }
    .post-content {
        padding: 25px 16px 30px;
    }
    .banner-top img {
        max-height: none;
        max-width: 100%;
        height: auto;
    }
    .banner-side {
        display: none;
    }
    .banner-mobile {
        display: flex;
    }
    .post-content > * {
        margin: 0;
        width: 100%;
    }
    .post h1, .post h2, .post h3 {
        font-size: 20px;
        line-height: 26px;
    }
    .post p {
        font-size: 16px;
        line-height: 24px;
    }
    
    .partner-posts .posts__post {
        flex-direction: column;
        height: auto;
        padding: 16px 13px;
        gap: 0;
        border-radius: 14px;
    }
    .partner-posts .posts__post-top {
        width: 100%;
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .partner-posts h2 {
        font-size: 17px;
        margin-top: 8px;
    }
    .partner-posts .posts__post-image {
        width: 70px;
        height: 70px;
        margin: 0;
        padding: 0;
    }
    .partner-posts p {
        font-size: 15px;
        line-height: 16px;
        margin-bottom: 25px;
    }
    .partner-posts .posts__post-media {
        aspect-ratio: auto;
        width: 100%;
        height: auto;
    }
    .partner-posts .posts__post-media img {
        width: 100%;
        height: auto;
    }
    
    .cases-posts, .interview-posts {
        display: flex;
        flex-direction: column;
    }
}









