.container.divider {
    margin-top: 164px;
}

.persons-categories,
.persons-subcategories {
  list-style: none;     
  margin: 0;            
  padding: 0;
}



.persons-title {
    font-size: 64px;
    font-family: 'Playfair Display';
    font-weight: 700;
    color: var(--main-text-color);
}

.persons-categories__wrapper {
    overflow-x: scroll;
}

.persons-categories__wrapper::-webkit-scrollbar {
    display: none;
}

.persons-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    width: max-content;
    overflow: hidden;
    padding: 4px;
    overflow: scroll;
    overflow: hidden;
    
}

.persons-category {
    padding: 5px 16px;
    border-radius: 10px;
    transition: .2s;
    font-size: 18px;
    line-height: 38px;
    color: var(--main-text-color);
    text-decoration: none;
}

.persons-category:hover {
    background: #F4EBE0;
    color: #14151C;
    cursor: pointer;
}

.persons-category.active {
    background: #F4EBE0;
    color: #14151C;
}

.persons-flex {
    margin-top: 64px;
    display: flex;
    gap: 20px;
}

.persons-flex.hide-subcategories .persons-subcategories__wrapper {
    display: none;
}

.persons-subcategories__wrapper {
    width: 352px;
    flex-shrink: 0;
}
.persons-subcategories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.persons-subcategory {
    color: var(--main-text-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.persons-subcategory.active, .persons-subcategory:hover {
    color: #D84B55;
}

.persons-subcategory.active.has-subsub {
    font-size: 24px;
}

.persons-subcategory.has-subsub::after, 
.persons-subcategory.has-subsub::before {
    width: 14px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.persons-subcategory.has-subsub::after {
    content: url("data:image/svg+xml,%0A%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2108_3311)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.71163 0.843063L13.3686 6.50006L11.9546 7.91406L7.00462 2.96406L2.05462 7.91406L0.640625 6.50006L6.29762 0.843063C6.48515 0.655592 6.73946 0.550276 7.00462 0.550276C7.26979 0.550276 7.5241 0.655592 7.71163 0.843063Z' fill='%23FFFFFF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2108_3311'%3E%3Crect width='8' height='14' fill='white' transform='translate(0 8) rotate(-90)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    transform: rotate(180deg);
}

.persons-subcategory.has-subsub:hover::after {
    content: url("data:image/svg+xml,%0A%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2108_3311)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.71163 0.843063L13.3686 6.50006L11.9546 7.91406L7.00462 2.96406L2.05462 7.91406L0.640625 6.50006L6.29762 0.843063C6.48515 0.655592 6.73946 0.550276 7.00462 0.550276C7.26979 0.550276 7.5241 0.655592 7.71163 0.843063Z' fill='%236E050F'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2108_3311'%3E%3Crect width='8' height='14' fill='white' transform='translate(0 8) rotate(-90)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");  
}

.persons-subcategory.has-subsub.active::after,
.persons-subcategory.has-subsub:hover::after {
	content: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.071 0.29277L12.728 5.94977L11.314 7.36377L6.364 2.41377L1.414 7.36377L0 5.94977L5.657 0.29277C5.84453 0.105299 6.09884 -1.68268e-05 6.364 -1.68121e-05C6.62916 -1.67973e-05 6.88347 0.105299 7.071 0.29277Z' fill='%23D84B55'/%3E%3C/svg%3E");
    transform: unset;
    margin: 0;
    margin-bottom: 5px;
}


.persons-subcategory[data-parent] {
    display: none;
}

.persons-subcategory.active.has-subsub ~ .persons-subcategory[data-parent] {
    display: block;
}

.persons-content {
    flex: 1;
}

.persons-content__title {
    font-size: 32px;
    font-family: 'Playfair Display';
    font-weight: 700;
    color: var(--main-text-color);
    margin: 0;
}

.persons-content__items {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 0px;
    padding-right: 50px;
}


.persons-content__items.full-width {
    padding-right: 0;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.persons-content__item {
    text-decoration: none;
    width: 220px;
}

.persons-content__items.full-width .persons-content__item {
    width: 100%;
    max-width: 100%;
}

.persons-content__item img {
    height: 220px;
    width: 220px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 16px;
}

.persons-content__item-title {
    color: var(--main-text-color);
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 8px;
}

.persons-content__item-position {
    color: var(--main-text-color);
    color: #F2DFC8B0;
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
}

/*

Single

 */

.persons-single {
    background: #4E444430;
    color: var(--main-text-color);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    gap: 55px;
}

.persons-single__left img {
    width: 280px;
    height: 280px;
    object-fit: cover;
	object-position: top;
    border-radius: 10px;
    margin-bottom: 24px;
}

.persons-single__left-title {
    font-weight: 400;
    font-size: 24px;
    line-height: 20px;
    margin-bottom: 8px;
}

.persons-single__left-position {
    color: #F2DFC8B0;
    font-size: 16px;
    font-weight: 400;
}

.persons-single__right h4 {
    margin: 0;
    margin-bottom: 32px;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
}

.persons-single__right p {
    margin: 0;
    margin-bottom: 16px;
    line-height: 30px;
    font-size: 16px;
}

.persons-single__right ul {
    padding: 0px 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0px;
}
.persons-single__right ul li {
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    line-height: 30px;
    color: #F4EBE0B2;
}
.persons-single__right ul li::before {
    content: '';
    position: absolute;
    transform: translateY(10px);
    left: -20px;
    width: 8px;
    height: 8px;
    background: #6E050F;
    border-radius: 100%;
}

.persons-reviews {
    margin-top: 138px;
}

.person-review {
    color: var(--main-text-color);
    padding: 0 58px;
    position: relative;
}

.person-review::before {
    content: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_850_9543)'%3E%3Cpath d='M6.3927 14.0644C6.62106 15.7957 8.15151 17.3628 10.951 18.7284L11.4551 18.9743L9.38833 22.79L8.92176 22.5536C3.00173 19.5526 6.53783e-07 15.3116 1.12267e-06 9.94823C1.28445e-06 8.09766 0.587439 6.49937 1.74611 5.19764C2.92104 3.87779 4.34688 3.20854 5.98432 3.20854C7.4556 3.20854 8.7032 3.73245 9.69241 4.7659C10.6752 5.7927 11.1735 7.06807 11.1735 8.55667C11.1735 9.96331 10.6702 11.2169 9.67743 12.2826C8.80186 13.2226 7.69859 13.8205 6.3927 14.0644ZM8.91566 5.50939C8.12622 4.68465 7.16737 4.28378 5.98432 4.28378C4.64852 4.28378 3.52493 4.81658 2.54937 5.91259C1.55741 7.02693 1.07519 8.34699 1.07519 9.94828C1.07519 12.4064 1.76739 14.6257 3.13244 16.5444C4.43493 18.375 6.38848 19.9912 8.94385 21.3534L9.97923 19.4419C6.86532 17.8101 5.2876 15.8485 5.2876 13.6059L5.2876 13.1257L5.76469 13.0717C7.04986 12.9262 8.07224 12.4284 8.89068 11.5498C9.70323 10.6774 10.0983 9.69833 10.0983 8.55672C10.0983 7.33756 9.71141 6.34083 8.91566 5.50939Z' fill='%23F4EBE0'/%3E%3Cpath d='M20.983 14.063C21.2086 15.7958 22.7265 17.3637 25.5035 18.7294L25.9999 18.9735L23.9845 22.792L23.5133 22.5542C17.5662 19.5535 14.5508 15.3123 14.5508 9.94845C14.5508 8.09671 15.1457 6.49756 16.319 5.19547C17.507 3.87724 18.9387 3.20881 20.5748 3.20881C22.0479 3.20881 23.2898 3.73374 24.2658 4.76906C25.2335 5.79545 25.7242 7.06986 25.7242 8.55694C25.7242 9.96363 25.2209 11.2172 24.2283 12.2829C23.3545 13.2208 22.2645 13.8183 20.983 14.063ZM23.4836 5.50666C22.7078 4.6839 21.7564 4.28395 20.5748 4.28395C19.2377 4.28395 18.1069 4.81751 17.1178 5.9152C16.1139 7.02924 15.6259 8.34848 15.6259 9.94845C15.6259 12.4062 16.3213 14.6251 17.6924 16.5436C19.0006 18.3738 20.9626 19.9898 23.5289 21.3518L24.5362 19.4432C21.4447 17.8109 19.8782 15.8489 19.8782 13.6061L19.8782 13.1269L20.3541 13.072C21.6129 12.9267 22.6227 12.4289 23.4416 11.5499C24.2541 10.6777 24.649 9.69866 24.649 8.55689C24.6491 7.33621 24.2678 6.33841 23.4836 5.50666Z' fill='%23F4EBE0'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_850_9543'%3E%3Crect width='26' height='26' fill='white' transform='matrix(1 8.74228e-08 8.74228e-08 -1 0 26)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    position: absolute;
    left: 0;
    top: 0;
}

.person-review::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iMjYiIHZpZXdCb3g9IjAgMCAyNiAyNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNGNEVCRTAiPgogICAgPHBhdGggZD0iTTE5LjYwNyAxNC4wNjRjLS4yMjggMS43MzItMS43NTggMy4yOTktNC41NTggNC42NjRsLS41MDQuMjQ2IDIuMDY3IDMuODE2LjQ2Ni0uMjM2QzIyLjk5OCAxOS41NTMgMjYgMTUuMzExIDI2IDkuOTQ4YzAtMS44NS0uNTg3LTMuNDQ5LTEuNzQ2LTQuNzUtMS4xNzUtMS4zMi0yLjYtMS45OS00LjIzOC0xLjk5LTEuNDcyIDAtMi43Mi41MjQtMy43MDggMS41NTgtLjk4MyAxLjAyNy0xLjQ4MiAyLjMwMi0xLjQ4MiAzLjc5IDAgMS40MDcuNTA0IDIuNjYgMS40OTcgMy43MjcuODc1Ljk0IDEuOTc4IDEuNTM3IDMuMjg0IDEuNzgxTTE3LjA4NCA1LjUxYy43OS0uODI0IDEuNzQ5LTEuMjI1IDIuOTMyLTEuMjI1IDEuMzM2IDAgMi40Ni41MzMgMy40MzUgMS42MjkuOTkyIDEuMTE0IDEuNDc0IDIuNDM0IDEuNDc0IDQuMDM1IDAgMi40NTgtLjY5MiA0LjY3OC0yLjA1NyA2LjU5Ni0xLjMwMyAxLjgzMS0zLjI1NiAzLjQ0Ny01LjgxMiA0LjgxbC0xLjAzNS0xLjkxMmMzLjExNC0xLjYzMiA0LjY5MS0zLjU5NCA0LjY5MS01LjgzNnYtLjQ4bC0uNDc3LS4wNTRjLTEuMjg1LS4xNDYtMi4zMDctLjY0NC0zLjEyNi0xLjUyMi0uODEyLS44NzMtMS4yMDctMS44NTItMS4yMDctMi45OTMgMC0xLjIyLjM4Ny0yLjIxNiAxLjE4Mi0zLjA0OE01LjAxNyAxNC4wNjNjLS4yMjYgMS43MzMtMS43NDMgMy4zLTQuNTIgNC42NjZMMCAxOC45NzRsMi4wMTYgMy44MTguNDctLjIzOGM1Ljk0OC0zIDguOTYzLTcuMjQyIDguOTYzLTEyLjYwNiAwLTEuODUxLS41OTUtMy40NS0xLjc2OC00Ljc1M0M4LjQ5MyAzLjg3NyA3LjA2MSAzLjIxIDUuNDI1IDMuMjFjLTEuNDczIDAtMi43MTUuNTI1LTMuNjkgMS41NkMuNzY1IDUuNzk1LjI3NCA3LjA3LjI3NCA4LjU1N2MwIDEuNDA3LjUwNCAyLjY2IDEuNDk3IDMuNzI2YTUuODMgNS44MyAwIDAgMCAzLjI0NSAxLjc4bS0yLjUtOC41NTZjLjc3NS0uODIzIDEuNzI3LTEuMjIzIDIuOTA4LTEuMjIzIDEuMzM3IDAgMi40NjguNTM0IDMuNDU3IDEuNjMxIDEuMDA0IDEuMTE0IDEuNDkyIDIuNDMzIDEuNDkyIDQuMDMzIDAgMi40NTgtLjY5NSA0LjY3Ny0yLjA2NiA2LjU5Ni0xLjMwOSAxLjgzLTMuMjcgMy40NDYtNS44MzcgNC44MDhsLTEuMDA3LTEuOTA5YzMuMDkxLTEuNjMyIDQuNjU4LTMuNTk0IDQuNjU4LTUuODM3di0uNDhsLS40NzYtLjA1NGMtMS4yNTktLjE0NS0yLjI2OS0uNjQzLTMuMDg4LTEuNTIyLS44MTItLjg3Mi0xLjIwNy0xLjg1MS0xLjIwNy0yLjk5MyAwLTEuMjIuMzgxLTIuMjE5IDEuMTY1LTMuMDUiLz4KICA8L2c+CiAgPGRlZnM+CiAgICA8Y2xpcFBhdGggaWQ9ImEiPgogICAgICA8cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjYgMjZIMFYwaDI2eiIvPgogICAgPC9jbGlwUGF0aD4KICA8L2RlZnM+Cjwvc3ZnPgo=");
    position: absolute;
    right: 0;
    bottom: 0;
}

.person-review__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 32px;
}

.person-reviews__desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
}

.persons-reviews .global-main__next-slide {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    padding: 10px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    right: -50px;
}
.persons-reviews .global-main__prev-slide {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.persons-reviews .global-main__prev-slide {
    left: 2%!important;
}
.persons-reviews {
    position: relative;
}
.persons-reviews::after {
    content: '';
    position: absolute;
    right: 0;
    height: 100%;
    width: 50%;
    top: 0;
    pointer-events: none;
    background: linear-gradient(-100deg, #090b15, transparent);
    z-index: 1;
}


.persons-single .right-btn,
.person-review .right-btn {
    display: none;
}

.double-gallery__wrapper__swiper .global-main__next-slide,
.double-gallery__wrapper__swiper .global-main__prev-slide  {
    position: static!important;
    background: none!important;
    transform: none!important;
    padding: 0px!important;
    width: fit-content!important;
    height: fit-content!important;
    display: flex!important;
}
.double-gallery__wrapper__swiper .global-main__prev-slide {
    transform: rotate(180deg) !important;
}


/* acces */
body.accessibility-mode .persons-categories {
    padding: 4px;
}
body.accessibility-mode .persons-category.active {
    background: #ffffff;
    color: #14151C;
}


body.accessibility-mode .person-review::before {
    content: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_850_9543)'%3E%3Cpath d='M6.3927 14.0644C6.62106 15.7957 8.15151 17.3628 10.951 18.7284L11.4551 18.9743L9.38833 22.79L8.92176 22.5536C3.00173 19.5526 6.53783e-07 15.3116 1.12267e-06 9.94823C1.28445e-06 8.09766 0.587439 6.49937 1.74611 5.19764C2.92104 3.87779 4.34688 3.20854 5.98432 3.20854C7.4556 3.20854 8.7032 3.73245 9.69241 4.7659C10.6752 5.7927 11.1735 7.06807 11.1735 8.55667C11.1735 9.96331 10.6702 11.2169 9.67743 12.2826C8.80186 13.2226 7.69859 13.8205 6.3927 14.0644ZM8.91566 5.50939C8.12622 4.68465 7.16737 4.28378 5.98432 4.28378C4.64852 4.28378 3.52493 4.81658 2.54937 5.91259C1.55741 7.02693 1.07519 8.34699 1.07519 9.94828C1.07519 12.4064 1.76739 14.6257 3.13244 16.5444C4.43493 18.375 6.38848 19.9912 8.94385 21.3534L9.97923 19.4419C6.86532 17.8101 5.2876 15.8485 5.2876 13.6059L5.2876 13.1257L5.76469 13.0717C7.04986 12.9262 8.07224 12.4284 8.89068 11.5498C9.70323 10.6774 10.0983 9.69833 10.0983 8.55672C10.0983 7.33756 9.71141 6.34083 8.91566 5.50939Z' fill='%23000000'/%3E%3Cpath d='M20.983 14.063C21.2086 15.7958 22.7265 17.3637 25.5035 18.7294L25.9999 18.9735L23.9845 22.792L23.5133 22.5542C17.5662 19.5535 14.5508 15.3123 14.5508 9.94845C14.5508 8.09671 15.1457 6.49756 16.319 5.19547C17.507 3.87724 18.9387 3.20881 20.5748 3.20881C22.0479 3.20881 23.2898 3.73374 24.2658 4.76906C25.2335 5.79545 25.7242 7.06986 25.7242 8.55694C25.7242 9.96363 25.2209 11.2172 24.2283 12.2829C23.3545 13.2208 22.2645 13.8183 20.983 14.063ZM23.4836 5.50666C22.7078 4.6839 21.7564 4.28395 20.5748 4.28395C19.2377 4.28395 18.1069 4.81751 17.1178 5.9152C16.1139 7.02924 15.6259 8.34848 15.6259 9.94845C15.6259 12.4062 16.3213 14.6251 17.6924 16.5436C19.0006 18.3738 20.9626 19.9898 23.5289 21.3518L24.5362 19.4432C21.4447 17.8109 19.8782 15.8489 19.8782 13.6061L19.8782 13.1269L20.3541 13.072C21.6129 12.9267 22.6227 12.4289 23.4416 11.5499C24.2541 10.6777 24.649 9.69866 24.649 8.55689C24.6491 7.33621 24.2678 6.33841 23.4836 5.50666Z' fill='%23000000'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_850_9543'%3E%3Crect width='26' height='26' fill='white' transform='matrix(1 8.74228e-08 8.74228e-08 -1 0 26)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    position: absolute;
    left: 0;
    top: 0;
}

/*tablet*/
@media (max-width: 1390px) and (min-width: 769px) {
    .persons {
        margin-top: 120px;
        padding: 0 16px;
    }
    .persons-category {
    padding: 5px 16px;
    border-radius: 10px;
    transition: .2s;
    font-size: 16px;
    line-height: 34px;
    color: var(--main-text-color);
    text-decoration: none;
    }
    .persons-title {
        font-size: 52px; 
        line-height: 1.2;
    }

    .persons-flex {
        flex-direction: row;
        gap: 24px; 
    }

    .persons-subcategories__wrapper {
        width: 100%;  
        max-width: 280px;    
        flex-shrink: 0;      
        margin: 0 auto;      
    }

    .persons-subcategories {
        display: flex;
        flex-direction: column;
        gap: 14px; 
    }

    .persons-subcategories li a {
        font-size: 17px; 
        padding: 10px 14px;
    }

    .persons-content {
        flex: 1;
    }

 .persons-content__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px; 
    }

    .persons-content__items.full-width {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .persons-content__item {
        width: 100%;
        max-width: 100%;
    }

    .persons-content__item img {
        width: 100%;   
        height: auto;
        aspect-ratio: 1 / 1; 
        object-fit: cover;
        object-position: top;
        margin-bottom: 16px;
        max-width: 270px;
    }

    .persons-content__item-title {
        font-size: 17px;
        margin-top: 10px;
        max-width: 100%;
    }

    .persons-content__item-text {
        font-size: 15px;
    }
    .persons-single {
        padding: 32px;
        gap: 32px;
        border-radius: 20px;
    }

    .persons-single__left img {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }

    .persons-single__left-title {
        font-size: 20px;
        line-height: 24px;
    }

    .persons-single__left-position {
        font-size: 15px;
    }

    .persons-single__right h4 {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 24px;
    }

    .persons-single__right p {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .persons-single__right ul {
        gap: 6px;
        padding-left: 18px;
    }

    .persons-single__right ul li {
        font-size: 15px;
        line-height: 26px;
    }

    .persons-reviews {
        margin-top: 92px;
    }

    .person-review {
        padding: 0 36px;
    }

    .person-review__title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .persons-reviews .global-main__next-slide,
    .persons-reviews .global-main__prev-slide {
        width: 28px;
        height: 28px;
    }

    .persons-reviews::after {
        width: 40%;
    }

    .persons-subcategories__wrapper {
        width: 100%;
        max-width: 240px;
        flex-shrink: 0;
    }
    .persons-content__item-position {
        max-width: 100%;
    }
    body.accessibility-mode .persons-categories {
    padding: 4px 4px 4px 4px;
}
}
@media (max-width: 1090px) and (min-width: 769px) {
    .persons-content__items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 960px) and (min-width: 769px) {
    .persons-single {
        flex-direction: column;
    }
    
}
/*mobile*/
@media (max-width: 768px){
    .container.divider {
        padding: 0px 16px;
        margin-top: 104px;
    }
    .persons-category {
    padding: 15.5px 16px;
    border-radius: 10px;
    transition: .2s;
    font-size: 14px;
    line-height: 100%;
    color: var(--main-text-color);
    text-decoration: none;
    }
    .persons-title {
        font-size: 40px;
        padding: 0px 4px;
    }
    .persons-flex {
        margin-top: 32px;
        flex-direction: column;
        gap: 40px;
    }
   
    .persons-subcategories__wrapper {
        overflow-x: scroll;
        width: 100%;
        padding: 0px 4px;
    }
    .persons-subcategories__wrapper::-webkit-scrollbar {
        display: none;
    }
    .persons-subcategories {
        width: max-content;
        overflow: hidden;
        flex-direction: row;
    }

    .persons-subcategory {
        font-size: 16px;
    }
    
    .persons-content__items {
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 23px;
    }

    .persons-content__items.full-width {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .persons-content__item {
        width: 100%;
    }

    .persons-content__item-title {
        font-size: 16px;
    }

    .persons-content__item-position {
        font-size: 14px;
    }
    
    .persons-content__item img {
        width: 100%;
        height: auto;
        aspect-ratio: 160/160;
        max-width: 270px;
    }

    .double-gallery__wrapper__swiper .global-main__next-slide,
    .double-gallery__wrapper__swiper .global-main__prev-slide {
        display: none!important;
    }

    .persons-single {
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px;
    }

    .persons-single__left img {
        width: 176px;
        height: 176px;
    }

    .persons-single__left-title {
        font-size: 16px;
        margin-bottom: 13px;
    }

    .persons-single__left-position {
        font-size: 14px;
    }

    .persons-single__right h4 {
        font-size: 16px;
    }

    .persons-reviews {
        margin-top: 64px;
    }

    .person-review {
        padding: 0px 27px;
    }
    .person-review__title {
        font-size: 16px;
        margin-bottom: 16px;
        margin-left: 36px;
        margin-top: 5px;
    }
    .person-review::before {
        left: unset;
        top: -5px;
        transform: scale(0.8);
    }
    .person-review::after {
        transform: scale(0.8);
        bottom: -10px;
        right: 33px;
    }

    .persons-single .right-btn {
        padding-top: 0px;
    }
    .persons-single .right-btn,
    .person-review .right-btn {
        display: flex;
    }

    .person-review .right-btn {
        padding-top: 12px;
        padding-right: 45px;
        margin-bottom: 24px;
    }
    .person-review .right-btn .more-btn {
        border: 0px;
        padding: 0px;
        height: fit-content;
        font-weight: 600;
        line-height: 38px;
    }
    .person-review .right-btn .more-btn:hover {
        background: none;
        opacity: .5;
        background-color: none;
        color: var(--main-text-color);
    }
    
    .persons-reviews .global-main__prev-slide,
    .persons-reviews .global-main__next-slide {
        display: none;
    }

    .global-main__pagination-area .global-main__prev-slide {
        transform: none;
    }

    .double-gallery__wrapper__swiper.mobile {
        padding: 0px 14px;
    }

    .global-main__pagination-area.navigation .global-main__next-slide, .global-main__pagination-area.navigation .global-main__prev-slide {
        top: 52%!important;
    }

    .persons-reviews::after {
        display: none;
    }
    .persons-reviews .global-main__prev-slide,
    .persons-reviews .global-main__next-slide {
        display: none!important;
    }

    .persons-reviews .global-main__pagination-area {
        margin: 0px!important;
    }
     body.accessibility-mode .persons-categories {
    padding: 4px 4px 4px 4px;
}
    .persons-subcategories {
           padding: 4px 4px 4px 4px;
    }
}

/* Text list styles for persons */
	.persons-content__list {
    margin-top: 2rem;
}

.persons-content__list.two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    align-items: start;
}

.persons-list-section {
    margin-bottom: 2.5rem;
}

.persons-content__list.two-columns .persons-list-section {
    margin-bottom: 0;
}

.persons-content__list.two-columns .persons-list-section.full-width {
    grid-column: 1 / -1;
}

.persons-list-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--main-text-color);
    font-family: 'Playfair Display', serif;
}

.persons-list-section__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.persons-list-item {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.persons-list-item__link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    display: inline-block;
}

.persons-list-item__link:hover {
    color: #6E050F;
}

.persons-list-item__text {
    display: inline-block;
}

.persons-list-item__name {
    font-weight: 600;
    color: var(--main-text-color);
}

.persons-list-item__separator {
    margin: 0 0.25rem;
	color: #fff;
}

.persons-list-item__position {
    color: #F2DFC8B0;
    font-weight: 400;
}
	
	/* Tablet styles for text list */
@media (max-width: 1390px) and (min-width: 769px) {
    .persons-list-section__title {
        font-size: 1.1rem;
    }
    
    .persons-list-item {
        font-size: 0.95rem;
    }
    
    .persons-content__list.two-columns {
        gap: 2rem 1.5rem;
    }
}

/* Mobile styles for text list */
@media (max-width: 768px) {
    .persons-content__list {
        margin-top: 1.5rem;
    }
    
    .persons-list-section {
        margin-bottom: 2rem;
    }
    
    .persons-content__list.two-columns .persons-list-section {
        margin-bottom: 2rem;
    }
    
    .persons-list-section__title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .persons-list-item {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .persons-content__list.two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}