/* Team Members Frontend Styles */

/* Container and Grid Layout */
.team-members-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.member-fields {
    display: flex;
    flex-direction: column;
}

.member-fields .member-field.member-field-team-role {
}

.member-field-group.button-field-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.member-field-group.button-field-group .member-field {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .member-field-group.button-field-group {
        gap: 8px;
    }

    .member-field-group.button-field-group .member-field {
        /* flex: 1 1 auto; */
        min-width: 120px;
        margin-bottom: 0;
    }
}

/* Card Field Styling */
.member-field.no-label .field-value {
    display: block;
    width: 100%;
}

.member-field .field-label {
    font-weight: 600;
    margin-right: 8px;
}

.member-field-role .field-label {
    display: none;
}

.member-field .field-value {
}

.member-field-role .field-value {
    text-decoration: none;
    font-size: 17px;
}

/* Field-specific styling examples using the new field slug classes */
/* Target specific field types by slug */
/*
.member-field-job-title {
    font-size: 18px;
    font-weight: bold;
}

.member-field-email .field-value {
}

.member-field-phone-mobile {
    padding: 5px;
    border-radius: 3px;
}

.member-field-department {
    border-left: 3px solid #0073aa;
    padding-left: 10px;
}

.member-field-role .field-value {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
*/

.member-field .field-cta {
    display: inline-flex;
    align-items: center;
    padding: 15px 46px;
    text-decoration: none;
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 2px;
    transition: background-color 0.2s ease;
}

.member-field .field-cta:hover {
}

.member-field .email-link {
}

.member-field .phone-link {
}

.member-field .linkedin-link {
}

.member-field .website-link {
}

.certification-badge {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 2px 8px;
    font-size: 12px;
    margin: 2px;
}

.availability-status {
    padding: 4px 8px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
}

.status-busy {
}

.status-out-of-office {
}

/* Card Click Indicator */
.team-member-card .member-image {
    position: relative;
    overflow: hidden;
}

.card-click-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.card-click-indicator .plus-icon {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    transition: all 0.3s ease;
}

.team-member-card.clickable-card:hover .card-click-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.team-member-card.clickable-card:hover .plus-icon {
    font-weight: 600;
}

.team-member-card.clickable-card {
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.team-member-card.clickable-card:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.team-members-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

/* Team Member Cards */
.team-member-card {
    border-radius: 0;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: all 0.2s ease;
}

.team-member-card .member-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-member-card .member-content {
    padding: 20px 20px 0 20px;
}

.team-member-card .member-name {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.team-member-card .member-fields {
    margin-top: 15px;
}

.team-member-card .member-field {
    margin-bottom: 8px;
    font-size: 14px;
}

.team-member-card .member-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.member-button {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.member-button:hover {
}

/* Modal Styles */
.team-member-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    z-index: 100001;
    display: none;
    padding: 20px;
    box-sizing: border-box;
}

@media screen and (min-width: 980px) {
    .team-member-modal {
        height: calc(100% - 97px);
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    border-radius: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
}

.modal-body {
    height: 100%;
}

.team-member-modal-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.modal-close:hover {
    transform: scale(1.1);
}

/* Modal Two-Column Layout */
.modal-columns {
    width: 80%;
    height: auto;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    position: relative;
    align-items: flex-start;
    border-radius: 0;
    max-width: 100%;
}

@media only screen and (max-width: 980px) {
    .modal-columns {
        width: 90%;
    }
}

.modal-image-column {
    flex: 0 0 40%;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.modal-content-column {
    flex: 1;
    padding: 30px 30px 30px 10%;
    overflow: auto;
    height: auto;
}

.member-featured-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    overflow: hidden;
    border: 0;
}

.member-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

/* Hover image functionality */
.member-image.has-hover-image,
.member-featured-image.has-hover-image {
    position: relative;
    cursor: pointer;
}

.member-image.has-hover-image img,
.member-featured-image.has-hover-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}

.member-image.has-hover-image .member-hover-image,
.member-featured-image.has-hover-image .member-hover-image {
    opacity: 0;
    z-index: 1;
}

.member-image.has-hover-image:hover .member-hover-image,
.member-featured-image.has-hover-image:hover .member-hover-image {
    opacity: 1;
}

.member-image.has-hover-image:hover img:not(.member-hover-image),
.member-featured-image.has-hover-image:hover img:not(.member-hover-image) {
    opacity: 0;
}

/* Ensure proper aspect ratio is maintained */
.member-image.has-hover-image::before,
.member-featured-image.has-hover-image::before {
    content: "";
    display: block;
    width: 100%;
    padding-bottom: 100%;
    position: relative;
}

/* .modal-content-column .member-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f1;
} */

.modal-content-column .member-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.modal-content-column .member-position {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.modal-content-column .member-content {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-content-column .member-fields {
    line-height: 1.6;
    margin: 0;
}

.modal-content-column .member-field {
    font-size: 1rem;
    line-height: 1.5;
}

.modal-content-column .member-field.member-field-team-role {
    font-size: 1.25rem;
}

.modal-content-column .member-field .dashicons {
    display: none;
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: text-top;
}

.modal-content-column .member-field strong {
    display: none;
    margin-right: 0.5rem;
}

.modal-content-column .field-value a {
    text-decoration: none;
    font-weight: 500;
}

.modal-content-column .field-value a:hover {
    text-decoration: underline;
}

/* Field-specific styling */
.certification-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 0;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 3px;
}

.availability-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-status.status-available {
    border: 1px solid #c3e6cb;
}

.availability-status.status-busy {
    border: 1px solid #ffeaa7;
}

.availability-status.status-out-of-office {
    border: 1px solid #f5c6cb;
}

.modal-content-column .field-cta {
    font-weight: 500;
    text-decoration: none;
}

.modal-content-column .field-cta:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.team-members-pagination {
    margin-top: 40px;
    text-align: center;
}

.load-more-members {
    border: none;
    padding: 12px 30px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-members:hover {
}

.load-more-members:disabled {
    cursor: not-allowed;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 500;
}

@media (max-width: 768px) {
    .team-members-pagination {
        margin-top: 30px;
    }

    .load-more-members {
        padding: 10px 25px;
        font-size: 15px;
    }

    .page-numbers {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Filter State Indicators */
/* .team-members-search-form.has-active-filters {
    border-left: 4px solid var(--meet-the-team-highlight-color, #ff5300);
} */

/* .search-field.active-filter label {
    font-weight: 700;
} */

/* URL State Management */
.url-loading {
    opacity: 0.7;
    pointer-events: none;
}

.filter-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .team-member-modal {
        padding: 10px;
    }

    .modal-content {
        overflow: auto;
    }

    .modal-columns {
        flex-direction: column;
    }

    .modal-image-column {
        padding-top: 5%;
        flex: 0 0 auto;
    }

    .modal-content-column {
        flex: 1;
        padding: 20px 0;
        height: calc(100vh - 270px);
        overflow: unset;
    }

    .modal-content-column .member-name {
        font-size: 22px;
    }

    .modal-content-column .member-field {
        font-size: 0.875rem;
    }

    .modal-content-column .member-field .dashicons {
        display: none;
        font-size: 0.875rem;
        margin-right: 0.375rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Responsive Grid */
@media (min-width: 1024px) {
    .team-members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }
}

/* Search Form */
.team-members-search-form {
    padding: 30px 25px 0;
    border-radius: 0;
    margin-bottom: 30px;
    /* border: 1px solid #e1e5e9; */
}

.search-fields-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .search-fields-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.search-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.search-field label {
    margin-bottom: 0;
    font-size: 14px;
}

.search-field input,
.search-field select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.search-field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.search-field select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.search-field select.has-filter {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5300' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Ensure dropdown arrow works in all browsers */
.search-field select::-ms-expand {
    display: none;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
}

.search-field select.has-filter {
}

.search-field input.has-filter {
}

.search-field input::placeholder {
    font-style: italic;
}

/* Search fields without labels */
.search-field.no-label {
    margin-bottom: 0;
}

.search-field.no-label input,
.search-field.no-label select {
    margin-top: 0;
}

.search-field:not(:has(label)) input,
.search-field:not(:has(label)) select {
    margin-top: 0;
}

/* Improved spacing for mobile */
@media (max-width: 767px) {
    .search-fields-wrapper {
        gap: 15px;
    }

    .team-members-search-form {
        padding: 20px;
    }
}

.search-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-actions .button {
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.search-actions .button-primary {
}

.search-actions .button-primary:hover {
}

.search-actions .search-reset {
}

.search-actions .search-reset:hover {
}

/* Team Member Cards */
.team-member-card {
    border-radius: 0;
    border-bottom: 1px solid #173746;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    overflow: hidden;
    transition:
        border-bottom 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.team-member-card:hover {
    border-bottom: 1px solid var(--meet-the-team-highlight-color, #ff5300);
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-content {
    padding: 20px;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.member-name a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
}

.member-fields {
    margin: 15px 0;
}

.member-field {
    font-size: 14px;
    line-height: 1.4;
}

.member-field.no-label .field-value {
    font-weight: 500;
}

.member-field .field-label {
    font-weight: 600;
    margin-right: 6px;
}

.member-field .field-value {
}

.member-field a {
    text-decoration: none;
    font-weight: 500;
}

.member-field a:hover {
    text-decoration: underline;
}

.member-excerpt {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
}

/* Archive Page Styles */
.team-members-archive-container {
    width: 100%;
    margin: 0 auto;
}

.archive-header {
    text-align: left;
    margin-bottom: 0;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.archive-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
}

.team-members-search-wrapper {
    width: 80%;
    max-width: 1640px;
    margin: 0 auto 40px auto;
}

@media only screen and (max-width: 980px) {
    .team-members-search-wrapper {
        width: 90%;
    }
}

.team-members-content {
    width: 80%;
    max-width: 1640px;
    margin: 0 auto 40px auto;
}

@media only screen and (max-width: 980px) {
    .team-members-content {
        width: 90%;
    }
}

/* Single Team Member Styles */
.single-team-member-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.team-member-header {
    margin-bottom: 40px;
}

.member-header-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .member-header-content {
        flex-direction: column;
        text-align: center;
    }
}

.member-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-header-info h1 {
    margin: 0 0 10px 0;
    font-size: 2.2rem;
}

.member-position {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.member-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 767px) {
    .member-contact-links {
        justify-content: center;
    }
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.contact-link:hover {
}

.contact-link .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.team-member-content {
    line-height: 1.7;
}

.member-main-content {
    margin-bottom: 30px;
}

.member-bio {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 0;
}

.member-bio h3 {
    margin-top: 0;
}

.member-custom-fields,
.member-taxonomies {
    margin-bottom: 30px;
}

.member-custom-fields h3,
.member-taxonomies h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--meet-the-team-highlight-color, #ff5300);
    padding-bottom: 10px;
}

.member-fields-list {
    display: grid;
    gap: 15px;
}

.member-fields-list dt {
    font-weight: 600;
    margin-bottom: 5px;
}

.member-fields-list dd {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.taxonomy-group {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 0;
}

.taxonomy-label {
    margin-right: 10px;
}

.taxonomy-terms a {
    text-decoration: none;
    margin-right: 5px;
}

.taxonomy-terms a:hover {
    text-decoration: underline;
}

.team-member-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.member-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .member-navigation {
        flex-direction: column;
        gap: 20px;
    }
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

@media (max-width: 767px) {
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
}

.nav-next {
    text-align: right;
}

@media (max-width: 767px) {
    .nav-next {
        text-align: left;
    }
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 15px;
    border-radius: 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 600;
}

.back-to-archive {
    text-align: center;
}

.back-to-archive .button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.back-to-archive .button:hover {
}

/* Shortcode Styles */
.single-team-member-shortcode {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 0;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

@media (max-width: 767px) {
    .single-team-member-shortcode {
        flex-direction: column;
        text-align: center;
    }
}

.single-team-member-shortcode .member-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 0;
    overflow: hidden;
}

.single-team-member-shortcode .member-content h3 {
    margin-top: 0;
}

/* Loading States */
.team-members-loading {
    text-align: center;
    /* padding: 40px; */
}

.team-members-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--meet-the-team-highlight-color, #ff5300);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* No Results */
.no-team-members {
    text-align: center;
    padding: 40px;
    font-style: italic;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    text-decoration: none;
}

.pagination a:hover {
}

.pagination .current {
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Focus States */
.team-member-card:focus,
.member-modal-trigger:focus,
.search-field input:focus,
.search-field select:focus,
.button:focus {
    outline: 2px solid var(--meet-the-team-highlight-color, #ff5300);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .team-member-modal,
    .search-form,
    .member-navigation,
    .back-to-archive {
        display: none;
    }

    .team-member-card,
    .single-team-member {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
