/**
 * Place for custom page styles here.

MAIN

*/
 
/* MAIN */
.front-blog {
    background-color: #fff;
}

.block-front-blog-button {
    text-align: center;
    margin-top: 0;
}

.page-blog-right__title h3 {
    font-size: 36px;
    font-family: 'Gilroy';
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 15px;
    line-height: 1.33;
}

.page-blog-right__title {
    border-top: 1px solid #d8d8d8;
    padding-top: 40px;
    margin-top: 50px;
}

.page-blog-right__title h3 {
    margin-top: 0;
}

.page-blog-right .views-row {
    margin-bottom: 2em;
}

.block-blog-search .form-item-combine {
    display: grid;
    grid-template-columns: 1fr 50px;
    grid-template-rows: 1fr;
    justify-content: end;
    width: 100%;
    align-items: center;
}

.block-blog-search .form-item-combine input {
    grid-column: 1/3;
    grid-row: 1;
    padding: 15px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    outline: none;
    font-family: 'Gilroy';
    font-size: 18px;
    color: #888;
    font-weight: 300;
}

.block-blog-search .form-item-combine label {
    grid-column: 2/3;
    grid-row: 1;
    z-index: 1;
    color: #0A253E;
    padding-left: 10px;
    cursor: pointer;
}

.block-blog-search .form-actions {
    /* display: none; */
}

.block-front-blog > div {
    position: relative;
}

.block-front-blog footer {
    position: absolute;
    top: 0;
    right: 0;
}

.front-blog-more {
    width: fit-content;
}

.block-front-blog-button a {
    border: 1px solid #950A21;
    background: #950A21;
    cursor: pointer;
    font-size: 18px;
    color: #FFF;
    box-shadow: 0px 13px 23px -8px rgba(15, 29, 43, 0.25);
    line-height: normal;
    padding: 0px 20px;
    height: 48px;
    font-family: 'Gilroy Medium';
    display: flex;
    width: fit-content;
    text-transform: none;
}

.block-front-blog-button a:hover {
    border: 1px solid #950A21;
    background: #950A21;
}





/* VIEW */
/* Front */
.view-front-blog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 3em;
    column-gap: 3em;
}

.view-front-blog footer {
    display: block;
    position: absolute;
    bottom: -100px;
    left: 27vw;
}

.view-front-blog__date {
    color: #0A253E;
    font-size: 14px;
}

.view-front-blog__wrapper {
    display: grid;
    grid-template-columns: 4fr 5fr;
    column-gap: 2em;
    position: relative;
}

.view-front-blog__title {
    grid-column: 1/3;
    grid-row: 1;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    font-family: 'Gilroy Semibold';
}

.view-front-blog__image {
    grid-column: 1/2;
    grid-row: 2;
}

.view-front-blog__image img {
    width: 100%;
    height: auto;
}

.view-front-blog__description {
    grid-column: 2/3;
    grid-row: 2/5;
    font-size: 16px;
    line-height: 25px;
}

.view-front-blog__button {
    grid-column: 1/3;
    grid-row: 3;
}

.view-front-blog__button a {
    padding: 5px 18px;
    font-size: 14px;
    width: fit-content;
}

/* List */
.view-front-blog-list {
    display: grid;
    row-gap: 1em;
}

.view-front-blog-list__title a {
    color: #0A253E;
}

.view-front-blog-list__title a:hover {
    color: #272727;
}

.view-front-blog-list__date {
    font-style: italic;
    color: #888;
    font-size: 16px;
}

/* Search */
.block-blog-search > form {
    position: relative;
}

.block-blog-search > form .form-item-combine {
}

.block-blog-search > form .form-submit {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    bottom: 0;
    width: 50px;
    cursor: pointer;
    opacity: 0;
    height: 100%;
    margin-top:  0;
}

.block-blog-search > form .form-submit input {
    margin: 0;
    padding: 0;
    cursor: pointer;
}





/* PAGE */
.page-blog-content {
    display: grid;
    grid-template-columns: 4fr 2fr;
    column-gap: 2em;
}

.page-blog-content img {
    height: auto;
    max-width: 100%;
}

.page-blog-content .layout__region--first > div:nth-child(1) {
    /*! float: left; */
    margin-right: 40px;
}











/* ADAPTIVE */
@media (min-width: 1920px) {
}

@media (max-width: 1920px) {
}

@media (max-width: 1919px) {
}

@media (max-width: 1700px) {
    .view-front-blog__title {
        line-height: 28px;
    }
}

@media (max-width: 1600px) {
}

@media (max-width: 1440px) {
    .view-front-blog {
        grid-template-columns: 1fr 1fr;
        column-gap: 2em;
        row-gap: 2em;
    }
}

@media (max-width: 1366px) {

}

@media (max-width: 1280px) {

}

@media (max-width: 1150px) {
    .view-front-blog__title {
        line-height: 24px;
    }
    .view-front-blog__description {
        line-height: normal;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 991px) {
    .view-front-blog {
        grid-template-columns: 1fr 1fr;
    }
    .page-blog-content {
        grid-template-columns: 1fr;
        row-gap: 2em;
    }
    .view-front-blog__wrapper {
       margin-bottom: 2em;
       display: flex;
       flex-direction: column;
    }
}

@media (max-width: 834px) {
  
}

@media (max-width: 768px) {
    .view-front-blog footer {
        left: 18vw;
    }
}

@media (max-width: 650px) {
    .view-front-blog {
        grid-template-columns: 1fr;
        row-gap: 3em;
        column-gap: 3em;
    }
}

@media (max-width: 480px) {
    .view-front-blog footer {
        left: 10vw;
    }
    .block-front-blog footer {
        position: relative;
    }
}

@media (max-width: 450px) {

}

@media (max-width: 380px) {
    .view-front-blog footer {
        left: 5vw;
    }
}