/* ===================================
   Resource Page - Shared Styles
   Used by individual case study and news article pages
   =================================== */

.resource-page {
    padding: 10rem 0 6rem;
    background: var(--section-bg-raised);
}

.resource-page .container {
    max-width: 1100px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.85rem;
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--white);
}

.back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Header */
.resource-header {
    margin-bottom: 2.5rem;
}

.resource-tag-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.resource-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.resource-tag.article { background: rgba(180, 100, 0, 0.2); color: #ffb34d; }
.resource-tag.press-release { background: rgba(0, 79, 222, 0.2); color: #4d94ff; }
.resource-tag.commercial { background: rgba(0, 160, 80, 0.2); color: #4ddb8d; }
.resource-tag.defense { background: rgba(160, 80, 0, 0.2); color: #e8a44d; }

.resource-customer,
.resource-read-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-100);
}

.resource-header h1 {
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-200);
}

.resource-author {
    font-weight: 600;
    color: var(--gray-100);
}

.resource-meta-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* Case Study Highlights */
.case-study-highlights h2 {
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.case-study-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.summary-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.highlight-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-100);
    margin: 0;
}

/* Hero Image */
.resource-hero-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.resource-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Body Content */
.resource-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-100);
}

.resource-body p {
    margin-bottom: 1.5rem;
}

.resource-body h2 {
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--white);
}

.resource-body h3 {
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--white);
}

.resource-body ul,
.resource-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.resource-body li {
    margin-bottom: 0.5rem;
}

/* CTA */
.resource-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(0, 79, 222, 0.05);
    border: 1px solid rgba(0, 79, 222, 0.15);
    border-radius: 8px;
    text-align: center;
}

.resource-cta h3 {
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.resource-cta p {
    font-size: 1rem;
    color: var(--gray-200);
    margin-bottom: 1.25rem;
}

.resource-cta .btn {
    display: inline-flex;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
    .resource-header h1 {
        font-size: 2rem;
    }

    .case-study-highlights-grid {
        grid-template-columns: 1fr;
    }

    .resource-hero-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .resource-page {
        padding: 8rem 0 3rem;
    }

    .resource-header h1 {
        font-size: 1.75rem;
    }

    .resource-hero-image {
        height: 180px;
    }

    .resource-body {
        font-size: 0.95rem;
    }

    .resource-body h2 {
        font-size: 1.25rem;
    }

    .resource-body h3 {
        font-size: 1.1rem;
    }
}
