/* ==========================================================================
   LatinosPC - Image Scanners Guide Stylesheet
   Elevates scanner technology badges, manufacturer profiles, and laser sweeps.
   ========================================================================== */

/* 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);
}

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

/* Body Text & Descriptions */
article h3 {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: #334155;
    margin: 0.75rem 0;
}

/* Scanner Technology Badges */
.scan {
    display: inline-block;
    padding: 5px 16px;
    background: #0f172a;
    border: 1px solid #0284c7;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
    margin: 6px 0;
    transition: all 0.2s ease;
}

.scan a {
    color: #38bdf8 !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}

.scan:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.scan:hover a {
    color: #ffffff !important;
}

/* Scanner Manufacturer Items with Optical Laser Sweep */
.com {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-block;
    padding: 4px 0;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
}

.com:before {
    content: '';
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.com:hover {
    color: #0284c7;
}

.com:hover::before {
    width: 100%;
}

/* Spacers & Section Dividers */
.spacer {
    margin: 0.75rem 0;
}

hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.85rem;
    }
}
