/**
 * Styles Responsive - Ataraxia Custom
 * 
 * @package Ataraxia_Custom
 * @author Ataraxia Lab
 * @version 1.0.0
 * @last_updated 2026-03-29 10:00:00
 */

/* Tablettes */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .content-area {
        flex-direction: column;
    }
    
    .main-content,
    .widget-area {
        width: 100%;
    }

    /* Template left-sidebar sur tablette */
    .left-sidebar-container .content-area.with-left-sidebar {
        flex-direction: column;
    }
    
    .left-sidebar {
        order: 2;
        margin-top: 2rem;
    }
    
    .left-sidebar-container .main-content {
        order: 1;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Menu mobile */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        position: relative;
    }
    
    .hamburger:before,
    .hamburger:after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: #333;
        left: 0;
    }
    
    .hamburger:before {
        top: -8px;
    }
    
    .hamburger:after {
        bottom: -8px;
    }
    
    .main-navigation {
        display: block;
        width: 100%;
        margin-top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .main-navigation.toggled {
        transform: translateX(0);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-navigation li {
        text-align: center;
    }
    
    /* Typographie mobile */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .entry-meta {
        font-size: 0.9rem;
    }
    
    /* Footer widgets */
    .footer-widgets {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Back to top */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* Template hero pour mobile */
    .custom-home-container .hero-section {
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-excerpt {
        font-size: 1rem;
    }

    /* Template left-sidebar sur mobile */
    .left-sidebar-container .content-area.with-left-sidebar {
        flex-direction: column;
    }
    
    .left-sidebar {
        order: 2;
    }
    
    .left-sidebar-container .main-content {
        order: 1;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .post-thumbnail img {
        width: 100%;
        height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }
    
    .custom-home-container .hero-section {
        min-height: 250px;
    }
}

/* Impression */
@media print {
    .site-header,
    .site-footer,
    .widget-area,
    .back-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .entry-content {
        width: 100%;
    }
}