/* Styles de autres-discours.php (extraits de la page, même ordre) */

/* ===========================
   HERO
=========================== */
.disc-hero {
    background:
        linear-gradient(135deg, rgba(44,62,80,0.82) 0%, rgba(44,62,80,0.62) 100%),
        url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920') center/cover no-repeat;
    color: white;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.disc-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(228,178,113,0.07);
    pointer-events: none;
}

.hero-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.9rem; border-radius: 50px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-pill a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color .2s; }
.hero-pill a:hover { color: white; }
.hero-pill .sep { opacity: 0.35; margin: 0 0.15rem; }

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.025em; margin-bottom: 0.85rem;
}

.hero-title .accent { color: var(--secondary-color); }
.hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 480px; }

/* ===========================
   SIDEBAR (identique aux autres pages)
=========================== */
.rector-sidebar {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    position: sticky; top: 1.5rem;
}

.sidebar-head {
    background: var(--dark-color);
    padding: 1.2rem 1.5rem;
}

.sidebar-head h2 {
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0 0 0.2rem;
}

.sidebar-head p {
    color: var(--secondary-color);
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.9;
}

.snav { padding: 0.6rem; }

.snav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: 9px;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.18s;
    margin-bottom: 0.1rem;
}

.snav a .ni {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: #f3f4f6;
    color: var(--dark-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; flex-shrink: 0;
    transition: all 0.18s;
}

.snav a:hover { background: #f8faff; color: var(--dark-color); }
.snav a:hover .ni { background: #e8eeff; }

.snav a.active {
    background: #eff4ff;
    color: var(--dark-color);
    border-left: 3px solid var(--secondary-color);
}

.snav a.active .ni { background: var(--secondary-color); color: white; }

.snav a .nc {
    margin-left: auto;
    font-size: 0.6rem;
    opacity: 0.35;
    transition: all 0.18s;
}

.snav a:hover .nc,
.snav a.active .nc { opacity: 0.9; transform: translateX(2px); }

.sidebar-foot {
    padding: 0.85rem 1rem;
    border-top: 1px solid #f0f2f8;
}

/* ===========================
   PAGE BACKGROUND
=========================== */
.page-bg { background: #f8f9fa; }

/* ===========================
   SECTION TITLE (style index.php)
=========================== */
.section-title-line {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.section-title-line::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* ===========================
   FEATURED DISCOURSE
=========================== */
.featured-disc {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.featured-disc-img {
    width: 260px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.featured-disc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-disc:hover .featured-disc-img img { transform: scale(1.04); }

.featured-disc-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}

.featured-disc-body {
    padding: 1.75rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-disc-meta {
    display: flex; align-items: center; gap: 1rem;
    flex-wrap: wrap; margin-bottom: 0.75rem;
}

.disc-type-tag {
    font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem; border-radius: 20px;
}

.tag-ceremonie  { background: #fff3cd; color: #856404; }
.tag-institutionnel { background: #d1ecf1; color: #0c5460; }
.tag-spirituel  { background: #d4edda; color: #155724; }
.tag-international { background: #cce5ff; color: #004085; }
.tag-anniv      { background: #f8d7da; color: #721c24; }

.disc-date-meta {
    font-size: 0.75rem; color: #6b7280;
    display: flex; align-items: center; gap: 0.3rem;
}

.featured-disc-body h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.featured-disc-body p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.featured-disc-actions {
    display: flex; gap: 0.65rem; flex-wrap: wrap;
}

.btn-gold {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.45rem;
    transition: all 0.2s;
}

.btn-gold:hover {
    background: #d4a055;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(228,178,113,0.35);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark-color);
    border: 1.5px solid #d1d5db;
    padding: 0.55rem 1.1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.45rem;
    transition: all 0.2s;
}

.btn-outline-dark:hover {
    border-color: var(--dark-color);
    color: var(--dark-color);
    background: #f8f9fa;
}

/* ===========================
   STATS STRIP
=========================== */
.stats-strip {
    background: var(--dark-color);
    border-radius: 14px;
    padding: 1.2rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-block { text-align: center; flex: 1; min-width: 80px; }

.stat-block .sv {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
}

.stat-block .sl {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

/* ===========================
   FILTER BAR
=========================== */
.filter-bar {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e9f0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    flex-shrink: 0;
}

.filter-btn {
    background: #f3f4f6;
    border: 1.5px solid transparent;
    color: #374151;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}

.filter-btn:hover { border-color: var(--secondary-color); color: var(--dark-color); background: #fffbf2; }
.filter-btn.active { background: var(--secondary-color); color: var(--dark-color); border-color: var(--secondary-color); }

.filter-sep { margin-left: auto; }

.filter-year {
    background: #f3f4f6;
    border: 1.5px solid #e5e9f0;
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.filter-year:focus { border-color: var(--secondary-color); }

/* ===========================
   DISCOURSE CARD
=========================== */
.disc-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e9f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s;
}

.disc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.disc-card-img {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
}

.disc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.35s;
}

.disc-card:hover .disc-card-img img { opacity: 0.85; transform: scale(1.04); }

.disc-card-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end;
    padding: 0.85rem;
}

.disc-duration {
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: auto;
}

.disc-card-body {
    padding: 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.disc-card-meta {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.disc-card-body h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.disc-card-body p {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.55;
    flex: 1;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.disc-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    gap: 0.5rem;
}

.disc-loc {
    font-size: 0.7rem;
    color: #9ca3af;
    display: flex; align-items: center; gap: 0.25rem;
    flex-shrink: 0;
}

.btn-disc-read {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    display: flex; align-items: center; gap: 0.35rem;
    transition: all 0.18s;
    white-space: nowrap;
}

.btn-disc-read:hover { background: #d4a055; color: var(--dark-color); }

/* ===========================
   ARCHIVE TABLE
=========================== */
.archive-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e9f0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.archive-card-head {
    background: #fafbff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e9f0;
    display: flex; align-items: center; gap: 0.6rem;
}

.archive-card-head h4 {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--dark-color);
    margin: 0;
}

.archive-head-icon {
    width: 30px; height: 30px; border-radius: 7px;
    background: var(--secondary-color); color: var(--dark-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}

.archive-row {
    display: flex; align-items: center;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #f5f6fa;
    gap: 1rem;
    transition: background 0.15s;
}

.archive-row:last-child { border-bottom: none; }
.archive-row:hover { background: #fffcf5; }

.arc-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    width: 72px;
    flex-shrink: 0;
}

.arc-icon {
    width: 32px; height: 32px; border-radius: 7px;
    background: #f3f4f6; color: var(--dark-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; flex-shrink: 0;
    transition: all 0.18s;
}

.archive-row:hover .arc-icon { background: var(--secondary-color); }

.arc-info { flex: 1; min-width: 0; }
.arc-info h5 { font-size: 0.82rem; font-weight: 700; color: var(--dark-color); margin: 0 0 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arc-info span { font-size: 0.7rem; color: #9ca3af; }

.arc-action {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    display: flex; align-items: center; gap: 0.2rem;
    transition: color 0.18s;
}

.arc-action:hover { color: #b07b30; }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fu  { animation: fadeUp 0.5s ease both; }
.d1  { animation-delay: 0.08s; }
.d2  { animation-delay: 0.16s; }
.d3  { animation-delay: 0.24s; }
.d4  { animation-delay: 0.32s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 767px) {
    .featured-disc { flex-direction: column; }
    .featured-disc-img { width: 100%; height: 200px; }
    .stats-strip { justify-content: center; gap: 1.5rem; }
}

@media (max-width: 991px) {
    .rector-sidebar { position: static; }
}
