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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background-color: #fff;
}

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

ul,
ol {
    list-style: none;
}

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


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    color: #1a1a1a;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e67e22;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background-color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .main-nav.open {
        max-height: 300px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.8rem;
    }

    .main-nav a {
        display: block;
        padding: 0.5rem 0;
    }
}

.top-banner {
    background-color: #f8f9fa;
    padding: 12px 0;
    margin-top: 70px;
    border-bottom: 1px solid #eee;
}

.top-banner .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.breaking-tag {
    background-color: #e67e22;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.top-banner p {
    font-size: 0.9rem;
    color: #333;
}

.top-banner a {
    color: #e67e22;
    font-weight: 500;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 2rem 0 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.category-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

.recommend-header {
    margin-top: 100px;
}

.view-all {
    font-size: 0.9rem;
    color: #e67e22;
}

.card-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

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

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

.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.card-content {
    padding: 1.2rem;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #e67e22;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.card h3 a {
    color: #1a1a1a;
}

.card h3 a:hover {
    color: #e67e22;
}

.card p,
.excerpt {
    font-size: 0.875rem;
    color: #555;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-overlay .excerpt-item {
    color: white;
}

.card-meta {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.5rem;
}

.category-title {
    margin-bottom: 25px;
}

.article-list-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-horizontal {
    display: flex;
}

.card-horizontal .card-img {
    flex: 0 0 40%;
}

.card-horizontal .card-content {
    flex: 1;
}

.card-vertical .card-img {
    margin-bottom: 0;
}

.card-minimal {
    border: 1px solid #f0f0f0;
}

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

.card-feature-list {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.card-feature-list.reverse {
    flex-direction: row-reverse;
}

.card-feature-list .card-img {
    flex: 0 0 100px;
}

.card-badge {
    position: relative;
}

.badge {
    display: inline-block;
    background: #e67e22;
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.badge.trend {
    background: #2c7da0;
}

.card-overlay {
    position: relative;
}

.card-overlay .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1rem;
}

.card-overlay .card-category,
.card-overlay .card-meta {
    color: rgba(255, 255, 255, 0.9);
}

.card-overlay h3 a {
    color: white;
}

.special-report {
    margin: 3rem 0;
}

.report-card {
    display: flex;
    gap: 2rem;
    background: #fafafa;
    border-radius: 24px;
    overflow: hidden;
}

.report-img {
    flex: 1;
}

.report-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.report-content {
    flex: 1;
    padding: 2rem;
}

.report-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #e67e22;
    font-weight: 600;
}

.report-content h2 {
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

.report-content p {
    color: #555;
    margin: 1rem 0;
}

.btn-read {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    margin-top: 1rem;
}

.btn-read:hover {
    background: #e67e22;
}

.hot-categories {
    margin: 3rem 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.topic-card {
    background: #f8f9fa;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.2s;
}

.topic-card span {
    font-size: 0.75rem;
    color: #888;
}

.topic-card:hover {
    background: #e9ecef;
}

.two-columns {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.post-content-main {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
}

.breadcrumb {
    margin: 100px 0 30px;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb li {
    font-size: 0.875rem;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb a {
    color: #0056b3;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.pagination .active {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination .dots {
    background: transparent;
    border: none;
    color: #666;
    cursor: default;
}

.post-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.post-subtitle {
    font-size: 1.1rem;
    color: #555;
    border-left: 4px solid #e67e22;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.post-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #666;
}

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

.post-body img {
    margin: 0 auto;
}

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

.post-body h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}

.post-body figure {
    margin: 2rem 0;
}

.post-body figcaption {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

.post-categories {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cat-link {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.author-card {
    display: flex;
    gap: 1.5rem;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.share-section {
    margin: 2rem 0;
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    cursor: pointer;
}

.share-btn:hover {
    background: #e0e0e0;
}

.comments-section {
    margin: 3rem 0;
}

.comment-list {
    margin: 1.5rem 0;
}

.comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-form {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.comment-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-submit {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    margin-top: 1rem;
    cursor: pointer;
}

.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.related-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-grid .card-horizontal {
    display: flex;
}

.related-grid .card-img {
    flex: 0 0 150px;
    width: 100%;
    height: 100%;
}

.related-grid h4 {
    margin: 0 0 0.25rem;
}

.widget {
    background: #fff;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.widget h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.widget .author-avatar-sidebar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
}

.recommended-list li,.recent-list li {
    padding: 10px;
    background: #f8f0e7;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.recommended-list li:hover ,.recent-list li:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);

}

.categories-widget ul{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.categories-widget li{
    border-radius: 20px;
    padding: 10px;
    background: #f8f0e7;
    transition: 0.3s;
}

.categories-widget li:hover{
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.search-widget form {
    display: flex;
    gap: 0.5rem;
}

.search-widget input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 30px;
}

.search-widget button {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 30px;
    cursor: pointer;
}

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

.popular-list li {
    margin-bottom: 0.8rem;
}

.popular-list a {
    font-weight: 500;
}

.popular-list span {
    font-size: 0.75rem;
    color: #888;
    display: block;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list a {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
}

.newsletter-widget input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    margin: 0.5rem 0;
}

.newsletter-widget button {
    width: 100%;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 30px;
    cursor: pointer;
}

.author-main {
    margin: 40px 0 60px;
}

.author-header {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 8rem 0 3rem;
}

.author-avatar-large {
    flex: 0 0 180px;
}

.author-avatar-large img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.author-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1.1rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background: #f0f0f0;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.875rem;
}

.author-bio-full {
    margin-bottom: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.author-bio-full h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.author-bio-full p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.author-articles h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.site-footer {
    background-color: #f8f9fa;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #666;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

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

.back-to-top:hover {
    background: #e67e22;
}

@media (max-width: 992px) {
    .two-columns {
        flex-direction: column;
    }

    .post-content-main,
    .sidebar {
        flex: 1;
    }

    .tech-grid,
    .sports-grid,
    .flex-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .report-card {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .author-header {
        margin: 3rem 0;
    }

    .post-meta-top {
        gap: 0.5rem;
    }

    .site-header {
        position: relative;
    }

    .nav-container {
        height: 54px;
    }

    .breadcrumb {
        margin: 30px 0;
    }

    .container {
        padding: 0 20px;
    }

    .card-horizontal {
        flex-direction: column;
    }

    .card-horizontal .card-img {
        flex-basis: auto;
    }

    .tech-grid,
    .sports-grid,
    .flex-grid {
        grid-template-columns: 1fr;
    }

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

    .post-subtitle {
        font-size: 1rem;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar-large {
        flex-basis: auto;
        width: 150px;
    }

    .author-intro h1 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}