.container {
    width: 1280px;
    max-width: 100%;
    margin: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-inner {
    height: 200px;
    align-self: center;
    align-items: center;
    justify-content: space-between;
    display: flex;
    width: 980px;
}

.person-social-media-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    font-size: 1.4rem;
    margin: 1rem 0 0;
    align-items: center;
    justify-content: center;
}

.person-social-media-icons a {
    color: #fff;
    text-decoration: none;
}

.page--about .person-social-media-icons a {
    color: #000000;
}

.person-social-media-icons a:hover {
    color: #000;
}

.list-contributions {
    width: 850px;
    max-width: 100%;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-contributions li a {
    display: flex;
    text-decoration: none;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    background: var(--dark-slate-blue);
    color: #fff;
}

.contribution-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.contribution-img {
    display: block;
    width: 300px;
    height: 150px;
    background: #eee no-repeat center;
    background-size: cover;
}

.w-richtext p {
    margin-bottom: 1em;
}

.w-richtext p:last-child {
    margin: 0;
}

.contribution-title {
    font-size: 1.4rem;
    font-weight: 500;
}

.contribution-project {
    font-weight: 300;
    color: #e4d7ff;
}
/*noinspection CssUnusedSymbol*/
.w-nav-menu .current-menu-item {
    color: var(--gold-01);
    font-weight: bold;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

/*noinspection CssUnusedSymbol*/
.screen-reader-text {
    display: none;
}

.heading-normal {
    background: var(--dark-slate-blue-2) url("../img/intro-pattern.png") repeat center;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px #0000003d;
}

.hero-section {
    background: var(--dark-slate-blue-2) url("../img/intro-pattern.png") repeat center;
    background-size: cover;
    background-attachment: scroll;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.search-btn, .language-switcher {
    color: #fff;
    line-height: 100%;
    text-decoration: none;
}

.search-btn {
    font-size: 1.5rem;
}
.lang-switcher,
.language-switcher {
    background-color: var(--gold-01);
    border: 1px solid #3232323b;
    border-radius: 15px;
    color: var(--dark-slate-gray-2);
    padding: 4px 18px 8px;
}

.header-navigation {
    text-align: center;
    flex-direction: column;
    flex: 0 auto;
    justify-content: center;
    align-self: auto;
    align-items: flex-end;
    display: flex;
    gap: 1rem;
}

.w-nav-menu a:last-child {
    padding-inline-end: 0;
}

.image-705 {
    --speed: 0;
}

.image-703 {
    --speed: 7;
}

.image-704 {
    --speed: 5;
    --direction: top;
}

.image-718 {
    --speed: 0;
}

.image-706 {
    --speed: 2;
    --direction: top;
}

.image-708 {
    --speed: 5;
}

.image-707 {
    --direction: top;
    --speed: 10;
}

.image-709-9,
.image-709 {
    --speed: 10;
    --direction: top;
}

.image-725 {
    --speed: 5;
    --direction: top;
}

img.title {
    z-index: 10;
    --direction: top;
}

.sm-people-list-title {
    font-size: 14px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--goldenrod-ywa);
}

.sm-people-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
}

.sm-person {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size: 14px;
    align-items: center;
    gap: .5rem;
}

.sm-person-img {
    width: 80px;
    height: 80px;
    background: #eee no-repeat center;
    background-size: cover;
    border-radius: 50%;
}

.sm-person-name {
    color: var(--dark-slate-blue-2);
}

.list-posts-sm,
.list-people {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.list-posts-sm {
    gap: 1rem;
}

.post-sm,
.lg-person {
    background-color: #fff;
    border-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 220px;
    padding: 0 0 15px;
    display: flex;
    box-shadow: 0 2px 5px -2px #0003;
    overflow: hidden;
    transition: 200ms all ease-in-out;
}

.post-sm {
    width: 300px;
    padding-bottom: 0;
}

.post-sm-details {
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 2;
    background: #fff;
    transition: 200ms all ease-in-out;
}

.post-sm-title {
    font-size: 1.2rem;
    color: var(--dark-slate-gray-2);
}

.post-sm-title a {
    color: inherit;
    text-decoration: none;
}

.post-sm-authors {
    font-size: .9rem;
}

.post-sm-authors a:hover {
    border-bottom: 2px solid;
}

.lg-person a {
    display: block;
}

.post-sm:hover .post-sm-details,
.post-sm:hover,
.lg-person:hover {
    background: var(--navajo-white);
}

.post-sm:hover .post-sm-title {
    color: var(--dark-slate-blue-2);
}

.post-sm:hover .post-sm-authors a {
    color: var(--slate-blue)
}

.post-sm-img,
.lg-person-img {
    background-color: #eee;
    background-position: 50%;
    background-size: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    justify-content: center;
    align-self: flex-start;
    align-items: stretch;
    width: 100%;
    height: 280px;
    margin-bottom: 0;
    padding-top: 0;
    display: flex;
    object-fit: cover;
    transition: 1s all ease-in-out;
}

.post-sm:hover .post-sm-img {
    transform: scale(1.1);
    filter: brightness(70%);
}

.post-sm-img {
    height: 300px;
}

.lg-person-name {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.lg-person-desc {
    font-size: .9rem;
    font-weight: 300;
}

.lg-person-desc, .lg-person-name {
    padding: 0 15px;
}

.post-sm-authors a,
.lg-person-name a {
    color: var(--medium-purple);
    text-decoration: none;
}

.post-sm-authors a {
    border-bottom: 2px solid transparent;
    transition: 200ms all ease-in-out;
}

.page-about-section {
    margin-bottom: 4rem;
    position: relative;
}

.page-about-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.heading-black,
.section-61 .heading-361 {
    color: var(--dark-slate-gray-2)
}

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

.confetti-img {
    position: absolute;
    inset: 0% 0% 0%;
    width: 100%;
    pointer-events: none;
    z-index: 10;
    --speed: 5;
    --direction: top;
}

.single-post .confetti {
    overflow: visible;
}

.single-post .confetti .confetti-img {
    top: 10%;
    left: 10%;
    --speed: 10;
    max-width: 80%;
}

.event-block .block-title {
    margin-bottom: 5px;
}

.event-lg-date {
    color: #32323280;
    margin-top: 0;
    font-size: 14px;
}

.event-lg-date .yw-icon {
    font-size: 1.4rem;

}

.event-block {
    grid-template-columns: 470px 0 1fr;
}

/*noinspection CssUnusedSymbol*/
.event-block .block-info {
    padding-top: 40px;
    padding-inline-start: 40px;
    padding-inline-end: 40px;
}

/*noinspection CssUnusedSymbol*/
.event-block .block-cover {
    min-height: 350px;
}

.event-lg-desc {
    color: #323232b3;
    flex: 1;
    -webkit-line-clamp: 4;
    line-height: 1.4;
    margin-top: 20px;
}

/*noinspection CssUnusedSymbol*/
.sm-list-horizontal {
    justify-content: start;
}

/*noinspection CssUnusedSymbol*/
.single .sm-list-horizontal {
    margin-bottom: 1rem;
    gap: 2rem;
}

.single .sm-list-horizontal .sm-person-name {
    font-size: 1rem;
}

.sm-list-horizontal .sm-person {
    flex-direction: row;
}

.sm-list-horizontal .sm-person-img {
    width: 60px;
    height: 60px;
}

.lg-gallery {
    position: relative;
    align-items: center;
    display: block;
    overflow: visible;
    --size: 350;
    height: calc(((var(--size) * 2) + (var(--gap) / 2)) * 1px);
}

.gallery-wrapper {
    padding: 2rem 0 4rem;
    --gap: 100;
    padding-top: calc(calc(var(--gap)) * 1px);
    display: flex;
    flex-direction: column;
    gap: calc(var(--gap) * 1px);
}

.lg-gallery-outside {
    display: flex;
    place-content: center;
    place-items: center;
    gap: 2rem;
}

.lg-gallery-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.lg-gallery-item {
    border-radius: 20px;
    width: 200px;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 5px 10px 0 #0003;
}

.lg-gallery .lg-gallery-item {
    display: block;
    width: calc(var(--size) * 1px);
    height: calc(var(--size) * 1px);
    position: absolute;
    inset: unset;
    margin-inline-end: calc(var(--gap) * 1px);
    box-shadow: 18px 36px 40px 10px #0003;
    z-index: 1;
}

.lg-gallery .lg-gallery-item:nth-child(1) {
    inset-block-start: calc(((var(--size) / 2) - var(--gap)) * -1px);
    --direction: bottom;
    --speed: 4;
}

.lg-gallery .lg-gallery-item:nth-child(2) {
    --size: 400;
    inset-inline-start: unset;
    top: unset;
    inset-block-start: 50%;
    margin-block-start: calc(((var(--size) / 2) - (var(--gap) / 3)) * -1px);
    margin-inline-end: calc(((var(--size) / 2) - (var(--gap) / 2)) * -1px);
    inset-inline-end: 50%;
    z-index: 5;
    --direction: top right;
    --speed: 4;
}

.lg-gallery .lg-gallery-item:nth-child(3) {
    inset-inline-start: unset;
    top: unset;
    inset-inline-end: 0;
    --direction: bottom right;
    --speed: 7;
    inset-block-start: calc(((var(--size) / 2) - var(--gap)) * -1px);
}

.lg-gallery .lg-gallery-item:nth-child(4) {
    inset-inline-start: 0;
    inset-block-end: 0;
    --direction: top left;
    --speed: 2;
    margin-inline-end: calc(var(--gap) * -1px);
}

.lg-gallery .lg-gallery-item:nth-child(5) {
    inset-block-end: 0%;
    inset-inline-end: 0%;
    --direction: bottom;
    --speed: 6;
    margin-inline-start: calc(var(--gap) * -1px);
}

/*noinspection CssUnusedSymbol*/
.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/*noinspection CssUnusedSymbol*/
.alignright {
    float: right;
    margin-left: 1rem;
}

/*noinspection CssUnusedSymbol*/
.alignleft {
    float: left;
    margin-right: 1rem;
}

/*noinspection CssUnusedSymbol*/
.wp-caption {
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #323232a3;
    text-align: center;
    margin-top: 0;
    font-size: 1rem;
}

.wp-caption a {
    display: inline-block;
}
.w-richtext{
    font-size: 18px;
}
.lang-switcher-wrapper {
    margin-bottom: 2rem;
    text-align: end;
}
.lang-switcher{
    padding: .5rem 1rem;
}
/*noinspection CssUnusedSymbol*/
.wp-caption-text {
    text-align: center;
}
.wp-caption.caption-frame{
    width: 500px !important;
    max-width: 100%;
}
.caption-frame img {
    border: 18px solid transparent;
    border-image-source: url('../img/frame.png');
    border-image-slice: 26;
}

.pagination {
    display: flex;
    place-content: center;
    place-items: center;
    gap: 1rem;
}

/*noinspection CssUnusedSymbol*/
.pagination .page-numbers {
    color: #333;
    background-color: #fafafa;
    border: 1px solid #ccc;
    padding: 9px 20px;
    font-size: 14px;
    display: block;
    border-radius: 8px;
}

/*noinspection CssUnusedSymbol*/
.pagination .page-numbers:hover {
    background: #eee;
}

/*noinspection CssUnusedSymbol*/
.pagination .page-numbers:not(.next) {
    display: none;
}

/*noinspection CssUnusedSymbol*/
.pagination .page-numbers.prev {
    display: block;
}

.search-section-people {
    margin-bottom: 4rem;
}

/*noinspection CssUnusedSymbol*/
.search .div-block-44-6666 {
    margin: 0;
    padding: 2rem 0;
    flex-direction: column;
}

.heading-description {
    color: #fff;
    font-weight: 300;
}

.search-keyword {
    background-color: var(--gold-01);
    color: var(--dark-slate-blue-2);
    border-radius: 3px;
    display: inline-block;
    padding: 0 .5rem;
}

.search .w-container:before, .search .w-container:after {
    display: none;
}

.search .heading-normal {
    padding: 0;
}

/*noinspection CssUnusedSymbol*/
.search .container-21-6555 {
    height: auto;
}

.search .heading-top {
    margin: 0;
    font-size: 2rem;
}

/*noinspection CssUnusedSymbol*/
.search .text-span-5555 {
    font-size: inherit;
}

.post-type-archive-person .list-people,
.search .list-people {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.search .lg-person {
    width: unset;
}

/* Search Form Styles */
.search-form {
    display: flex;
    margin-bottom: 2rem;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 1rem;
    color: var(--dark-slate-blue-2)
}

.search-input:focus {
    border-color: var(--dodger-blue);
}

.search-button {
    background-color: var(--dark-slate-blue);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background-color: var(--slate-blue);
}

.header-inner {
    position: relative;
}

/*noinspection CssUnusedSymbol*/
.search-form-header {
    position: absolute;
    bottom: 0;
    inset: unset;
    margin-top: -20px;
    margin-inline-end: 15px;
    inset-inline-end: 0;
    gap: 0;
    display: none;
}

/*noinspection CssUnusedSymbol*/
.search-form-header.active {
    display: flex;
}

.search-form-header .search-button {
    border-end-start-radius: 0;
    border-start-start-radius: 0;
}

.search-form-header .search-input {
    border-end-end-radius: 0;
    border-start-end-radius: 0;
}

.alert-box {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--light-blue-01); /* Soft blue background */
    border-left: 5px solid var(--cadet-blue); /* Distinctive accent border */
    border-radius: 8px;
    color: var(--dark-slate-blue-2); /* Dark legible text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alert-icon {
    margin-inline-end: 15px;
    color: var(--cadet-blue);
    display: flex;
    align-items: center;
}

.alert-content {
    font-size: 1rem;
    font-weight: 500;
}

.alert-content strong {
    color: var(--dark-slate-blue);
}

.no-content {
    border-radius: 20px;
    margin-bottom: 4rem;
}


@media screen and (max-width: 991px) {
    /*noinspection CssUnusedSymbol*/
    .search-form-header {
        bottom: -90px;
        inset-inline-start: 20px;
    }

    .nav-menu-3-en {
        z-index: 11;
    }

    .post-type-archive-person .list-people,
    .search .list-people {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .post-sm, .lg-person {
        width: unset;
    }

    .gallery-wrapper {
        padding: 2rem 0;
    }

    .lg-gallery {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }

    .lg-gallery .lg-gallery-item {
        inset: unset;
        position: static;
        width: 200px;
        height: 200px;
        margin: 0;
        margin-inline: 0 !important;
        margin-block: 0 !important;
        box-shadow: 0 5px 10px 0 #0003;
    }

    /*noinspection CssUnusedSymbol*/
    .post-left-image,
    .post-right-image {
        display: none;
    }

    .block-container.event-block {
        flex-direction: column-reverse;
    }

    /*noinspection CssUnusedSymbol*/
    .event-block .block-cover {
        min-height: unset;
    }

    /*noinspection CssUnusedSymbol*/
    .event-block .block-info {
        padding: 1.5rem;
    }

    /*noinspection CssUnusedSymbol*/
    .search .container-21-6555 {
        justify-content: flex-start;
    }

    .single-post .confetti .confetti-img {
        max-width: 100%;
        transform: scale(2);
    }

    .single-post .confetti {
        overflow-x: hidden;
    }

    .list-contributions {
        padding: 0 15px;
    }

    .contribution-img {
        width: 100%;
        height: 200px;
    }

    .list-contributions li a {
        flex-wrap: wrap;
    }

    .confetti .confetti-img {
        transform: scale(2);
        --speed: 10;
        --direction: bottom;
    }

    .columns-12-copy {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-en {
        padding-top: 40px;
        text-align: center;
    }

    .div-block-187-copy {
        text-align: center;
    }

    .columns-12-copy {
        flex-direction: column-reverse;
    }

    .heading-normal {
        height: 300px;
    }

    .search .heading-normal {
        height: unset;
    }

    .header-inner {
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}