/**
 * Theme Name:     Twenty Twenty-Four Child
 * Author:         the WordPress team
 * Template:       twentytwentyfour
 * Text Domain:	   twentytwentyfour-child
 * Description:    Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
 */

:root {
    --brz-section-container-max-width: var(--wp--style--global--content-size);
}
@media screen and (max-width: 768px) {
    :root {
        /* --brz-section-container-max-width: 100%;
        --wp--preset--spacing--20: min(1rem, 2vw);
        --wp--preset--spacing--30: min(2rem, 3vw);
        --wp--preset--spacing--40: min(3rem, 4vw);
        --wp--preset--spacing--50: min(5rem, 5vw);
        --wp--preset--spacing--60: min(8rem, 10vw);
        --wp--preset--spacing--70: 3.38rem;
        --wp--preset--spacing--80: 5.06rem;
        --wp--preset--spacing--10: 1rem; */
    }
}
div, p, h1, h2, h3, h4, h5, h6 {
    box-sizing: border-box;
}

*:not(p) {
    letter-spacing: 0.05em;
}

.d-flex {
    display: flex;
}

.has-global-padding > .alignfull {
    margin: 0 !important;
}

/* Header */
body:not(.wp-admin) header {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
    z-index: 99;
    position: fixed !important;
    width: 100%;
    top: 0;
}
body:not(.wp-admin) main {
    padding-top: 70px !important;
    margin: 0;
}
.header .wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper {
    position: relative;
}
.header .wp-block-search.wp-block-search__button-only .wp-block-search__input {
    position: absolute;
    right: 0;
    
}
.header .wp-block-search.wp-block-search__button-only .wp-block-search__button {
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding: 4px;
}
.header .wp-block-social-links {
    padding-right: 12px;
    margin-right: 8px;
    border-right: 1px solid var(--wp--preset--color--gray-200);
}
.wp-block-social-links.has-small-icon-size {
    font-size: 20px;
}
.button-language {
    padding: 4px;
}
.header .wp-block-navigation ul {
    gap: 0px;
}
.header .wp-block-navigation .wp-block-navigation__submenu-icon {
    position: absolute;
    color: transparent;
    inset: auto 0 -6px 0;
    margin: auto;
}
.header .wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle+.wp-block-navigation__submenu-icon {
    margin: auto;
}
.header .wp-block-navigation button.wp-block-navigation-item__content {
    padding: 8px 16px;
    height: 70px;
    display: flex;
    align-items: flex-end;
}
.header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    top: calc(100% + 2px)
}
.nav-language a[title='en']::before {
    content: '\e816';
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: never;
}
.nav-language a[title] {
    overflow: hidden;
    width: 1em;
    white-space: nowrap;
    font-size: 18px;
    transition: transform .1s ease;
}
.nav-language a[title]:hover {
    text-decoration: none;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    body:not(.wp-admin) main {
        padding-top: 51px !important;
    }
    .menu-logo {
        /* on dev */
        /* width: 90px;
        margin-bottom: 4px !important; */
        
        /* on production */
        height: 39px;
        margin-bottom: 8px !important;
        width: auto;
        margin-top: 4px !important;
    }
    .main-menu {
        align-items: flex-end;
    }
    body .sub-menu {
        position: absolute;
        top: 0px;
        padding-top: 10px;
        padding-left: 16px;
        left: 0px;
        display: none;
        z-index: 100010;
        flex-direction: row-reverse;
        gap: 16px;
        align-items: center;
        background-color: #ffffff;
    }
    body .main-menu:has(.wp-block-navigation__responsive-container.is-menu-open) + .sub-menu {
        display: flex;
    }
    .header .wp-block-navigation button.wp-block-navigation-item__content {
        height: auto;
    }
    .wp-block-navigation__responsive-container-close {
        right: 0px;
        top: 10px;
        left: 100%;
        position: sticky;
    }
    .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
        padding-top: 0;
    }
    .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) .wp-block-navigation__responsive-container-content {
        padding-bottom: 2em;
    }
    .slide-top.has-global-padding {
        padding: 0;
    }
    .slide-top .swiper {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .wp-container-core-group-is-layout-e88f3648 > * + * {
        margin-block-start: 0;
    }
    .top-slogan {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .home .slide-top .slide-home-banner .swiper-pagination-bullets {
        position: absolute;
        top: auto;
        bottom: 0;
    }
    .leaf-title {
        justify-content: flex-end;
        width: fit-content;
        gap: 0;
        margin-top: 24px;
        margin-bottom: 24px;
        margin-left: 0 !important;
    }
    .leaf-title > div:first-child {
        height: 54px;
        width: 26vw;
    }
    .leaf-title:has(h6:empty) > div:first-child {
        flex-shrink: 0;
    }

    section.has-global-padding {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .issue-list {
        flex-wrap: wrap;
        align-items: stretch;

    }
    .issue-list > div {
        width: 50%;
        flex-grow: 1;
    }
    #care-sec .issue-tag-list {
        gap: 6px;
    }
    .issue-tag-list .wp-block-button a {
        font-size: 0.8em;
        padding: 6px 12px 4px;
    }
    .action-list {
        flex-wrap: wrap;
        align-items: stretch;
    }
    .action-list div {
        flex-grow: 1;
        width: 50%;
    }
}

/* Footer */
footer.wp-block-template-part {
    margin-top: 0;
}
.footer .wp-block-social-links {
    padding-top: 12px;
    border-top: 4px solid var(--wp--preset--color--orange-500);
}
.footer-info-row h5 {
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--wp--preset--color--gray-400);
}
.footer-info-row .wp-block-navigation.is-vertical {
}
.contact-list .wp-block-navigation-item[class*=" icon-"]::before {
    margin-left: 0;
    margin-right: 0.5em;
}

@media screen and (max-width: 768px) {
    .footer-top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        margin: 24px auto !important;
    }
    .footer-info-row {
        gap: 32px 16px;
    }
    .footer-info-row div {
        flex-grow: 1;
    }
}

/* Home */
.slide-top {
    position: relative;
    overflow: hidden;
}
.slide-top .swiper {
    overflow: visible;
}
.slide-top .slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    max-width: none;
}
.slide-top .slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, #FFFFFFFF, #FFFFFF4D);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
.slide-top .slide-bg .swiper-slide {
    position: absolute;
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    max-width: none;
    opacity: 0;
    transition: 0.8 ease opacity;
}
.slide-top .slide-bg .swiper-slide.active {
    opacity: 1;
}
.slide-top .slide-bg .swiper-slide img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    max-width: none;
}
.home .slide-top::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    background-color: var(--wp--preset--color--orange-500);
    z-index: 0;
    height: 120px;
}
.slide-top > .wp-block-group:nth-of-type(1) {
    z-index: 20;
}
.home .slide-home-banner .swiper-wrapper {
    z-index: 1;
}
.home .slide-home-banner .swiper-slide {
    margin-top: 0;
    flex-shrink: 0;
    opacity: 0;
    transition: 0.8s ease opacity;
}
.home .slide-home-banner .swiper-slide-active {
    opacity: 1;
}
.home .slide-home-banner .swiper-pagination-bullets {
    top: auto;
    bottom: 12px;
    padding-right: 20px;
}
.home .slide-home-banner .swiper-pagination {
    text-align: right;
    margin-top: 0;
}

/* issue */
.banner-has-info-section {
    --min-h: 360px;
    position: relative;
    min-height: var(--min-h);
    overflow: hidden;
}
.single-post .banner-has-info-section {
    --min-h: auto;
}
.banner-has-info {
    position: relative;
    min-height: var(--min-h);
    z-index: 2;
}
.banner-info {
    width: 50%;
    min-height: var(--min-h);
}
.banner-dec-text,
.about-dec-text {
    font-family: "Blinker", sans-serif;
    position: absolute !important;
    right: 0;
    bottom: -18px;
    font-weight: 600;
    font-size: 64px;
}

.banner-gallery {
    position: absolute !important;
    z-index: 1;
    right: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    overflow: hidden;
}
.banner-gallery .wp-block-image {
    height: 100%;
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image).img-contain img,
.banner-gallery .wp-block-image.img-contain img {
    object-fit: contain;
}
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image).img-contain > div {
    width: 100%;
    height: 100%;
}
.banner-bg .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image).img-contain img {
    object-fit: cover;
}
.banner-has-info-section .taxonomy-post_tag a {
    background-color: var(--wp--preset--color--orange-500);
    color: var(--wp--preset--color--white);
    padding: 8px 16px 7px 16px;
    display: inline-block;
    margin-bottom: 4px;
}
.banner-has-info-section .taxonomy-post_tag a::before {
    content: '#';
}
.banner-bg {
    position: absolute !important;
    inset: 0;
    max-width: none;
    z-index: 0;
    overflow: hidden;
    margin: 0 !important;
}
.banner-bg .banner-gallery,
.banner-bg .wp-block-post-featured-image {
    position: absolute;
    inset: 0;
    margin: 0 !important;
}
.banner-bg .wp-block-post-featured-image,
.banner-bg .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-bg .banner-gallery::after,
.banner-bg .wp-block-post-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, #FFFFFFFF 0%, #FFFFFFFF 50%, #FFFFFFE6 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-title {
    position: relative;
}
.about-dec-text {
    font-size: 40px;
    bottom: auto;
    top: -32px;
    right: 2px;
}

@media screen and (max-width: 768px) {
    .banner-has-info-section {
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
    }
    .banner-info {
        width: 100%;
        padding-left: var(--wp--preset--spacing--40);
    }
    .banner-gallery {
        position: relative !important;
        left: 0;
    }
    .about-dec-text {
        top: -16px;
        font-size: 32px;
    }
}

/* CASE */
.sticky-left {
    top: 80px;
}

.sticky-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sticky-nav ul, .sticky-nav ol {
    list-style: none;
}
.sticky-nav li {
    padding: 8px 16px;
    letter-spacing: 1px;
    color: var(--wp--preset--color--gray-400);
    position: relative;
    margin: 0 !important;
}
.sticky-nav li::before {
    content: '';
    display: inline-block;
    width: 2px;
    background: var(--wp--preset--color--gray-200);
    position: absolute;
    left: 1px;
    top: 0;
    bottom: 0;
    transition: background-color 0.1s ease;
}
.sticky-nav li a {
    color: var(--wp--preset--color--gray-700);
}
.sticky-nav li.active a {
    color: var(--wp--preset--color--orange-500);
}
.sticky-nav li.active::before {
    width: 4px;
    left: 0;
    background: var(--wp--preset--color--orange-500);
}
.sticky-nav li a {
    text-decoration: none;
    transition: color 0.1s ease;
}
.sticky-nav li ul {
    padding: 0;
}
.sticky-nav li li::before {
    content: none;
}
/* case-timeline-table */
.case-timeline-table table {
}
.case-timeline-table table td,
.documents-table table td {
    border: 0;
    font-size: 14px;
}
.case-timeline-table table td:nth-of-type(1),
.documents-table table td:nth-of-type(1) {
    position: relative;
    font-size: 12px;
    color: var(--wp--preset--color--orange-700);
    white-space: nowrap;
    text-align: center;
    background-image: url('./assets/img/label_bg.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center 45%;
    width: 60px;
    min-width: 60px;
}
.case-timeline-table table td:nth-of-type(2) {
    position: relative;
    font-family: var(--wp--preset--font-family--heading);
    white-space: nowrap;
    color: var(--wp--preset--color--orange-500);
    padding-left: 32px;
    padding-right: 0;
}
.case-timeline-table table td:nth-of-type(1) div,
.case-timeline-table table td:nth-of-type(2) div {
    white-space: nowrap !important; /* for editor */
}
.case-timeline-table table td:nth-of-type(3) {
    padding-left: 0;
}
.case-timeline-table table tr:nth-child(1) td:nth-of-type(n + 2) {
    font-size: 16px;
    font-weight: bold;
}

.case-timeline-table table td:nth-of-type(1)::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    inset: 0 -25px 0 auto;
    margin: auto;
    border-radius: 100%;
    border: 2px solid var(--wp--preset--color--orange-500);
}
.case-timeline-table table tr:nth-of-type(n + 2) td:nth-of-type(1)::before {
    width: 10px;
    height: 10px;
    right: -24px;
    background-color: var(--wp--preset--color--orange-500);
}
.case-timeline-table table td:nth-of-type(2)::before,
.case-timeline-table table td:nth-of-type(2)::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 50%;
    background-color: var(--wp--preset--color--orange-500);
    position: absolute;
    left: 16px;
}
.case-timeline-table table tr:first-of-type td:nth-of-type(2)::before,
.case-timeline-table table tr:last-of-type td:nth-of-type(2)::after {
    content: none;
}
.case-timeline-table table td:nth-of-type(2)::before {
    bottom: calc(50% + 6px);
}
.case-timeline-table table td:nth-of-type(2)::after {
    top: calc(50% + 6px);
}

/* timeline */

.timeline-item {
    align-items: stretch !important;
}
.timeline-label {
    height: fit-content;
    flex-shrink: 0;
}
.timeline-has-dot {
    position: relative;
    flex-shrink: 0;
    margin-left: 24px !important;
}
.timeline-has-dot::before {
    content: '';
    display: block;
    width: 2px;
    height: 100%;
    position: absolute;
    left: -14px;
    top: 11px;
    background-color: var(--wp--preset--color--orange-500);
}
.timeline .timeline-item:last-of-type .timeline-has-dot::before {
    content: none;
}
.timeline-has-dot::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: -21px;
    top: 1.5px;
    border-radius: 100%;
    border: 2px solid var(--wp--preset--color--orange-500);
    background-color: var(--wp--preset--color--orange-500);
}
.timeline .timeline-item:first-of-type .timeline-has-dot::after {
    background-color: var(--wp--preset--color--white);
}

/* collapse */
.collapse-toggler {
    position: relative;
    cursor: pointer;
}
.collapse-toggler::after {
    content: '–';
    color: var(--wp--preset--color--orange-500);
    font-size: 24px;
    line-height: 16px;
    margin-left: 8px;
}
.collapse:has(.hide) .collapse-toggler::after {
    content: '+';
}
.collapse-content.hide {
    overflow: hidden;
    max-height: 0;
}
.collapse-content {
    height: auto;
    max-height: 600px;
    transition: max-height 0.6s ease;
}
/* documents-table */
.documents-table {

}
.documents-table table td:nth-of-type(2) {
    width: auto;
}
.documents-table table td:nth-of-type(3) {
    text-align: center;
    width: 60px;
}
.documents-table table td:nth-of-type(3) a {
    color: var(--wp--preset--color--orange-500);
    font-weight: 500;
    text-decoration: none;
}
.documents-table table td:nth-of-type(3) a::before {
    content: '\e818';
    font-family: "fontello";
    font-size: 16px;
    margin-right: 3px;
    position: relative;
    font-weight: 600;
}
.documents-table table td:nth-of-type(4) {
    position: relative;
    text-align: center;
    color: var(--wp--preset--color--gray-400);
    width: 100px;
    padding: 6px;
}
.documents-table table td:nth-of-type(4)::before {
    content: '';
    display: block;
    width: 1px;
    height: 1.2em;
    position: absolute;
    inset: 0 auto 0 0;
    margin: auto;
    background-color: var(--wp--preset--color--gray-200);
}

/* post */
body:not(.wp-admin):not(.editor-styles-wrapper) .is-layout-grid.swiper-wrapper {
    display: flex;
    gap: 0;
}
body.editor-styles-wrapper .swiper-post .post-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    list-style: none;
    padding: 0;
}
.swiper-post-wrapper {
    padding: 0;
    padding-bottom: 5em;
}
.wp-block-group:has(.swiper-post-wrapper) {
    overflow-x: hidden;
}
.swiper-post {
    position: initial;
    overflow: visible;
}
.swiper-post .swiper-wrapper {
    margin-bottom: 32px;
    padding: 0;
}
.swiper-post .swiper-pagination-progressbar {
    bottom: 0;
    top: auto;
    max-width: none;
    background-color: transparent;
}
.swiper-pagination-progressbar.swiper-pagination-horizontal {
    height: 2px;
}
.wp-block-post .taxonomy-category a {
    white-space: nowrap;
}
.wp-block-create-block-select-post {
    padding-bottom: 3em;
}
.post-card .wp-block-post-featured-image {
    margin-bottom: 0;
}
.post-card .post-wrap {
    font-size: var(--wp--preset--font-size--small);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.post-card .post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-card .post-term {
    display: flex;
    gap: 0.5em;
}
.post-card.type-topic .post-term {
    flex-grow: 1;
}
.post-card .post-category a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--wp--preset--color--orange-500);
}
.post-card.type-topic .post-category {
    display: none;
}
.post-card .post-date {
    color: var(--wp--preset--color--gray-200);
}
.post-card .wp-block-post-title {
    margin-top: 0;
    font-weight: 500;
}

.wp-block-post:not(.has-post-thumbnail) .post-image::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 16px;
    border-radius: var(--wp--preset--spacing--20);
    background-color: var(--wp--preset--color--orange-200);
}
.block-editor-block-list__block .wp-block-post:not(.has-post-thumbnail) .post-image::before {
    content: none;
}
.wp-block-post .taxonomy-post_tag,
.post-card .post-tag {
    position: relative;
    flex-shrink: 1;
    display: flex;
    gap: 6px;
    overflow: hidden;
}
.post-card.type-topic .post-tag {
    flex-shrink: 0;
    flex-grow: 1;
}
.wp-block-post .taxonomy-post_tag::after,
.post-card .post-tag::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 60px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none
}
.wp-block-post .taxonomy-post_tag a,
.post-card .post-tag a {
    background-color: var(--wp--preset--color--gray-100);
    color: var(--wp--preset--color--gray-400);
    padding: 3px 4px 1px 4px;
    display: inline-block;
    flex-shrink: 0;
    text-decoration: none
}
.wp-block-post .taxonomy-post_tag .wp-block-post-terms__separator {
    display: none;
}
.wp-block-list li .wp-block-list {
    margin-top: 0.5em;
}
.wp-block-list li + li {
    margin-top: 0.5em;
}
.wp-block-list li:has(.wp-block-list) + li {
    margin-top: 0.75em;
}
.post-card .post-image img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--wp--preset--spacing--20);
}

@media (max-width: 768px) {
    .swiper-post {
        max-width: 75%;
        width: 280px;
        margin-top: 24px;
    }
    .swiper-post-wrapper {
        padding-bottom: 2.5em;
    }
}

/* news-vertical */
.news-vertical .wp-block-post-featured-image {
    width: 50%;
    max-width: 200px;
}
.news-vertical .wp-block-post > .wp-block-group {
    align-items: stretch;
}
.news-vertical .wp-block-post > .wp-block-group > .wp-block-group {
    
}
.news-vertical .wp-block-post > .wp-block-group > .wp-block-group .wp-block-separator {
    width: 18px;
}

/* news-simple-vertical */
.news-simple-vertical {
    font-size: 14px;
}
.news-simple-vertical .taxonomy-category {
    margin: 0;
}
.news-simple-vertical .taxonomy-category a {
    display: inline-block;
    width: 60px;
    background-color: var(--wp--preset--color--orange-200);
    color: var(--wp--preset--color--orange-700);
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    text-align: center;
    padding: 3px 6px 2px 6px;
}
.news-simple-vertical .wp-block-post-title :where(a) {
    text-decoration: underline;
}
.news-simple-vertical::before {
    content: none;
}
.news-simple-vertical .wp-block-read-more {
    color: var(--wp--preset--color--orange-500);
    font-weight: 500;
    padding: 6px;
}
.news-simple-vertical .wp-block-read-more::before {
    content: '\e80f';
    font-family: "fontello";
    font-size: 16px;
    margin-right: 6px;
    margin-bottom: -2px;
    position: relative;
    font-weight: 600;
}
.news-simple-vertical .wp-block-post-date {
    position: relative;
    text-align: center;
    color: var(--wp--preset--color--gray-400);
    padding: 6px;
    font-size: 14px;
    width: 112px;
}

.news-simple-vertical .wp-block-post-date::before {
    content: '';
    display: block;
    width: 1px;
    height: 1.2em;
    position: absolute;
    inset: 0 auto 0 0;
    margin: auto;
    font-size: 14px;
    background-color: var(--wp--preset--color--gray-200);
}

/* post */
.wp-block-post-content.has-global-padding {
    padding: 0;
}
.issue-tag-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.issue-tag-list li {
    margin: 0;
}
.issue-tag-list .wp-block-post-title a {
    display: block;
    padding: 14px 24px 12px;
    background-color: var(--wp--preset--color--orange-200);
}
.issue-tag-list .wp-block-post-title a::before {
    content: '#';
}

/* event record */
.portrait-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portrait-box .wp-block-heading {
    color: inherit;
    flex-basis: auto;
}
.dialog-box {
    padding: 0.75em 1em !important;
    background-color: var(--wp--preset--color--gray-10);
    border-radius: 8px;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
    max-width: calc(100% - 7px);
    min-width: fit-content;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)).dialog-box {
    margin-left: auto !important;
    margin-right: 0 !important;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)).dialog-box.dialog-right {
    margin-left: 0 !important;
    margin-right: auto !important;
}
.dialog-box::before {
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 7px 0 7px;
    border-color: var(--wp--preset--color--gray-10) transparent transparent transparent;
    position: absolute;
    left: -7px;
    top: 0;
}
.dialog-box.dialog-right::before {
    left: auto;
    right: -7px;
}
.dialog-box p {
    text-align: justify;
}
.sticky-title {
    position: sticky !important;
    top: 70px;
    z-index: 20;
}
.entry-content:has(.sticky-title) .sticky-left {
    --title-height: 55px;
    top: calc(70px + var(--title-height));
}

/* fix old site class */
ul.apos-slideshow-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
img.apos-slideshow-image {
    max-width: 100%;
}