* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fafbfc;
    color: #1a1a2e;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid #e8ecf1;
    height: 70px;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #16213e;
    letter-spacing: -0.5px;
}

.logo span {
    color: #e94560;
}

.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-menu li a {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    color: #4a5568;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #e94560;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #16213e;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.breadcrumb-wrapper {
    background: #f1f5f9;
    padding: 0.8rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 0.5rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: #64748b;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #e94560;
}

.breadcrumb .current {
    color: #e94560;
    font-weight: 600;
}

.two-columns {
    display: grid;
    grid-template-columns: 68% 30%;
    gap: 2rem;
    margin-bottom: 3rem;
}

.main-content {
    min-width: 0;
}

.sidebar {
    min-width: 0;
}

.section-header {
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.4rem;
    color: #16213e;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e94560, transparent);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.1);
    border-color: #e94560;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 1.5rem;
}

.category-card h3 {
    font-size: 0.95rem;
    color: #16213e;
    margin-bottom: 0.3rem;
}

.category-card span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.featured-section {
    margin: 2.5rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.featured-main {
    grid-row: span 2;
}

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    display: flex;
    /* flex-direction: column; */
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.featured-main .featured-card {
    height: 100%;
}

.featured-main .card-img {
    height: 60%;
}

.featured-main .card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.featured-side .featured-card {
    flex-direction: row;
    height: 100%;
}

.featured-card .card-img {
    flex: 0 0 40%;
    height: 100%;
}

.featured-side .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-img {
    overflow: hidden;
}

.card-img img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.2rem;
}

.card-category {
    display: inline-block;
    background: #fef2f2;
    color: #e94560;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: #16213e;
}

.card-title a:hover {
    color: #e94560;
}

.card-excerpt {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.card-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reports-section {
    margin: 2.5rem 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.report-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.report-card .card-img img {
    aspect-ratio: 4/3;
}

.report-card .card-content {
    padding: 1rem;
}

.report-card .card-title {
    font-size: 1rem;
}

.listing-section {
    margin: 2rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.listing-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.listing-card-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.listing-card-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-card-content .card-title {
    flex: 1;
}

.sidebar-widget {
    background: #fff;
    border-radius: 14px;
    padding: 1.3rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e8ecf1;
}

.author-box {
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #fef2f2;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #16213e;
    margin-bottom: 0.5rem;
}

.author-name a:hover {
    color: #e94560;
}

.author-bio {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #16213e;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e94560;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a5568;
}

.sidebar-list a:hover {
    color: #e94560;
}

.post-date {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.trending-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-title {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: #16213e;
}

.trending-title a:hover {
    color: #e94560;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.7rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #4a5568;
    transition: all 0.2s;
}

.page-link.active {
    background: #e94560;
    border-color: #e94560;
    color: #fff;
}

.page-link:hover:not(.active) {
    background: #f8fafc;
    border-color: #e94560;
    color: #e94560;
}

.page-dots {
    border: none;
    cursor: default;
}

.page-dots:hover {
    background: #fff;
    color: #4a5568;
    border: none;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    color: #16213e;
    margin-bottom: 1rem;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e94560;
    font-weight: 600;
}

.author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-body {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
}

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

.article-body h2 {
    font-size: 1.5rem;
    color: #16213e;
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-size: 1.2rem;
    color: #16213e;
    margin: 1.5rem 0 0.8rem;
}

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

.article-body ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.article-body ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem auto;
}

.article-body blockquote {
    border-left: 4px solid #e94560;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #64748b;
    font-style: italic;
}

.author-bio-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    border: 1px solid #e8ecf1;
}

.author-bio-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fef2f2;
}

.author-bio-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.author-bio-info h4 a {
    color: #16213e;
}

.author-bio-info h4 a:hover {
    color: #e94560;
}

.author-bio-info p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.share-buttons {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.share-btn {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.share-btn:hover {
    background: #e94560;
    color: #fff;
    transform: translateY(-2px);
}

.related-section {
    margin-top: 2.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 1rem;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.related-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-card-content {
    padding: 1rem;
}

.related-card-content .card-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.related-card-content .meta {
    font-size: 0.75rem;
    color: #94a3b8;
}

.author-hero {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.author-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.author-name-large {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.author-bio-short {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.author-detail-body {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e8ecf1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
}

.author-detail-body p {
    margin-bottom: 1rem;
}

.articles-section {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.3rem;
    color: #16213e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e94560;
}

.author-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}

.article-card-sm {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}

.article-card-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #e94560;
}

.article-card-sm .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.article-card-sm .meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-card:hover {
    border-color: #e94560;
    transform: translateX(5px);
}

.archive-card h3 {
    font-size: 1rem;
    color: #16213e;
    flex: 1;
}

.archive-card h3 a:hover {
    color: #e94560;
}

.archive-card .meta {
    font-size: 0.8rem;
    color: #94a3b8;
    white-space: nowrap;
}

.site-footer {
    background: #16213e;
    padding: 2.5rem 0 2rem;
    margin-top: 3rem;
}

.site-footer p {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #e94560;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d63d56;
    transform: translateY(-3px);
}

.ad-div {
    margin: 1.5rem 0;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-main {
        grid-row: span 1;
    }

    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-card {
        flex-direction: column;
    }

    .featured-card .card-img {
        flex: auto;
    }

    .site-header {
        position: relative;
        height: 55px;
    }

    .nav-container {
        height: 55px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 55px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 55px);
        background: #fff;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 1.5rem;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1.2rem;
    }

    .nav-menu li a {
        font-size: 1.1rem;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .article-meta-top {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-hero {
        padding: 2rem 1.5rem;
    }

    .author-avatar-large {
        width: 90px;
        height: 90px;
    }

    .author-name-large {
        font-size: 1.4rem;
    }

    .author-articles-grid {
        grid-template-columns: 1fr;
    }

    .archive-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .featured-side .featured-card {
        flex-direction: column;
    }

    .featured-side .card-img {
        max-width: 100%;
        flex: none;
    }

    .none {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        gap: 0.3rem;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}