.page-node-type-page,
.layout--flush {
    .layout {
        padding: 0;
        max-width: none;

        @media all and (min-width: 961px) {
            grid-template-columns: 0 100% 0;
        }
    }
}

.node-type-page #content-wrapper,
.node-type-page .layout__wrapper {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.page-title {
    margin-top: 16px;
}

.page-title,
.breadcrumb,
.tabs {
    max-width: 1200px;
    margin: 16px auto 0 auto;
}

.envelope :where(h1, h2) {
    font-size: clamp(1.75rem, 4vw, 2rem);
    line-height: clamp(1.9rem, 4vw, 2.2rem);
}

.unpublished {
    position: relative;
    overflow: hidden;
}

.unpublished::before,
.unpublished::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.unpublished::before {
    background: rgba(255, 105, 180, 0.22);
    z-index: 1;
}

.unpublished::after {
    content: "Unpublished";
    display: grid;
    place-items: center;
    color: #b0005a;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
    z-index: 2;
}

.unpublished>* {
    position: relative;
    z-index: 0;
}

.envelope-hero.hero--banner .envelope-hero__content {
    background: rgba(var(--context-base-color-rgb), 0.75);
    max-width: 100%;
    padding: 16px 32px;
    text-align: left;
    width: 100%;
}

.envelope-hero.hero--banner .envelope-hero__content__title {
    margin: 0px;
}

.button-photo.round {
    border-radius: 50%;
    overflow: hidden;
}

.button-photo.button-photo--svg {
    color: var(--context-base-color, #007030);
    cursor: pointer;
    text-decoration: none;
}

.button-photo--svg .button-photo__photo {
    background-color: currentColor;
    border-radius: 50%;
    padding: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button-photo .button-photo__svg-inline {
    aspect-ratio: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
    fill: white !important;
    transition: fill 0.2s ease;
}

.button-photo .button-photo__svg-inline path,
.button-photo .button-photo__svg-inline * {
    fill: inherit !important;
}

.button-photo:hover .button-photo--svg .button-photo__photo,
.button-photo:focus-visible .button-photo--svg .button-photo__photo,
.button-photo--svg:hover .button-photo__photo,
.button-photo--svg:focus-visible .button-photo__photo {
    background-color: transparent;
    transform: scale(1.05);
}

.button-photo:hover .button-photo__svg-inline,
.button-photo:focus-visible .button-photo__svg-inline {
    fill: currentColor !important;
}

.button-photo:hover .button-photo__svg-inline path,
.button-photo:hover .button-photo__svg-inline *,
.button-photo:focus-visible .button-photo__svg-inline path,
.button-photo:focus-visible .button-photo__svg-inline * {
    fill: inherit !important;
}

.button-photo.button-photo--svg:hover,
.button-photo.button-photo--svg:focus-visible {
    color: var(--context-base-color, #007030);
}

.button-photo.photo-button-square img {
    aspect-ratio: 1 /1;
    object-fit: cover;
    object-position: center;
}

.button-photo.photo-button-wide img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.caption-photo .caption-photo__photo img {
    width: 100%;
}

.grid-v2__item:has(> .button-photo),
.grid-v2__item:has(> [data-type="uo_component--photo_button"]) {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.media-full-width img {
    width: 100%;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.header-bar__logo {
    width: auto;
    height: 100px;
}

.header-bar__auth {
    padding: 8px 20px;
    border: 2px solid var(--context-base-color, #007030);
    border-radius: 4px;
    color: var(--context-base-color, #007030);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header-bar__auth:hover,
.header-bar__auth:focus-visible {
    background: var(--context-base-color, #007030);
    color: #fff;
}
