/* Header horizontal */
/* Logo */

.navbar-brand img{
    max-height:80px;
    width:auto;
}

/* Liens du menu */

.mod-menu a{
    color:#2d6cdf;
    font-weight:600;
    font-size:18px;
}

.mod-menu a:hover{
    color:#006605;
}

/* Taille du logo */

.navbar-brand img {
    max-height: 80px;
    width: auto;
}

.container-header{
    background:#ffffff;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:999;
}
.container-header::after{
    content:"";
    display:block;
    height:4px;
    background:#f4b400;
}

/* Version plus petite */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 80px;
    }
}



.navbar-brand img{
    max-height:90px;
}

.mod-menu{
    margin-top:15px;
}


/* MENU MODERNE */

.fss-header .mod-menu{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
}

.fss-header .mod-menu li{
    list-style:none;
}

.fss-header .mod-menu a{
    display:block;
    text-decoration:none;
    color:#006605;
    font-size:18px;
    font-weight:600;
    padding:10px 16px;
    border-radius:8px;
    transition:all .3s ease;
}

.fss-header .mod-menu a:hover{
    background:#006605;
    color:#ffffff;
}

.fss-header .mod-menu .current > a,
.fss-header .mod-menu .active > a{
    background:#006605;
    color:#ffffff;
}




/* ===========================
   HEADER FSS
   =========================== */

.fss-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 40px;
    background:white;
}

.navbar-brand img{
    max-height:90px;
    width:auto;
}

.fss-header .container-nav{
    flex:1;
    margin-left:50px;
}

.fss-header .mod-menu{
    display:flex;
    justify-content:flex-end;
    gap:30px;
    margin:0;
    padding:0;
    list-style:none;
}

.fss-header .mod-menu li{
    list-style:none;
}

.fss-header .mod-menu a{
    color:#2d6cdf;
    text-decoration:none;
    
}



.hero-univ{
    min-height:550px;

    background:
    linear-gradient(
        rgba(0, 102, 2, 0.75),
        rgba(0, 102, 2, 0.75)
    ),
    url('/fss_2026/images/campusfss.jpg');

    background-size:cover;
    background-position:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,51,102,.20);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:white;
}

.hero-overlay h1{
    font-size:70px;
    font-weight:700;
}

.hero-overlay p{
    font-size:24px;
}

.btn-univ{
    padding:15px 35px;
    border-radius:8px;
    background:#f4b400;
    color:#006605;
    text-decoration:none;
    font-weight:700;
}

/* Forcer l'affichage du menu */

.fss-header .mod-menu a,
.mod-menu a,
.metismenu.mod-menu a{
    color:#006605 !important;
    opacity:1 !important;
    visibility:visible !important;
}

/* Menu actif */

.mod-menu .current > a,
.mod-menu .active > a{
    background:#006605;
    color:#ffffff !important;
}

/* Survol */

.mod-menu a:hover{
    background:#006605;
    color:#ffffff !important;
}


/* ===========================
   ACTUALITES UCONN STYLE
   =========================== */

.news-cards .mod-articles{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.news-cards article{
    background:#ffffff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.news-cards article:hover{
    transform:translateY(-8px);
}

.news-cards img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.news-cards .mod-articles-title{
    padding:20px;
    font-size:28px;
    font-weight:700;
    color:#006605;
}

.news-cards .mod-articles-category-title{
    padding:0 20px;
}

.news-cards .readmore{
    padding:20px;
}

.news-cards .readmore a{
    color:#0056b3;
    font-weight:700;
    text-decoration:none;
}


.uconn-news .mod-articles{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.uconn-news article,
.uconn-news li{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    list-style:none;
}

.uconn-news article:hover,
.uconn-news li:hover{
    transform:translateY(-8px);
}



.uconn-news h4{
    font-size:24px;
    font-weight:700;
    padding:20px;
    margin:0;
}

.uconn-news .mod-articles-category-date{
    padding:0 20px;
}

.uconn-news .readmore{
    padding:20px;
}

/* ==========================
   ACTUALITES UNIVERSITE
   ========================== */

.container-top-a .mod-articles{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.container-top-a article,
.container-top-a li{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:.3s;
    list-style:none;
}

.container-top-a article:hover,
.container-top-a li:hover{
    transform:translateY(-8px);
}

.container-top-a img{
    width:100%;
    height:250px;
    object-fit:cover;
    display:block;
}

/* .uconn-news img{
    width:50%;
    height:300px;
    object-fit:cover;
    display:block;
} */

.uconn-news img{
    display:block;
    margin:0 auto;
    width:85%;   /* ajuste selon la taille souhaitée */
    height:90%;
    object-fit:cover;
}

.container-top-a h3,
.container-top-a h4{
    font-size:24px;
    font-weight:700;
    color:#006605;
    padding:20px;
    margin:0;
}

.container-top-a p{
    padding:0 20px 15px 20px;
}

.container-top-a .readmore{
    padding:0 20px 20px 20px;
}

.container-top-a .readmore a{
    display:inline-block;
    background:#006605;
    color:#080000;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
}

/* =========================================================
   FOOTER FSS - JOOMLA 6 / CASSIOPEIA
   ========================================================= */


/* =========================================================
   CONTENEUR PRINCIPAL JOOMLA
   ========================================================= */

.container-footer {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 30px 0 0 !important;

    background: #a2c49c;
    border-top: 4px solid #006605;

    box-sizing: border-box;
}


/* =========================================================
   CONTENEUR CASSIOPEIA
   ========================================================= */

.container-footer .grid-child {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}


/* =========================================================
   FOOTER PRINCIPAL
   ========================================================= */

.fss-footer {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 30px;

    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        1fr
        1.3fr;

    gap: 35px;

    align-items: start;

    box-sizing: border-box;
}


/* =========================================================
   COLONNES
   ========================================================= */

.footer-col {
    min-width: 0;
}


/* Première colonne centrée */
.footer-col:first-child {
    text-align: center;
}


/* =========================================================
   TITRES DES COLONNES
   ========================================================= */

.footer-col h3 {
    display: flex;
    align-items: center;

    width: 100%;

    background: #006605;
    color: #ffffff;

    padding: 9px 14px;
    margin: 0 0 15px 0;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.3;

    white-space: nowrap;

    box-sizing: border-box;
}


/* Ligne décorative après le titre */

.footer-col h3::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #ffffff;

    opacity: 0.35;

    margin-left: 12px;
}


/* =========================================================
   LOGO
   ========================================================= */

.footer-logo {
    width: 118px;
    height: auto;

    display: block;

    margin: 10px auto 15px;
}


/* =========================================================
   TEXTES
   ========================================================= */

.footer-col p {
    margin: 8px 0;

    color: #ffffff;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   LISTES
   ========================================================= */

.footer-col ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.footer-col li {
    margin: 0;

    padding: 9px 0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.20);

    color: #ffffff;

    font-size: 14px;
}


/* =========================================================
   LIENS
   ========================================================= */

.footer-col a {
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.2s ease;
}


.footer-col a:hover {
    color: #3ddc62;
}


/* =========================================================
   CARTE
   ========================================================= */

.footer-map {
    width: 100%;
    max-width: 235px;

    height: auto;

    display: block;

    margin: 0 0 10px 0;

    border-radius: 7px;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.footer-bottom {
    width: 100% !important;
    max-width: none !important;

    margin: 25px 0 0 !important;

    padding: 15px 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.20);

    color: #ffffff;

    font-size: 13px;

    line-height: 1.5;

    text-align: center !important;

    box-sizing: border-box;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

    .fss-footer {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container-footer {
        padding-top: 25px !important;
    }


    .fss-footer {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 0 20px;
    }


    .footer-col h3 {
        font-size: 17px;
    }


    .footer-logo {
        width: 110px;
    }


    .footer-map {
        width: 100%;
        max-width: 100%;
    }


    .footer-bottom {
        padding: 15px 20px;

        font-size: 12px;
    }

}


/* =========================================================
   SÉCURITÉ - ÉVITER LES DÉBORDEMENTS
   ========================================================= */

.container-footer,
.container-footer *,
.fss-footer,
.footer-col {
    box-sizing: border-box;
}