/**
 * Theme Name: Astra Child
 * Author: Brainstorm Force
 * Author URI: http://wpastra.com/about/
 * Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites.
 * It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code
 * integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you full control for customizations.
 * Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly.
 * Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons
 * # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force.
 * Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
 * Version: 1.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: astra-child
 * Template: astra
 */

/* Base container settings for event details */
.event-details-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Styling for the date and venue container */
.event-date-venue {
    flex: 1 0 45%; /* Contrôle la largeur du bloc de texte à 45% sur les grands écrans */
    padding-right: 20px; /* Espace entre le texte et l'image */
}

.entry-content h1 {
margin-top:4px;
margin-bottom:15px;
}

/* Styling for the featured image container */
.event-featured-image {
    flex: 1 0 55%; /* Contrôle la largeur de l'image à 55% sur les grands écrans */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for the venue details */
.event-venue-name, .tribe-block__venue__address, .event-date-venue p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

/* Ensure the images are responsive */
.event-featured-image img {
    width: 100%; /* Assure que l'image s'adapte à la taille de son conteneur */
    height: auto;
}



/* Button styles within event tags section */
.tribe-events-single-section.tribe-events-section-tags .wp-block-button__link {
    color: white;
    background-color: black;
    text-decoration: none;
    border: none;
    padding: 8px 16px;
    display: inline-block;
    margin: 2px;
}

.tribe-events-single-section.tribe-events-section-tags .wp-block-button__link:hover,
.tribe-events-single-section.tribe-events-section-tags .wp-block-button__link:focus {
    background-color: #333; /* Slightly lighter black for hover */
    color: #ddd; /* Light gray for text on hover */
    text-decoration: none;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .event-details-container {
        flex-direction: column; /* Empile les blocs verticalement sur les petits écrans */
    }

    .event-date-venue,
    .event-featured-image {
        flex-basis: 100%; /* Permet à chaque bloc de prendre toute la largeur disponible sur les petits écrans */
    }
}

.nav-links {
    display: none !important;
}


