/* Extra styles for the model pages. Uses the variables defined in style.css. */

.crumbs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.crumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.crumbs a:hover {
    text-decoration: underline;
}

.model-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.model-hero .analysis-card {
    margin-bottom: 0;
}

.article {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid white;
}

.article h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 32px 0 10px;
}

.article h2:first-child {
    margin-top: 0;
}

.article p {
    margin: 10px 0;
    font-size: 1.05rem;
}

.article ul.rank-list {
    padding-left: 22px;
    margin: 10px 0;
    font-size: 1.05rem;
}

.alt-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.alt-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--bg);
}

.alt-list li:last-child {
    border-bottom: none;
}

.alt-list a.alt-name {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.alt-list a.alt-name:hover,
.alt-list a.cmp:hover {
    text-decoration: underline;
}

.alt-list a.cmp {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

.site-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 40px 0 20px;
}

.site-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.model-links {
    columns: 2 260px;
    padding-left: 20px;
    line-height: 2;
}

.model-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.model-links a:hover {
    text-decoration: underline;
}

.models-table td:first-child,
.models-table th:first-child {
    text-align: left;
}

.models-table a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .article {
        padding: 24px;
    }
}

@media print {
    .cta-btn,
    .crumbs,
    .adsbygoogle {
        display: none !important;
    }
}
