﻿
:root {
    --primary: #075fe4;
    --primary-dark: #0048b8;
    --primary-soft: #eaf2ff;
    --text: #081735;
    --text-light: #5f6b85;
    --border: #e2eaf5;
    --bg: #f5f8fd;
    --white: #ffffff;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(7,95,228,0.25);
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

    .main-nav a {
        font-weight: 700;
        color: var(--text);
        position: relative;
        padding: 30px 0;
    }

        .main-nav a:hover {
            color: var(--primary);
        }

        .main-nav a.active {
            color: var(--primary);
        }

            .main-nav a.active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: 12px;
                height: 3px;
                border-radius: 999px;
                background: var(--primary);
            }

.header-search {
    width: 260px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    padding: 0 14px;
    box-shadow: var(--shadow-sm);
}

    .header-search input {
        border: none;
        outline: none;
        flex: 1;
        font-family: inherit;
        font-size: 14px;
    }

    .header-search button {
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 18px;
        color: var(--text-light);
    }

/* =========================
   HOME
========================= */

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    margin-top: 28px;
}

.hero-card {
    position: relative;
    height: 390px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    .hero-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,72,184,0.92) 0%, rgba(0,72,184,0.68) 42%, rgba(0,72,184,0.08) 100% );
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 560px;
    padding: 54px;
    color: white;
}

    .hero-content h1 {
        font-size: 48px;
        line-height: 1.15;
        font-weight: 900;
        margin: 12px 0 18px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 26px;
        opacity: 0.96;
    }

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    background: white;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    font-size: 13px;
    font-weight: 700;
}

/* =========================
   SEARCH
========================= */

.home-search {
    margin: 24px 0 36px;
    background: white;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

    .home-search input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0 14px;
        font-size: 15px;
        font-family: inherit;
    }

    .home-search button {
        border: none;
        border-radius: 14px;
        background: var(--primary);
        color: white;
        font-weight: 800;
        padding: 14px 26px;
        cursor: pointer;
    }

/* =========================
   SECTION
========================= */

.page-section {
    margin: 42px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    margin: 0;
}

.section-link {
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

/* =========================
   CARD COMMON
========================= */

.mini-card,
.product-card,
.penalty-card,
.sidebar-card,
.topic-card {
    background: white;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: 0.22s ease;
}

    .mini-card:hover,
    .product-card:hover,
    .penalty-card:hover,
    .sidebar-card:hover,
    .topic-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    }

/* =========================
   HORIZONTAL CARD
========================= */

.horizontal-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.mini-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.mini-card h3 {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
    color: var(--text);
    padding: 14px;
    margin: 0;
}

/* =========================
   TOPIC GRID
========================= */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.topic-card {
    text-align: center;
    padding: 24px 18px;
}

.topic-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
}

.topic-svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.topic-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.topic-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: white;
}

.product-body {
    padding: 16px;
}

    .product-body h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 800;
    }

    .product-body p {
        margin: 0 0 12px;
        color: var(--text-light);
        font-size: 14px;
    }

    .product-body strong {
        color: var(--primary);
    }

/* =========================
   PENALTY GRID
========================= */

.penalty-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.penalty-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.penalty-card h3 {
    margin: 14px 14px 6px;
    font-size: 16px;
    font-weight: 800;
}

.penalty-card p {
    margin: 0 14px 14px;
    color: var(--text-light);
    font-size: 14px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar-card {
    padding: 18px;
    margin-bottom: 18px;
}

    .sidebar-card h3 {
        margin-top: 0;
        margin-bottom: 16px;
        font-size: 22px;
        font-weight: 900;
    }

.sidebar-post {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    margin: 14px 0;
}

    .sidebar-post img {
        width: 92px;
        height: 70px;
        object-fit: cover;
        border-radius: 10px;
    }

    .sidebar-post strong {
        display: block;
        line-height: 1.45;
        font-size: 14px;
    }

    .sidebar-post span {
        display: inline-block;
        margin-top: 8px;
        color: var(--primary);
        background: var(--primary-soft);
        padding: 4px 8px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 800;
    }

/* =========================
   QUICK FIND
========================= */

.quick-find-card {
    background: linear-gradient( 135deg, #075fe4, #0048b8 );
    color: white;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 16px 38px rgba(7,95,228,0.25);
}

    .quick-find-card h3 {
        margin-top: 0;
        font-size: 22px;
        font-weight: 900;
    }

.quick-find-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

    .quick-find-grid a {
        background: white;
        color: var(--text);
        border-radius: 14px;
        padding: 16px 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        font-weight: 800;
        font-size: 13px;
    }

    .quick-find-grid img {
        width: 30px;
        height: 30px;
    }

/* =========================
   SAFE BOX
========================= */

.safe-card {
    background: linear-gradient( 135deg, #eef5ff, white );
    border: 1px solid #cfe0ff;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 18px;
}

    .safe-card h3 {
        margin-top: 0;
        font-size: 20px;
        font-weight: 900;
    }

    .safe-card p {
        color: var(--text-light);
    }

    .safe-card a {
        display: inline-flex;
        margin-top: 10px;
        padding: 12px 16px;
        border-radius: 12px;
        background: var(--primary);
        color: white;
        font-weight: 800;
    }

/* =========================
   ARTICLE DETAIL
========================= */

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 28px;
}

.article-main {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.article-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 14px 0;
}

.article-summary {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
}

.article-hero-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
}

.article-content {
    font-size: 18px;
    line-height: 1.9;
}

    .article-content h2 {
        font-size: 32px;
        line-height: 1.35;
        margin-top: 44px;
        margin-bottom: 16px;
    }

    .article-content p {
        margin: 16px 0;
    }

    .article-content ul {
        padding-left: 24px;
    }

    .article-content li {
        margin: 10px 0;
    }

/* =========================
   CONTENT BOX
========================= */

.quick-box,
.tip-box,
.warning-box,
.video-box,
.faq-item {
    border-radius: 18px;
    padding: 22px;
    margin: 28px 0;
}

.quick-box {
    background: #eef5ff;
    border-left: 6px solid var(--primary);
}

.tip-box {
    background: #fff7ed;
    border-left: 6px solid #fb923c;
}

.warning-box {
    background: #fef2f2;
    border-left: 6px solid #dc2626;
}

.video-box {
    background: #0f172a;
    color: white;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
}

    .faq-item h3 {
        margin-top: 0;
        font-size: 20px;
    }

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 60px;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-grid {
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}

    .footer-grid h4 {
        margin-top: 0;
        margin-bottom: 16px;
    }

    .footer-grid a {
        display: block;
        margin: 10px 0;
        color: var(--text-light);
    }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px;
    text-align: center;
    color: var(--text-light);
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .horizontal-cards,
    .penalty-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .home-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .horizontal-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .penalty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 0;
    }

    .header-search {
        width: 100%;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .container {
        width: calc(100% - 24px);
    }

    .hero-card {
        height: 480px;
    }

    .hero-overlay {
        background: linear-gradient( 0deg, rgba(0,72,184,0.92), rgba(0,72,184,0.58) );
        align-items: flex-end;
    }

    .hero-content {
        padding: 28px;
    }

        .hero-content h1 {
            font-size: 34px;
        }

    .topic-grid,
    .product-grid,
    .horizontal-cards,
    .penalty-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-search {
        flex-direction: column;
    }
}

.article-page {
    margin-top: 28px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 18px;
}

    .breadcrumb a {
        color: var(--primary);
        font-weight: 800;
    }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.article-category {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}

.article-sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
}

.toc-card {
    border: 2px solid #dbeafe;
}

.toc-box {
    display: flex;
    flex-direction: column;
}

    .toc-box a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        font-weight: 800;
    }

        .toc-box a:last-child {
            border-bottom: none;
        }

.share-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

    .share-buttons a,
    .share-buttons button,
    .article-share-mobile a,
    .article-share-mobile button {
        border: none;
        cursor: pointer;
        border-radius: 12px;
        padding: 12px 14px;
        background: var(--primary-soft);
        color: var(--primary);
        font-weight: 900;
        font-family: inherit;
        text-align: center;
    }

.article-share-mobile {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.article-hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 22px;
    margin: 26px 0 34px;
    box-shadow: var(--shadow-md);
}

.article-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 6px solid var(--primary);
    background: #f4f8ff;
    border-radius: 16px;
    color: var(--text);
    font-size: 19px;
    font-weight: 700;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    border: 1px solid var(--border);
    padding: 14px;
    text-align: left;
}

.article-content th {
    background: #eef5ff;
    color: var(--primary);
}

.article-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 20px;
    margin: 28px 0;
}

.related-section {
    border-top: 1px solid var(--border);
    margin-top: 46px;
    padding-top: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.related-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.22s ease;
}

    .related-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .related-card img {
        width: 160px;
        height: 140px;
        object-fit: cover;
    }

.related-card-body {
    padding: 14px;
}

    .related-card-body span {
        color: var(--primary);
        font-size: 12px;
        font-weight: 900;
    }

    .related-card-body h3 {
        font-size: 16px;
        line-height: 1.45;
        margin: 8px 0;
        font-weight: 900;
    }

    .related-card-body p {
        margin: 0;
        color: var(--text-light);
        font-size: 13px;
        line-height: 1.5;
    }

@media (max-width: 992px) {
    .article-sidebar {
        position: static;
    }

    .share-card {
        display: none;
    }

    .article-share-mobile {
        display: grid;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding: 24px;
        border-radius: 20px;
    }

    .article-title {
        font-size: 34px;
    }

    .article-summary {
        font-size: 17px;
    }

    .article-content {
        font-size: 17px;
    }

        .article-content h2 {
            font-size: 26px;
        }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-card {
        grid-template-columns: 120px 1fr;
    }

        .related-card img {
            width: 120px;
            height: 120px;
        }
}

@media (max-width: 520px) {
    .article-share-mobile {
        grid-template-columns: 1fr;
    }

    .related-card {
        grid-template-columns: 1fr;
    }

        .related-card img {
            width: 100%;
            height: 190px;
        }
}

/* =========================
   LISTING / CATEGORY / SEARCH
========================= */

.listing-page {
    margin-top: 28px;
}

.listing-hero {
    background: linear-gradient(135deg, #075fe4, #0048b8);
    color: white;
    border-radius: 26px;
    padding: 42px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

    .listing-hero h1 {
        font-size: 44px;
        line-height: 1.15;
        margin: 12px 0;
        font-weight: 900;
        letter-spacing: -1px;
    }

    .listing-hero p {
        max-width: 680px;
        font-size: 17px;
        line-height: 1.75;
        opacity: 0.94;
        margin: 0;
    }

.listing-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    font-size: 13px;
    font-weight: 800;
}

.search-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: center;
}

.listing-search {
    background: white;
    border-radius: 18px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

    .listing-search input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0 14px;
        font-family: inherit;
        font-size: 15px;
        color: var(--text);
    }

    .listing-search button {
        border: none;
        border-radius: 14px;
        padding: 13px 20px;
        background: var(--primary);
        color: white;
        font-weight: 900;
        cursor: pointer;
        font-family: inherit;
    }

.search-result-title {
    margin: 28px 0 18px;
}

    .search-result-title h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 900;
    }

    .search-result-title p {
        margin: 6px 0 0;
        color: var(--text-light);
    }

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.listing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.22s ease;
}

    .listing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .listing-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.listing-card-body {
    padding: 18px;
}

    .listing-card-body span {
        display: inline-flex;
        color: var(--primary);
        background: var(--primary-soft);
        padding: 5px 9px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 900;
    }

    .listing-card-body h2 {
        font-size: 20px;
        line-height: 1.4;
        margin: 12px 0 8px;
        font-weight: 900;
    }

    .listing-card-body p {
        margin: 0 0 14px;
        color: var(--text-light);
        font-size: 14px;
        line-height: 1.6;
    }

    .listing-card-body small {
        color: var(--text-light);
        font-weight: 700;
    }

.empty-state {
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

    .empty-state h2 {
        margin: 0 0 8px;
        font-size: 28px;
        font-weight: 900;
    }

    .empty-state p {
        margin: 0;
        color: var(--text-light);
    }

@media (max-width: 992px) {
    .search-hero {
        grid-template-columns: 1fr;
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .listing-hero {
        padding: 28px;
        border-radius: 22px;
    }

        .listing-hero h1 {
            font-size: 34px;
        }

    .listing-search {
        flex-direction: column;
    }

        .listing-search input {
            padding: 14px;
        }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .listing-card img {
        height: 210px;
    }
}

/* =========================
   FAQ ACCORDION
========================= */

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    margin: 14px 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        padding: 22px 58px 22px 22px;
        font-size: 18px;
        font-weight: 800;
        position: relative;
        transition: 0.2s ease;
    }

        .faq-item summary:hover {
            background: #f8fbff;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "+";
            position: absolute;
            right: 22px;
            top: 16px;
            font-size: 28px;
            color: var(--primary);
            font-weight: 400;
        }

    .faq-item[open] summary::after {
        content: "−";
    }

.faq-answer {
    padding: 0 22px 22px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

    .faq-answer p {
        margin: 0;
    }


/* =========================
   TRENDING SIDEBAR
========================= */

.trending-card {
    padding: 20px;
}

.sidebar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

    .sidebar-heading h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 900;
    }

    .sidebar-heading span {
        background: #fee2e2;
        color: #dc2626;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 900;
    }

.trending-post {
    display: grid;
    grid-template-columns: 34px 88px 1fr;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    transition: 0.2s ease;
}

    .trending-post:last-child {
        border-bottom: none;
    }

    .trending-post:hover {
        transform: translateX(3px);
    }

.trending-rank {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 900;
}

.trending-post img {
    width: 88px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.trending-body span {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
}

.trending-body strong {
    display: block;
    line-height: 1.45;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.penalty-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: 0.22s ease;
}

    .penalty-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .penalty-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.penalty-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.penalty-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.penalty-body h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 900;
    color: var(--text);
}

.penalty-body p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}

.penalty-footer {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .penalty-footer small {
        color: var(--text-light);
        font-size: 12px;
        font-weight: 700;
    }

    .penalty-footer strong {
        color: var(--primary);
        font-size: 13px;
        font-weight: 900;
    }

.video-source {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
}

    .video-source a {
        color: var(--primary);
        font-weight: 700;
    }