/* ==========================================================================
   Single Resource Template
   ========================================================================== */

/* Hero Section
   ========================================================================== */
.resource-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resource-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.resource-hero__inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.resource-hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35em 1em;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
}

.resource-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}

.resource-hero__excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
    max-width: 600px;
    margin-inline: auto;
}

/* Content Section
   ========================================================================== */
.resource-content {
    padding: 3rem 1.5rem 4rem;
}

.resource-content__grid {
    max-width: 800px;
    margin: 0 auto;
}

.resource-content__image {
    margin: 0 0 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.resource-content__image img {
    display: block;
    width: 100%;
    height: auto;
}

.resource-content__body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #003B73;
}

.resource-content__body h2,
.resource-content__body h3,
.resource-content__body h4 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: #003B73;
}

.resource-content__body p {
    margin-bottom: 1.25em;
}

.resource-content__body img {
    border-radius: 8px;
    margin: 2em 0;
}

/* Footer / Back Link
   ========================================================================== */
.resource-content__footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.resource-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f3460;
    text-decoration: none;
    transition: color 0.2s ease;
}

.resource-back-link:hover {
    color: #1a1a2e;
}

/* Responsive
   ========================================================================== */
@media (min-width: 1024px) {
    .resource-hero {
        padding: 8rem 2rem 5rem;
    }

    .resource-content {
        padding: 4rem 2rem 5rem;
    }
}
