/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .site-branding {
        width: 100%;
        margin-bottom: 1rem;
    }

    .main-navigation {
        order: 2;
        width: 100%;
    }

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

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
        order: 1;
        margin-left: auto;
    }

    .header-search {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .welcome-section {
        padding: 3rem 0;
    }

    .welcome-title {
        font-size: 2rem;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .site-main {
        padding: 1rem 0;
    }

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

    .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

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

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

    .welcome-section {
        padding: 2rem 0;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-description {
        font-size: 1rem;
    }

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

    .cta-title {
        font-size: 2rem;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .site-header-inner {
        padding: 0.5rem 0;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .language-switcher ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .post-item {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .welcome-button,
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .pagination-list {
        flex-wrap: wrap;
    }
}

/* Landscape Orientation */
@media (max-height: 480px) and (orientation: landscape) {
    .site-header {
        position: relative;
    }

    .welcome-section {
        padding: 2rem 0;
    }

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

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Add high-resolution specific styles here */
}

/* Print Styles */
@media print {
    .site-header,
    .main-navigation,
    .header-search,
    .language-switcher,
    .sidebar,
    .site-footer,
    .welcome-button,
    .cta-button,
    .read-more {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .entry-title {
        page-break-after: avoid;
    }

    .post-item {
        page-break-inside: avoid;
        border: none;
        margin-bottom: 1.5cm;
    }

    img {
        max-width: 100% !important;
    }
}
