/* ==========================================================================
   LatinosPC - PCI & PCIe Expansion Cards Guide Stylesheet
   High-tech expansion card styling with PCIe gold accents and card modules.
   ========================================================================== */

/* Main Container & Base Typography */
.fullbar.hero4,
article.fullbar.hero4,
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(#pci_cards),
article ul a:first-of-type {
    text-decoration: none;
    display: block;
}

article ul:first-of-type {
    display: block !important;
    text-align: center;
    padding: 0;
    margin: 0.5rem 0 1.25rem 0;
}

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

/* Introductory Section */
p.container.fullbar {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #334155;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    margin: 1.25rem 0 2rem 0;
}

/* Multi-Column Fieldset Expansion Cards */
.colms2 {
    columns: 2;
    column-gap: 1.5rem;
    column-fill: balance;
    margin: 1.5rem 0;
}

article fieldset {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #d97706; /* PCIe Gold Contact Accent */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

article fieldset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

article legend {
    font-size: 1.05rem;
    font-weight: 700;
    color: #b45309;
    padding: 4px 14px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 9999px;
}

/* Selectable Hardware Cards */
.selection {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #334155;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
    cursor: default;
}

.selection strong {
    color: #0f172a;
    font-weight: 700;
}

.selection:hover,
.selection:focus {
    outline: none;
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

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

article p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin: 0.75rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .colms2 {
        columns: 1;
    }
    article h2#pci_cards,
    h2#pci_cards {
        font-size: 1.85rem;
    }
}
