/* ==========================================================================
   LatinosPC - Joysticks & Flight Controls Guide Stylesheet
   Elevates flight simulator cockpit cards, aviation blue accents, and retro sticks.
   ========================================================================== */

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

article h1 {
    display: inline-block;
    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);
}

/* Cockpit / Flight Stick Hardware Cards (.jsk) */
.jsk {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0284c7; /* Aviation Flight Blue Accent */
    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;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

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

.jsk h3 {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    color: #334155;
    margin: 0.5rem 0;
}

.jsk strong {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 0.35rem;
}

.jsk a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.jsk a:hover {
    color: #0369a1;
}

/* Section Headings */
article h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 0.85rem 0;
}

h2.spacer_shape {
    font-size: 1.15rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* 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 */
.spacer {
    height: 1rem;
    clear: both;
}

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