/*
Theme Name: LaMachinerie 2026 - Hello Elementor Child
Template: hello-elementor
Author: Elementor Team &amp; ProduNet
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 1.0.1768578735
Updated: 2026-01-16 16:52:15

*/

.al-center { text-align: center; }
.al-left { text-align: left; }
.al-right { text-align: right; }

.pos-sticky { position: sticky; }
.top-0 { top: 0; }

.ratio-carre {
	aspect-ratio: 1 / 1;
}

.non-souligne, .non-souligne * {
    text-decoration: none !important;
}

/* Header  */
.ekit-template-content-header {
	position: sticky;
	top: 0;
	z-index: 10000;
	background: white;
}
/*.lm-sticky-header {
	position: fixed;
	top: 0;
	z-index: 10000;
	background: white;
	height: 100px;
}*/

/*div:has(.lm-sticky-header) {
	margin-bottom: 100px;
}*/

/* Home - Newsletter  */
.lm-newsletter-email {

}

.lm-newsletter-inscrire {
	margin: auto;
}

.lm-global-center {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}



/******************************************************************************
 * Ateliers
 *****************************************************************************/

body:not([data-elementor-device-mode="mobile"]) .ateliers-nav {
	position: sticky;
	top: 125px;
}

/******************************************************************************
 * Actualités
 *****************************************************************************/

/* cards */
.elementor-widget-elementskit-blog-posts .row > div {
	margin-bottom: 30px;
}
.elementskit-post-image-card {
	display: flex;
    flex-direction: column;
	height: 100%;
}
.elementskit-post-image-card .elementskit-entry-header .elementskit-entry-thumb>img {
    object-fit: cover;
    height: 250px;
}
.elementskit-post-body {
	flex: 1;
}



h1.archive-title {
	margin: 140px 0 60px 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 24px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var( --e-global-color-0913c63 );
    color: var( --e-global-color-4bdcf46 );
}

.post-card * {
    color: var( --e-global-color-4bdcf46 );
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-card-inner {
    display: flex;
    flex-direction: column;
}

.post-thumbnail {
    /*aspect-ratio: 1/4;*/
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    /*
    transform: scale(1.05);
    */
}

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    /*
    color: #666;
    margin-bottom: 0.5rem;
    */
    font-size: 0.85rem;
}

.post-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    line-height: 1.3;
    min-height: 3em;
}

.post-title a {
    /*
    color: #333;
    */
    text-decoration: none;
}

.post-title a:hover {
    /*
    color: #0073aa;
    */
}

.post-excerpt {
    /*
    color: #666;
    margin-bottom: 1rem;
    */
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    font-style: italic;
}

.read-more {
    display: inline-block;
    /*
    color: #0073aa;
    */
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #0073aa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    /*
    background: #0073aa;
    color: #fff;
    */
}

/* Responsive */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-thumbnail {
        /*aspect-ratio: 9/16;*/
    }
}


/******************************************************************************
 * Agenda
 *****************************************************************************/

/**
 * Navigation
 */
.agenda-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
    margin-bottom: 2rem;
    font-family: "Barlow", Sans-serif;
}

.agenda-nav-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.agenda-nav-prev,
.agenda-nav-next {
    font-size: 1.8rem;
    color: #1a1a1a;
    text-decoration: none !important;
    line-height: 1;
    transition: color 0.2s;
}

.agenda-nav-prev:hover,
.agenda-nav-next:hover {
    color: #c0392b;
}

.agenda-empty {
    text-align: center;
    color: #888;
    padding: 2rem 0;
}


/**
 * Grille des événements
 */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }
}

.agenda-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    background: #F2F3F9;
    border: 1px solid #eee;
    font-family: "Barlow", Sans-serif;
}

.agenda-thumbnail {
    flex: 0 0 220px;
    overflow: hidden;
}

.agenda-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agenda-content {
    flex: 1;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.agenda-date-time {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.agenda-date {
    font-weight: 700;
    font-size: 1.2rem;
    color: #F70024;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.agenda-time {
    font-weight: 700;
    font-size: 1.2rem;
    color: #F70024;
    border-bottom: 2px solid #F70024;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    width: fit-content;
}

.agenda-title {
    margin: 0 0 0.5rem 0;
    line-height: 2rem;
}

.agenda-title a {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #222439;
    text-decoration: none;
}

.agenda-title a:hover {
    color: #F70024;
}

.agenda-location {
    font-size: 1rem;
    color: #222439;
    margin-top: 0.25rem;
}

.agenda-category {
    font-size: 1rem;
    color: #F70024;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .agenda-item {
        flex-direction: column;
    }
    .agenda-thumbnail {
        flex: 0 0 200px;
        width: 100%;
    }
}

/**
 * Détail événement
 */
.evenement-detail {
    margin: 40px 0;
}

.evenement-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.evenement-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
}

.evenement-content {
    margin: 0 2rem 2rem 2rem;
}

.evenement-back {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
}

.evenement-back:hover {
    text-decoration: underline;
}