/* General Styles */

:root {
    --theme-primary: #1a237e;
    --theme-secondary: #0d47a1;
    --theme-gradient: linear-gradient(120deg, var(--theme-primary), var(--theme-secondary));
    --color-link: #007bff;
    --color-link-hover: #e64a19;
    --color-danger: #dc3545;
    --color-success: #146c43;
    --color-warning: #843d03;
    --color-danger-bg: #f8d7da;
    --color-success-bg: #d1e7dd;
    --color-warning-bg: #fff3cd;
    --color-bg-page: #fafafa;
    --color-bg-content: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-lighter: #f7fafc;
    --color-bg-hover: #f1f3f5;
    --color-bg-selected: rgba(26, 35, 126, 0.2);
    --color-border: #e9ecef;
    --text-primary: #2d3748;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --text-body: #444;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.theme-blue {
    --theme-primary: #1a237e;
    --theme-secondary: #0d47a1;
}

.theme-purple {
    --theme-primary: #4a148c;
    --theme-secondary: #311b92;
}

.theme-green {
    --theme-primary: #1b5e20;
    --theme-secondary: #2e7d32;
}

body {
    background-color: var(--color-bg-page);
    color: var(--text-body);
    line-height: 1.6;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color .2s ease-in-out;
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

button,
.benchmark-table tbody tr {
    transition: background-color .3s;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--color-link);
    color: var(--text-light);
}

button:hover {
    background-color: #0056b3;
}

.benchmark-container {
    padding: 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 25px;
}

.page-header h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.benchmark-header {
    background: var(--theme-gradient);
    color: var(--text-light);
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benchmark-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .1) 0, transparent 60%);
}

.header-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.benchmark-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benchmark-subtitle {
    font-size: 1.5rem;
    opacity: .9;
    margin-bottom: 2rem;
}

.header-badges {
    margin-top: 2rem;
}

.header-badge {
    padding: .5em 1.2em;
    border-radius: 50px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    margin: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.list-container {
    background-color: var(--color-bg-content);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.benchmark-table {
    box-shadow: var(--shadow-md);
    line-height: 1.6;
    width: 100% !important;
    table-layout: auto;
}

.benchmark-table thead {
    background-color: #f0f4f8;
    border-bottom: 2px solid #e2e8f0;
}

.benchmark-table th {
    padding: 8px 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-primary);
    font-size: 1rem;
    position: relative;
    white-space: nowrap;
    height: 68px;
    vertical-align: middle;
}

.benchmark-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f7;
    transition: .3s;
    font-size: .95rem;
    height: 68px;
    vertical-align: middle;
}

.benchmark-table tbody tr:nth-child(2n) {
    background-color: var(--color-bg-lighter);
}

#modelResultsTable tbody tr:hover,
.benchmark-table tbody tr:hover {
    background-color: rgba(26, 35, 126, .1) !important;
}

.benchmark-table tbody tr.clickable-row:hover td {
    background-color: #f8f9fa;
    cursor: pointer;
}

.benchmark-table tbody tr.selected,
.selected-row {
    background-color: var(--color-bg-selected) !important;
}

.list-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
    transition: background-color 0.2s ease-in-out;
    height: 68px
}

.list-item:last-child,
.mobile-card:last-child,
.detail-item:last-child {
    border-bottom: none;
}

.list-item.list-header {
    color: var(--text-secondary);
    font-weight: 600;
    background-color: var(--color-bg-light);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-item.clickable-row:hover {
    background-color: var(--color-bg-hover);
}

.list-item.clickable-row:hover {
    cursor: pointer;
}

.benchmark-table th:hover {
    background-color: #edf2f7 !important;
}

.benchmark-table .highlighted-column {
    background-color: #eef5fc !important;
}

.benchmark-table tbody tr.highlighted-row td {
    background-color: #fef9e7 !important;
}

.rank-number {
    max-width: 80px;
    align-items: center;
    text-align: center;
}

.item-name {
    display: block;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
    max-width: 100%;
}

.item-name a {
    font-weight: 600;
    color: #343a40;
    word-break: break-word;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clickable-row:hover .item-name a,
.item-name a:hover {
    color: var(--color-danger);
}

.item-details {
    color: #495057;
    font-size: .95em;
    justify-content: center;
    height: 68px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.logo-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.benchmark-header-cell {
    line-height: 1.4;
    justify-content: center;
    display: flex;
    align-items: center;
}

.benchmark-header-cell > div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.benchmark-category {
    font-size: .8em;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 2px;
}

.best-score {
    background-color: rgba(52, 152, 219, .1);
    font-weight: 700;
}

.not-published {
    color: #adb5bd;
    font-style: italic;
    font-size: 0.9em;
}

.blog-section,
.mobile-card,
.model-card,
.stat-card {
    background: var(--color-bg-content);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: .3s;
}

.blog-section:hover,
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.mobile-card {
    margin-bottom: 15px;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

.model-card {
    margin-bottom: 1rem;
    padding: 1rem;
}

.card-header-mobile,
.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0.25rem;
}

.card-header-mobile.collapsed {
    border-bottom-color: transparent;
}

.card-header-mobile .rank {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    margin-right: 15px;
}

.card-header-mobile .logo-name-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 0;
    gap: 0.8rem;
}

.card-header-mobile .logo-img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    flex-shrink: 0;
}

.item-name-mobile,
.model-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-header-mobile .item-name-mobile {
    font-weight: 600;
    font-size: 1rem;
}

.card-header-mobile .score-badge-mobile {
    margin-left: 0.75rem;
    margin-right: 3rem;
    padding: 0.35rem 0.75rem;
    /*background: var(--theme-primary);*/
    /*color: #fff;*/
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    flex-shrink: 0;
    pointer-events: none;
}

.card-header-mobile .item-name-mobile a {
    font-weight: 600;
    /*color: #343a40;*/
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-header-mobile .item-name-mobile a:hover {
    color: #007bff;
}

.model-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}

.metric-item {
    background: #f8fafc;
    padding: .8rem;
    border-radius: 6px;
}

.metric-label {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: .3rem;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a202c;
}

.card-header-mobile .toggle-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: transform .3s ease-in-out;
    font-size: 1.1rem;
    margin-left: 15px;
    color: #adb5bd;
}

.card-header-mobile.collapsed .toggle-arrow {
    transform: translateY(-50%) rotate(0);
}

.card-header-mobile:not(.collapsed) .toggle-arrow {
    transform: translateY(-50%) rotate(-180deg);
}

.card-body-mobile,
.metric-details {
    margin-top: 0.75rem;
    background-color: var(--color-bg-light);
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    border-top: 1px solid #f1f3f5;
}

.metric-details.show {
    display: block;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: .9rem;
    color: #495057;
    border-bottom: 1px solid #f8f9fa;
}

.detail-item .label {
    font-weight: 500;
    color: var(--text-secondary);
    padding-right: 10px;
}

.detail-item .value {
    font-weight: 500;
    text-align: right;
    flex-shrink: 1;
    color: #212529;
}

.item-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: .8rem;
    font-weight: 500;
}

.item-status .fas {
    margin-right: 5px;
}

.item-status.status-free {
    color: var(--color-success);
    background-color: var(--color-success-bg);
    background-color: #e7f5e8;
    color: #28a745;
}

.item-status.status-non-commercial {
    color: var(--color-warning);
    background-color: var(--color-warning-bg);
    background-color: #fff4e6;
    color: #fd7e14;
}

.item-status.status-closed {
    color: #842029;
    background-color: var(--color-danger-bg);
    background-color: #f8d7da;
    color: #dc3545;
}

.status-unknown {
    background-color: #e9ecef;
    color: #6c757d;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.info-icon,
.quick-link {
    display: inline-flex;
    text-decoration: none;
}

.quick-link {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    background: var(--color-bg-content);
    box-shadow: var(--shadow-sm);
    align-items: center;
    gap: .5rem;
    transition: all 0.2s ease;
    border: 1px solid #e0e6ed;
    font-weight: 500;
    color: #495057;
}

.quick-link:hover {
    background: var(--theme-gradient);
    color: var(--text-light) !important;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: #2c3e50;
}

.quick-link:hover i {
    color: var(--text-light);
}

.info-icon {
    align-items: center;
    cursor: pointer;
}

.info-icon:hover {
    text-decoration: none;
}

.mode-legend {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.mode-legend-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.mode-legend-header i {
    font-size: 1.5rem;
    color: #2563eb;
}

.mode-legend-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mode-legend-title p {
    margin: 0.2rem 0 0;
    color: #475569;
    font-size: 0.9rem;
}

.mode-legend-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.mode-legend-note {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #475569;
}

.mode-legend-item {
    background: #ffffff;
    border: 1px dashed #e2e8f0;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 120px;
}

.mode-legend-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
}

.mode-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.mode-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.mode-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.mode-filter-text {
    font-size: 0.95rem;
    color: #0f172a;
}

.parallel-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid #f97316;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(249, 115, 22, 0.15);
}

.parallel-toggle-btn:hover {
    background: #fed7aa;
    color: #9a3412;
}

.parallel-toggle-btn.active {
    background: linear-gradient(120deg, #fb7185, #f97316);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.35);
}

.parallel-toggle-btn i {
    font-size: 0.9rem;
}

.parallel-status {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.stat-card .info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--theme-primary);
}

.stat-card:hover .info-icon {
    transform: scale(1.1);
}

.filter-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.left-section {
    flex: 0 0 120px;
    padding: 8px 0;
    width: 120px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    line-height: 36px;
}

.checkbox-row {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.checkbox-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--color-bg-light);
    border-radius: 6px;
    position: relative;
    height: 36px;
    transition: .2s;
    cursor: pointer;
}

.checkbox-item:hover,
.selection-item:hover {
    background: var(--color-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.checkbox-item input[type=checkbox],
.selection-item input[type=checkbox] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #1a73e8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .1s;
}

.checkbox-item input[type=checkbox]:checked {
    background: #1a73e8;
}

.checkbox-item input[type=checkbox]:checked::after {
    content: "✓";
    color: var(--text-light);
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.show-more {
    width: 36px;
    border: 2px dashed #ced4da;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    height: 36px;
    transition: .2s;
    cursor: pointer;
}

#mobile-benchmark-container .show-more,
.modal {
    width: 100%;
}

.show-more:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    transform: translateY(-1px);
}

#blog-searchbox input,
.search-box {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: .3s ease-in-out;
}

#blog-searchbox {
    position: relative;
}

#blog-searchbox .fa-search {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #77909c;
    pointer-events: none;
}

#blog-searchbox input {
    padding-left: 50px;
}

#blog-searchbox .active,
#blog-searchbox input:focus {
    background-color: #eee;
    border-color: rgba(0, 0, 0, .15);
    box-shadow: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--color-bg-content);
    width: 60%;
    max-width: 800px;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.modal-header {
    text-align: center;
    margin-bottom: 15px;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
}

.modal-footer {
    text-align: right;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
}

#addBenchmarkModal .modal-footer {
    justify-content: space-between;
}

.selection-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.selection-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: .2s;
}

.card-container > div {
    margin: 10px;
    flex: 0 0 calc(100% - 20px);
}

.model-name-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 1 350px;
    max-width: 350px;
    min-width: 0;
}

.score-value {
    font-weight: 600;
    font-size: 1.05em;
    color: #2c3e50;
    font-weight: 500;
}

.model-mode-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400E;
    background-color: #FEF3C7;
    border-radius: 9999px;
    vertical-align: middle;
    line-height: 1.2;
    text-transform: capitalize;
}

.model-mode-tag[data-mode="normal" i] {
    background-color: #e2e8f0;
    color: #1f2937;
    border: 1px solid #cbd5f5;
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.08);
    text-transform: none;
}

.model-mode-tag[data-mode^="thinking" i],
.model-mode-tag[data-mode*=" thinking" i] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
    box-shadow: 0 3px 8px rgba(3, 105, 161, 0.12);
}

.model-mode-tag[data-mode^="deeper" i],
.model-mode-tag[data-mode*="deeper" i] {
    background: #ede9fe;
    color: #5b21b6;
    border: 1px solid #c4b5fd;
    box-shadow: 0 4px 10px rgba(91, 33, 182, 0.15);
}

.model-mode-tag[data-mode^="low" i] {
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.model-mode-tag[data-mode^="medium" i] {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.model-mode-tag[data-mode^="high" i] {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.model-mode-tag[data-mode*="parallel" i] {
    background: linear-gradient(120deg, #fee2e2, #fff5f5);
    color: #b91c1c;
    border: 1px solid #fecaca;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.15);
}

.model-mode-tag[data-mode*="parallel" i]::before {
    content: "⚡";
    margin-right: 4px;
    font-size: 0.7rem;
}

.benchmark-chart-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.benchmark-chart-filters .btn {
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.benchmark-chart-filters .btn:hover {
    background-color: #f5f5f5;
    border-color: #cccccc;
}

.benchmark-chart-filters .btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-collapse-block {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 1.5rem;
}

.filter-collapse-header {
    user-select: none;
}

.filter-collapse-btn {
    border: none;
    background: none;
    font-weight: bold;
    font-size: 1rem;
    color: #444 !important;
    outline: none;
    box-shadow: none !important;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.filter-collapse-btn:active,
.filter-collapse-btn:focus {
    box-shadow: none !important;
}

#filterCollapseIcon {
    font-size: 1.1em;
    transition: transform .25s;
}

.filter-collapse-body.show {
    display: block;
    max-height: 2000px;
    overflow: visible;
}

.filter-collapse-body {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding-top: 0;
    padding-bottom: 0;
}

.filter-collapse-block .filter-collapse-body-inner {
    padding-top: 1rem;
}

.model-performance-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    padding: 0rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.model-performance-title {
    font-size: 2.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.benchmark-table .item-name {
    display: inline-block;
    vertical-align: middle;
    max-width: 200px;
}

.benchmark-table .item-name a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.benchmark-table .model-mode-tag {
    font-size: 0.75em;
    padding: 1px 4px;
    margin-top: 2px;
}

.benchmark-table td:first-child,
.benchmark-table th:first-child {
    max-width: 220px;
    min-width: 72px;
    white-space: nowrap;
}

.page-intro-header {
    padding: 4rem 1rem 2rem 1rem;
    text-align: center;
    max-width: 1400px;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5rem;
}

.page-content-wrapper {
    max-width: 1400px;
    margin-top: 0;
}

.metadata-panel {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.metadata-header {
    margin-bottom: 2rem;
}

.metadata-fullname {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.metadata-fullname i {
    color: #5a6c7d;
    margin-right: 0.75rem;
    font-size: 1.4rem;
}

.metadata-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.metadata-description i {
    color: #5a6c7d;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item i {
    width: 20px;
    text-align: center;
    color: #5a6c7d;
    margin-right: 1rem;
    margin-top: 0.1rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-content.horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-content.vertical {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
    display: block;
}

.stat-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
    word-break: break-word;
    line-height: 1.4;
}

.stat-content.horizontal .stat-value {
    text-align: right;
    margin-left: 1rem;
}

.stat-content.vertical .stat-value {
    font-size: 0.9rem;
    color: #374151;
}

.quick-link i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    color: currentColor;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.breadcrumb {
    background-color: transparent;
    padding-left: 0;
}

@media (min-width: 768px) {
    .card-container > div {
        flex: 0 0 calc(50% - 20px);
    }

    .filter-group {
        flex-direction: row;
        gap: 15px;
    }

    .left-section {
        width: 120px;
        flex: 0 0 120px;
    }

    .filter-label {
        line-height: 36px;
    }

    .benchmark-header {
        min-height: 40vh;
    }

    .benchmark-title {
        font-size: 3.5rem;
    }

    .benchmark-subtitle {
        font-size: 1.5rem;
    }

    .metadata-panel {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .quick-links {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (min-width: 992px) {
    .card-container > div {
        flex: 0 0 calc(25% - 20px);
    }

    #blog-searchbox input:focus,
    .search_focus {
        width: 590px;
    }
}

@media (min-width: 1024px) {
    .mobile-card,
    .mobile-cards {
        display: none;
    }

    .benchmark-table {
        display: table;
    }
}

@media (min-width: 1200px) {
    .benchmark-header {
        min-height: 50vh;
    }
}

@media (max-width: 1023px) {
    .benchmark-table {
        display: none;
    }

    .mobile-cards {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .hide-on-medium {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        gap: 8px;
    }

    .left-section {
        width: 100%;
        flex: none;
    }

    .filter-label {
        line-height: 1.2;
    }

    .checkbox-item {
        height: auto;
        min-height: 36px;
    }

    .benchmark-header {
        min-height: 30vh;
        text-align: center;
    }

    .benchmark-title {
        font-size: 2.5rem;
    }

    .benchmark-subtitle {
        font-size: 1.2rem;
    }

    .metadata-panel {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .metadata-fullname {
        font-size: 1.4rem;
    }

    .metadata-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .metadata-fullname,
    .metadata-description {
        flex-direction: column;
        align-items: flex-start;
    }

    .metadata-fullname i,
    .metadata-description i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}
