.search-results-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.person-card {
    background-color: rgb(36, 36, 36);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.person-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.person-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 1em;
    background-size: cover;
    margin: 0 auto;
}

.person-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.person-content {
    flex-grow: 1;
    padding: 10px;
}

.person-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.person-job {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.person-details {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.detail-item {
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.views-count {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-more-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    width: 98%;
    text-align: center;
    margin-top: auto;
}

.view-more-btn:hover {
    background-color: #666;
    text-decoration: none;
    color: white;
}

.sort-links {
    float: right;
    margin-bottom: 10px;
}

@media (max-width:1200px) {
    .search-results-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width:992px) {
    .search-results-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width:768px) {
    .search-results-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

@media (max-width:550px) {
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-right: 0px;
        margin-left: 0px;
    }

    .person-image-container {
        height: 120px;
    }

    .person-info {
        padding: 5px;
    }

    .person-content {
        padding: 5px;
    }

    .person-name {
        font-size: 13px;
    }

    .person-job {
        font-size: 12px;
    }

    .person-details {
        font-size: 11px;
    }

    .views-count {
        font-size: 10px;
    }

    .view-more-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width:375px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.udanax-dropdown-trigger:hover {
    background: rgba(236, 159, 25, 0.3) !important;
}

.udanax-job-dropdown {
    position: relative;
    display: inline-block;
}

#udanax-job-dropdown-content {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(236, 159, 25, 0.4);
    backdrop-filter: blur(10px);
}

@media screen and (max-width:768px) {
    #udanax-job-dropdown-content {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: 90vw;
        max-height: 70vh;
        overflow-y: auto;
    }

    .udanax-job-dropdown::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .udanax-job-dropdown.open::before {
        display: block;
    }
}

.udanax-job-tag {
    background: rgba(236, 159, 25, 0.2);
    color: #ec9f19;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    border: 1px solid rgba(236, 159, 25, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    margin: 2px;
}

.udanax-job-tag:hover {
    background: rgba(236, 159, 25, 0.3);
    transform: scale(1.05);
}

.udanax-jobs-detail {
    animation: udanaxSlideDown 0.3s ease-out;
}

.udanax-filter-badge {
    background: rgba(236, 159, 25, 0.2);
    color: #ff6b25;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 11px;
    border: 1px solid rgba(236, 159, 25, 0.4);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.udanax-flex-parent {
    display: flex;
    flex-wrap: wrap;
}

.udanax-category-nav-item {
    flex: 0 0 auto;
    min-width: 85px;
    height: 90px;
    border: 1px solid #373737;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.udanax-category-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec9f19, transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.udanax-category-nav-item:hover::before {
    transform: translateX(100%);
}

.udanax-category-nav-item:hover {
    background: rgba(255, 107, 37, 0.1) !important;
    border-color: #ff6b25;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 107, 37, 0.2);
}

.udanax-category-nav-item.udanax-active {
    border-color: #ff6b25;
    box-shadow: 0 0 15px rgba(255, 107, 37, 0.4);
    background: rgba(255, 107, 37, 0.15) !important;
}

.udanax-category-nav-item.udanax-active .udanax-toggle-indicator {
    transform: rotate(180deg);
    color: #ff6b25;
}

.udanax-toggle-indicator {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.udanax-category-icon {
    font-size: 22px;
    margin-bottom: 6px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.udanax-category-name {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 4px;
    color: #e0e0e0;
}

.udanax-category-count {
    font-size: 10px;
    opacity: 0.8;
    color: #ec9f19;
    font-weight: 500;
}

.udanax-subcategory-section {
    animation: udanaxSlideDown 0.3s ease-out;
}

.udanax-subcategory-nav-item {
    flex: 0 0 auto;
    min-width: 70px;
    height: 75px;
    border: 1px solid #444;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}

.udanax-subcategory-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ec9f19;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.udanax-subcategory-nav-item:hover::after {
    width: 80%;
}

.udanax-subcategory-nav-item:hover {
    background: rgba(236, 159, 25, 0.12);
    border-color: #ec9f19;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(236, 159, 25, 0.15);
}

.udanax-subcategory-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.udanax-subcategory-name {
    font-size: 10px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 3px;
    color: #e0e0e0;
}

.udanax-subcategory-count {
    font-size: 9px;
    opacity: 0.7;
    color: #ec9f19;
    font-weight: 500;
}

@keyframes udanaxSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }
}

@keyframes udanaxSlideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
}

.udanax-filter-badge:hover {
    background: rgba(236, 159, 25, 0.3);
    transform: scale(1.05);
}

@media screen and (min-width:1200px) {
    .udanax-category-nav-item {
        min-width: 65px;
        height: 100px;
        padding: 7px;
    }

    .udanax-category-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .udanax-category-name {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .udanax-category-count {
        font-size: 11px;
    }

    .udanax-subcategory-nav-item {
        min-width: 75px;
        height: 80px;
    }

    .udanax-subcategory-icon {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .udanax-subcategory-name {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .udanax-subcategory-count {
        font-size: 10px;
    }
}

@media screen and (max-width:800px) {
    .udanax-category-nav-item {
        min-width: 60px;
        height: 70px;
        padding: 4px;
    }

    .udanax-category-icon {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }

    .udanax-category-name {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }

    .udanax-category-count {
        font-size: 9px !important;
    }

    .udanax-subcategory-nav-item {
        min-width: 50px;
        height: 55px;
        padding: 3px;
    }

    .udanax-subcategory-icon {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }

    .udanax-subcategory-name {
        font-size: 9px !important;
        margin-bottom: 1px !important;
    }

    .udanax-subcategory-count {
        font-size: 8px !important;
    }

    #udanax-category-toggle {
        display: block !important;
    }

    #udanax-category-grid.udanax-mobile-hidden {
        display: none !important;
    }

    .udanax-filter-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .udanax-subcategory-section {
        padding: 8px !important;
        margin-bottom: 10px !important;
    }
}

.school-footnote {
    text-decoration: none;
    font-size: 0.8em;
    margin-left: 2px;
}

.school-footnote:hover {
    text-decoration: underline;
}

.school-footnotes {
    padding: 15px;
    background-color: #2a2a2a;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.school-footnotes h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.footnote-item {
    margin: 5px 0;
    font-size: 14px;
}

.footnote-item .school-link {
    text-decoration: none;
}

.footnote-item .school-link:hover {
    text-decoration: underline;
}

.reviews-section {
    background: #121212;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviews-title {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.reviews-count {
    color: #bbb;
    font-size: 14px;
}

@media (max-width:768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width:500px) {
    .reviews-section {
        padding: 10px;
    }

    .reply-comment {
        margin-left: 10px !important;
    }

    .main-comment {
        padding: 5px !important;
    }
}

.sort-button {
    background: #333;
    color: #e0e0e0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-button:hover,
.sort-button.active {
    background: #404040;
    color: white;
}

.sort-controls {
    width: 100%;
    text-align: right;
}

@media screen and (max-width:480px) {
    .udanax-category-nav-item {
        min-width: 55px;
        height: 65px;
    }

    .udanax-subcategory-nav-item {
        min-width: 45px;
        height: 50px;
    }
}

.suggestion-item.selected {
    background: #1c1d1f;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: #1c1d1f;
}

.search-section {
    padding: 50px 40px;
    background: #1a1a1a;
    text-align: center;
    margin: 30px !important;
    border-radius: 20px;
    border: 2px solid #333;
    position: relative;
}

.search-section::before {
    content: "🆚";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    padding: 0 15px;
    font-size: 2em;
}

.search-section h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 600;
}

.search-subtitle {
    color: #888;
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.vs-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.compare-btn {
    padding: 15px 35px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.compare-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.search-hints {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hint-item {
    background: #2a2a2a;
    color: #888;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s;
}

.hint-item:hover {
    background: #333;
    color: #fff;
    border-color: #4f46e5;
}

.person-column {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.person-left {
    background: transparent;
    color: white;
}

.person-right {
    background: transparent;
    color: white;
}

.person-left .person-card {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.person-right .person-card {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.person-card h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 400;
}

.person-card .job {
    font-size: 0.9em;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0;
    min-height: 450px;
}

.comparison-section {
    padding: 40px;
}

.comparison-table {
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table tr:nth-child(even) {
    background: #333;
}

.comparison-table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #444;
    font-size: 1em;
    color: #ffffff;
}

.category {
    background: #343a40;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.person1-data {
    color: #74b9ff;
    font-weight: 500;
}

.person2-data {
    color: #fd79a8;
    font-weight: 500;
}

.winner {
    background: #155724;
    color: #d4edda;
    font-weight: bold;
    position: relative;
}

.winner::after {
    content: "🏆";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.profile-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.button-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.share-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

@media (max-width:768px) {
    .button-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .compare-btn,
    .share-btn {
        width: 100%;
        max-width: 300px;
        padding: 5px 25px;
    }

    .hint-item {
        padding: 5px 15px;
    }
}

h1::before {
    top: 0.68em !important;
}

.profile-info {
    margin-block-end: 0px !important;
}

.interest-tag {
    padding: 8px 16px;
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 13px;
    transition: all .3s ease;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    outline: none
}

.interest-tag:not(.active) {
    background: #2a2a2a;
    color: #ccc;
    border-color: #444
}

.interest-tag:not(.active)::before {
    content: "+ ";
    color: #4CAF50;
    font-weight: 700;
    transition: all .2s ease
}

.interest-tag:not(.active):hover:not(:disabled) {
    background: #333;
    color: #fff;
    border-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px #4caf5033
}

.interest-tag:not(.active):hover:not(:disabled)::before {
    color: #66BB6A
}

.interest-tag.active {
    background: #4CAF50 !important;
    color: #fff !important;
    border-color: #4CAF50 !important;
    cursor: pointer
}

.interest-tag.active::before {
    content: "✓ ";
    color: #fff !important;
    font-weight: 700
}

.interest-tag.active:hover:not(:disabled) {
    background: #45a049 !important;
    border-color: #45a049 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 12px #4caf5066
}

.interest-tag:disabled {
    cursor: not-allowed !important;
    opacity: .7 !important;
    transform: none !important;
    background: #666 !important;
    color: #999 !important;
    border-color: #666 !important
}

.interest-tag:disabled::before {
    content: "⏳ " !important;
    color: #999 !important
}

.interest-tag:disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff1a, transparent);
    animation: loading 1.5s infinite
}

@keyframes loading {
    0% {
        left: -100%
    }

    100% {
        left: 100%
    }
}

.interest-tag:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px
}

.interest-tag:active:not(:disabled) {
    transform: scale(0.98)
}

.interest-tag.active {
    animation: successPulse .6s ease
}

@keyframes successPulse {
    0% {
        background: #4CAF50;
        transform: scale(1)
    }

    50% {
        background: #66BB6A;
        transform: scale(1.05)
    }

    100% {
        background: #4CAF50;
        transform: scale(1)
    }
}

.person-actions {
    margin: 15px 0;
    text-align: left
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap
}

.action-btn,
.action-btn u,
.action-btn * {
    text-decoration: none !important
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    transition: all .2s ease;
    border: 1px solid transparent
}

.edit-btn {
    background: #2a2a2a;
    color: #ccc;
    border-color: #444
}

.edit-btn:hover {
    background: #363636;
    border-color: #555;
    color: #fff
}

.business-btn {
    background: #2a2a2a;
    color: #ccc;
    border-color: #444
}

.business-btn:hover {
    background: #363636;
    border-color: #555;
    color: #fff
}

.business-info {
    margin-bottom: 5px
}

.business-info small {
    color: #888;
    font-size: 12px;
    line-height: 1.3
}

.update-info {
    font-size: 12px
}

@media (max-width: 768px) {
    .action-buttons {
        gap: 6px;
        align-items: center
    }

    .action-btn {
        text-align: center;
        justify-content: center;
        padding: 5px;
        width: 100%;
        max-width: 160px
    }
}

.editors.person-actions {
    text-align: left !important
}

@media (max-width: 768px) {
    .editors.person-actions {
        text-align: center !important
    }
}

.business-card-section {
    background: #242424;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden
}

.business-card-content {
    position: relative;
    z-index: 1;
    transition: filter .3s ease
}

.business-card-section.blurred .business-card-content {
    filter: blur(5px);
    pointer-events: none;
    user-select: none
}

.business-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.business-card-section.blurred .business-card-overlay {
    opacity: 1;
    visibility: visible
}

.overlay-message {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px #000c;
    margin-bottom: 15px;
    filter: none !important
}

.payment-button {
    background: #007bff;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .3s ease;
    filter: none !important
}

.payment-button:hover {
    background: #0056b3;
    transform: translateY(-1px)
}

.register-business-btn {
    background: #28a745;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block
}

.news-ticker {
    height: 70px;
    overflow: hidden;
    position: relative
}

.news-ticker ul {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0
}

.news-ticker li {
    height: 70px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center
}

.additional-images-gallery {
    width: 130px;
    min-height: 35px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin-top: 8px;
    min-height: 35px;
}

.gallery-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid #333;
    background: #1a1a1a
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
    border-color: #ec9f19;
    box-shadow: 0 2px 8px #ec9f194d
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease
}

.gallery-thumbnail:hover img {
    transform: scale(1.1)
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000b3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none
}

.gallery-thumbnail:hover .thumbnail-overlay {
    opacity: 1
}

.zoom-icon {
    color: #fff;
    font-size: 12px;
    text-shadow: 1px 1px 2px #000c
}

@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px
    }

    .zoom-icon {
        font-size: 10px
    }
}

.gallery-thumbnail:focus {
    outline: 2px solid #ec9f19;
    outline-offset: 2px
}

.gallery-thumbnail img {
    background: #2a2a2a
}

.gallery-thumbnail img[src=""],
.gallery-thumbnail img:not([src]) {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center
}

.gallery-thumbnail img[src=""]:before,
.gallery-thumbnail img:not([src]):before {
    content: "📷";
    color: #666;
    font-size: 16px
}

.zoomable-container {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease
}

.zoomable-container:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px #00000026
}

.main-profile-image.zoomable-image {
    cursor: zoom-in;
    transition: transform .3s ease;
    border-radius: 8px
}

.zoomable-container:hover .main-profile-image {
    transform: scale(1.05)
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0009;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    color: #fff;
    font-size: 12px;
    pointer-events: none;
    border-radius: 8px
}

.zoomable-container:hover .image-zoom-overlay {
    opacity: 1
}

.zoom-icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: block
}

.zoom-text {
    font-size: 10px;
    font-weight: 500
}

@media (max-width: 768px) {
    .zoom-icon {
        font-size: 16px
    }

    .zoom-text {
        font-size: 9px
    }

    .zoomable-container:hover {
        transform: scale(1.01)
    }
}

.zoomable-container:focus-within {
    outline: 2px solid #ec9f19;
    outline-offset: 2px
}

.main-footnote {
    font-weight: 700;
    margin-bottom: 5px
}

.sub-footnotes {
    margin-left: 12px
}

.sub-footnote-item {
    margin: 2px 0;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.source-info {
    margin: 15px 0;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 6px;
    border-left: 3px solid #007bff
}

.source-label {
    font-weight: 700;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px
}

.source-content {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word
}

@media (max-width: 768px) {
    .source-info {
        padding: 10px;
        margin: 12px 0
    }

    .source-label {
        font-size: 13px
    }

    .source-content {
        font-size: 12px
    }
}

.school-footnotes {
    min-height: 150px;
    /* 기본 최소 높이 */
    contain: layout style;
}

/* 각주가 없을 때도 공간 확보 */
.school-footnotes:empty {
    min-height: 0;
    display: none;
}

/* 로딩 상태 스켈레톤 */
.footnotes-loading {
    min-height: 120px;
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.school-footnotes {
    contain: strict;
    overflow: hidden;
    will-change: auto;
    margin-top: 10px;
}

.verification-container {
    contain: strict;
    overflow: hidden;
    will-change: auto;
}

.footnotes-section {
    contain: layout style size;
}

.footnotes-container {
    contain: layout style;
    will-change: auto;
}

.skeleton-movie-card {
    flex: 0 0 110px;
    width: 110px;
}

.movie_flex_child.showing {
    opacity: 1;
    transform: translateY(0);
    transition: all .3s ease;
}

.movie_flex_child {
    opacity: 0;
    transform: translateY(20px);
    min-width: 110px;
    border: 1px solid #373737;
    border-radius: 1em;
    position: relative;
    overflow: hidden;
}

.movie_flex_child:not([style*="display: none"]) {
    opacity: 1;
    transform: translateY(0);
}

.movie_flex_child img {
    width: 110px;
    height: auto;
    aspect-ratio: 1
}

.more-button.loading {
    opacity: .6;
    pointer-events: none;
}

.skeleton-image,
.skeleton-text {
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
}

@keyframes skeletonLoading {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.loading-skeleton-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.skeleton-person-card {
    flex: 0 0 110px;
    width: 110px;
}

.image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .3s ease;
    will-change: opacity;
    transform: translateZ(0);
}

.footnote-item {
    min-height: 40px;
}

.sub-footnotes {
    min-height: 60px;
}

.gallery-thumbnails {
    margin-bottom: 8px;
}

.profile-content {
    min-height: 270px;
    contain: layout;
    width: 100%;
}

.gallery-thumbnail {
    flex-shrink: 0;
}

.interest-section {
    min-height: 40px;
}

.interest-section:empty {
    min-height: 0;
    display: none;
}

.person-profile-container {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
}

.profile-left {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
    min-height: 200px;
    padding-top: 18px;
}

.profile-right {
    flex: 1;
    min-width: 0;
}

.footnotes-container {
    min-height: 200px;
    contain: layout style;
    will-change: auto;
}

.footnotes-container.has-content {
    min-height: 250px;
}

.footnotes-container:empty {
    min-height: 0;
    display: none;
}

.compare-mini-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 107, 107, .4);
}

.compare-mini-link[href*="compare_search"]:hover {
    box-shadow: 0 2px 6px rgba(102, 126, 234, .4);
}

@media(max-width:768px) {
    .person-profile-container {
        gap: 15px
    }

    .profile-left {
        width: 130px;
        min-width: 130px;
        max-width: 130px
    }

    .compare-mini-link {
        font-size: 10px !important;
        padding: 2px 6px !important;
        margin-left: 6px !important
    }
}

.buttonStyle {
    width: 100px;
    height: 35px;
    cursor: pointer;
    background-color: var(--variable-collection-black);
    border-radius: 16px;
    border: 1px solid;
    border-color: var(--variable-collection-gray-02);
    color: var(--variable-collection-white);
    font-size: 14px;
    text-align: center;
    white-space: nowrap
}

/*
 * 인물창고 상세 페이지 스타일
 * 메인 페이지의 :root 변수들을 재사용합니다.
 */

/* --- 인물 상세 레이아웃 (Layout 2) --- */
.layout_2 {
    /* 중앙 컨텐츠 영역을 벗어나지 않도록 하고, 내부 여백을 조정 */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- 프로필 컨테이너 (Hero Section) --- */
.person-profile-container {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    align-items: flex-start;
    /* 상단 정렬 */
}

/* --- 프로필 이미지 영역 --- */
.profile-left {
    flex-shrink: 0;
    /* 크기 유지 */
    width: 200px;
    /* 프로필 이미지 너비 설정 */
    position: relative;
}

.profile-image {
    width: 100%;
    height: 200px;
    background-color: #333;
    /* 로딩/이미지 없을 때 배경 */
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
}

/* --- 프로필 정보 영역 (Right side of profile) --- */
.profile-right {
    flex-grow: 1;
    /* 남은 공간 채우기 */
}

/* 직업/메인 키워드 */
.job-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
}


/* --- 상세 정보 리스트 --- */
.profile-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2열 레이아웃 */
    gap: 5px 30px;
    margin-bottom: 30px;
    border-top: 1px dashed var(--border);
    padding-top: 20px;
}

/* 🚩 이곳을 수정합니다: dt와 dd가 가로로 나열되도록 변경 */
.info-item {
    display: flex;
    flex-direction: row;
    /* 가로(한 줄)로 배치 */
    align-items: baseline;
    /* 텍스트 정렬 */
    gap: 10px;
    /* 라벨과 값 사이 간격 */
}

/* 🚩 dt (라벨) 스타일: 사용자 HTML의 dt 태그를 직접 타겟팅 */
.info-item dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    /* 라벨이 길어져도 줄어들지 않도록 최소 너비 설정 */
    min-width: 50px;
    flex-shrink: 0;
    margin-bottom: 0;
    /* 기존에 column일 때의 마진 제거 */
    margin-top: 0;
}

/* 🚩 dd (값) 스타일: 사용자 HTML의 dd 태그를 직접 타겟팅 */
.info-item dd {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    flex-grow: 1;
    /* 남은 공간을 채우도록 */
    margin-left: 0;
    /* dd 태그의 기본 브라우저 마진 제거 */
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sub);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.info-value a {
    color: var(--primary);
    /* 링크도 강조색 사용 */
}

/* --- 태그 리스트 --- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag-item {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #222;
    color: var(--text-sub);
    border: 1px solid #333;
    transition: 0.2s;
    cursor: pointer;
}

.tag-item:hover {
    background-color: var(--primary-dark);
    color: var(--text-main);
    border-color: var(--primary);
}

/* --- 섹션 공통 스타일 (뉴스, 영화, 책 등) --- */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}


h1 .sub-text {
    font-size: 16px;
}

/* --- 모바일 반응형 처리 --- */
@media (max-width: 768px) {
    .person-profile-container {
        /* 모바일에서 세로로 정렬 */
        gap: 20px;
        padding: 20px;
    }

    .profile-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    h1 {
        font-size: 30px;
    }

    .job-title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }

    .profile-info {
        grid-template-columns: 1fr;
        /* 모바일에서 1열 레이아웃 */
        gap: 10px;
        padding-top: 15px;
    }
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative
}

/* Swiper 부모 컨테이너 설정 - 모바일 오버플로우 방지 */
div[align="center"] {
    /* width: 100%; 삭제 (div는 기본적으로 100%이므로) */
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Swiper 컨테이너 오버플로우 설정 */
.swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    position: relative;
    box-sizing: border-box;
    /* margin-left, margin-right auto가 아닌 0으로 설정하여 양쪽 여백 제거 */
    margin: 0;
}

/* 모바일 전용 추가 설정 (이 부분을 더 강화합니다) */
@media (max-width: 1100px) {

    /* align="center"로 된 부모 요소 초기화 */
    div[align="center"] {
        /* 기존 속성 리셋 */
        padding: 0;
        margin: 0;
        position: relative;
        /* z-index 등을 위해 relative는 유지 */
        left: auto;
        /* left 50% 제거 */
        right: auto;

        /* 화면 꽉 채우기 공식 */
        width: 100vw !important;
        margin-right: calc(50% - 50vw);
    }

    /* 가로 스크롤바 생기는 것 방지 (안전장치) */
    .swiper-container {
        width: 100%;
        overflow: hidden;
    }
}

.swiper-container {
    margin: 0;
    padding: 0;
}

/* 슬라이드 내부 여백으로 간격 조절 */
.swiper-slide {
    padding: 0 4px;
    /* 슬라이드 간의 간격(spaceBetween) 외에 내부적으로 약간의 여백 */
}

.person-profile-container {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
    min-height: 200px
}

.profile-right {
    flex: 1;
    min-width: 0
}

.main-profile-image-container {
    width: 130px;
    height: 170px;
    background: #f0f0f0
}

.additional-images-gallery {
    width: 130px;
    min-height: 120px
}

@media (max-width: 768px) {
    .main-profile-image-container {
        width: 110px;
        height: 140px
    }
}

.place-grid-dark {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.place-card-dark {
    border-radius: var(--radius-md);
    padding: 20px;
    max-width: 300px;
    transition: 0.2s;
    text-decoration: none;
    background: var(--bg-card);
    /* 다크 카드 배경 */
    color: var(--text-main);
    /* 텍스트 색상 */
    border: 1px solid var(--border);
}

.place-card-dark:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
    border-color: var(--primary);
}

.card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.place-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    background: #1a1a1a;
}

.place-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--primary);
    /* 업체 이름은 오랜지색 */
    flex-grow: 1;
}

.place-address,
.place-tel,
.place-visits {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-sub);
    /* 회색 텍스트 */
    flex-grow: 0;
}

/* 모바일 최적화 */
@media screen and (max-width: 768px) {
    .place-card-dark {
        max-width: 100%;
        padding: 16px;
    }

    .place-image {
        height: 140px;
        margin-bottom: 12px;
    }

    .place-name {
        font-size: 16px;
        margin: 0 0 8px 0;
    }

    .place-address,
    .place-tel,
    .place-visits {
        font-size: 13px;
        margin: 4px 0;
    }
}

.box_text {
    font-size: 14px;
    padding: 5px;
}

.box_text a {
    color: #ff6b25;
}