@import url('https://static.ogram.one/fonts/objectivity/font-family.css');


:host,
body {
    font-family: 'Objectivity', 'Montserrat', Arial, Helvetica, sans-serif !important;
}



/* Wrappers */
.wrapper {
    margin: auto;
    overflow: hidden;
    padding: 10px 5vw;
    width: clamp(100px, 100%, 1500px);
}

section {
    padding-block: max(20px, 2vw);
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: max(40px, 5vw);
}

.banner {
    >* {
        border-radius: 0;
        overflow: hidden;
        max-height: 400px;
        min-height: 200px;
        object-position: center;
    }
}



/* Text */
.textbox {
    gap: 30px;
    display: flex;
    flex: 1 1 300px;
    max-width: 450px;
    flex-direction: column;
}

.columns {
    columns: 3 250px;
    column-gap: 50px;

    >:is(p, h1),
    >*>:is(p, h1) {
        margin-bottom: 30px;
    }
}

:is(p, h1) {
    overflow-wrap: break-word;

    &:empty {
        display: none;
    }
}

p {
    font-weight: 300;
    text-align: justify;
}

h1 {
    font-weight: 900;
    font-size: 200%;
    line-height: 100%;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

mark {
    color: #fff;
    padding-inline: 2px;
    background-color: var(--blue);
}




/* Images */
.imgbox {
    width: 100%;
    display: flex;
    flex: 2 1 300px;
    flex-wrap: wrap;
    gap: max(40px, 2vw);
    justify-content: center;

    span {
        flex: 1 1 200px;

        &:has(img:not([src])) {
            height: 0;
        }
    }
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    /* max-height: calc(100svh - 60px); */

    &:not([src]) {
        height: 0;
    }
}



/* Iframes */
iframe {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 16/9;

    .ytp-gradient-top {
        display: none;
    }
}

.instagram-media {
    width: 100%;
    max-width: 550px;
    position: relative;

    &::before {
        content: "";
        display: block;
        padding-bottom: calc(125% + 53px);
    }

    iframe {
        inset: 0;
        width: 100%;
        height: 100%;
        position: absolute;
    }
}