body {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1.4;
}

h2 {
    font-size: 92px;
    line-height: 88px;
    font-weight: 300;
}

input, 
textarea {
    background-color: rgba(255, 255, 255, 0.22);
    border: 1px solid;
    padding: 16px;
}

*::placeholder {
    color: var(--color-primary-low-contrast);
    font-size: 18px;
    font-weight: 300;
}

input[type="submit"],
button {
    background-color: var(--color-primary);
    color: white;
    padding: 8px 16px;
    font-size: 18px;
    display: flex;
}

button {
    cursor: pointer;
}

.paragraph {
    border-top: 1px solid;
}

.paragraph  .paragraph {
    border-top: none;
}

.tag {
    text-transform: uppercase;
}

.tag > * {
    display: inline;
}

.tag::before {
    display: inline;
    content: "[ ";
}

.tag::after {
    display: inline;
    content: " ]";
}


@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    50% {
        opacity: 0.8;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.media-video.view-mode-thumbnail {
    position: relative;
}

.media-video.view-mode-thumbnail .field-field_poster {
    width: 100%;
}

.media-video.view-mode-thumbnail .video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

dialog {
    /* max-width: 1280px; */
    overflow: hidden;
    padding: 0;
    border: none;
}

dialog .dialog-action button {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    background-color: rgba(0, 0, 0, 0.22);
    color: white;
    transition: 250ms;
}

dialog .dialog-action button:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
}

dialog::backdrop {
    background-color: #1d2c37;
    background-image: linear-gradient(
        45deg,
        rgb(114, 114, 114),
        #1d2c37
      );
  
    opacity: 0.9;
    transition: opacity 250ms;
    @starting-style {
        opacity: 0;
    }
}

dialog .dialog-content {
    width: 100%;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
}

body:has(dialog[open]) {
    overflow: hidden
}


.field-type-image .field-item {
    display: flex;
}    

video {
    display: block;
}

@media (min-width:721px) {
    body {
        color: var(--color-primary);
    }
}
