/*
    mvc.css
    Styles additionnels pour le layout MVC de SPIRITUS
*/

/* Test visuel pour forcer le rechargement */
body {
    background-color: #f8f9ff;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
}

img,
video,
iframe {
    max-width: 100%;
}

.admin-table-wrapper,
.settings-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.theme-page-eff0f8 {
    background-color: #eff0f8;
}

.error-body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    place-items: center;
    background: #eff0f8;
}

.error-page {
    box-sizing: border-box;
    width: min(90%, 620px);
    padding: 3rem 2rem;
    text-align: center;
    background: #ffffff;
    border: 1px solid #c8cdef;
    border-top: 6px solid #151c70;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(21, 28, 112, 0.15);
}

.error-code {
    color: #151c70;
    font-size: clamp(4rem, 14vw, 8rem);
    font-weight: 700;
    line-height: 1;
}

.error-page h1 {
    margin: 1rem 0 0.75rem;
    color: #252b68;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.error-page p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.error-home-link {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    background: #151c70;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.error-home-link:hover,
.error-home-link:focus-visible {
    background: #3e3a9b;
    color: #ffffff;
}

.theme-bg-e2e4f8 {
    background-color: #e2e4f8;
}

.theme-bg-e1e1e7 {
    background-color: #e1e1e7;
}

.theme-bg-e5e8ff {
    background-color: #e5e8ff;
}

.theme-bg-7b00a4 {
    background-color: #7b00a4;
}

.theme-bg-f6f8f8 {
    background-color: #f6f8f8;
}

.theme-bg-e3f3e3 {
    background-color: #e3f3e3;
}

.theme-bg-f3e3e3 {
    background-color: #f3e3e3;
}

.theme-text-ede3f3 {
    color: #ede3f3;
}

.theme-text-14737e {
    color: #14737e;
}

.theme-text-e3f3e3 {
    color: #e3f3e3;
}

.theme-text-f3e3e3 {
    color: #f3e3e3;
}

.theme-text-eff0f8 {
    color: #eff0f8;
}

#laPage {
    position: relative;
    width: 100% !important;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    padding: 1em 1em 4.5em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

#spirit_leSaint {
    color: #ffffff;
    background-color: #151c70;
    text-align: center;
    padding: 0.8em;
    border-radius: 8px;
    margin: 0.5em 0;
    font-weight: bold;
}

#spirit_leSaint a {
    color: #ffffff;
}

.content-columns {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 1em;
}

#lateralG {
    width: auto;
    padding: 1em;
    min-height: 400px;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    border-radius: 0 0 8px 0;
}

#lateralD {
    width: auto;
    padding: 1em;
    min-height: 400px;
    border-radius: 0 0 0 8px;
}

#lateralD h2 {
    text-align: center;
    color: #151c70;
    margin-bottom: 0.5em;
    font-size: 1.2rem;
}

.menuVertic {
    background-color: #f8f9ff;
    border-radius: 8px;
    padding: 0.5em;
    margin-top: 0.5em;
}

.menuVertic ul {
    list-style: none;
}

.menuVertic li {
    margin: 0.4em 0;
}

.menuVertic a {
    display: block;
    padding: 0.4em;
    color: #151c70;
    border-radius: 4px;
    transition: background 0.3s;
}

.menuVertic a:hover {
    background-color: #151c70;
    color: #f8f9ff;
}

#lePied {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    clear: both;
    text-align: center;
    padding: 3em;
    background: #252b68 !important;
    color: #f4f6ff;
    border-radius: 8px 8px 0 0;
    margin-top: 0;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.site-footer a {
    color: #e5e8ff;
    font-weight: 600;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.35rem 1rem;
    min-width: 280px;
    text-align: left;
}

.footer-links strong {
    grid-column: 1 / -1;
    color: #f4f6ff;
}

.footer-admin-message {
    margin: 0;
    color: #d8dcf3;
}

.nettoyeur {
    clear: both;
}

.admin-dashboard {
    padding: 1.5rem;
}

.admin-dashboard > .admin-module-header {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #252b68;
    color: #ffffff;
    border-radius: 8px;
}

.admin-dashboard > .admin-module-header h1,
.admin-dashboard > .admin-module-header p {
    color: #ffffff;
}

.admin-dashboard > .admin-module-header h1 {
    margin-bottom: 0.35rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    min-height: 120px;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(21, 28, 112, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover,
.dashboard-card:focus-visible {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(21, 28, 112, 0.22);
}

.dashboard-card-value {
    font-size: 2.1rem;
    font-weight: 700;
}

.dashboard-card-label {
    margin-top: 0.25rem;
    font-size: 1.05rem;
}

.card-articles { background: #9c7b20; }
.card-prayers { background: #151c70; }
.card-novenas { background: #6b3fa0; }
.card-users { background: #216598; }
.card-settings { background: #555f78; }
.card-textes { background: #164666; }
.card-vatican { background: #4a6fa5; }
.card-cef { background: #3d9b9a; }
.card-kto { background: #9c7b20; }

.admin-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #252b68;
    color: #ffffff;
    border-radius: 8px;
}

.admin-dashboard-header h1,
.admin-dashboard-header p {
    color: #ffffff;
}

.admin-eyebrow {
    margin-bottom: 0.35rem;
    color: #d8dcf3 !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-site-link {
    flex: 0 0 auto;
    padding: 0.6rem 0.9rem;
    background: #ffffff;
    color: #252b68;
    border-radius: 5px;
    font-weight: 600;
}

.dashboard-group {
    margin-bottom: 1.5rem;
}

.dashboard-group h2 {
    margin-bottom: 0.75rem;
    color: #252b68;
    font-size: 1.15rem;
}

.dashboard-group h2::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #d8dcf3;
    margin: 0.7rem 0;
}

.dashboard-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-alert-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: #fff1bf;
    border-left: 5px solid #c5a72b;
    border-radius: 6px;
    color: #6e5100;
}

.dashboard-alert-card strong {
    font-size: 1.05rem;
}

.dashboard-alert-card span {
    font-size: 0.9rem;
}

.dashboard-info-card {
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(21, 28, 112, 0.08);
}

.dashboard-info-card h2 {
    color: #252b68;
    font-size: 1.1rem;
    font-weight: 700;
}

.dashboard-info-card h2::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #d8dcf3;
    margin: 0.5rem 0;
}

.dashboard-info-card a {
    color: #3e3a9b;
    font-weight: 600;
}

.dashboard-info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-actus p{
    margin: 0.5rem 0;
}

.dashboard-actus a{
    display: block;
    text-decoration: none;
    color: #3e3a9b;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.dashboard-actus a:hover{
    background-color: #e0e0e0;
}

.dashboard-cron-status li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #eef0f8;
    font-size: 0.9rem;
}

.dashboard-cron-status li:last-child {
    border-bottom: 0;
}

.dashboard-rapides p{
    padding: 0.5rem 0.3rem;
    margin: 0.2rem 0;
}

.dashboard-rapides p:last-child{
    margin-bottom: 0;
}

.dashboard-rapides p a{
    display: block;
    text-decoration: none;
    color: #3e3a9b;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.dashboard-rapides p a:hover{
    background-color: #e0e0e0;
}

.cron-status {
    min-width: 4.5rem;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cron-reussi {
    background: #e3f3e3;
    color: #155d15;
}

.cron-echoue {
    background: #f3e3e3;
    color: #700000;
}

.cron-en_cours {
    background: #fff1bf;
    color: #6e5100;
}

.dashboard-cron-status small {
    margin-left: auto;
    color: #657080;
    white-space: nowrap;
}

.draft-list {
    display: grid;
    gap: 1rem;
}

.draft-card {
    padding: 1.25rem;
    background: #fffaf0;
    border: 1px solid #e4d58b;
    border-left: 5px solid #c5a72b;
    border-radius: 6px;
}

.draft-card h2 {
    color: #6e5100;
}

.draft-content {
    margin: 1rem 0;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #eee2b5;
    line-height: 1.6;
}

.admin-module {
    padding: 1.5rem;
    background: #f4f2ff;
    border: 1px solid #aaa2d7;
    border-radius: 8px;
}

.admin-module-header {
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 0.9rem 1.5rem;
    background: #252b68;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
}

.admin-module-header h1 {
    color: #ffffff;
    font-size: 1.4rem;
}

/* Formulaire sujet de résumé */
.admin-sujet-form form {
    max-width: 720px;
    margin: 0 auto;
}

.sujet-form-group {
    margin-bottom: 1.25rem;
}

.sujet-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #252b68;
    font-weight: 600;
}

.sujet-form-group input[type="text"],
.sujet-form-group select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    background: #ffffff;
    font: inherit;
    color: #1e1e2f;
}

.sujet-form-group input[type="text"]:focus,
.sujet-form-group select:focus {
    outline: 2px solid #6b3fa0;
    outline-offset: 1px;
}

.sujet-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .sujet-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.sujet-form-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #252b68;
    font-weight: 600;
}

.sujet-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #aaa2d7;
}

.sujet-form-actions a {
    color: #252b68;
    font-weight: 600;
}

.admin-empty {
    padding: 1rem;
    background: #ffffff;
    border-left: 4px solid #6b3fa0;
}

.admin-actions {
    white-space: nowrap;
}

.admin-actions form {
    display: inline;
}

.admin-actions a,
.admin-actions button,
.admin-button {
    display: inline-block;
    padding: 0.4rem 0.65rem;
    border: 0;
    border-radius: 4px;
    background: #252b68;
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.admin-actions a:hover,
.admin-actions button:hover,
.admin-button:hover {
    background: #6b3fa0;
}

.admin-article-form input,
.admin-article-form textarea,
.admin-article-form select,
.admin-prayer-form input,
.admin-prayer-form textarea,
.admin-prayer-form select,
.admin-user-form input,
.admin-user-form select,
.admin-textes-exp-form input,
.admin-textes-exp-form textarea,
.admin-textes-exp-form select {
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.admin-article-form p,
.admin-prayer-form p,
.admin-user-form p,
.admin-textes-exp-form p {
    margin: 1rem 0;
}

.texte-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.texte-form-content {
    min-width: 0;
}

.texte-form-sidebar {
    padding: 1rem;
    background: #eef7f7;
    border: 1px solid #a7d6d5;
    border-radius: 8px;
}

.texte-form-sidebar p {
    margin: 0 0 1rem;
}

.texte-form-sidebar label,
.texte-form-content label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #164666;
    font-weight: 600;
}

.texte-form-sidebar input,
.texte-form-sidebar select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #8fc3c4;
    border-radius: 4px;
    font: inherit;
}

.texte-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.texte-form-actions a {
    color: #164666;
    font-weight: 600;
}

@media (max-width: 800px) {
    .texte-form-layout {
        display: flex;
        flex-direction: column;
    }

    .texte-form-sidebar {
        order: -1;
        width: 100%;
        box-sizing: border-box;
    }
}

.protected-account {
    color: #6b3fa0;
    font-weight: 600;
}

.prayer-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.prayer-form-content {
    min-width: 0;
}

.prayer-form-sidebar {
    order: 2;
    padding: 1rem;
    background: #f4f2ff;
    border: 1px solid #aaa2d7;
    border-radius: 8px;
}

.prayer-form-sidebar p {
    margin: 0 0 1rem;
}

.prayer-form-sidebar label,
.prayer-form-content label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #252b68;
    font-weight: 600;
}

.prayer-form-sidebar input,
.prayer-form-sidebar select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.prayer-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.prayer-form-actions a,
.article-form-actions a {
    color: #252b68;
    font-weight: 600;
}

.article-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.article-form-content {
    min-width: 0;
}

.article-form-sidebar {
    padding: 1rem;
    background: #f4f2ff;
    border: 1px solid #aaa2d7;
    border-radius: 8px;
}

.article-form-sidebar p {
    margin: 0 0 1rem;
}

.article-form-sidebar label,
.article-form-content label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #252b68;
    font-weight: 600;
}

.article-form-sidebar input,
.article-form-sidebar select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.article-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 800px) {
    .prayer-form-layout,
    .article-form-layout {
        display: flex;
        flex-direction: column;
    }

    .prayer-form-sidebar,
    .article-form-sidebar {
        order: -1;
        width: 100%;
        box-sizing: border-box;
    }
}

.settings-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.settings-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.settings-tab {
    padding: 0.75rem 0.9rem;
    border: 1px solid #c8cdef;
    border-radius: 5px;
    background: #ffffff;
    color: #252b68;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.settings-tab:hover,
.settings-tab.is-active {
    background: #252b68;
    color: #ffffff;
}

.settings-panels {
    min-width: 0;
}

.settings-panel {
    display: none;
    margin: 0;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 6px;
}

.settings-panel.is-active {
    display: block;
}

.settings-panel h2 {
    margin: 0 0 1rem;
    color: #252b68;
    font-size: 1.15rem;
}

.settings-group {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 6px;
}

.settings-group h2 {
    margin-bottom: 0.75rem;
    color: #252b68;
    font-size: 1.1rem;
}

.settings-table-wrapper {
    overflow-x: auto;
}

.settings-table {
    margin-top: 0;
}

.settings-table code {
    color: #45266d;
}

.settings-table td:nth-child(2) {
    width: 100%;
}

.settings-table td:nth-child(2) input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 12rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.settings-edit form {
    max-width: 720px;
}

.settings-edit textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0.5rem 0 1rem;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.admin-table th,
.admin-table td {
    border: 1px solid #151c70;
    padding: 0.5em;
    text-align: left;
}

.admin-table th {
    background-color: #e5e8ff;
}

.admin-table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-table tbody tr:hover {
    background-color: #eee3fa;
    box-shadow: inset 4px 0 0 #6b3fa0;
}

.admin-table tbody tr:hover td {
    color: #252b68;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.contact-table {
    min-width: 950px;
}

.contact-table th,
.contact-table td {
    vertical-align: top;
}

.contact-message {
    min-width: 240px;
    max-width: 360px;
    white-space: normal;
    line-height: 1.45;
}

.contact-status {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff1bf;
    color: #6e5100;
}

.status-valide {
    background: #e3f3e3;
    color: #155d15;
}

.status-rejected {
    background: #f3e3e3;
    color: #700000;
}

.item-list li,
.settings-tabs .settings-tab {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.item-list li:hover,
.item-list li:focus-within {
    background-color: #eee3fa;
    box-shadow: inset 4px 0 0 #6b3fa0;
}

.prayer-list .prayer-card:hover,
.article-list .article-card:hover,
.personal-prayers-list .personal-prayer-card:hover {
    border-color: #8b5bb8;
    box-shadow: 0 4px 10px rgba(69, 38, 109, 0.16);
}

.personal-prayers-list {
    display: grid;
    gap: 1rem;
}

.personal-prayer-card {
    margin: 0;
    padding: 1rem 1.15rem;
    background: #fbf8ff;
    border: 1px solid #d8c7ed;
    border-left: 5px solid #8b5bb8;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 6px rgba(69, 38, 109, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.personal-prayer-card h2 {
    margin-bottom: 0.5rem;
    color: #45266d;
    font-size: 1.1rem;
}

.personal-prayer-card h2 a {
    display: block;
}

.personal-prayer-card:hover,
.personal-prayer-card:focus-within {
    border-color: #6b3fa0;
    box-shadow: 0 4px 12px rgba(69, 38, 109, 0.16);
    transform: translateY(-1px);
}

.personal-prayer-card h2 a {
    color: #45266d;
}

.personal-prayer-excerpt {
    margin: 0.5rem 0 0.75rem;
    color: #555;
}

.personal-prayer-link {
    color: #6b3fa0;
    font-weight: 600;
}

.personal-prayer-detail {
    margin: 1rem auto;
    padding: 1.5rem;
    background: #fbf8ff;
    border: 1px solid #c9afe6;
    border-radius: 8px;
}

.personal-prayer-detail > p:last-child {
    margin-top: 1.5rem;
}

.personal-prayer-detail > p:last-child a {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #6b3fa0;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
}

.personal-prayer-detail > p:last-child a:hover {
    background: #45266d;
    color: #ffffff;
}

.textes-exp-page,
.texte-exp-detail {
    background: #f1fbfb;
    border: 1px solid #a7d6d5;
    color: #244b4d;
}

.textes-exp-page .page-section-header,
.texte-exp-detail .page-section-header {
    background: #216598;
    border-bottom: 3px solid #164666;
}

.textes-exp-page .page-section-header h1,
.texte-exp-detail .page-section-header h1 {
    color: #ffffff;
}

.textes-exp-list {
    display: grid;
    gap: 1rem;
}

.texte-exp-card {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #b9dede;
    border-left: 5px solid #3d9b9a;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 7px rgba(33, 101, 152, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.texte-exp-card:hover,
.texte-exp-card:focus-within {
    border-color: #216598;
    box-shadow: 0 4px 12px rgba(33, 101, 152, 0.16);
    transform: translateY(-1px);
}

.texte-exp-card h2 {
    margin-bottom: 0.5rem;
    color: #164666;
    font-size: 1.15rem;
}

.texte-exp-card h2 a {
    color: #164666;
}

.texte-exp-card p {
    margin: 0;
    color: #526769;
    line-height: 1.55;
}

.texte-exp-detail {
    margin: 1rem auto;
    padding: 1.5rem;
}

.texte-exp-summary {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #e1f3f2;
    border-left: 5px solid #3d9b9a;
    line-height: 1.6;
}

.texte-exp-content {
    color: #253b3c;
    line-height: 1.75;
}

.texte-exp-content p {
    margin-bottom: 1rem;
}

.texte-exp-detail > p:last-child {
    margin-top: 1.5rem;
}

.texte-exp-detail > p:last-child a {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #216598;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
}

.texte-exp-detail > p:last-child a:hover {
    background: #164666;
    color: #ffffff;
}

.home-news {
    grid-column: 1 / -1;
}

.home-news-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-news-source {
    min-width: 0;
    padding: 0.85rem;
    background: #f7fbff;
    border: 1px solid #c6dce9;
    border-radius: 6px;
}

.home-news-source h3 {
    margin-bottom: 0.75rem;
    color: #216598;
    font-size: 1rem;
}

.home-news-card {
    padding: 0.7rem 0;
    border-top: 1px solid #dceaf1;
    font-size: 0.94rem;
}

.home-news-card:first-of-type {
    border-top: 0;
}

.home-news-card h4 {
    font-size: 1.03rem;
    line-height: 1.35;
}

.home-news-card h4 a {
    color: #164666;
    font-size: 0.94rem;
}

.home-news-card time {
    display: block;
    margin-top: 0.35rem;
    color: #657d8a;
    font-size: 0.8rem;
}

.philosophy-page {
    background: #fffdf5;
    border: 1px solid #d9c88a;
    color: #40330f;
    line-height: 1.7;
}

.philosophy-page .page-section-header {
    background: #9c7b20;
    border-bottom: 3px solid #705914;
}

.philosophy-page .page-section-header h1 {
    color: #ffffff;
}

.philosophy-page h2 {
    margin: 1.5rem 0 0.5rem;
    color: #705914;
    font-family: Georgia, 'Times New Roman', serif;
}

.philosophy-page h2:first-of-type {
    margin-top: 0;
}

.philosophy-page li {
    margin: 0.35rem 0;
}

.christian-news-page,
.christian-news-detail {
    background: #f7fbff;
    border: 1px solid #b8d7e8;
    color: #263f50;
}

.christian-news-page .page-section-header,
.christian-news-detail .page-section-header {
    background: #216598;
    border-bottom: 3px solid #164666;
}

.christian-news-page .page-section-header h1,
.christian-news-detail .page-section-header h1 {
    color: #ffffff;
}

.news-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    margin-bottom: 1rem;
    border-bottom: 2px solid #b8d7e8;
}

.news-tab {
    flex: 0 0 auto;
    padding: 0.7rem 0.9rem;
    border: 1px solid #b8d7e8;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: #e7f3fa;
    color: #164666;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.news-tab:hover,
.news-tab.is-active {
    background: #216598;
    color: #ffffff;
}

.news-panel {
    display: none;
}

.news-panel.is-active {
    display: block;
}

.news-panel > h2 {
    margin-bottom: 1rem;
    color: #216598;
    font-size: 1.2rem;
}

.christian-news-list {
    display: grid;
    gap: 1rem;
}

.christian-news-card {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid #c6dce9;
    border-left: 5px solid #3d9b9a;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 7px rgba(33, 101, 152, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.christian-news-card:hover,
.christian-news-card:focus-within {
    border-color: #216598;
    box-shadow: 0 4px 12px rgba(33, 101, 152, 0.16);
    transform: translateY(-1px);
}

.christian-news-source {
    margin-bottom: 0.35rem;
    color: #3d9b9a;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.christian-news-card h2 {
    margin-bottom: 0.5rem;
    color: #164666;
    font-size: 1.2rem;
}

.christian-news-card h2 a {
    color: #164666;
}

.christian-news-card time,
.christian-news-detail time {
    display: block;
    margin-top: 0.75rem;
    color: #657d8a;
    font-size: 0.9rem;
}

.christian-news-detail {
    padding: 1.5rem;
}

.christian-news-detail .page-section-header {
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 1rem 1.5rem;
}

.christian-news-detail .page-section-header .christian-news-source {
    color: #d7edf8;
}

.christian-news-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
}

.christian-news-resume {
    margin: 1.25rem 0;
    padding: 1rem;
    background: #e7f3fa;
    border-left: 4px solid #3d9b9a;
    line-height: 1.6;
}

.christian-news-original,
.christian-news-detail > p:last-child a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.65rem 1rem;
    background: #216598;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
}

.christian-news-original:hover,
.christian-news-detail > p:last-child a:hover {
    background: #164666;
    color: #ffffff;
}

.admin-ephemeride-edit form p {
    margin: 0.8em 0;
}

.admin-ephemeride,
.admin-ephemeride-edit {
    padding: 1.5rem;
    background: #f4f2ff;
    border: 1px solid #aaa2d7;
    border-radius: 8px;
}

.admin-ephemeride .admin-module-header,
.admin-ephemeride-edit .admin-module-header {
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 0.9rem 1.5rem;
    background: #252b68;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
}

.admin-ephemeride h2,
.admin-ephemeride-edit h2 {
    color: #252b68;
}

.admin-ephemeride > form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.admin-ephemeride select,
.admin-ephemeride button,
.admin-ephemeride-edit button {
    padding: 0.55rem 0.75rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.admin-ephemeride button,
.admin-ephemeride-edit button {
    background: #252b68;
    color: #ffffff;
    cursor: pointer;
}

.admin-ephemeride .admin-table {
    margin-top: 1rem;
}

.admin-ephemeride .admin-table td:first-child {
    width: 4rem;
    text-align: center;
    font-weight: 700;
}

.admin-ephemeride .admin-table td:nth-child(2) {
    min-width: 16rem;
}

.admin-ephemeride .admin-table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-ephemeride .admin-table tbody tr:hover {
    background-color: #eee3fa;
    box-shadow: inset 4px 0 0 #6b3fa0;
}

.admin-ephemeride .admin-table tbody tr:hover td {
    color: #252b68;
}

.admin-ephemeride-edit form {
    max-width: 720px;
}

.admin-ephemeride-edit form p {
    margin: 1rem 0;
}

.admin-ephemeride-edit input[type="text"],
.admin-ephemeride-edit textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    padding: 0.65rem;
    border: 1px solid #aaa2d7;
    border-radius: 4px;
    font: inherit;
}

.admin-ephemeride-edit label {
    color: #252b68;
    font-weight: 600;
}

.home-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    gap: 1.25rem;
    max-width: none;
    margin: 0;
    padding: 1.25rem;
    color: #151c70;
}

.home-content section {
    margin: 0;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(21, 28, 112, 0.08);
}

.home-editorial {
    grid-column: 1;
    grid-row: span 2;
    background: linear-gradient(145deg, #e0f2fe 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    box-shadow: 0 5px 16px rgba(30, 64, 175, 0.18);
}

.home-prayers,
.home-articles {
    grid-column: 2;
}

.home-prayers ul li a,
.home-articles ul li a{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.96rem;
}

.home-editorial header h2,
.home-editorial h3 {
    color: #1e3a8a;
    font-family: Georgia, 'Times New Roman', serif;
}

.home-editorial .article-content {
    color: #1e293b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-editorial .article-content p {
    margin-bottom: 1rem;
}

.home-content section header {
    margin: -1.25rem -1.25rem 1rem;
    padding: 0.75rem 1.25rem;
    background: #e5e8ff;
    border-bottom: 1px solid #d8dcf3;
    border-radius: 10px 10px 0 0;
}

.home-content .home-editorial header {
    background: #bfdbfe;
    border-bottom-color: #93c5fd;
}

.home-content h1,
.home-content h2 {
    color: #151c70;
}

.home-editorial img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 8px;
}

.article-content {
    line-height: 1.6;
}

.home-content ul {
    margin-left: 1.25rem;
}

.home-content li {
    margin: 0.5rem 0;
}

.home-content a {
    color: #151c70;
    font-weight: 600;
}

.home-content a:hover {
    color: #3e3a9b;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .home-content {
        display: block;
    }

    .home-content section {
        margin-bottom: 1rem;
    }

    #lateralG {
        max-height: none;
        overflow-y: visible;
    }

    .home-content {
        padding: 0.75rem;
    }

    .home-content section {
        padding: 1rem;
    }

    .home-content section header {
        margin: -1rem -1rem 1rem;
        padding: 0.65rem 1rem;
    }
}

.prayer-detail > header {
    margin: -1.5rem -1.5rem 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #151c70;
    border-radius: 10px 10px 0 0;
}

.prayer-detail > header h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.2;
    font-weight: 700;
}

.prayer-summary {
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9ff;
    border: 1px solid #c8cdef;
    border-left: 5px solid #3e3a9b;
    border-radius: 0 8px 8px 0;
    color: #252b68;
    font-size: 1.08rem;
    line-height: 1.55;
    box-shadow: 0 2px 5px rgba(21, 28, 112, 0.08);
}

.prayer-summary p:first-child {
    margin-top: 0;
}

.prayer-summary p:last-child {
    margin-bottom: 0;
}

.prayer-content {
    color: #202020;
    font-size: 1.08rem;
    line-height: 1.7;
}

.prayer-content p {
    margin: 0 0 1rem;
}

.prayer-meta {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #d8dcf3;
    color: #555;
    font-size: 0.95rem;
}

.prayer-detail > p:last-child {
    margin-top: 1.5rem;
}

.prayer-detail > p:last-child a {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #151c70;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.prayer-detail > p:last-child a:hover,
.prayer-detail > p:last-child a:focus-visible {
    background: #3e3a9b;
    color: #ffffff;
    transform: translateY(-1px);
}

.page-section {
    margin: 1rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(21, 28, 112, 0.08);
}

.page-section-header {
    margin: -1.5rem -1.5rem 1.5rem;
    padding: 1rem 1.5rem;
    background: #e5e8ff;
    border-bottom: 1px solid #d8dcf3;
    border-radius: 10px 10px 0 0;
}

.page-section-header h1 {
    color: #151c70;
    font-size: 1.5rem;
}

.prayer-card,
.article-card {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #e0e3f2;
    border-radius: 8px;
    background: #fbfbff;
}

.prayer-card h2,
.article-card h2 {
    margin-bottom: 0.5rem;
    color: #151c70;
}

.article-excerpt {
    margin: 0.75rem 0;
    color: #4a4a4a;
    line-height: 1.5;
}

.article-read-more {
    display: inline-block;
    margin-top: 0.25rem;
    color: #9c7b20;
    font-weight: 600;
}

.article-read-more:hover,
.article-read-more:focus-visible {
    color: #705914;
}

.prayer-card-summary {
    margin-top: 0.5rem;
    color: #444;
    line-height: 1.5;
}

.item-meta {
    margin-top: 0.75rem;
    color: #666;
    font-size: 0.9rem;
}

.contact-form {
    display: grid;
    gap: 0.5rem;
    max-width: 600px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #c8cdef;
    border-radius: 5px;
    font: inherit;
}

.contact-form label {
    color: #151c70;
    font-weight: 600;
}

.contact-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-success {
    padding: 0.75rem 1rem;
    border-left: 4px solid #0d8e00;
    background: #e3f3e3;
    color: #155d15;
}

.contact-form button {
    width: fit-content;
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #151c70;
    color: #ffffff;
    cursor: pointer;
}

.contact-form button:disabled {
    background: #a6a9c2;
    color: #eeeeee;
    cursor: not-allowed;
    opacity: 0.8;
}

.legal-content {
    padding: 1.5rem;
    color: #252525;
    background: #ffffff;
    border: 1px solid #d8dcf3;
    border-radius: 10px;
    line-height: 1.65;
}

.legal-content h3 {
    margin-bottom: 1rem;
    color: #151c70;
    font-size: 1.6rem;
}

.legal-content hr {
    margin: 1.25rem 0;
    border: 0;
    border-top: 1px solid #c8cdef;
}

.legal-content p {
    margin: 1rem 0;
}

.legal-content a {
    color: #151c70;
    font-weight: 600;
}

.legal-separator {
    width: min(400px, 100%);
    border-top: 1px dashed #216598 !important;
}

.legal-quote {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #216598;
    color: #555;
    font-size: 0.9rem;
    font-style: italic;
}

.legal-credit {
    text-align: right;
    padding-right: 20pt;
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    border: 0;
    padding: 0.4em 0.8em;
    background: transparent;
    color: #151c70;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.user-menu-toggle:hover,
.user-menu-toggle:focus-visible {
    background: #151c70;
    color: #ffffff;
}

.user-menu-dropdown {
    position: absolute;
    z-index: 10;
    top: 100%;
    right: 0;
    min-width: 10rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #ffffff;
    border: 1px solid #c8cdef;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 3px 8px rgba(21, 28, 112, 0.2);
}

.user-menu-dropdown li {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
}

.user-menu-dropdown a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.55rem 0.75rem;
    color: #151c70;
    white-space: nowrap;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown a:focus-visible {
    background: #e5e8ff;
}

.profile-details {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: 0.75rem 1rem;
}

.profile-details dt {
    font-weight: bold;
    color: #151c70;
}

.profile-details dd {
    margin: 0;
}

.profile-role-banner {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: #eee3fa;
    border-left: 4px solid #6b3fa0;
    color: #45266d;
}

.admin-profile {
    position: relative;
    max-width: 1100px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.profile-note {
    position: absolute;
    top: 0;
    left: calc(100% + 1.5rem);
    z-index: 5;
    box-sizing: border-box;
    width: 360px;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #fff8c9;
    border: 1px solid #e4d58b;
    border-left: 5px solid #c5a72b;
    border-radius: 2px;
    box-shadow: 2px 3px 8px rgba(88, 73, 16, 0.12);
    color: #5c501e;
    transform: rotate(-0.4deg);
}

.profile-note h2 {
    margin: 0 0 0.75rem;
    color: #6b5a18;
    font-size: 1.08rem;
    font-weight: 700;
}

.profile-note dl {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) 1.2fr;
    gap: 0.45rem 1rem;
    margin: 0;
    font-size: 0.92rem;
}

.profile-note dt {
    font-weight: 600;
}

.profile-note dd {
    margin: 0;
    color: #403914;
}

.profile-form {
    max-width: none;
}

.profile-form fieldset {
    margin: 0 0 1.25rem;
    padding: 1rem;
    border: 1px solid #d8dcf3;
    border-radius: 6px;
}

.profile-form legend {
    padding: 0 0.4rem;
    color: #252b68;
    font-weight: 700;
}

.profile-form p {
    display: grid;
    gap: 0.35rem;
    margin: 1rem 0;
}

.profile-form label {
    color: #252b68;
    font-weight: 600;
}

.profile-form input {
    box-sizing: border-box;
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #c8cdef;
    border-radius: 4px;
    font: inherit;
}

.profile-form input[readonly] {
    background: #f1f1f5;
    color: #666;
}

.zoneMenuHaut .menuLigne > ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
}

.zoneMenuHaut .menuLigne > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    list-style: none;
}

.zoneMenuHaut .menuLigne > ul > li > a,
.zoneMenuHaut .menuLigne > ul > li > .submenu-toggle {
    vertical-align: middle;
    transition: all 0.2s ease;
}

.zoneMenuHaut {
    float: none;
    width: 100%;
    box-sizing: border-box;
}

.zoneMenuHaut .menuLigne > ul > li > a,
.user-menu-toggle {
    display: block;
    padding: 0.4rem 0.65rem;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #151c70;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.main-content {
    width: 100%;
    box-sizing: border-box;
}

.admin-navigation {
    background: #252b68;
    border-bottom: 3px solid #161a4b;
}

.admin-navigation .menuLigne > ul > li > a,
.admin-navigation .user-menu-toggle {
    background: #3e3a9b;
}

.admin-navigation .menuLigne > ul > li > a:hover,
.admin-navigation .menuLigne > ul > li > a:focus-visible,
.admin-navigation .user-menu-toggle:hover,
.admin-navigation .user-menu-toggle:focus-visible {
    background: #6b3fa0;
}

.admin-navigation .submenu {
    border-color: #a99bd0;
}

.admin-navigation .submenu a:hover,
.admin-navigation .submenu a:focus-visible {
    background: #eee3fa !important;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.2rem;
    padding: 0.25rem 0.4rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.submenu[hidden] {
    display: none !important;
}

.main-navigation .has-submenu {
    position: relative;
}

.main-navigation .has-submenu > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.75em;
    vertical-align: middle;
}

.main-navigation .has-submenu > .submenu {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    min-width: 13rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #ffffff !important;
    border: 1px solid #c8cdef;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(21, 28, 112, 0.2);
}

.main-navigation .has-submenu > .submenu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.25s ease;
}

.main-navigation .has-submenu > .submenu.is-open {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.main-navigation .submenu li {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
}

.main-navigation .submenu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.75rem;
    color: #151c70 !important;
    background: #ffffff !important;
    white-space: nowrap;
}

.main-navigation .submenu a:hover,
.main-navigation .submenu a:focus-visible {
    color: #151c70 !important;
    background: #e5e8ff !important;
}

.zoneMenuHaut .menuLigne > ul > li > a:hover,
.zoneMenuHaut .menuLigne > ul > li > a:focus-visible,
.user-menu-toggle:hover,
.user-menu-toggle:focus-visible {
    background: #3e3a9b;
    color: #ffffff;
}

.user-menu-dropdown[hidden] {
    display: none !important;
}

.user-menu-dropdown {
    top: 100%;
    right: 0;
    margin: 0;
    padding: 0.35rem;
    border: 1px solid #c8cdef;
    border-radius: 6px;
}

.admin-login,
.admin-profile {
    max-width: 680px;
    margin: 2rem auto;
}

.admin-login form {
    max-width: 440px;
    margin: 0 auto;
}

.admin-login form p {
    margin: 1rem 0;
}

.admin-login label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #151c70;
    font-weight: 600;
}

.admin-login input {
    box-sizing: border-box;
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #c8cdef;
    border-radius: 5px;
    font: inherit;
}

.admin-login button {
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #151c70;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.admin-login button:hover,
.admin-login button:focus-visible {
    background: #3e3a9b;
}

.form-error {
    padding: 0.75rem 1rem;
    border-left: 4px solid #a90000;
    background: #f3e3e3;
    color: #700000;
}

@media (max-width: 600px) {
    .zoneMenuHaut .menuLigne > ul {
        justify-content: flex-start;
    }

    .user-menu-dropdown {
        right: auto;
        left: 0;
    }

    .profile-details {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.article-detail {
    margin: 1rem auto;
    padding: 1.5rem;
    background: #fffdf5;
    border: 1px solid #d9c88a;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(92, 72, 20, 0.12);
}

.article-detail .page-section-header {
    margin: -1.5rem -1.5rem 1.5rem;
    padding: 1rem 1.5rem;
    background: #d9c88a;
    border-bottom: 3px solid #9c7b20;
    border-radius: 4px 4px 0 0;
}

.article-detail .page-section-header h1 {
    color: #40330f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.article-detail-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
    border: 1px solid #d9c88a;
    border-radius: 4px;
}

.article-summary {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f4eed4;
    border-left: 5px solid #9c7b20;
    color: #40330f;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    line-height: 1.6;
}

.article-summary p:first-child {
    margin-top: 0;
}

.article-summary p:last-child {
    margin-bottom: 0;
}

.article-detail .article-content {
    color: #292929;
    font-size: 1.08rem;
    line-height: 1.75;
}

.article-detail .article-content p {
    margin: 0 0 1.15rem;
}

.article-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #d9c88a;
}

.article-meta {
    margin: 0;
    color: #6e6037;
}

.article-back {
    margin: 0;
}

.article-back a {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #9c7b20;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-back a:hover,
.article-back a:focus-visible {
    background: #705914;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .article-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.neuvaines-page,
.neuvaine-detail {
    background: #f7f1ff;
    border: 1px solid #c9afe6;
    color: #332044;
}

.neuvaines-page .page-section-header,
.neuvaine-detail .page-section-header {
    background: #6b3fa0;
    border-bottom: 3px solid #45266d;
}

.neuvaines-page .page-section-header h1,
.neuvaine-detail .page-section-header h1 {
    color: #ffffff;
}

.neuvaines-page > p {
    line-height: 1.6;
}

.neuvaines-page .item-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.neuvaines-page .item-list li {
    margin: 0;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border-left: 5px solid #8b5bb8;
    border-radius: 0 7px 7px 0;
    box-shadow: 0 2px 6px rgba(69, 38, 109, 0.1);
}

.neuvaines-page .item-list a {
    color: #45266d;
    font-weight: 700;
}

.neuvaines-page .item-list a:hover,
.neuvaines-page .item-list a:focus-visible {
    color: #8b3fb0;
}

.neuvaine-detail {
    padding-bottom: 1.5rem;
}

.neuvaine-description {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #eee3fa;
    border-left: 5px solid #6b3fa0;
    line-height: 1.6;
}

.neuvaine-day {
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #d8c7ed;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(69, 38, 109, 0.08);
}

.neuvaine-day h2 {
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #d8c7ed;
    color: #6b3fa0;
    font-size: 1.25rem;
}

.neuvaine-day > div {
    color: #332044;
    line-height: 1.7;
    white-space: normal;
}

.neuvaine-detail > p:last-child {
    margin-top: 1.5rem;
}

.neuvaine-detail > p:last-child a {
    display: inline-block;
    padding: 0.65rem 1rem;
    background: #6b3fa0;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.neuvaine-detail > p:last-child a:hover,
.neuvaine-detail > p:last-child a:focus-visible {
    background: #45266d;
    color: #ffffff;
    transform: translateY(-1px);
}

.contenantTitreAnime {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.zoneTitre {
    flex: 0 0 150px;
    max-width: 150px;
    float: none;
}

.zoneTitre img {
    display: block;
    width: 150px;
    height: auto;
}

.contenantAnime {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    height: 7rem;
    margin: 0 0 0 1.5em;
    text-align: right;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 0.75rem;
    background: transparent;
    border-radius: 6px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 100%;
    color: #151c70;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.banner-slide img {
    width: auto;
    max-width: 120px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.banner-slide-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
}

.banner-slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.38);
    content: '';
}

.banner-slide-text {
    position: relative;
    z-index: 2;
    line-height: 1.35;
    padding-right: 1.4rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}

.banner-slide span {
    line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
    .banner-slide {
        transition: none;
    }
}

.hamburger-toggle,
.mobile-brand {
    display: none;
}

@media (max-width: 768px) {
    #laPage {
        display: flex;
        flex-direction: column;
        padding: 0.75rem 0.75rem 0.75rem;
    }

    #laPage > main {
        flex: 1 0 auto;
    }

    #lePied {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: auto;
        padding: 1.5rem 1rem;
    }

    .contenantMenu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .mobile-brand {
        position: relative;
        z-index: 21;
        display: block;
        margin-left: auto;
    }

    .mobile-brand img {
        display: block;
        width: 75px;
        height: auto;
    }

    .hamburger-toggle {
        position: relative;
        z-index: 21;
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.65rem 0.8rem;
        border: 0;
        border-radius: 6px;
        background: #151c70;
        color: #ffffff;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

    .hamburger-icon {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        width: 1.2rem;
    }

    .hamburger-icon span {
        display: block;
        height: 2px;
        width: 100%;
        background: currentColor;
    }

    .main-navigation {
        position: fixed;
        z-index: 20;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(82vw, 320px);
        height: 100vh;
        box-sizing: border-box;
        padding: 4.5rem 1rem 1rem;
        overflow-y: auto;
        background: #3e3a9b;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
    }

    .main-navigation.is-open {
        transform: translateX(0);
    }

    .main-navigation .menuLigne > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .main-navigation .menuLigne > ul > li,
    .main-navigation .menuLigne > ul > li > a,
    .main-navigation .user-menu-toggle {
        width: 100%;
        box-sizing: border-box;
    }

    .main-navigation .menuLigne > ul > li.has-submenu {
        flex-direction: column;
        align-items: stretch;
    }

    .main-navigation .user-menu-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.25rem;
        box-sizing: border-box;
    }

    .contenantTitreAnime {
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .contenantTitreAnime .zoneTitre {
        display: none;
    }

    .contenantTitreAnime {
        display: block;
    }

    .contenantAnime {
        height: 5.2rem;
        margin: 0;
        text-align: left;
        font-size: 0.62rem;
    }

    .banner-carousel {
        height: 5.2rem;
        padding: 0.25rem 0.5rem;
    }

    .banner-slide {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.4rem;
        padding: 0.1rem 0;
        font-size: 10px !important;
        line-height: 1.15;
    }

    .banner-slide span {
        font-size: 10px !important;
    }

    .banner-slide span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .banner-slide img {
        max-width: 55px;
        max-height: 45px;
    }

    #spirit_leSaint {
        margin: 0.2em 0;
        padding: 0.45em;
        font-size: 10px !important;
        line-height: 1.15;
    }

    #spirit_leSaint strong {
        font-size: 10px !important;
    }

    .content-columns {
        display: block;
    }

    #lateralG {
        max-height: none;
        min-height: 0;
        overflow: visible;
    }

    #lateralD {
        min-height: 0;
        margin-top: 1rem;
    }

    .main-navigation .has-submenu > .submenu {
        position: static;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    .settings-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .home-news-columns {
        grid-template-columns: 1fr;
    }

    .profile-layout {
        display: flex;
        flex-direction: column;
    }

    .profile-note {
        position: static;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.82rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
        gap: 0.5rem;
    }

    .admin-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-info-grid {
        grid-template-columns: 1fr;
    }
}
