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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #faf9f6;
    color: #2d3748;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    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;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #1a365d;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(250, 249, 246, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.08);
    border-bottom-color: #e2e8f0;
    background-color: rgba(250, 249, 246, 0.98);
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1a365d;
    transition: color 0.2s ease;
}

.site-logo:hover {
    color: #e07a5f;
}

.main-nav {
    display: flex;
}

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

.nav-menu li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e07a5f, #f2cc8f);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: #e07a5f;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.menu-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a365d;
    transition: all 0.3s ease;
}

/* ============================================
   Main Content Wrapper
   ============================================ */
.main-content-wrapper {
    padding: 2rem 0;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    font-size: 1.75rem;
    color: #1a365d;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e07a5f, #f2cc8f);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   Overlap Cards (Homepage Featured)
   ============================================ */
.featured-section {
    padding: 2rem 0;
}

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

.overlap-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: visible;
}

.overlap-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.1);
}

.overlap-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.overlap-content {
    position: relative;
    margin: -2rem 1rem 0;
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.08);
    z-index: 2;
}

.content-category {
    display: inline-block;
    background: linear-gradient(135deg, #e07a5f, #e07a5f);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

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

.content-title a {
    color: #1a365d;
}

.content-title a:hover {
    color: #e07a5f;
}

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

.content-date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ============================================
   Masonry Grid (Latest Updates)
   ============================================ */
.latest-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 54, 93, 0.02) 100%);
}

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

.masonry-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 54, 93, 0.12);
}

.masonry-card.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-card.card-wide {
    grid-column: span 2;
}

.masonry-image {
    overflow: hidden;
}

.masonry-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.masonry-card.card-large .masonry-image img {
    aspect-ratio: 16/10;
}

.masonry-content {
    padding: 1.25rem;
}

.masonry-card.card-large .masonry-content {
    padding: 1.5rem;
}

.masonry-card.card-large .content-title {
    font-size: 1.35rem;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-wrapper {
    background: #fff;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.875rem;
}

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

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

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

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

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

/* ============================================
   Two Columns Layout
   ============================================ */
.two-columns {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

/* ============================================
   Page Header
   ============================================ */
.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 2rem;
    color: #1a365d;
    position: relative;
    padding-bottom: 0.75rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #e07a5f, #f2cc8f);
    border-radius: 2px;
}

/* ============================================
   Article Cards (Category/List Pages)
   ============================================ */
.articles-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 54, 93, 0.12);
}

.article-card.card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 45% 55%;
}

.card-image-wrap {
    overflow: hidden;
}

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

.article-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.article-card.card-featured .card-image-wrap img {
    aspect-ratio: 16/10;
    height: 100%;
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.article-card.card-featured .card-body {
    justify-content: center;
    padding: 1.5rem;
}

.card-category {
    display: inline-block;
    background: linear-gradient(135deg, #e07a5f, #e07a5f);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

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

.card-title a {
    color: #1a365d;
}

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

.article-card.card-featured .card-title {
    font-size: 1.35rem;
}

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

.card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.card-date {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Horizontal Card Layout */
.card-horizontal {
    display: grid;
    grid-template-columns: 35% 65%;
}

.card-horizontal .card-image-wrap img {
    aspect-ratio: 4/3;
    height: 100%;
}

/* Compact Grid */
.compact-grid {
    grid-template-columns: 1fr;
}

.compact-grid .article-card {
    display: grid;
    grid-template-columns: 25% 75%;
}

.compact-grid .card-image-wrap img {
    aspect-ratio: 4/3;
    height: 100%;
}

/* ============================================
   Sidebar Widgets
   ============================================ */
.sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
}

.widget-title {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e07a5f, #f2cc8f);
}

/* Author Widget */
.author-widget-header {
    text-align: center;
    margin-bottom: 1rem;
}

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

.author-name {
    font-size: 1.1rem;
    color: #1a365d;
}

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

.author-bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.trending-content {
    flex: 1;
    min-width: 0;
}

.trending-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-title:hover {
    color: #e07a5f;
}

.trending-date {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    margin-top: 0.25rem;
}

/* Sidebar List */
.sidebar-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    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: flex-start;
    gap: 0.5rem;
}

.post-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    flex: 1;
}

.post-title:hover {
    color: #e07a5f;
}

.post-date {
    font-size: 0.75rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Category List */
.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-list a:hover {
    color: #e07a5f;
    padding-left: 0.5rem;
}

.category-list .iconfont {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.category-list a:hover .iconfont {
    transform: translateX(3px);
    color: #e07a5f;
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
    margin-top: 2rem;
}

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

.page-item {
    list-style: none;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    color: #2d3748;
    transition: all 0.2s ease;
}

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

.page-item.active .page-link {
    background: linear-gradient(135deg, #e07a5f, #e07a5f);
    border-color: #e07a5f;
    color: #fff;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link .iconfont {
    font-size: 0.75rem;
}

.page-link.dots {
    cursor: default;
}

/* ============================================
   Article Detail Page
   ============================================ */
.article-header {
    margin-bottom: 2rem;
}

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

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.author-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.author-link:hover {
    color: #e07a5f;
}

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

.publish-date,
.update-date,
.view-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

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

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

.article-body h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin: 1.5rem 0 0.75rem;
}

.article-body img {
    border-radius: 12px;
    margin: 1.5rem auto;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-body th,
.article-body td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.article-body th {
    background: #f8fafc;
    font-weight: 600;
}

/* Author Bio Card */
.author-bio-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
}

.author-bio-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f2cc8f;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.author-bio-content h4 a {
    color: #1a365d;
}

.author-bio-content h4 a:hover {
    color: #e07a5f;
}

.author-bio-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: #1a365d;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.share-btn .iconfont {
    font-size: 1.25rem;
    color: #fff;
}

.share-twitter {
    background: #1da1f2;
}

.share-facebook {
    background: #4267b2;
}

.share-linkedin {
    background: #0077b5;
}

.share-pinterest {
    background: #e60023;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-title {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #e07a5f, #f2cc8f);
    border-radius: 2px;
}

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

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 54, 93, 0.12);
}

.related-image {
    overflow: hidden;
}

.related-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-content {
    padding: 1rem;
}

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

.related-card-title a {
    color: #1a365d;
}

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

.related-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ============================================
   Author Page
   ============================================ */
.author-profile {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.author-profile-inner {
    max-width: 600px;
    margin: 0 auto;
}

.author-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #f2cc8f;
}

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

.author-bio-short {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.author-detail-body {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    font-size: 0.985rem;
    line-height: 1.75;
    color: #171717;
}

.author-articles-section {
    margin-top: 3rem;
}

.author-articles-section .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.author-articles-section .section-title::after {
    margin: 0.75rem 0 0;
}

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

.author-article-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-article-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.1);
}

.author-article-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.author-article-content .article-title {
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.author-article-content .article-title a {
    color: #1a365d;
}

.author-article-content .article-title a:hover {
    color: #e07a5f;
}

.author-article-content .article-date {
    font-size: 0.875rem;
    color: #94a3b8;
    flex-shrink: 0;
}

/* ============================================
   Static Page (Alone)
   ============================================ */
.static-page {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
}

.page-body {
    font-size: 0.985rem;
    line-height: 1.75;
    color: #171717;
}

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

.page-body h2 {
    font-size: 1.5rem;
    color: #1a365d;
    margin: 2rem 0 1rem;
}

.page-body h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin: 1.5rem 0 0.75rem;
}

/* ============================================
   All Articles (Text Only List)
   ============================================ */
.list-page {
    padding: 2rem 0;
}

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

.text-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid transparent;
}

.text-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.1);
    border-left-color: #e07a5f;
}

.text-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.text-card-title a {
    color: #1a365d;
}

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

.text-card-meta {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #1a365d;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f2cc8f;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e07a5f, #e07a5f);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(224, 122, 95, 0.5);
}

.back-to-top .iconfont {
    font-size: 1.25rem;
}

/* ============================================
   Ad Slots
   ============================================ */
.ad-div {}

.ad-fullwidth {
    grid-column: 1 / -1;
}

/* ============================================
   Utility Classes
   ============================================ */

.pd-0 {
    padding: 0 !important;
}

.hidden {
    display: none !important;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .overlap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .masonry-card.card-large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .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(26, 54, 93, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        padding: 1.5rem;
    }

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

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

    .nav-menu li {
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .main-content-wrapper {
        padding: 1rem 0;
    }

    .container {
        padding: 0 16px;
    }

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

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

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

    .masonry-card.card-large,
    .masonry-card.card-wide {
        grid-column: span 1;
    }

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

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

    .article-card.card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .card-horizontal,
    .compact-grid .article-card {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.4rem;
        line-height: 1.35;
        max-height: 150px;
        overflow: hidden;
    }

    .article-meta-top {
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow-x: auto;
        font-size: 0.8rem;
        gap: 0.75rem;
    }

    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

    .author-article-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.25rem;
    }

    .overlap-content {
        margin: -1.5rem 0.75rem 0;
        padding: 1rem;
    }

    .content-title {
        font-size: 1rem;
    }

    .masonry-content {
        padding: 1rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .static-page {
        padding: 1.5rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overlap-card,
.masonry-card,
.article-card,
.related-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* Stagger animation delays */
.overlap-card:nth-child(1) {
    animation-delay: 0.05s;
}

.overlap-card:nth-child(2) {
    animation-delay: 0.1s;
}

.overlap-card:nth-child(3) {
    animation-delay: 0.15s;
}

.overlap-card:nth-child(4) {
    animation-delay: 0.2s;
}

.overlap-card:nth-child(5) {
    animation-delay: 0.25s;
}

.overlap-card:nth-child(6) {
    animation-delay: 0.3s;
}