/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Styles de navigation */
.navbar-default {
    background-color: #fff;
    border-color: #e7e7e7;
    padding-top: 0;
}

.navbar-header {
    padding-top: 0;
    margin-top: 0;
}

.navbar-brand {
    margin: 0;
    padding: 5px 15px;
    height: auto;
}

.navbar-brand img {
    width: 152px;
    height: 70px;
    margin: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Styles de page */
.header-title {
    text-align: center;
    padding: 2rem 0;
}

.header-title h2 {
    color: #333;
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.clearfix {
    clear: both;
}

/* Styles de la page header */
.page-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.page-title h2 {
    color: #333;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.page-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.page-breadcrumb li {
    display: inline;
}

.page-breadcrumb li a {
    color: #666;
    text-decoration: none;
}

.page-breadcrumb li.active {
    color: #333;
}

/* Styles de contenu */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    margin: 0 -15px;
}

.col-md-12 {
    width: 100%;
    padding: 0 15px;
}

/* Styles de table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Styles de footer */
.footer-sidebar {
    background-color: #f8f8f8;
    padding: 30px 0;
    margin-top: 30px;
}

.site-info {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

/* Styles de bouton */
.scrollup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    display: none;
}

/* Styles de recherche */
.search_btn {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit_search {
    width: 100%;
    padding: 8px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

/* Styles d'accessibilité */
.busiprof-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Styles de contenu flexible */
.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.is-layout-grid {
    display: grid;
    gap: 0.5em;
}

/* Styles de colonnes */
.wp-block-columns {
    gap: 2em;
}

/* Styles de template */
.wp-block-post-template {
    gap: 1.25em;
}

/* Styles de citation */
.wp-block-pullquote {
    font-size: 1.5em;
    line-height: 1.6;
}

/* Styles de boutons */
.wp-block-button__link {
    color: #fff;
    background-color: #32373c;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}

.wp-block-file__button {
    background: #32373c;
    color: #fff;
    text-decoration: none;
}

/* Styles d'images */
img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* Styles de logo */
.custom-logo {
    width: 154px;
    height: auto;
}

/* Styles de légende */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
}

/* Styles de mise en page */
:where(.is-layout-flex) {
    gap: 0.5em;
}

:where(.is-layout-grid) {
    gap: 0.5em;
}

body .is-layout-flex {
    gap: 0.5em;
}

.is-layout-flex > :is(*, div) {
    margin: 0;
}

body .is-layout-grid {
    gap: 0.5em;
}

.is-layout-grid > :is(*, div) {
    margin: 0;
}

/* Styles de colonnes WordPress */
:where(.wp-block-columns.is-layout-flex) {
    gap: 2em;
}

:where(.wp-block-columns.is-layout-grid) {
    gap: 2em;
}

/* Styles de template WordPress */
:where(.wp-block-post-template.is-layout-flex) {
    gap: 1.25em;
}

:where(.wp-block-post-template.is-layout-grid) {
    gap: 1.25em;
}

/* Styles de citation WordPress */
:root :where(.wp-block-pullquote) {
    font-size: 1.5em;
    line-height: 1.6;
}

/* Styles d'impression */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    a[href]:after {
        content: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .navbar,
    .footer-sidebar,
    .scrollup {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    img {
        max-width: 100%;
    }
    
    table, img {
        page-break-inside: avoid;
    }
}

/* Styles d'écran */
@media screen {
    .printfriendly {
        display: block;
    }
    
    .printfriendly a,
    .printfriendly a:visited {
        color: #000;
        text-decoration: none;
    }
    
    .printfriendly.pf-alignleft {
        text-align: left;
    }
    
    .printfriendly.pf-alignright {
        text-align: right;
    }
    
    .printfriendly.pf-aligncenter {
        text-align: center;
    }
}

/* Styles de bouton d'impression */
.pf-button-img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

img.pf-button-img + .pf-button-text {
    display: inline-block;
    vertical-align: middle;
}

.pf-button.pf-button-excerpt {
    display: inline-block;
    padding: 5px 10px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.slider {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider .item {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.slider .item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.slider .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
}

.slider .slide-caption h2 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #fff;
}

.slider .slide-caption p {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

/* Styles pour les sections événements et actualités */
.hero-info .info-card {
    animation: slideInRight 0.8s ease-out;
}

.event-item, .news-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.event-item:hover, .news-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.border-left {
    border-left: 4px solid;
}

.border-primary {
    border-left-color: #007bff !important;
}

.border-success {
    border-left-color: #28a745 !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .hero-info .card-body {
        max-height: 200px !important;
    }
    
    .info-card {
        margin-bottom: 1rem !important;
    }
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .hero-info .card-body {
        max-height: 200px !important;
    }
    
    .info-card {
        margin-bottom: 1rem !important;
    }
}