:root {
    --main-color: #606060;
    --dark-background: #282828;
    --ruby-red: #C40000;
    --bs-body-font-family: 'Inter', system-ui, sans-serif;
}
html, body {
    margin: 0;
    padding: 0;
}
body {
    color: var(--main-color);
    font-family: 'Inter', system-ui, sans-serif;
}
a {
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
}

/* .container {
    margin: 0 auto;
    max-width: 1320px;
    padding-left: 12px;
    padding-right: 12px;
} */

.header {
    position: relative;
    background-color: var(--ruby-red);
    color: #FFF;
    padding-top: 26px;
}
.header > .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.header-logo {
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 30px 60px;
}
.header-logo a {
    display: block;
}
.header-logo-image {
    max-width: 400px;
    height: auto;
}
.header-top {
    display: flex;
    justify-content: end;
    gap: 20px;
    margin-bottom: 36px;
}
.header-wrp {
    padding-bottom: 30px;
}
.header-wrp a {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: all .3s;
}
.header-wrp a:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}
.header-email {
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 34px;
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='15' viewBox='0 0 21 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.51152 0.785645C1.49723 0.785645 0.674316 1.53325 0.674316 2.45471C0.674316 2.97977 0.946069 3.47353 1.4092 3.78996L9.37039 9.21442C10.0249 9.6595 10.9205 9.6595 11.575 9.21442L19.5362 3.78996C19.9994 3.47353 20.2711 2.97977 20.2711 2.45471C20.2711 1.53325 19.4482 0.785645 18.4339 0.785645H2.51152ZM0.674316 5.37557V11.9127C0.674316 13.1402 1.77281 14.1382 3.12391 14.1382H17.8215C19.1726 14.1382 20.2711 13.1402 20.2711 11.9127V5.37557L12.6773 10.5497C11.3722 11.4398 9.57325 11.4398 8.26807 10.5497L0.674316 5.37557Z' fill='white' /%3E%3C/svg%3E");
}
.header-phone {
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 34px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.3595 14.388L15.2032 12.6067C15.0256 12.531 14.8283 12.5151 14.6409 12.5613C14.4535 12.6075 14.2862 12.7133 14.1641 12.8628L12.3235 15.1116C9.43472 13.7496 7.10995 11.4248 5.74794 8.53611L7.99681 6.69545C8.14661 6.57361 8.25264 6.40628 8.29884 6.21879C8.34505 6.0313 8.32891 5.83386 8.25287 5.65637L6.47158 1.50004C6.38813 1.30871 6.24052 1.15249 6.05423 1.05832C5.86793 0.964157 5.65461 0.937948 5.45106 0.984215L1.59161 1.87486C1.39536 1.92017 1.22027 2.03067 1.09491 2.18832C0.969548 2.34596 0.901322 2.54145 0.901367 2.74286C0.901367 12.2616 8.61654 19.9619 18.1204 19.9619C18.3219 19.962 18.5175 19.8939 18.6752 19.7685C18.8329 19.6431 18.9435 19.468 18.9888 19.2717L19.8794 15.4122C19.9254 15.2077 19.8986 14.9935 19.8037 14.8066C19.7089 14.6196 19.5518 14.4716 19.3595 14.388Z' fill='white' /%3E%3C/svg%3E");
}
.header-language-switcher {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0 0 0 16px;
    border-left: 1px solid #FFF;;
}
.header-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-menu a {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
}
.site-footer {
    background-color: var(--dark-background);
    color: #FFF;
    padding: 24px 0;
    margin-top: 32px;
}
.footer-copyright {
    margin-bottom: 0;
}
.footer-wrp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-link a {
    font-size: 12px;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--ruby-red);
    font-weight: 600;
}
.menu-toggle-button {
    display: none;
}
main {
    min-height: calc(100vh - 276px);
}


/* page hero */

.home-page-hero {
    margin-top: 32px;
    position: relative;
    margin-bottom: 32px;
}
.home-page-hero-text {
    position: absolute;
    left: 0;
    right: 48%;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    gap: 24px;
}
.home-page-hero-title {
    color: #FFF;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    text-align: right;
}
.home-page-hero-author {
    color: #FFF;
    font-size: 24px;
    text-align: right;
}

.post-single,
.page-single,
.post-archive {
    margin-top: 32px;
}
.post-single .entry-title {
    margin-bottom: 24px;
    font-size: 32px;
}
.post-archive article {
    margin-bottom: 24px;
}
.archive-title {
    margin-bottom: 32px;
}
.post-archive .entry-title {
    color: var(--main-color);
    font-size: 24px;
    margin-bottom: 24px;
}
.post-archive .entry-title a {
    text-decoration: none;
    transition: all .3s;
}
.post-archive .entry-title a:hover {
    color: var(--ruby-red);
}
a.link-readmore {
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    transition: all .3s;
}
a.link-readmore:hover {
    color: var(--ruby-red);
    text-decoration: none;
}

@media(max-width: 1440px){
    .header-wrp {
        padding-bottom: 18px;
    }
    .header-logo {
        padding: 20px 40px;
    }
    .header-logo-image {
        max-width: 300px;
    }
    .header-top {
        margin-bottom: 16px;
        font-size: 14px;
    }
    .header-menu a {
        font-size: 18px;
    }
    .home-page-hero-title {
        font-size: 38px;
    }
    .home-page-hero-author {
        font-size: 20px;
    }
}

@media(max-width: 1200px){
    .menu-open {
        overflow: hidden;
        height: 100vh;
    }
    .header .container {
        min-height: 64px;
    }
    .header-wrp {
        position: fixed;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        top: 0px;
        bottom: 0;
        right: -350px;
        width: 300px;
        background-color: var(--dark-background);
        padding: 120px 16px 26px 16px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
        transition: all .3s;
        z-index: 99;
    }
    .menu-open .header-wrp {
        right: 0px;
    }
    .menu-toggle-button {
        display: block;
        position: absolute;
        top: 40px;
        right: 24px;
        border: none;
        appearance: none;
        padding: 4px;
        background: transparent;
        z-index: 199;
    }
    .menu-toggle-button span {
        display: block;
        margin: 4px 0;
        padding: 0;
        background-color: #fff;
        width: 24px;
        height: 2px;
        transition: all .3s;
    }
    .menu-open .menu-toggle-button span:nth-child(2) {
        opacity: 0;
    }
    .menu-open .menu-toggle-button span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .menu-open .menu-toggle-button span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .header-top {
        flex-direction: column;
        padding-left: 32px;
        gap: 24px;
    }
    .header-menu ul {
        flex-direction: column;
        padding-left: 60px;
    }
    .header-language-switcher {
        width: 100%;
        border: none;
    }
    .home-page-hero-title {
        font-size: 32px;
    }
    .home-page-hero-author {
        font-size: 16px;
    }
    
}
@media(max-width: 768px){
    .header-logo {
        padding: 15px 30px;
    }
    .header-logo-image {
        max-width: 200px;
    }
    .header-wrp {
        top: 90px;
        padding: 64px 16px 26px 16px;
    }
    .home-page-hero-title {
        font-size: 24px;
    }
    .home-page-hero-author {
        font-size: 14px;
    }
    .post-single .entry-title {
        font-size: 24px;
    }
    .post-archive article {
        margin-bottom: 42px;
    }
}
@media(max-width: 600px){
    .header-wrp {
        width: 100vw;
        right: -100vw;
    }
    .footer-wrp {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-copyright, 
    .footer-address {
        font-size: 14px;
        text-align: left;
    }
}
@media(max-width: 576px){
    .home-page-hero-text {
        padding-left: 12px;
        padding-right: 12px;
        gap: 12px;
    }
    .home-page-hero-title {
        font-size: 4vw;
    }
    .home-page-hero-author {
        font-size: 3vw;
    }

}