/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.3.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?hash=48eb3f89");
@import url("base.css?hash=7c5543be");
@import url("utilities.css?hash=d8f72c42");
@import url("common.css?hash=843d5d5f");
@import url("links.css?hash=18286e16");
@import url("content.css?hash=d0e24377");
@import url("buttons.css?hash=56f0d25f");
@import url("cp.css?hash=50d868ab");
@import url("forms.css?hash=9016b55c");
@import url("icons.css?hash=64da33ce");
@import url("colours.css?hash=fcb2f289");
@import url("responsive.css?hash=c9d32cba");


/* Slider derniers messages dans la bannière */
.latest-posts-slider {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 4px;
    padding: 6px 10px 10px;
    color: #f5f5f5;
    overflow: hidden;
}
.latest-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.latest-posts-title {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}
.latest-posts-controls {
    display: flex;
    gap: 4px;
}
.lp-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.lp-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
.latest-posts-viewport {
    overflow: hidden;
    width: 100%;
}
.latest-posts-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}
.latest-posts-item {
    box-sizing: border-box;
    padding: 6px 8px;
    margin-right: 6px;
    background-color: rgba(40, 40, 40, 0.65);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.13);
}
.latest-posts-item:last-child {
    margin-right: 0;
}
.lp-post-title {
    font-size: 0.95em;
    margin: 0 0 3px;
    font-weight: bold;
}
.lp-post-title a {
    color: #fff;
    text-decoration: none;
}
.lp-post-title a:hover {
    text-decoration: underline;
}
.lp-meta {
    font-size: 0.75em;
    color: #ddd;
    margin-bottom: 4px;
}
.lp-author {
    font-weight: bold;
}
.lp-topic {
    color: #d7e3ff;
}
.lp-topic:hover {
    text-decoration: underline;
}
.lp-sep {
    margin: 0 3px;
    opacity: 0.8;
}
.lp-excerpt {
    font-size: 0.8em;
    color: #f0f0f0;
    line-height: 1.3;
    max-height: 3.2em; /* 2–3 lignes */
    overflow: hidden;
}
/* Adaptation mobile : un post à la fois sur petits écrans */
@media (max-width: 700px) {
    .latest-posts-slider {
        padding: 6px 6px 8px;
    }
    .latest-posts-title {
        font-size: 1em;
    }
    .lp-excerpt {
        max-height: 4em;
    }
}