.staff-list.staff-list--view1 .staff-list__item.cl-staff-card {
    display: block;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: auto;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    scroll-snap-align: start;
}
.staff-list.staff-list--view1 .cl-staff-card::before {
    display: none;
}
.staff-list.staff-list--view1 .cl-staff-card .staff-list__item-image-wrapper {
    padding-top: 128%;
    background: #f5f1f1;
}
.cl-staff-card .cl-staff-card__photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%!important;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .35s ease;
}
.staff-list.staff-list--view1 .cl-staff-card .staff-list__item-image-wrapper::after {
    top: 35%;
    background: linear-gradient(180deg, transparent, rgba(28, 16, 16, .82));
    pointer-events: none;
}
.staff-list.staff-list--view1 .cl-staff-card .staff-list__item-additional-text-wrapper {
    z-index: 2;
    left: clamp(18px, 2.3vw, 32px);
    right: clamp(18px, 2.3vw, 32px);
    bottom: 25px;
    opacity: 1;
    overflow-wrap: anywhere;
}
.staff-list.staff-list--view1 .cl-staff-card .staff-list__item-company {
    margin-bottom: 7px;
    color: #fff;
    opacity: .82;
    line-height: 1.5;
}
.staff-list.staff-list--view1 .cl-staff-card .staff-list__item-title {
    color: #fff;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    opacity: 1;
}
.cl-staff-card .cl-staff-card__more {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    opacity: .85;
}
.cl-staff-card__more > span {
    font-size: 20px;
    transition: transform .2s ease;
}
.cl-staff-card:hover .cl-staff-card__photo {
    transform: scale(1.035);
}
.cl-staff-card:hover .cl-staff-card__more > span {
    transform: translateX(4px);
}
.staff-list .cl-staff-card:focus-visible {
    outline: 3px solid #b81917;
    outline-offset: 4px;
}
.cl-staff-carousel:not(.owl-loaded) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 64px) / 3);
    gap: 32px;
    overflow-x: auto;
    padding: 5px 0;
    scroll-snap-type: x mandatory;
}
.cl-staff-section--related .index-block {
    padding-top: 48px;
}
.cl-staff-detail,
.cl-staff-archive {
    --cl-staff-green: #b81917;
    --cl-staff-ink: #322e2e;
    --cl-staff-muted: #756a6a;
    --cl-staff-line: #eadfdf;
    width: 100%;
    min-width: 0;
    padding-top: 16px;
    padding-bottom: 40px;
    color: var(--cl-staff-ink);
}
.cl-staff-detail *,
.cl-staff-detail *::before,
.cl-staff-detail *::after,
.cl-staff-archive * {
    box-sizing: border-box;
}
.cl-staff-detail .cl-staff-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(32px, 5vw, 80px);
    padding: 32px;
    border: 1px solid var(--cl-staff-line);
    border-radius: 18px;
    background: linear-gradient(115deg, #fbf5f5, #fff 75%);
}
.cl-staff-detail__portrait {
    overflow: hidden;
    align-self: start;
    border-radius: 10px;
    aspect-ratio: 4 / 5;
    background: #f5f1f1;
}
.cl-staff-detail .cl-staff-detail__photo {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center 20%;
}
.cl-staff-detail__info {
    position: sticky;
    top: 110px;
    align-self: start;
    min-width: 0;
    padding: 16px 20px 16px 0;
    overflow-wrap: anywhere;
}
.cl-staff-detail h1.cl-staff-detail__name {
    margin: 0 0 18px;
    padding: 0;
    color: var(--cl-staff-ink);
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: none;
}
.cl-staff-detail p.cl-staff-detail__position {
    margin: 0 0 24px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--cl-staff-line);
    color: #a72523;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 500;
    line-height: 1.55;
}
.cl-staff-detail__summary {
    color: #5f5353;
    font-size: 16px;
    line-height: 1.85;
}
.cl-staff-detail__summary p {
    margin: 0 0 16px;
}
.cl-staff-detail__summary > :last-child {
    margin-bottom: 0;
}
.cl-staff-detail a.cl-staff-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: #b81917;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
}
.cl-staff-detail__back > span {
    font-size: 21px;
}
.cl-staff-detail a.cl-staff-detail__back:hover {
    color: #8d1513;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cl-staff-detail__body {
    width: 100%;
    max-width: none;
    margin: 40px 0 0;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--cl-staff-line);
    border-radius: 18px;
    background: #fff;
}
.cl-staff-content {
    color: #514747;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.cl-staff-content::after {
    content: "";
    display: table;
    clear: both;
}
.cl-staff-content h1,
.cl-staff-content h2,
.cl-staff-content h3,
.cl-staff-content h4,
.cl-staff-content h5,
.cl-staff-content h6 {
    margin: 1.8em 0 .7em;
    padding: 0;
    color: var(--cl-staff-ink);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
    text-transform: none;
    scroll-margin-top: 120px;
}
.cl-staff-content h1,
.cl-staff-content h2 { font-size: clamp(25px, 2.4vw, 32px); }
.cl-staff-content h3 { font-size: clamp(21px, 2vw, 25px); }
.cl-staff-content h4 { font-size: 21px; }
.cl-staff-content h5 { font-size: 18px; }
.cl-staff-content h6 { font-size: 17px; }
.cl-staff-content > :first-child { margin-top: 0; }
.cl-staff-content > :last-child { margin-bottom: 0; }
.cl-staff-content p { margin: 0 0 1.15em; }
.cl-staff-content ul,
.cl-staff-content ol {
    margin: 0 0 1.5em;
    padding: 0 0 0 1.6em;
    list-style-position: outside;
}
.cl-staff-content ul { list-style-type: disc; }
.cl-staff-content ol { list-style-type: decimal; }
.cl-staff-content ul ul { list-style-type: circle; }
.cl-staff-content ul ul ul { list-style-type: square; }
.cl-staff-content ol ol { list-style-type: lower-alpha; }
.cl-staff-content ul > li,
.cl-staff-content ol > li {
    display: list-item;
    margin: .5em 0;
    padding: 0 0 0 .35em;
    list-style-type: inherit;
}
.cl-staff-content ul > li::before,
.cl-staff-content ol > li::before {
    display: none;
    content: none;
}
.cl-staff-content li::marker { color: #b81917; font-weight: 600; }
.cl-staff-content li > ul,
.cl-staff-content li > ol { margin: .55em 0; }
.cl-staff-content a,
.cl-staff-detail__summary a {
    color: #b81917;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cl-staff-content a:hover { color: #8d1513; }
.cl-staff-detail a:focus-visible,
.cl-staff-archive a:focus-visible {
    outline: 3px solid var(--cl-staff-green);
    outline-offset: 4px;
}
.cl-staff-content strong,
.cl-staff-content b { color: var(--cl-staff-ink); font-weight: 700; }
.cl-staff-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border: 0;
    border-left: 4px solid var(--cl-staff-green);
    border-radius: 0 10px 10px 0;
    background: #fbf5f5;
    color: #633d3d;
    font-size: 18px;
    font-style: normal;
    line-height: 1.8;
}
.cl-staff-content blockquote::before,
.cl-staff-content blockquote::after { display: none; }
.cl-staff-content blockquote > :last-child { margin-bottom: 0; }
.cl-staff-content cite,
.cl-staff-content figcaption,
.cl-staff-content .wp-caption-text {
    display: block;
    margin-top: 10px;
    color: var(--cl-staff-muted);
    font-size: 13px;
    line-height: 1.65;
}
.cl-staff-content img,
.cl-staff-content video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.cl-staff-content iframe { max-width: 100%; }
.cl-staff-content .wp-block-embed__wrapper { overflow: hidden; }
.cl-staff-content figure,
.cl-staff-content .wp-caption {
    max-width: 100%;
    margin: 28px 0;
}
.cl-staff-content .alignleft { float: left; margin: 8px 28px 20px 0; }
.cl-staff-content .alignright { float: right; margin: 8px 0 20px 28px; }
.cl-staff-content .aligncenter { display: block; margin: 28px auto; }
.cl-staff-content table {
    display: table;
    max-width: none;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0;
    overflow: visible !important;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}
.cl-staff-content th,
.cl-staff-content td {
    padding: 14px 18px;
    border: 1px solid var(--cl-staff-line);
    text-align: left;
    vertical-align: top;
    min-width: 130px;
}
.cl-staff-content th { background: #f9eeee; color: #572f2f; font-weight: 600; }
.cl-staff-content tbody tr:nth-child(even) { background: #fcf9f9; }
.cl-staff-content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--cl-staff-line); }
.cl-staff-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 20px;
    border-radius: 10px;
    background: #f6f2f2;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre;
}
.cl-staff-content code { padding: .15em .35em; border-radius: 4px; background: #f6f2f2; }
.cl-staff-content pre code { padding: 0; background: none; }
.cl-staff-content dl { margin: 24px 0; }
.cl-staff-content dt { margin-top: 16px; color: var(--cl-staff-ink); font-weight: 600; }
.cl-staff-content dd { margin: 8px 0 0 20px; }
.cl-staff-content details { margin: 20px 0; padding: 20px; border: 1px solid var(--cl-staff-line); border-radius: 8px; }
.cl-staff-content summary { color: var(--cl-staff-ink); font-weight: 600; cursor: pointer; }
.cl-staff-content details[open] summary { margin-bottom: 16px; }
.cl-staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cl-staff-archive__intro { max-width: 1000px; margin-bottom: 40px; font-size: 17px; line-height: 1.8; }
.cl-staff-archive__empty { padding: 32px 0; color: var(--cl-staff-muted); }
.cl-staff-pagination .nav-links,
.cl-staff-detail__pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.cl-staff-pagination .page-numbers,
.cl-staff-detail__pages .post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid var(--cl-staff-line);
    border-radius: 6px;
    color: var(--cl-staff-ink);
    text-decoration: none;
}
.cl-staff-pagination .current,
.cl-staff-detail__pages .current { border-color: var(--cl-staff-green); background: var(--cl-staff-green); color: #fff; }
@media (max-width: 1199px) {
    .cl-staff-carousel:not(.owl-loaded) { grid-auto-columns: calc((100% - 32px) / 2); }
    .cl-staff-detail .cl-staff-detail__hero { gap: 32px; padding: 24px; }
    .cl-staff-detail__info { padding-right: 0; }
}
@media (max-width: 767px) {
    .cl-staff-detail .cl-staff-detail__hero { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 20px; border-radius: 12px; }
    .cl-staff-detail__portrait { width: 100%; max-width: 440px; justify-self: center; }
    .cl-staff-detail__info { position: static; padding: 0; }
    .cl-staff-detail p.cl-staff-detail__position { padding-bottom: 20px; margin-bottom: 20px; }
    .cl-staff-detail__summary { font-size: 15px; line-height: 1.8; }
    .cl-staff-detail__body { margin-top: 24px; padding: 22px 18px; border-radius: 12px; }
    .cl-staff-content { font-size: 16px; line-height: 1.8; }
    .cl-staff-content blockquote { padding: 20px; font-size: 16px; }
    .cl-staff-content .alignleft,
    .cl-staff-content .alignright { float: none; display: block; margin: 24px auto; }
    .cl-staff-content th,
    .cl-staff-content td { padding: 12px; }
    .cl-staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .cl-staff-section--related .index-block { padding-top: 24px; padding-bottom: 40px; }
}
@media (max-width: 499px) {
    .cl-staff-carousel:not(.owl-loaded) { grid-auto-columns: 100%; gap: 24px; }
    .cl-staff-grid { grid-template-columns: minmax(0, 1fr); }
    .cl-staff-detail .cl-staff-detail__hero { padding: 16px; }
    .cl-staff-detail h1.cl-staff-detail__name { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .cl-staff-card .cl-staff-card__photo,
    .cl-staff-card__more > span { transition: none; }
}

.bb-staff-page .cl-staff-detail, .bb-staff-page .cl-staff-archive { float: none; width: 100%; }
.bb-staff-page .page-top-info { margin-bottom: 12px; }

.cl-staff-detail a.cl-staff-detail__back,
.cl-staff-detail a.cl-staff-detail__back:hover,
.cl-staff-detail a.cl-staff-detail__back:focus,
.cl-staff-detail a.cl-staff-detail__back span {
    border: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.cl-staff-detail a.cl-staff-detail__back::before,
.cl-staff-detail a.cl-staff-detail__back::after,
.cl-staff-detail a.cl-staff-detail__back span::before,
.cl-staff-detail a.cl-staff-detail__back span::after { display: none !important; content: none !important; }
.cl-staff-detail a.cl-staff-detail__back { gap: 12px; padding: 10px 0; font-size: 14px; }
.cl-staff-detail .cl-staff-detail__back > span { font-size: inherit; }
.cl-staff-detail__back-icon { display: inline-flex; align-items: center; transition: transform .2s ease; }
.cl-staff-detail__back:hover .cl-staff-detail__back-icon { transform: translateX(-4px); }
.cl-staff-content .cl-staff-table {
    width: 100%; max-width: 100%; height: auto !important; max-height: none !important;
    margin: 28px 0; overflow-x: auto; border: 1px solid var(--cl-staff-line); border-radius: 10px; scrollbar-width: thin;
}
.cl-staff-content .cl-staff-table th,
.cl-staff-content .cl-staff-table td {
    height: auto !important; padding: 17px 20px; border: 0;
    border-right: 1px solid var(--cl-staff-line); border-bottom: 1px solid var(--cl-staff-line); vertical-align: top;
}
.cl-staff-content .cl-staff-table th { background: #f9eeee; color: #622c2c; }
.cl-staff-content .cl-staff-table tr > :last-child { border-right: 0; }
.cl-staff-content .cl-staff-table tbody:last-child tr:last-child > *,
.cl-staff-content .cl-staff-table tfoot:last-child tr:last-child > * { border-bottom: 0; }
.cl-staff-content .wp-block-table,
.cl-staff-content .cl-staff-table .table-responsive,
.cl-staff-content .cl-staff-table .tables-responsive,
.cl-staff-content .cl-staff-table #table-scroller-wrapper { height: auto !important; max-height: none !important; overflow: visible !important; }
.cl-staff-detail__hero { box-shadow: 0 12px 40px rgba(70, 24, 24, .035); }
.cl-staff-content h2 { padding-bottom: 16px; border-bottom: 1px solid var(--cl-staff-line); }
@media (max-width: 767px) {
    .cl-staff-content .cl-staff-table th,
    .cl-staff-content .cl-staff-table td { padding: 13px 15px; min-width: 140px; }
}
