/* ============================================
   PremiumPress Magazine Theme
   Version: 1.0.0
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-color: #1a1a2e;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-gray);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    gap: 30px;
    flex-wrap: wrap;
}

/* Branding */
.site-branding {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title-text {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.site-title-text a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-description {
    font-size: 13px;
    color: var(--gray-color);
    margin-top: 5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    padding: 8px 0;
    display: block;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--primary-color);
}

/* Submenu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .sub-menu li {
    padding: 0 15px;
}

.nav-menu .sub-menu a {
    font-size: 14px;
    padding: 8px 0;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark-color);
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* Header Search */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.search-form-container {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.header-search:hover .search-form-container {
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-section {
    margin: 30px 0;
}

.hero-slider-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-slide {
    position: relative;
    height: 500px;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 40px 50px;
}

.hero-category {
    display: inline-block;
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-title a {
    color: white;
}

.hero-title a:hover {
    color: var(--primary-color);
}

.hero-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.hero-excerpt {
    font-size: 16px;
    max-width: 600px;
    opacity: 0.9;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
}

.view-all:hover {
    transform: translateX(5px);
}

/* ============================================
   CARDS GRID (4 Cards)
   ============================================ */
.featured-section {
    margin: 50px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-title {
    font-size: 18px;
    margin: 10px 0;
}

.card-title a {
    color: var(--dark-color);
}

.card-meta {
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.card-excerpt {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
}

/* ============================================
   MAGAZINE LAYOUT (3 Center + Scrollable Sides)
   ============================================ */
.magazine-layout {
    margin: 60px 0;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}

/* Scrollable Columns */
.scrollable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.scrollable-header h3 {
    font-size: 20px;
    margin: 0;
}

.trending-icon,
.popular-icon {
    font-size: 24px;
}

.scrollable-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.scrollable-list::-webkit-scrollbar {
    width: 5px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scrollable-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.scrollable-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.scrollable-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.scrollable-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.scrollable-content {
    flex: 1;
}

.scrollable-content h4 {
    font-size: 14px;
    margin: 0 0 5px;
}

.scrollable-content h4 a {
    color: var(--dark-color);
}

.scrollable-views,
.scrollable-comments {
    font-size: 11px;
    color: var(--gray-color);
}

/* Center Cards */
.center-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.center-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.center-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.center-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.center-card-content {
    padding: 20px;
}

.center-card-category {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
}

.center-card-content h3 {
    font-size: 18px;
    margin: 10px 0;
}

.center-card-content p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
}

/* ============================================
   CATEGORIES SHOWCASE
   ============================================ */
.categories-showcase {
    margin: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
}

.category-card a {
    display: block;
    height: 100%;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.category-card:hover .category-bg {
    transform: scale(1.05);
}

.category-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.category-info {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.category-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.category-info span {
    font-size: 13px;
    opacity: 0.9;
}

/* ============================================
   AD CONTAINERS
   ============================================ */
.ad-container {
    text-align: center;
    margin: 30px auto;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-home-top,
.ad-home-middle,
.ad-home-bottom {
    max-width: 728px;
}

.ad-sidebar-top,
.ad-sidebar-bottom,
.ad-article-inside {
    max-width: 300px;
    margin: 20px auto;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-container {
    display: flex;
    gap: 40px;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
}

.single-article {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-header {
    padding: 30px 30px 0;
}

.article-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.article-category {
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.article-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    display: block;
}

.post-date {
    font-size: 12px;
    color: var(--gray-color);
}

.meta-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--gray-color);
}

.article-featured-image {
    margin: 30px 0;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.featured-caption {
    text-align: center;
    font-size: 13px;
    color: var(--gray-color);
    margin-top: 10px;
}

.article-content {
    padding: 0 30px;
    font-size: 18px;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 28px;
    margin: 1.5em 0 0.5em;
}

.article-content h3 {
    font-size: 24px;
    margin: 1.2em 0 0.5em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-tags {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tags-label {
    font-weight: 600;
}

.article-tags a {
    background: var(--light-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.article-share {
    padding: 0 30px 30px;
    text-align: center;
}

.share-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-share a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    transition: var(--transition);
}

.social-share a:hover {
    transform: translateY(-2px);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-whatsapp {
    background: #25d366;
}

.share-email {
    background: #ea4335;
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--light-gray);
    margin: 20px 0;
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.bio-content h4 {
    margin-bottom: 10px;
}

.bio-content p {
    font-size: 14px;
    color: var(--gray-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
}

.post-navigation a {
    font-weight: 600;
    color: var(--primary-color);
}

.related-posts {
    padding: 0 30px 30px;
}

.related-posts h3 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card h4 {
    font-size: 14px;
    margin-top: 10px;
}

.comments-section {
    padding: 0 30px 30px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.widget-area {
    width: 320px;
    flex-shrink: 0;
}

.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.popular-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.popular-post-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.popular-post-views {
    font-size: 11px;
    color: var(--gray-color);
}

/* ============================================
   ARCHIVE & POSTS GRID
   ============================================ */
.archive-container,
.search-container,
.page-container {
    display: flex;
    gap: 40px;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
}

.content-area {
    flex: 1;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 20px;
}

.post-card-title {
    font-size: 18px;
    margin: 10px 0;
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--gray-color);
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 50px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 5px;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--dark-color);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.error-number {
    font-size: 120px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.error-title {
    font-size: 32px;
    margin: 20px 0;
}

.error-message {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.error-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-color);
    color: #a0a0b0;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #a0a0b0;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-nav a {
    color: #a0a0b0;
    font-size: 14px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .scrollable-list {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .scrollable-item {
        margin-bottom: 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-container,
    .archive-container,
    .page-container {
        flex-direction: column;
    }
    
    .widget-area {
        width: 100%;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
        padding: 80px 20px 20px;
        transition: left 0.3s;
        overflow-y: auto;
    }
    
    .main-navigation.toggled {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        background: var(--light-gray);
        margin-top: 5px;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-excerpt {
        display: none;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .scrollable-list {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .article-header,
    .article-tags,
    .article-share,
    .author-bio,
    .post-navigation,
    .related-posts,
    .comments-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share a {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .social-share .share-label {
        display: none;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        height: 300px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-meta {
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .meta-stats {
        flex-wrap: wrap;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .ad-container,
    .article-share,
    .post-navigation,
    .related-posts,
    .comments-section,
    .back-to-top {
        display: none;
    }
    
    .single-article {
        box-shadow: none;
        padding: 0;
    }
    
    .article-content {
        font-size: 12pt;
    }
}