@font-face {
    font-family: 'Urbanist-Medium';
    src: url('../fonts/Urbanist-Medium.ttf') format('ttf');
    font-weight: medium;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Urbanist-Bold';
    src: url('../fonts/Urbanist-Bold.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Urbanist-Italic';
    src: url('../fonts/Urbanist-Italic.ttf') format('ttf');
    font-weight: italic;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Urbanist-Regular';
    src: url('../fonts/Urbanist-Regular.ttf') format('ttf');
    font-weight: regular;
    font-style: normal;
    font-display: swap;
}


:root :where(.wp-block-post-content) {
    margin-top: 0;
    margin-bottom: 0;
}

:root :where(.wp-block-group) {
    background-color: transparent;
    padding-top: 0 !important;
    padding-right: 0;
    padding-bottom: 0!important;;
    padding-left: 0;
}

:root :where(.wp-site-blocks) > * {
    margin-block-start: 0; 
    margin-block-end: 0; }




html,
body {
  height: 100%;
  box-sizing: border-box;
}

body {
    font-family: 'Urbanist-Regular', sans-serif;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    background-color: #f7fbfe;
    
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

.wp-site-blocks{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, 
#primary, 
.site-content { 
    flex: 1 0 auto;
}

footer, 
.site-footer {
    flex-shrink: 0; /* Не позволяет футеру сжиматься */
}

h1, h3{
    color: var(--wp--preset--color--dark);
    font-family: 'Urbanist-Regular';
}

h4{
     color: var(--wp--preset--color--dark);
}

.wp-block-site-tagline{
    font-family: 'Urbanist-Regular';
    color: #1a0b00;
}

p, li{
    font-family: 'Urbanist-Regular';
    color:#1a0b00;
}

a{
    text-decoration: none;
    color: #1a0b00;
}
/*------------ HEADER ------------------------*/

.site-header{
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover; 
}

/*------------Content-----------------*/

/*-------------Main Page ------------*/
.home .wp-block-post-title {
    display: none;
}


/*-------------- Foter--------------*/

.site-footer{
    position: relative;
    border-top: 2px solid #b7b7b7; /* Первая линия */    
    margin-top: 50px;
}

.site-footer::before{
    content: "";
    position: absolute;
    top: -7px; /* Дистанция между линиями */
    left: 0;
    right: 0;
    height: 2px;
    background: #d0d0d0; /* Вторая линия */
}

.footer-content{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 50px 0 !important;
}

