@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*, :after, :before {
    box-sizing: border-box
}

:root {
    --image-width: 200px;
}

html {
    font-family: "Montserrat", serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 25px;
}

body > .content {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding-left: 15px;
    padding-right: 15px;
}

.banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;

    margin-bottom: 30px;
}

.appearances-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: fit-content;
    gap: 15px;
}

.news-appearance {
    color: black;
    text-decoration: none;
    display: block;
    height: 150px;
    max-width: 700px;
    position: relative;

    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.13);
    overflow: hidden;
    background-color: white;
}

.news-appearance .content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px calc(var(--image-width) + 16px) 16px 16px;
}

.news-appearance h3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.news-appearance .description {
    display: flex;
    align-items: center;
    flex: 1;
}

.news-appearance blockquote {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;

    color: #757575 !important;
}

.news-appearance .link {
    display: flex;
    align-items: center;
    bottom: 0;
}

.news-appearance .link p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 0;
    font-size: 14px;
}
.news-appearance .link img {
    height: 16px;
    margin-right: 5px;
}

@media screen and (max-width: 600px) {
    .news-appearance > .image {
        display: none;
    }

    :root {
        --image-width: 0px !important;
    }
}

@media screen and (max-width: 1200px) {
    .appearances-list {
        grid-template-columns: 1fr !important;
    }
}

.news-appearance .image {
    width: var(--image-width);
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    right: 0;
}

.news-appearance::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #e2e2e2;
    opacity: 0;
    z-index: 1;
    transition: opacity .35s ease-in-out;
}

.news-appearance:hover::before {
    opacity: .3;
}
