:root {
    --rp-primary: #2563eb;
    --rp-primary-dark: #1e40af;
    --rp-ink: #0f172a;
    --rp-text: #1f2937;
    --rp-muted: #64748b;
    --rp-border: #e2e8f0;
    --rp-bg: #ffffff;
}

body {
    color: var(--rp-text);
    background: var(--rp-bg);
    -webkit-font-smoothing: antialiased;
}

/* ===================== Hero ===================== */
.rp-hero {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.82)),
                url('/static/images/news-placeholder-02.png') center / cover no-repeat;
}

.rp-hero .container {
    position: relative;
    z-index: 1;
}

.rp-hero-content {
    max-width: 640px;
    margin: 0 auto;
}

.rp-hero-kicker {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.rp-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: 0.06em;
}

.rp-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.8;
}

/* ===================== Breadcrumb ===================== */
.rp-breadcrumb-wrap {
    background: var(--rp-bg);
    padding: 14px 0;
    border-bottom: 1px solid var(--rp-border);
}

.rp-breadcrumb-wrap .breadcrumb-item a {
    color: var(--rp-primary);
    text-decoration: none;
    font-size: 0.86rem;
}

.rp-breadcrumb-wrap .breadcrumb-item.active {
    color: var(--rp-muted);
    font-size: 0.86rem;
}

/* ===================== Main ===================== */
.rp-main {
    background: var(--rp-bg);
}

/* ===================== Section Shared ===================== */
.rp-section {
    padding: 64px 0;
}

/* ===================== Card Overview ===================== */
.rp-overview {
    background: #f8fafc;
}

.rp-card {
    background: var(--rp-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rp-card:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.rp-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.rp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.rp-card:hover .rp-card-image img {
    transform: scale(1.06);
}

.rp-card-body {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rp-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--rp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.rp-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rp-ink);
    margin: 0 0 10px;
    line-height: 1.5;
}

.rp-card-desc {
    font-size: 0.86rem;
    color: var(--rp-muted);
    line-height: 1.72;
    margin: 0 0 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rp-card-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rp-border);
}

.rp-card-stat .rp-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rp-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.rp-card-stat .rp-stat-label {
    font-size: 0.8rem;
    color: var(--rp-muted);
    letter-spacing: 0.02em;
}

/* ===================== Detail Sections ===================== */
.rp-detail {
    border-top: 1px solid var(--rp-border);
}

.rp-detail:nth-child(even) {
    background: #f8fafc;
}

.rp-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.rp-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rp-detail-kicker {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--rp-primary);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rp-detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rp-ink);
    margin: 0 0 10px;
    line-height: 1.45;
}

.rp-detail-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--rp-muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.rp-detail-text {
    font-size: 0.94rem;
    color: var(--rp-text);
    line-height: 1.95;
    margin: 0 0 28px;
}

.rp-detail-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.rp-detail-stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--rp-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.rp-detail-stat-label {
    display: block;
    width: 100%;
    font-size: 0.84rem;
    color: var(--rp-muted);
    margin-top: 6px;
    letter-spacing: 0.03em;
}

/* ===================== Footer ===================== */
.rp-footer {
    background: var(--rp-ink);
    color: rgba(255, 255, 255, 0.6);
    padding: 28px 0;
    font-size: 0.86rem;
}

.rp-footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s ease;
}

.rp-footer-link:hover {
    color: #ffffff;
}

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
    .rp-hero {
        padding: 150px 0 64px;
    }

    .rp-hero-title {
        font-size: 2.2rem;
    }

    .rp-section {
        padding: 48px 0;
    }

    .rp-detail-title {
        font-size: 1.5rem;
    }

    .rp-detail-stat-num {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .rp-hero {
        padding: 130px 0 50px;
    }

    .rp-hero-title {
        font-size: 1.8rem;
    }

    .rp-section {
        padding: 36px 0;
    }

    .rp-card-image {
        height: 160px;
    }

    .rp-card-title {
        font-size: 1.05rem;
    }

    .rp-detail-title {
        font-size: 1.3rem;
    }

    .rp-detail-stat-num {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-card {
        transition: none;
    }

    .rp-card-image img {
        transition: none;
    }
}
