/* ==========================================================================
   LatinosPC - Tablets & Digital Slates Guide Stylesheet
   Modern tablet device cards, interactive summary pills, and sleek typography.
   ========================================================================== */

/* Main Container & Base Typography */
.article.fullbar,
article.article.fullbar,
article.container {
    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.25rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

/* Top Jump-To Navigation */
nav.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 2rem 0 !important;
    padding: 0 !important;
}

nav.nav a {
    display: inline-block;
    padding: 8px 18px;
    background: #ffffff;
    color: #0369a1;
    border: 1.5px solid #0284c7;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
    transition: all 0.2s ease;
}

nav.nav a:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Tablet Device Card Containers (.tablet) */
.tablet {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    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;
    line-height: 1.7;
    color: #334155;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

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

.tablet p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin: 0.5rem 0;
}

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

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

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

/* Interactive Summary Badges */
article summary {
    display: inline-block;
    padding: 6px 16px;
    margin: 0.5rem 0;
    background: #f0f9ff;
    border: 1.5px solid #38bdf8;
    border-radius: 9999px;
    color: #0284c7;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

article summary:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* Description Lists (Tech Specs) */
dl {
    margin: 1.5rem 0;
}

dt {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1rem;
}

dd {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #475569;
    margin-left: 1.25rem;
    margin-bottom: 0.5rem;
}

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