/* ==========================================================================
   LatinosPC - Headphones & Personal Audio Guide Stylesheet
   Preserves the soft aquamarine tint, sliding summary sweeps, and audiophile cards.
   ========================================================================== */

/* Main Container & Base Typography */
.article.fullbar,
article.article.fullbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3.5rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

/* Page Heading & Navigation Link */
article a:has(h1),
article a:first-of-type {
    text-decoration: none;
    display: block;
}

article h1 {
    text-align: center;
    color: #1e3a8a;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0.5rem 0 1.5rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

article a:hover h1 {
    color: #2563eb;
    transform: translateY(-1px);
}

article h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #f1f5f9;
}

/* Audiophile Card Containers (.cards3) */
.cards3 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cards3:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -3px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.cards3 ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
}

.cards3 li {
    background: linear-gradient(145deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards3 li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.12);
}

.cards3 li strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.cards3 li p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

/* Fieldset Section */
.cards3 fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    background: #ffffff;
}

.cards3 legend {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0284c7;
    padding: 0 10px;
}

/* Consumer Headphone Grid */
.consumer ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 1rem 0;
}

.consumer li {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.85rem;
    }
    .cards3 ol,
    .consumer ol {
        grid-template-columns: 1fr;
    }
}
