/* Accueil : recherche sur une ligne, la paracha en premier */
.qbar-form{display:flex;align-items:center;height:50px;background:var(--surface);border:1px solid rgba(237,232,223,.4)}
.qbar-form:focus-within{border-color:var(--accent)}
.qbar-ico{display:flex;align-items:center;padding:0 4px 0 14px;color:var(--muted)}
.qbar-form input{flex:1 1 auto;min-width:0;height:48px;padding:0 10px;border:0;background:transparent;color:var(--text);font:inherit;font-size:16px}
.qbar-form input:focus{outline:none}
.qbar-form input::placeholder{color:#8A857C}
.qbar-form button{flex:0 0 50px;height:50px;margin:-1px -1px -1px 0;border:0;background:var(--accent);color:var(--bg);display:flex;align-items:center;justify-content:center;cursor:pointer}
.qbar-form button .ico{width:20px;height:20px}
.hero{padding-top:18px;grid-template-columns:minmax(0,1fr);grid-template-areas:"q" "main" "side";gap:0}
/* Recherche en tête de la colonne de droite, au-dessus de l'étude du jour ; en premier sur mobile */
.hero-q{grid-area:q;margin-bottom:30px}
#semaine{grid-area:main;min-width:0}
.side{grid-area:side;margin-top:56px}
@media (min-width:1080px){
  .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"main q" "main side";grid-template-rows:auto 1fr;column-gap:72px}
  .hero-q{margin-bottom:20px}
  .side{margin-top:0}
}
.hero h1{margin-top:0}
.hero .hk{margin-top:14px}
@media (max-width:760px){
  .site-head{padding-bottom:0}
  .hero{padding-top:14px}
  .hero-q{margin-bottom:22px}
  .side{margin-top:40px}
  .hero .hk{font-size:11.5px;letter-spacing:.12em;line-height:1.5}
}
.hero .hk{text-wrap:balance}
/* Le livre : une seule colonne dans l'ordre de lecture, nombre de cours écrit en clair */
.book ul{display:block}
.book li a{min-height:44px}
.book li a .n{white-space:nowrap}
.book li a .n::after{content:" cours"}
.book li a[aria-current] span:first-child::after{content:"cette semaine";margin-left:12px;font-family:var(--fb);font-size:11px;letter-spacing:.12em;text-transform:uppercase;vertical-align:.25em}
@media (max-width:760px){.book li a{min-height:42px}}
/* Entrée de Chabbat sous le nom de la paracha */
.chab{margin-top:12px}
.chab p{margin:0}
.chab-l{font-size:15.5px;color:var(--soft);line-height:1.5}
.chab-k{color:var(--muted);font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;margin-right:6px}
.chab-v{color:var(--text);font-variant-numeric:tabular-nums}
.chab-btn{margin-left:4px;padding:4px 0;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.chab-pick{margin-top:8px!important}
.chab-pick select{min-height:42px;max-width:100%;padding:0 12px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;font-size:15px}
.chab-note{margin-top:4px!important;font-size:12px;color:var(--muted)}
.chab+.sub{margin-top:16px}
/* Section Hizook */
.sec-lead{margin:10px 0 22px;color:var(--soft);font-size:16px;max-width:640px}
/* Étude du jour, en tête de la colonne de droite */
.side{align-self:start;display:grid;gap:20px;min-width:0}
.et-home{padding:28px 32px 18px;background:var(--surface)}
@media (max-width:760px){.et-home{padding:22px 20px 12px}}
.et-home-h{margin:6px 0 0;font-family:var(--fd);font-weight:400;font-size:30px}
.et-home-l{list-style:none;margin:16px 0 0;padding:0}
.et-home-l li{border-top:1px solid var(--rule-2)}
.et-home-l a{display:flex;flex-direction:column;gap:2px;padding:12px 0}
.et-home-l .et-k{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.et-home-l .et-t{font-family:var(--fd);font-size:20px;color:var(--text)}
.et-home-l .et-r{font-size:13px;color:var(--muted)}
.et-home-l a:hover .et-t{color:var(--accent)}
/* 16/11/2026 : corrections du diagnostic (P4, P7, P8, P9, P10) */
/* P10 : le jambage du titre ne touche plus le surtitre */
@media (min-width:761px){.hero h1{padding-bottom:.08em}}
/* P4 : toutes les parachot du livre, dans une liste qui défile (6 lignes de hauteur).
   La paracha de la semaine au centre, une ligne coupée en haut et en bas montre qu’il y a une suite. Sans JavaScript, la liste est entière. */
.js .book ul{position:relative;max-height:calc(6 * 45px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;border-bottom:1px solid var(--rule-2)}
@media (max-width:760px){.js .book ul{max-height:calc(6 * 43px)}}
/* P7 : « Changer de ville » se touche sur 44 px sans changer la mise en page */
.chab-btn{position:relative}
.chab-btn::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;transform:translateY(-50%)}
/* Piste 2 « une couleur par section » (décision du 15/11/2026). Les boutons et les liens restent bleus.
   Paracha et livre : ciel, bloc nuit. Étude du jour : sable, bloc ocre. Plus vus : menthe.
   Hizook : lilas, bande prune. Rubriques : sable. Intervenants : ciel. */
.hero .hk,.chab-k{color:var(--accent)}
.book{background:var(--nuit)}
.book li,.js .book ul{border-color:rgba(141,216,248,.16)}
.et-home{background:var(--ocre)}
.et-home .et-home-date,.et-home-l .et-k,.et-home-h{color:var(--sable)}
.et-home-l li{border-top-color:rgba(238,202,134,.18)}
.et-home-l a:hover .et-t{color:var(--sable)}
.sec-vus .sec-head,.sec-rub .sec-head,.sec-int .sec-head,.hz-home .sec-head{border-top-width:2px}
.sec-vus .sec-head{border-top-color:var(--menthe)}
.sec-vus .sec-head h2,.top .rk{color:var(--menthe)}
.top .round{border-color:rgba(135,225,192,.55);color:var(--menthe)}
.hz-home{border-image:conic-gradient(var(--prune) 0 0) fill 0//0 100vmax;margin-top:24px}
.hz-home .sec-head{border-top-color:var(--lilas)}
.hz-home .sec-head h2,.hz-home .card .k{color:var(--lilas)}
.hz-home .sec-lead{color:var(--text)}
.sec-rub .sec-head{border-top-color:var(--sable)}
.sec-rub .sec-head h2{color:var(--sable)}
.tiles a{border-top:3px solid var(--c,var(--accent))}
.tiles a:nth-child(4n+1){--c:var(--accent)}.tiles a:nth-child(4n+2){--c:var(--menthe)}
.tiles a:nth-child(4n+3){--c:var(--sable)}.tiles a:nth-child(4n+4){--c:var(--lilas)}
.sec-int .sec-head{border-top-color:var(--accent)}
.sec-int .sec-head h2{color:var(--accent)}
