/* ==========================================================================
   LatinosPC - Printers & Printing Technology Guide Stylesheet
   Elevates printer era cards, breadcrumbs, and the iconic print-head sweep.
   ========================================================================== */

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

/* Top Jump-To Breadcrumbs Navigation */
#nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 1.75rem 0;
    padding: 0.85rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    font-size: 0.95rem;
    color: #94a3b8;
}

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

/* The Iconic Print-Head Sweep Underline */
.print {
    display: inline-block;
    padding: 2px 4px;
    color: #0369a1;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

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

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

.print:hover:after {
    width: 100%;
}

/* Printer Technology Card Containers */
span.card2 {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    clear: both;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: #334155;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

span.card2 h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

span.card2 span.center {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 0.75rem;
}

/* Floating Imagery */
.carousel-group.fl {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.carousel-group.rtl {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.thumbnail-container img {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thumbnail-container:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

/* Spacers & Dividers */
hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.85rem;
    }
    #nav {
        border-radius: 16px;
        padding: 0.75rem 1rem;
    }
    .carousel-group.fl,
    .carousel-group.rtl {
        float: none;
        margin: 1rem auto;
        text-align: center;
    }
}
