/* station1646 Theme - Modern Dark Style */

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

:root {
    /* Dark Theme Color Palette */
    --bg-primary: #0D0D0D;
    --bg-secondary: #161616;
    --bg-tertiary: #1F1F1F;
    --bg-card: #1A1A1A;
    --bg-hover: #252525;
    
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #737373;
    --text-dark: #404040;
    
    --accent-primary: #00D9FF;
    --accent-secondary: #FF6B35;
    --accent-tertiary: #A855F7;
    --accent-gradient: linear-gradient(135deg, #00D9FF 0%, #A855F7 100%);
    
    --border-color: #2A2A2A;
    --border-light: #333333;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    min-height: 100vh;
}

body.light-theme {
    --bg-primary: #F5F5F5;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #EEEEEE;
    --bg-card: #FFFFFF;
    --bg-hover: #F0F0F0;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border-color: #E0E0E0;
    --border-light: #DDDDDD;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

/* App Wrapper */
.app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

.logo-area {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-list a {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-list a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

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

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Container */
.main-page {
    flex: 1;
    padding: 40px 0;
}

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

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

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--border-light);
}

.breadcrumb-list a {
    color: var(--text-secondary);
}

.breadcrumb-list a:hover {
    color: var(--accent-primary);
}

.breadcrumb-list .active {
    color: var(--accent-primary);
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.title-decoration {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    margin-bottom: 48px;
}

.ad-banner {
    margin-bottom: 32px;
    min-height: 90px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner.center {
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

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

.hero-card.card-2,
.hero-card.card-3 {
    grid-column: span 1;
}

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.card-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-1 .card-visual {
    aspect-ratio: 16/12;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.hero-card:hover .card-overlay {
    opacity: 1;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta-row {
    margin-bottom: 10px;
}

.card-tag {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.card-1 .card-heading {
    font-size: 1.4rem;
}

.card-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Content Section */
.content-section {
    margin-bottom: 48px;
}

.articles-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-tile {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.tile-link {
    display: block;
    color: inherit;
}

.tile-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tile-content {
    padding: 20px;
}

.tile-category {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tile-title {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ad-tile {
    grid-column: 1 / -1;
    margin: 16px 0;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.main-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* List Item */
.list-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.list-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-primary);
}

.item-link {
    display: flex;
    gap: 20px;
    padding: 20px;
    color: inherit;
}

.item-image {
    width: 240px;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.list-item:hover .item-image img {
    transform: scale(1.05);
}

.item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-tags {
    margin-bottom: 10px;
}

.item-category {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.item-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.item-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ad-item {
    width: 100%;
}

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.archive-header {
    text-align: center;
    padding: 40px 0;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.widget-icon {
    font-size: 1.2rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.author-widget .author-card {
    text-align: center;
}

.author-avatar-wrap {
    margin-bottom: 16px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
}

.author-name {
    font-size: 1rem;
    margin-bottom: 8px;
}

.author-name a:hover {
    color: var(--accent-primary);
}

.author-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.post-number {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
}

.post-title {
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

.post-title:hover {
    color: var(--accent-primary);
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.category-tag:hover {
    background: var(--accent-gradient);
    color: white;
}

/* Article Detail */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.content-column {
    width: 100%;
}

.article-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.author-info:hover {
    color: var(--accent-primary);
}

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

.author-name {
    font-weight: 600;
}

.meta-sep {
    color: var(--border-light);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--accent-secondary);
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content article {
  color: #fff!important;
  background-color: #1a1a1a!important;
}
.article-content article p {
  color: #fff!important;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.author-avatar-large img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
}

.author-details h4 {
    margin-bottom: 8px;
}

.author-details h4 a:hover {
    color: var(--accent-primary);
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.share-btn[data-platform="twitter"] {
    background: #1DA1F2;
    color: white;
}

.share-btn[data-platform="facebook"] {
    background: #4267B2;
    color: white;
}

.share-btn[data-platform="linkedin"] {
    background: #0A66C2;
    color: white;
}

.share-btn[data-platform="pinterest"] {
    background: #E60023;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Related Section */
.related-section {
    margin-top: 40px;
}

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

.related-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.related-card a {
    display: block;
    color: inherit;
}

.related-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.related-title {
    font-size: 0.95rem;
    padding: 16px 16px 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    display: block;
    padding: 0 16px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.page-item a,
.page-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.page-item a {
    color: var(--text-secondary);
}

.page-item a:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.page-item.active .current {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    border-radius: var(--radius-md);
    padding: 0 16px;
    height: 44px;
    display: flex;
    align-items: center;
}

.page-item.disabled span {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Archive List */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.archive-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.archive-link {
    display: block;
    padding: 16px 20px;
    color: inherit;
}

.archive-title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.archive-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Author Profile */
.author-profile {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.profile-card {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

.profile-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.profile-info .author-name {
    font-size: 2rem;
    margin-bottom: 12px;
}

.author-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
}

.author-bio-detail {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-bio-detail p {
    margin-bottom: 16px;
}

.author-articles .section-title {
    margin-bottom: 24px;
}

/* Static Page */
.static-page {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border-color);
}

.static-page .page-title {
    font-size: 2rem;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 28px 0 14px;
}

.page-content p {
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

/* Back to Top */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 99;
}

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

.back-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Fixed Banner */
.fixed-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    height: 50px;
    z-index: 98;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-card.card-1 {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .articles-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column,
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    } 
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
        height: 64px;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-card.card-1,
    .hero-card.card-2,
    .hero-card.card-3 {
        grid-column: auto;
    }
    
    .articles-mosaic {
        grid-template-columns: 1fr;
    }
    
    .item-link {
        flex-direction: column;
    }
    
    .item-image {
        width: 100%;
        height: 180px;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-detail {
        padding: 24px 16px;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .meta-sep {
        display: none;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .share-section {
        flex-direction: column;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .item-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .content-section {
        margin-bottom: 32px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .tile-content {
        padding: 16px;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}
