/* ==========================================================================
   AMERICAN ULTRAVIOLET CASE STUDIES STYLING SYSTEM
   Folder Location: /Case Studies/case-studies.css
   Style: Enterprise B2B Technical Case Study & Publication Hub
   ========================================================================== */

/* Base & Typography */
body.cs-page-body {
    background-color: #f4f6f9;
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.cs-main-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.cs-image-card img {
    max-width: 100%;
}

/* Breadcrumbs */
.cs-breadcrumb {
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.cs-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.cs-breadcrumb a:hover {
    text-decoration: underline;
}

.cs-breadcrumb-sep {
    margin: 0 0.4rem;
    color: #94a3b8;
}

/* Category Badge */
.cs-category-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffc107;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.cs-tag-inline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0055a5;
    background-color: #e6f0fa;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Hero Banner */
.cs-hero-banner {
    background: #003366;
    color: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
}

.cs-hero-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.85rem;
    letter-spacing: -0.3px;
}

.cs-hero-lead {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 850px;
}

/* Key Metrics Summary Bar */
.cs-metrics-bar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cs-metric-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
    .cs-metric-item:not(:last-child) {
        border-right: 1px solid #e2e8f0;
    }
}

.cs-metric-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0055a5;
    line-height: 1.1;
}

.cs-metric-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.35rem;
}

/* Executive Sidebar - At a Glance */
.cs-at-glance-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cs-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #e2e8f0;
}

.cs-glance-row {
    margin-bottom: 1rem;
}

.cs-glance-row:last-child {
    margin-bottom: 0;
}

.cs-glance-key {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-glance-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 0.15rem;
}

/* Technical Specification Comparison Matrix */
.cs-spec-matrix {
    width: 100%;
    margin: 1.5rem 0 2rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.cs-spec-matrix th {
    background-color: #003366;
    color: #ffffff;
    font-weight: 700;
    padding: 0.9rem 1.25rem;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.cs-spec-matrix td {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.925rem;
}

.cs-spec-matrix tr:nth-child(even) td {
    background-color: #f8fafc;
}

.cs-spec-matrix tr:hover td {
    background-color: #f1f5f9;
}

/* Image & Diagram Feature Cards */
.cs-image-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 1.25rem;
    margin: 2rem 0;
    text-align: center;
}

.cs-image-placeholder {
    background: #e2e8f0;
    border: 2px dashed #94a3b8;
    border-radius: 4px;
    padding: 2.5rem 1.5rem;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}

.cs-image-caption {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Section Styling */
.cs-content-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cs-section-heading {
    color: #003366;
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.cs-section-heading:first-of-type {
    margin-top: 0;
}

.cs-body-paragraph {
    font-size: 1rem;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

/* Feature Grid */
.cs-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.cs-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1.15rem;
}

.cs-feature-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.35rem;
}

.cs-feature-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Validation Disclaimer Callout */
.cs-validation-notice {
    background-color: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.cs-notice-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #854d0e;
    margin-bottom: 0.4rem;
}

.cs-notice-body {
    font-size: 0.9rem;
    color: #713f12;
    line-height: 1.55;
    margin: 0;
}

/* Call to Action Container */
.cs-action-card {
    background: #003366;
    color: #ffffff;
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 2.5rem;
}

.cs-action-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.cs-action-desc {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.55;
}

.cs-action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* PDF Download Card */
.cs-pdf-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.cs-pdf-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cs-pdf-icon {
    font-size: 1.75rem;
    color: #dc3545;
}

.cs-pdf-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.cs-pdf-sub {
    font-size: 0.8rem;
    color: #64748b;
}

/* Hub Index Cards */
.cs-hub-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
}

.cs-hub-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.cs-hub-title a {
    color: inherit;
    text-decoration: none;
}

.cs-hub-title a:hover {
    color: #0055a5;
    text-decoration: underline;
}

.cs-hub-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.cs-btn-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0055a5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cs-btn-link:hover {
    text-decoration: underline;
}
