.results-container {
    max-width: 960px;
}

.results-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 32px;
}

.result-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(240, 206, 170, 0.35);
    border-radius: 18px;
    padding: 16px;
}

body.dark .result-card {
    background: rgba(22, 24, 32, 0.9);
    border-color: rgba(120, 112, 130, 0.6);
}

.result-title {
    font-size: 14px;
    font-weight: 600;
    color: #8b6655;
    margin-bottom: 12px;
}

body.dark .result-title {
    color: #f1dfd2;
}

.paragraph-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.paragraph-button {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    padding: 18px;
    border: 1.5px solid rgba(240, 206, 170, 0.4);
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.paragraph-button:hover {
    border-color: #f0ceaa;
    background: rgba(240, 206, 170, 0.12);
    transform: translateY(-2px);
}

body.dark .paragraph-button {
    border-color: rgba(120, 112, 130, 0.6);
    background: rgba(22, 24, 32, 0.9);
}

body.dark .paragraph-button:hover {
    border-color: #f2d6a8;
    background: rgba(242, 214, 168, 0.15);
}

.button-label {
    font-size: 15px;
    font-weight: 600;
    color: #8b6655;
}

body.dark .button-label {
    color: #f1dfd2;
}

.button-desc {
    font-size: 13px;
    color: rgba(139, 102, 85, 0.7);
}

body.dark .button-desc {
    color: rgba(214, 201, 193, 0.75);
}
