/*
Theme Name: Shekinah
Theme URI: https://shekinah.app/
Author: Shekinah App
Description: Thème à blocs pour les églises utilisant l'extension Shekinah App : couleurs violet, rouge sang et or, page d'accueil prête (horaires des cultes, programme, annonces, projets de collecte, demande de prière, application mobile, contact), entièrement personnalisable dans l'éditeur de site. « Nous prêchons la Parole ».
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shekinah
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, one-column, wide-blocks, blog
*/

/* ---------- En-tête ---------- */
.shk-header{position:sticky;top:0;z-index:50;background:linear-gradient(100deg,#2a1240 0%,#3d1a5c 60%,#5b2a86 100%);color:#fff;border-bottom:3px solid #d4a017;padding:.6rem var(--wp--preset--spacing--40)}
.admin-bar .shk-header{top:32px}
@media (max-width:782px){.admin-bar .shk-header{top:0;position:relative}}
.shk-header a{color:#fff;text-decoration:none}
.shk-header .wp-block-site-logo img{border-radius:50%;background:#fff;padding:3px;box-shadow:0 0 0 2px #d4a017}
.shk-header .wp-block-site-title{margin:0;font-size:1.25rem;line-height:1.15}
.shk-header .wp-block-site-tagline{margin:0;font-size:.78rem;color:#f2d77a;letter-spacing:.04em}
.shk-header .wp-block-navigation{font-size:.95rem;font-weight:500;gap:1.4rem}
.shk-header .wp-block-navigation a:hover,.shk-header .wp-block-navigation .current-menu-item>a{color:#f2d77a}
.shk-header .wp-block-navigation .wp-block-page-list .current-menu-item>a{box-shadow:inset 0 -2px 0 #d4a017}
.shk-header .wp-block-navigation__responsive-container.is-menu-open{background:#2a1240;color:#fff}
.shk-header .wp-block-navigation__responsive-container-open svg,.shk-header .wp-block-navigation__responsive-container-close svg{fill:#fff}
.shk-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg{fill:#fff}
.shk-header .wp-block-navigation__submenu-container{background:#2a1240!important;border-color:#5b2a86!important}

/* ---------- Bannière d'accueil ---------- */
.shk-hero{position:relative;overflow:hidden;color:#fff;text-align:center;padding:clamp(3.5rem,9vw,7.5rem) var(--wp--preset--spacing--40) clamp(4rem,10vw,8rem);
  background:radial-gradient(ellipse at 50% -10%,rgba(212,160,23,.45),transparent 55%),radial-gradient(circle at 85% 110%,rgba(138,3,3,.55),transparent 50%),linear-gradient(140deg,#2a1240 0%,#4a2070 50%,#5b2a86 75%,#6d1636 100%)}
.shk-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:60px;background:#fff;clip-path:ellipse(70% 100% at 50% 100%)}
.shk-hero>*{position:relative;z-index:1}
.shk-hero .wp-block-image img{width:150px;height:150px;border-radius:50%;background:#fff;padding:8px;box-shadow:0 0 0 5px #d4a017,0 18px 50px rgba(0,0,0,.45)}
.shk-hero h1{color:#fff;margin:.4em auto .15em;max-width:16em;text-shadow:0 3px 20px rgba(0,0,0,.35)}
.shk-hero .shk-hero-tag{color:#f2d77a;font-family:var(--wp--preset--font-family--titres);font-style:italic;font-size:clamp(1.2rem,2.4vw,1.6rem);margin:0}
.shk-hero .shk-hero-text{max-width:34em;margin:1rem auto 0;opacity:.92;font-size:1.1rem}
.shk-hero .wp-block-buttons{justify-content:center;margin-top:1.8rem}

/* ---------- Sections ---------- */
.shk-section{padding:var(--wp--preset--spacing--60) var(--wp--preset--spacing--40)}
.shk-section h2{margin-top:0}
.shk-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;font-weight:700;color:#8a0303;margin:0 0 .4rem}
.shk-center{text-align:center}
.shk-center .wp-block-buttons{justify-content:center}
.shk-section h2::after{content:"";display:block;width:56px;height:3px;background:#d4a017;border-radius:3px;margin-top:.55rem}
.shk-center h2::after{margin-left:auto;margin-right:auto}
.shk-band-lavande{background:linear-gradient(180deg,#f4eefa,#fbf8fd)}
.shk-band-or{background:linear-gradient(180deg,#fdf5dc,#fffdf6)}
.shk-band-royal{color:#fff;background:radial-gradient(circle at 10% 0%,rgba(212,160,23,.28),transparent 45%),linear-gradient(135deg,#2a1240 0%,#5b2a86 60%,#8a0303 120%)}
.shk-band-royal h2,.shk-band-royal h3,.shk-band-royal .shk-kicker{color:#fff}
.shk-band-royal .shk-kicker{color:#f2d77a}
.shk-band-royal a:not(.wp-element-button){color:#f2d77a}
.shk-band-sombre{background:#2a1240;color:#fff}
.shk-band-sombre h2{color:#fff}
.shk-cols{gap:clamp(1.5rem,4vw,3.5rem)}
.shk-verse{font-family:var(--wp--preset--font-family--titres);font-style:italic;font-size:1.2rem;border-left:4px solid #d4a017;padding-left:1rem;margin:1rem 0}

/* Cartes de ministères */
.shk-cards{gap:1.2rem}
.shk-card{background:#fff;border:1px solid #e6ddf0;border-top:4px solid #5b2a86;border-radius:16px;padding:1.4rem 1.4rem 1.1rem;box-shadow:0 4px 18px rgba(42,18,64,.06);transition:transform .15s,box-shadow .15s}
.shk-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(42,18,64,.12)}
.shk-card h3{margin:0 0 .4rem;font-size:1.2rem}
.shk-card p{margin:0;color:#4b4060;font-size:.97rem}
.shk-card.is-or{border-top-color:#d4a017}.shk-card.is-rouge{border-top-color:#8a0303}
.shk-cards .wp-block-column:nth-child(3n+2) .shk-card{border-top-color:#8a0303}
.shk-cards .wp-block-column:nth-child(3n) .shk-card{border-top-color:#d4a017}

/* Mot du pasteur */
.shk-pasteur{position:relative;background:#fff;border-radius:20px;padding:clamp(1.5rem,4vw,3rem);box-shadow:0 10px 40px rgba(42,18,64,.1);border:1px solid #efe6f7}
.shk-pasteur::before{content:"“";position:absolute;top:-.35em;left:.3em;font-family:Georgia,serif;font-size:7rem;line-height:1;color:#d4a017}
.shk-pasteur p{font-family:var(--wp--preset--font-family--titres);font-size:1.22rem;font-style:italic}
.shk-pasteur .shk-signature{font-family:var(--wp--preset--font-family--texte);font-style:normal;font-size:1rem;font-weight:700;color:#8a0303}

/* Boutons */
.wp-block-button.is-style-or .wp-block-button__link{background:#d4a017;color:#2a1240}
.wp-block-button.is-style-or .wp-block-button__link:hover{background:#f2c94c;color:#2a1240}
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border:2px solid currentColor;color:inherit}
.shk-hero .wp-block-button.is-style-outline .wp-block-button__link,.shk-band-royal .wp-block-button.is-style-outline .wp-block-button__link{color:#fff}
.wp-element-button{transition:background .15s,transform .15s}
.wp-element-button:hover{transform:translateY(-1px)}

/* Bandeau de titre des pages */
.shk-page-hero{color:#fff;text-align:center;padding:clamp(2.5rem,6vw,4.5rem) var(--wp--preset--spacing--40);background:radial-gradient(ellipse at 50% -20%,rgba(212,160,23,.4),transparent 60%),linear-gradient(135deg,#2a1240,#5b2a86 70%,#6d1636);border-bottom:3px solid #d4a017}
.shk-page-hero h1,.shk-page-hero .wp-block-post-title,.shk-page-hero .wp-block-query-title{color:#fff;margin:0}
.shk-page-hero .wp-block-post-date{color:#f2d77a}
.shk-page-hero p{margin:.5rem 0 0;opacity:.9}
.shk-main{padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) var(--wp--preset--spacing--60)}

/* Articles */
.shk-posts .wp-block-post{background:#fff;border:1px solid #e6ddf0;border-radius:16px;overflow:hidden;padding-bottom:1rem;box-shadow:0 4px 18px rgba(42,18,64,.05)}
.shk-posts .wp-block-post>*:not(.wp-block-post-featured-image){padding:0 1.1rem}
.shk-posts .wp-block-post-featured-image{margin:0 0 .8rem}
.shk-posts .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}
.shk-posts .wp-block-post-title{font-size:1.2rem;margin:.3rem 0}
.shk-posts .wp-block-post-title a{color:#2a1240;text-decoration:none}
.wp-block-query-pagination{margin-top:2rem;justify-content:center}

/* Pied de page */
.shk-footer{background:#1a0b2a;color:#d9cfe6;padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) 1.2rem;border-top:4px solid #d4a017;font-size:.95rem}
.shk-footer a{color:#fff;text-decoration:none}.shk-footer a:hover{color:#f2d77a}
.shk-footer h4{color:#f2d77a;font-family:var(--wp--preset--font-family--texte);font-size:.82rem;text-transform:uppercase;letter-spacing:.12em;margin:0 0 .8rem}
.shk-footer .wp-block-site-title{color:#fff;margin:.4rem 0 0;font-size:1.3rem}
.shk-footer .wp-block-site-logo img{border-radius:50%;background:#fff;padding:3px}
.shk-footer .wp-block-page-list{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.shk-footer .shk-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2rem;padding-top:1rem;font-size:.85rem;color:#a99bbb;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem}
.shk-footer .shk-footer-bottom p{margin:0}
.shk-footer .shk-s-compact{gap:.35rem}

/* Divers */
::selection{background:#d4a017;color:#2a1240}
.wp-block-separator.is-style-or{border:0;height:3px;max-width:80px;background:#d4a017;border-radius:3px}
:where(.wp-site-blocks)>*{margin-block-start:0}
.wp-site-blocks{padding:0}
main.wp-block-group{margin-top:0}
.shk-band-sombre .shk-kicker{color:#f2d77a}

/* Vidéos et galerie (blocs de l'extension) */
.shk-band-sombre .shk-s-empty{color:#d9cfe8}
.shk-band-sombre .shk-s-vcard{border-color:transparent}
.shk-band-sombre .wp-block-buttons{margin-top:1.6rem}
