/* ==========================================================================
   LatinosPC - Portable Memory & External Storage Guide Stylesheet
   Elevates external drive cards, flash storage specs, and memory card accordions.
   ========================================================================== */

/* 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#portable),
article a:first-of-type {
    text-decoration: none;
    display: block;
}

article h1#portable,
h1#portable {
    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#portable {
    color: #2563eb;
    transform: translateY(-1px);
}

/* Storage Device Category Cards */
.container.fullbar,
section.container.fullbar {
    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;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.container.fullbar:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.08);
}

/* Azure Card Accent */
.container.card2 {
    background: linear-gradient(145deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1.5px solid #99f6e4;
    border-radius: 14px;
}

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

/* Content Headings & Text */
.container.fullbar h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.25rem 0 0.75rem 0;
}

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

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

.container.fullbar a:hover {
    color: #0369a1;
}

/* Interactive Details / Summary Accordion */
details {
    margin: 0.5rem 0;
}

summary.tnk {
    cursor: pointer;
    list-style: none;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

summary.tnk::-webkit-details-marker {
    display: none;
}

summary.tnk h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0284c7;
    font-size: 1.35rem;
    margin: 0;
}

summary.tnk:hover h2 {
    color: #0369a1;
}

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