/* ==========================================================================
   LatinosPC - Gaming Uniforms & Esports Apparel Guide Stylesheet
   Preserves the beloved, distinctive soul of uniforms.css (the tournament badge
   legends, the energetic teal/aquamarine era timeline, and purple civilian cards)
   while elevating typography, spacing, and elegance to match the site standard.
   ========================================================================== */

/* 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.article.fullbar h1,
article h1 {
    text-align: center;
    margin: 0.5rem 0 1.25rem 0;
}

article.article.fullbar h1 a,
article h1 a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

/* Section Headings & Intros */
article > h2 {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.65;
    color: #334155;
    text-align: center;
    max-width: 960px;
    margin: 0.75rem auto;
}

/* Banner Subheading: Significance of Gaming Uniforms */
h2.card2.center {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    font-size: 1.45rem;
    font-weight: 700;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    margin: 2rem auto 1.5rem auto;
    max-width: 1000px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: -0.015em;
}

/* Section Transition Divider */
h2.spacer_shape {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    margin: 2.25rem auto 1.25rem auto;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    max-width: 820px;
    line-height: 1.5;
}

/* Subtitles within fieldsets */
article fieldset h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
}

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

.colms {
    columns: 3;
    column-gap: 1.5rem;
    column-fill: balance;
    margin: 1.25rem 0;
}

/* ==========================================================================
   Fieldset Cards & Legend Badges (The Soul: Gaming Green Borders & Esports Crests)
   ========================================================================== */
article fieldset {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.75rem;
    padding: 1.35rem 1.6rem 1.35rem 1.6rem;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border: 3px solid #22c55e;
    border-radius: 36px 14px / 14px 36px;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.15), 0 2px 6px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

article fieldset:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(34, 197, 94, 0.25), 0 4px 10px rgba(15, 23, 42, 0.06);
    border-color: #16a34a;
}

article fieldset p {
    font-size: 1.02rem;
    line-height: 1.65;
    color: #1e293b;
    margin: 0.65rem 0;
}

article fieldset p a {
    color: #15803d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

article fieldset p a:hover {
    color: #166534;
}

/* Legendary Tournament Badge Legend */
article legend {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #86efac;
    border: 2.5px solid #22c55e;
    border-radius: 9999px;
    padding: 6px 20px;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    cursor: default;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

article legend:hover {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.55);
    transform: scale(1.02);
}

/* ==========================================================================
   The .unif Timeline (Ancient Pixels, 2000s, 2010s, 2020s Eras)
   Preserves the vibrant aquamarine/cyan signature in a modern tournament display
   ========================================================================== */
p.center.card2.text.unif {
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    padding: 0.85rem 1.5rem;
    margin: 1.75rem 0 0 0;
    border-radius: 12px 12px 0 0;
    border: 1.5px solid #0891b2;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
    letter-spacing: 0.01em;
}

div.colms.unif {
    background: #ffffff;
    border: 1.5px solid #0891b2;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 1.25rem 0;
    columns: 2;
    column-gap: 1.5rem;
    column-fill: balance;
    box-shadow: 0 6px 18px -3px rgba(6, 182, 212, 0.1);
}

div.colms.unif p.text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
    color: #334155;
    margin: 0.5rem 0;
    break-inside: avoid;
}

/* Conclusion Showcase Card */
div.unif.center {
    background: linear-gradient(145deg, #ecfeff 0%, #f0fdfa 100%);
    border: 1.5px solid #06b6d4;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 6px 20px -4px rgba(6, 182, 212, 0.15);
}

div.unif.center p.text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    color: #0f766e;
    max-width: 920px;
    margin: 0.75rem auto;
}

/* ==========================================================================
   The .civs Cards (Civilians in Uniform)
   Preserves the purple personality with sleek indigo/violet accent borders
   ========================================================================== */
.civs {
    break-inside: avoid;
    page-break-inside: avoid;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #8b5cf6;
    border-radius: 12px;
    margin: 0.75rem 0 1rem 0;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.civs:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.16);
    border-left-color: #7c3aed;
}

.civs p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #334155;
    margin: 0.4rem 0;
}

div.card2.colms.civs {
    background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1.5px solid #d8b4fe;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    columns: 3;
    column-gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
}

div.card2.colms.civs p.text {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.65;
    color: #581c87;
    margin: 0.5rem 0;
    break-inside: avoid;
}

/* General Helpers */
.text {
    font-size: 1rem;
    line-height: 1.6;
}

article .center {
    text-align: center;
}

.spacer {
    height: 1rem;
    clear: both;
}

hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2.5rem 0;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .colms {
        columns: 2;
    }
    div.card2.colms.civs {
        columns: 2;
    }
}

@media (max-width: 640px) {
    .colms,
    .colms2,
    div.colms.unif,
    div.card2.colms.civs {
        columns: 1;
    }
    .article.fullbar,
    article.article.fullbar {
        padding: 1rem;
    }
    article.article.fullbar h1 a,
    article h1 a {
        font-size: 1.85rem;
    }
    article legend {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
}
