@charset "utf-8";

/**
 * Theme Name: ADN A11y
 * Theme URI: https://adncomm.com/adn-a11y
 * Description: Ce thème minimaliste est utilisé par ADN communication pour le développement et l'optimisation de votre site web. Il a été conçu pour être accessible, et prêt pour Elementor Pro.
 * Author: ADN communication - A11y
 * Author URI: https://adncomm.com
 * Version: 2.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: adn-comm
 * Tags: accessibility-ready
 * Tested up to: 6.8
 * Requires PHP: 8.2
 * 
 * Copyright (C) 2025 ADN Communication
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you’ve learned with others.
 */

/* Caption wrapper */
.wp-caption {
    max-width: 100%;
    padding: 5px;
    margin: 0 0 1em;
    border: 1px solid #ddd;
    text-align: center;
}
.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0;
}
.wp-caption-text {
    font-size: 0.9em;
    line-height: 1.4;
    color: #555;
    margin-top: 0.3em;
}

/* Sticky posts */
.sticky {
    border-left: 4px solid #0073aa;
    padding-left: 10px;
}

/* Gallery captions */
.gallery-caption {
    font-size: 0.9em;
    line-height: 1.3;
    text-align: center;
    color: #666;
    margin-top: 0.5em;
}

/* Posts by author */
.bypostauthor {
    font-weight: bold;
}

/* Alignment classes */
.alignright {
    float: right;
    margin-left: 1.5em;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen reader styles */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* Added for screen readers */
    border: 0;
}
.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
