/* =========================================================
   00) SINGLE TEHILIM — Style cohérent avec le HUB
   ========================================================= */

:root{
  --color-text: #1A1F36;
  --color-text-light: rgba(26, 31, 54, 0.7);
  --color-gold: #C6A664;
  --color-gold-light: #D4B574;
  --color-gold-dark: #B39553;

  --bg-primary: #FEFDFB;
  --bg-card: #FFFFFF;

  --accent-hebrew: #FF8C42;
  --accent-phonetic: #E94B97;
  --accent-audio: #22C55E;
  --accent-francais: #0055A4;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);
  
}

/* =========================================================
   FONT-FACE — TaameyFrankCLM
   ========================================================= */
@font-face {
  font-family: 'TaameyFrankCLM';
  src: url('../fonts/TaameyFrankCLM-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'TaameyFrankCLM';
  src: url('../fonts/TaameyFrankCLM-MediumOblique.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: block;
}

/* =========================================================
   ANTI-FLASH : Cache le contenu avant chargement JS
   ========================================================= */

/* Cache par défaut (le JS affichera après init) */
.tehilim_row {
  visibility: hidden;
}

/* Fallback si JS ne charge pas : affiche après 1 seconde */
.tehilim_row {
  animation: reveal-fallback 0s 1s forwards;
}

@keyframes reveal-fallback {
  to {
    visibility: visible;
  }
}

/* =========================================================
   00) SUPPRIMER LE MARGIN DE CONTENT-AREA
   ========================================================= */
body.single-tehilim #primary.content-area,
body.single-tehilim .content-area {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =========================================================
  01) CREATE A CLEAR SPACE AT THE BOTTOM OF THE PAGE
========================================================= */

   .clear_bottom {
  width: 100%;
  height: 20px;
  background: #FFFFFF;
}


/* =========================================================
   10) BREADCRUMBS (dans la section blanche)
   ========================================================= */
.tehilim-section .chiratorah-breadcrumbs {
  margin: 0 0 24px 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 600;
}

.chiratorah-breadcrumbs .crumb {
  color: rgba(198, 166, 100, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.chiratorah-breadcrumbs .crumb:hover {
  color: var(--color-gold);
}

.chiratorah-breadcrumbs .crumb-sep {
  color: rgba(198, 166, 100, 0.4);
  margin: 0 6px;
}

.chiratorah-breadcrumbs .crumb-current {
  color: var(--color-gold);
  font-weight: 700;
}


/* =========================================================
   15) MASQUER ÉLÉMENTS KADENCE AU-DESSUS DU HERO
   ========================================================= */
/* Masquer le titre de page par défaut */
.single-tehilim .entry-hero,
.single-tehilim .entry-header,
.single-tehilim .content-title-style-boxed,
body.single-tehilim #inner-wrap > .entry-hero {
  display: none !important;
}


/* =========================================================
   20) HERO — Identique au hub (photo background + overlay gradient)
   ========================================================= */
.tehilim-hero {
  position: relative;
  width: 100%;
  padding: 80px 0 100px;
  min-height: 400px;
  /* Photo en background (exactement comme le hub) */
  background-size: cover;
  background-position: 18% 32%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  
  overflow: hidden;
}

/* Overlay gradient gris qui se fond dans la photo */
.tehilim-hero__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(125deg, rgb(247, 250, 252) 35%, rgba(247, 250, 252, 0) 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.tehilim-hero__container {
  width: min(1400px, 90%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tehilim-hero__row {
  display: block;  /* ← Pas de grid */
}

.tehilim-hero__content {
  max-width: 65%;
  padding-left: 0;
}

/* Label "tehilim" - SPAN */
.tehilim-hero__label {
  display: block;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.6;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 25px 0 20px 0;
  text-align: left;
}


/* Titre - H1 */
.tehilim-hero h1.tehilim-hero__title,
.tehilim-hero h1.titre_tehilim_page {
  margin: 0 0 25px 0;
  color: #111;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.05;
  text-transform: uppercase;
  position: relative;
  display: block;
  text-align: left;
}

/* Trait doré - paragraphe avec ::after */
.tehilim-hero__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  max-width: 480px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
  opacity: 0.8;
}

/* Description - paragraphe */
.tehilim-hero
.descriptif_tehilim_hub {
  margin: 30px 0 0 0;
  max-width: 750px;
  color: rgba(0, 0, 0, 0.70);
  line-height: 1.75;
  font-size: 1.0rem;
  font-weight: 400;
  text-align: left;
}

/* Colonne droite : Image */
.tehilim-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tehilim-hero__image-element {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}




/* =========================================================
   30) ROW + SECTION (identique au hub)
   ========================================================= */
.tehilim_row{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(198, 166, 100, 0.03) 0%, transparent 50%),
    linear-gradient(225deg, rgba(212, 181, 116, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(198, 166, 100, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212, 181, 116, 0.06) 0%, transparent 40%),
    var(--bg-primary);

  padding: 80px 0 100px;
}

.tehilim_row::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background: #FFFFFF;
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 10;
}

.tehilim_row::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background: #FFFFFF;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: 10;
}

.tehilim-section{
  width: min(1300px, 92%);
  margin: 0 auto;
  padding: 20px;
  position: relative;

  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFBFB 55%, #F6F7F9 100%);
  border: 2px solid rgba(198, 166, 100, 0.15);

  box-shadow:
    0 28px 80px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.85);
}

.tehilim-section::before{
  content:"";
  position:absolute;
  top:0;
  left:20%;
  width:60%;
  height:3px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-gold-light) 20%,
    var(--color-gold) 50%,
    var(--color-gold-light) 80%,
    transparent
  );
  border-radius:0 0 2px 2px;
}


/* =========================================================
   35) Nav bar up and down buttons
   ========================================================= */

   /* Top bar: ne doit pas grossir en hauteur */
.tehilim-breadcrumbbar{
  position: relative;
  display: block;            /* on évite flex ici */
  margin: 0 0 16px 0;        /* marge plus légère */
}

/* enlève toute marge interne que ton shortcode pourrait pousser */
.tehilim-breadcrumbbar .chiratorah-breadcrumbs{
  margin: 0 !important;
  padding: 0 !important;
}

/* flèches top = overlay (n’ajoute aucune hauteur) */
.tehilim-nav-arrows{
  position: absolute;
  top: -5px;
  right: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  
}

/* flèches discrètes */
.tehilim-nav-arrow{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size: 18px;
  font-weight: 800;
  color: rgba(26,31,54,0.75);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(198,166,100,0.22);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.tehilim-nav-arrow:hover{
  transform: translateY(-1px);
  color: rgba(26,31,54,0.95);
  background: #fff;
  border-color: rgba(198,166,100,0.45);
}

/* évite chevauchement sur breadcrumb si ligne longue */
@media (max-width: 650px){
  .tehilim-nav-arrows{ top: -2px; }
}


/*Down nav bar: */
.tehilim-nav-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  margin-top: 0px;
	margin-bottom: -5px;
	padding-top: 15px;
  font-weight: 700;
  font-size: 13px;
}

/* liens = texte simple */
.tehilim-nav-link{
  color: rgba(26,31,54,0.70);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color .18s ease, background .18s ease;
}

.tehilim-nav-link:hover{
  color: rgba(26,31,54,0.95);
  background: rgba(198,166,100,0.10);
}

/* centre = petit badge discret */
.tehilim-nav-current{
  color: rgba(179,149,83,0.95); /* gold dark */
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(198,166,100,0.08);
  /* border: 1px solid rgba(198,166,100,0.20); */
}

/* mobile: empile si manque de place */
@media (max-width: 520px){
  .tehilim-nav-bottom{
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
  }
}

/* =========================================================
   40) TOP BAR: Image auteur 
   ========================================================= */

   .tehilim-top{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  margin-bottom: 16px;
  margin-right: 5px;
}

.tehilim-author {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tehilim-author__img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-gold);
  box-shadow: 
    0 4px 12px rgba(198, 166, 100, 0.3),
    0 0 0 6px rgba(198, 166, 100, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tehilim-author__img:hover {
  transform: scale(1.05);
  box-shadow: 
    0 6px 16px rgba(198, 166, 100, 0.4),
    0 0 0 8px rgba(198, 166, 100, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

/* =========================================================
   50) ICONS (reprise HUB)
   ========================================================= */
.tehilim-features{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

.tehilim-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:2.5px solid currentColor;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  position:relative;
}

.tehilim-icon svg{
  width: 28px;
  height: 28px;
  display:block;
  fill: currentColor;
}

.tehilim-icon text{
  fill: currentColor;
  font-weight: 800;
}

.tehilim-icon--he{
  color: var(--accent-hebrew);
  background: linear-gradient(135deg, rgba(255,140,66,0.12), rgba(255,140,66,0.06));
}
.tehilim-icon--he text{
  font-family: "Noto Serif Hebrew", "SBL Hebrew", serif;
  font-size: 22px;
}

.tehilim-icon--ph{
  color: var(--accent-phonetic);
  background: linear-gradient(135deg, rgba(233,75,151,0.12), rgba(233,75,151,0.06));
}
.tehilim-icon--ph text{
  font-size: 21px;
}

.tehilim-icon--fr{
  color: var(--accent-francais);
  background: linear-gradient(135deg, rgba(0,85,164,0.12), rgba(0,85,164,0.06));
}
.tehilim-icon--fr text{
  font-size: 21px;
}

.tehilim-icon--au{
  color: var(--accent-audio);
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
}

/* =========================================================
   60) TOGGLES - TAILLES RÉDUITES + RESPONSIVE
   ========================================================= */

.tehilim-controls {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  margin: 0 0 20px;
  width: 100%;
}

.tehilim-toggle{
  flex: 1 1 0;
  min-width: 0;
  height: clamp(44px, 2.2vw, 50px);
  padding: 6px 12px;
  white-space: nowrap;
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.8vw, 10px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
  color: var(--color-text);
  border: 2px solid rgba(198, 166, 100, 0.25);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  transition: all .25s ease;
}

.tehilim-toggle:hover{
  transform: translateY(-1px);
  border-color: var(--color-gold);
  background: #FAFAFA;
  box-shadow: var(--shadow-md);
}

.tehilim-toggle.is-active{
  background:
    linear-gradient(135deg, rgba(198, 166, 100, 0.03) 0%, transparent 50%),
    linear-gradient(225deg, rgba(212, 181, 116, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 20% 20%, rgba(198, 166, 100, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212, 181, 116, 0.06) 0%, transparent 40%),
    var(--bg-primary);
  color: var(--color-text);
  border-color: var(--color-gold);
  border-width: 2px;
  box-shadow: 
    var(--shadow-md), 
    0 0 0 3px rgba(198,166,100,0.15),
    inset 0 1px 2px rgba(198,166,100,0.1);
  font-weight: 700;
}

/* Icônes : TAILLE RÉDUITE */
.tehilim-toggle__ico{
  width: clamp(26px, 2vw, 32px);
  height: clamp(26px, 2vw, 32px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tehilim-toggle__ico svg{
  width: 85%;
  height: 85%;
}

/* Séparateur / */
.tehilim-toggle__sep{
  font-weight: 400;
  font-size: 16px;
  opacity: 0.3;
  margin: 0 -2px;
  line-height: 1;
  display: inline-block;
  transition: font-size 0.15s ease, color 0.15s ease;
}

.tehilim-toggle:hover .tehilim-toggle__sep {
  color: var(--color-text);
}

/* ==============================
   61) Switch : Taamim
============================== */

/* wrapper label */
.tehilim-taamim-switch{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* input invisible mais cliquable */
.tehilim-taamim-switch__input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* track */
.tehilim-taamim-switch__track{
  --sw-w: 60px;
  --sw-h: 18px;        /* track plus fin */
  --sw-pad: 3px;       /* marge interne */
  --thumb: calc(var(--sw-h) + 10px);  /* thumb légèrement plus grand que le track */

  width: var(--sw-w);
  height: var(--sw-h);
  padding: var(--sw-pad);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  display: inline-block;

  /* look premium */
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F8 100%);
  border: 2px solid rgba(198, 166, 100, 0.35);

  /* profondeur */
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.08),
    0 8px 20px rgba(0,0,0,0.06);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

/* thumb */
.tehilim-taamim-switch__thumb{
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 999px;
  position: absolute;
  top: 50%;

  /* au repos = tout à gauche */
  left: var(--sw-pad);
  transform: translate(0, -50%);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease;

  /* look thumb */
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, #F2F2F2 55%, #E9ECF2 100%);
  border: 2px solid rgba(198, 166, 100, 0.35);

  /* ombres + relief */
  box-shadow:
    0 10px 18px rgba(0,0,0,0.14),
    inset 0 2px 3px rgba(255,255,255,0.75);

  /* contenu */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "TaameyFrankCLM", "Noto Serif Hebrew", serif;
  font-size: 18px;
  color: rgba(26,31,54,0.75);
  line-height: 1;
  padding-top: 1px; /* petit ajustement visuel */
}

/* ON state : track rempli + thumb à droite pile */
.tehilim-taamim-switch__input:checked + .tehilim-taamim-switch__track{
  background: linear-gradient(180deg, rgba(198,166,100,0.35) 0%, rgba(198,166,100,0.18) 100%);
  border-color: rgba(198,166,100,0.65);
  box-shadow:
    inset 0 2px 5px rgba(0,0,0,0.10),
    0 10px 24px rgba(198,166,100,0.20);
}

/* la formule : (track width - thumb width - 2*pad) */
.tehilim-taamim-switch__input:checked + .tehilim-taamim-switch__track .tehilim-taamim-switch__thumb{
  transform: translate(calc(var(--sw-w) - var(--thumb) - (var(--sw-pad) * 2)), -50%);
  color: rgba(26,31,54,0.95);
}

/* focus bleu -> focus doré */
.tehilim-taamim-switch__track:focus,
.tehilim-taamim-switch__track:focus-visible{
  outline: none;
}

.tehilim-taamim-switch__input:focus-visible + .tehilim-taamim-switch__track{
  box-shadow:
    0 0 0 4px rgba(198,166,100,0.22),
    inset 0 2px 5px rgba(0,0,0,0.10),
    0 10px 24px rgba(0,0,0,0.08);
}

/* responsive léger */
@media (max-width: 500px){
  .tehilim-taamim-switch__track{
    --sw-w: 50px;
    --sw-h: 15px;
  }
  .tehilim-taamim-switch__thumb{
    font-size: 17px;
  }
}


/* =========================================================
   70) IMAGE
   ========================================================= */
.tehilim-media{
  margin: 0 0 32px 0;
}
.tehilim-media__img{
  width:100%;
  height:auto;
  display:block;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(198,166,100,0.15);
  box-shadow: var(--shadow-md);
}
/* =========================================================
   80) AUDIO PLAYER + AUTEUR - TOUJOURS SUR UNE LIGNE
   ========================================================= */

.tehilim-audio{
  margin: 0 0 20px 0;
}

.tehilim-player{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
  border: 2px solid rgba(198,166,100,0.2);
  box-shadow: var(--shadow-md);
  flex-wrap: nowrap; /* JAMAIS de retour à la ligne */
}

/* Bouton play : NOIR → Doré hover → Doré foncé actif */
.tehilim-player__btn{
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  background: #2A2A2A;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all .2s ease;
  position: relative;
  padding: 0 !important;
}

.tehilim-player__btn:hover{
  background: var(--color-gold-light);
  box-shadow: 0 4px 10px rgba(198,166,100,0.4);
  transform: scale(1.05);
}

.tehilim-player__btn.is-playing{
  background: var(--color-gold-dark);
  box-shadow: 0 4px 12px rgba(198,166,100,0.5);
}

/* ICÔNE PLAY (triangle) */
.tehilim-player__btn::before{
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #FFFFFF;
  transition: opacity 0.2s;
}

/* ICÔNE PAUSE (deux barres) */
.tehilim-player__btn::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-left: 3px solid #FFFFFF;
  border-right: 3px solid #FFFFFF;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.2s;
}

/* État PLAYING : cache play, montre pause */
.tehilim-player__btn.is-playing::before{
  opacity: 0;
}

.tehilim-player__btn.is-playing::after{
  opacity: 1;
}

/* Conteneur barre + temps (flex vertical) */
.tehilim-player__bar{
  flex: 1 1 auto; /* Peut se compresser */
  min-width: 100px; /* Minimum absolu */
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 17px;
}

/* Wrapper de la barre (pour avoir le fond + le remplissage) */
.tehilim-player__progress-wrapper{
  position: relative;
  width: 100%;
  height: 4px; /* Réduit de 6px à 4px */
  background: rgba(198, 166, 100, 0.15);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

/* Barre de remplissage */
.tehilim-player__progress-fill{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* Input range (invisible, sert juste pour l'interaction) */
.tehilim-player__range{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

/* Temps */
.tehilim-player__time{
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Vitesse (colonne verticale compacte) */
.tehilim-player__speed{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.tehilim-player__speedlbl{
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
  white-space: nowrap;
}

.tehilim-player__speed select{
  border-radius: 6px;
  border: 1px solid rgba(198,166,100,0.3);
  padding: 3px 6px; /* Réduit de 4px 8px */
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.7rem; /* Réduit de 0.75rem */
  cursor: pointer;
  min-width: 50px; /* Réduit de 55px */
  text-align: center;
}

/* AUTEUR : à droite avec séparateur élégant */
.tehilim-player__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  margin-left: 4px;
  border-left: 2px solid rgba(198, 166, 100, 0.25);
  flex-shrink: 0;
  white-space: nowrap;
}

.tehilim-player__author-photo {
  width: 36px;
  height: 36px;
  min-width: 36px; /* Force la taille */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 6px rgba(198, 166, 100, 0.3);
  flex-shrink: 0;
}

.tehilim-player__author-name {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================
   85) BARRE CONTROLES TYPO + SWITCH TAAMIM
   ========================================================= */

/* Wrapper qui contient le switch ET le slider côte à côte */
.tehilim-font-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 20px 0;
  flex-wrap: wrap;
}

/* =========================================================
   85.1) SLIDER TAILLE DE POLICE - STYLE TAAMIM
   ========================================================= */

.tehilim-font-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  max-width: 350px;
  padding: 0;
  background: transparent;
  border: 0;
}

/* Wrapper du slider - POSITION RELATIVE pour le faux thumb */
.tehilim-font-control__slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Track du slider - Style Taamim */
.tehilim-font-control__slider {
  --slider-w: 300px;
  --slider-h: 18px;
  --slider-pad: 3px;
  --thumb-w: 60px;
  --thumb-h: calc(var(--slider-h) + 10px);

  width: var(--slider-w);
  height: var(--slider-h);
  padding: 0;
  border-radius: 999px !important;
  cursor: pointer;
  position: relative;

  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F8 100%) !important;
  border: 2px solid rgba(198, 166, 100, 0.35)!important;

  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.08),
    0 8px 20px rgba(0,0,0,0.06) !important;

  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
  z-index: 1;
}

/* Track WebKit */
.tehilim-font-control__slider::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--slider-h);
  background: transparent;
  border: none;
  border-radius: 999px;
}

/* Track Firefox */
.tehilim-font-control__slider::-moz-range-track {
  width: 100%;
  height: calc(var(--slider-h) + 14px);
  background: transparent;
  border: none;
  border-radius: 999px;
}

/* Thumb Chrome/Safari - TRANSPARENT (on va le masquer) */
.tehilim-font-control__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: calc(var(--slider-h) + 14px);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  margin-top: calc((var(--thumb-h) - var(--slider-h)) / -2);

  /* INVISIBLE - le vrai design sera dans le span */
  background: transparent;
  border: none;
  box-shadow: none;
  
  /* Reste cliquable */
  z-index: 10;
}

/* Thumb Firefox - TRANSPARENT */
.tehilim-font-control__slider::-moz-range-thumb {
  width: var(--thumb-w);
  height: var(--thumb-h);
  border-radius: 999px;
  cursor: pointer;
  
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 10;
}

/* Focus doré sur le track */
.tehilim-font-control__slider:focus,
.tehilim-font-control__slider:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(198,166,100,0.22),
    inset 0 2px 5px rgba(0,0,0,0.10),
    0 10px 24px rgba(0,0,0,0.08);
}

/* LE VRAI THUMB - Span positionné par JS qui suit le slider */
.tehilim-font-control__value {
  position: absolute;
  left: 50%; /* Sera mis à jour par JS */
  top: 50%;
  transform: translateY(-50%);
  
  /* Style IDENTIQUE au thumb Taamim */
  width: var(--thumb-w, 60px);
  height: var(--thumb-h, 28px);
  border-radius: 999px;
  
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, #F2F2F2 55%, #E9ECF2 100%);
  border: 2px solid rgba(198, 166, 100, 0.35);
  
  box-shadow:
    0 10px 18px rgba(0,0,0,0.14),
    inset 0 2px 3px rgba(255,255,255,0.75);
  
  /* Contenu texte */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(26,31,54,0.85);
  
  pointer-events: none;
  z-index: 5;
  
  transition: transform 0.05s linear;
}

/* Hover sur le slider = hover sur le faux thumb */
.tehilim-font-control__slider:hover + .tehilim-font-control__value {
  transform: translateY(-50%) scale(1.05);
  box-shadow:
    0 12px 22px rgba(0,0,0,0.18),
    inset 0 2px 3px rgba(255,255,255,0.75);
}

/* Bouton reset - AVEC FIX FOCUS BLEU */
.tehilim-font-control__reset {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(198,166,100,0.3);
  background: #fff;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
  line-height: 1;
  margin-left: 10px;
  
  /* FORCE pas d'outline par défaut */
  outline: none !important;
}

.tehilim-font-control__reset:hover {
  background: var(--color-gold-light);
  color: #fff;
  border-color: var(--color-gold);
  transform: rotate(180deg);
  outline: none !important;
}

.tehilim-font-control__reset:focus,
.tehilim-font-control__reset:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(198,166,100,0.25) !important;
  border-color: var(--color-gold);
}

.tehilim-font-control__reset:active {
  transform: scale(0.95);
  outline: none !important;
}


/* CACHE le label et l'icône */
.tehilim-font-control__label,
.tehilim-font-control__icon {
  display: none !important;
}

/* =========================================================
   85.2) RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  .tehilim-font-control__slider {
    /* --slider-w: 250px; */
    --slider-h: 16px;
    --thumb-w: 55px;
    --thumb-h: calc(var(--slider-h) + 9px);
  }
  
  .tehilim-font-control__value {
    font-size: 0.65rem;
  }
  
  .tehilim-font-control__reset {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
}

@media (max-width: 500px) {

  .tehilim-font-control__slider {
    --slider-w: 100%;
    --slider-h: 15px;
    --thumb-w: 50px;
    --thumb-h: calc(var(--slider-h) + 8px);
  }
  
  .tehilim-font-control__value {
    font-size: 0.6rem;
  }
  
  .tehilim-font-control__reset {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .tehilim-taamim-switch__track{
    --sw-w: 50px;
    --sw-h: 15px;
  }
  .tehilim-taamim-switch__thumb{
    font-size: 17px;
  }
}


/* =========================================================
   90) GRID (Hebrew / Phonetic / French)
   ========================================================= */
.tehilim-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* PAS de règle [data-view="hebrew"] ici, tout est géré par le JS */

.tehilim-col{
  border-radius: var(--radius-lg);
  padding: 20px;
  padding-bottom : 10px;
  background: 
    linear-gradient(135deg, #FFFFFF 0%, #FEFEFE 50%, #F9F9F9 100%);
  border: 1.5px solid rgba(198,166,100,0.15);
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =========================================================
   91) FONTS (Hebrew / Phonetic & Comments) 
   ========================================================= */

  /* =========================================================
   Detail des styles :
    - Hébreu : .tehilim-hebrew
    .fr-title : Titres explicatifs en français
    .fr-var : Explications détaillées en français
    .he-var1 : Variante hébreu (même taille, fond grisé)
    .he-var2 : Variante hébreu exceptionnelle (plus petit, fond grisé)

    - Phonétique : .tehilim-phonetic
    .fr-title : Titres explicatifs en français
    .fr-var : Explications détaillées en français
    .ph-var1 : Variante phonétique (même taille, fond grisé)
    .ph-var2 : Variante phonétique exceptionnelle (plus petit, fond grisé)  

    - Français : .tehilim-french
    .fr-title : Titres explicatifs en français
    .fr-var : Explications détaillées en français
    .fr-var1 : Variante française (même taille, fond grisé)
    .fr-var2 : Variante française exceptionnelle (plus petit, fond grisé)
    
   ========================================================= */


/* ========== SECTION HÉBREU ========== */
.tehilim-hebrew {
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    font-family: "TaameyFrankCLM", "Noto Sans Hebrew", system-ui, sans-serif;
}

/*  FR-TITLE : Titres explicatifs en français  */
.tehilim-hebrew [lang="fr"],
.tehilim-hebrew [lang="en"],
.tehilim-hebrew .fr-title {
  direction: ltr;
  text-align: right;
  font-family: var(--global-body-font-family) !important;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin: 0.5rem 0 0.3rem 0;
}

/* FR-VAR : Explications détaillées en français  */
.tehilim-hebrew .fr-var {
  direction: ltr;
  text-align: right;
  font-family: var(--global-body-font-family) !important;
  color: rgba(26, 31, 54, 0.7);
  font-style: italic;
  margin: 0.3rem 0;
  font-weight: 600;
}

/* HE-VAR1 : Variante hébreu (même taille, fond grisé) */
.tehilim-hebrew .he-var1 {
  direction: rtl;
  text-align: right;
  font-family: "TaameyFrankCLM", "Noto Sans Hebrew", system-ui, sans-serif;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0.5rem 0;
}

/* HE-VAR2 : Variante hébreu exceptionnelle (plus petit, fond grisé) */
.tehilim-hebrew .he-var2 {
  direction: rtl;
  text-align: right;
  font-family: "TaameyFrankCLM", "Noto Sans Hebrew", system-ui, sans-serif;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0.5rem 0;
}
/* ========== SECTION PHONÉTIQUE & FRANCAISE ========== */

.tehilim-phonetic,
.tehilim-french {
  direction: ltr;
  text-align: left;
  font-family: var(--global-body-font-family) !important;
  color: var(--color-text);
}

/* FR-TITLE : Titres explicatifs (même style que dans hébreu) */
/* Titres dans la version française */
.tehilim-phonetic .fr-title,
.tehilim-french .fr-title {
  direction: ltr;
  text-align: left;
  font-family: var(--global-body-font-family) !important;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin: 0.5rem 0 0.3rem 0;
}

/* FR-VAR : Explications détaillées - phonetique & francais */
.tehilim-phonetic .fr-var,
.tehilim-french .fr-var  {
  font-family: var(--global-body-font-family);
  color: rgba(26, 31, 54, 0.7);
  font-style: italic;
  margin: 0.3rem 0;
  font-weight: 600;
}

/* PH-VAR1 : Variante phonétique (même taille, fond grisé) */
/* PH-VAR2 : Variante phonétique exceptionnelle (plus petit, fond grisé) */
/* FR-VAR1 : Variante phonétique (même taille, fond grisé) */
/* FR-VAR2 : Variante phonétique exceptionnelle (plus petit, fond grisé) */
.tehilim-phonetic .ph-var1,
.tehilim-phonetic .ph-var2,
.tehilim-french .fr-var1,
.tehilim-french .fr-var2 {
  font-family: var(--global-body-font-family) !important;
  background: rgba(0, 0, 0, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0.5rem 0;
}

/* =========================================================
   92) FONTS SIZE & CALC (Hebrew / Phonetic & Comments) 
   ========================================================= */

:root {
  --font-hebrew-base: 26px;
  --font-ratio-latin: 0.7;
}

.tehilim-hebrew,
.tehilim-hebrew .he-var1 {
  font-size: var(--font-hebrew-base)!important;
  line-height: 1.3;
}

.tehilim-phonetic,
.tehilim-french,
.tehilim-phonetic .ph-var1,
.tehilim-french .fr-var1 {
  font-size: calc(var(--font-hebrew-base) * var(--font-ratio-latin)) !important; /* 20px */
  line-height: 1.7;
}

.tehilim-hebrew .fr-title,
.tehilim-phonetic .fr-title,
.tehilim-french .fr-title {
  font-size: calc(var(--font-hebrew-base) * 0.62)!important; /* 16px */
  line-height: 2;
}

.tehilim-hebrew .he-var2 {
  font-size: calc(var(--font-hebrew-base) * 0.77)!important; /* 20px */
  line-height: 1.3;
}

.tehilim-phonetic .ph-var2,
.tehilim-french .fr-var2 {
  font-size: calc(var(--font-hebrew-base) * 0.62)!important; /* 16px */
  line-height: 1.7;
}

.tehilim-hebrew .fr-var,
.tehilim-phonetic .fr-var,
.tehilim-french .fr-var {
  font-size: calc(var(--font-hebrew-base) * 0.54)!important; /* 14px */
  line-height: 1.5;
}

/* =========================================================
   93) MARGINS PARAGRAPHES (Hebrew / Phonetic / French)
   ========================================================= */
  
/* Réduire les espaces entre les paragraphes dans l'hébreu */
.tehilim-hebrew p {
  margin: 0 0 0.5rem 0; /* Au lieu de margin auto */
}

.tehilim-hebrew p.latin-text {
 margin: 0.5rem 0 0.3rem 0; /* Petit espace pour les explications */
}

.tehilim-phonetic p {
  margin: 0 0 0.5rem 0; /* Au lieu de margin auto */
}

.tehilim-french p {
  margin: 0 0 0.5rem 0; /* Réduire les espaces entre paragraphes */
}
/* =========================================================
   100) RESPONSIVE
   ========================================================= */
/* Au-dessus de 2200px : elargir container */
@media (min-width: 2200px) {
  .tehilim-section {
    width: min(2300px, 90%); 
    padding: 36px;
  }
  .tehilim-grid {
    gap: 45px;
  }
	.tehilim-col{
		padding: 30px;
    padding-bottom : 20px;
	}
}

/* Au-dessus de 1800px : Élargir le container */
@media (min-width: 1800px) {
  .tehilim-section {
    width: min(1900px, 90%); 
    padding: 36px; 
  }
  /* Élargir aussi la grille de texte */
  .tehilim-grid {
    gap: 45px; /* Augmente l'espace entre les colonnes */
  }
	.tehilim-col{
		padding: 30px;
    padding-bottom : 20px;
	}
}

@media (min-width: 1950px) {
.tehilim-hero__content{
margin-left: -250px;
}
}

@media (min-width: 1470px){
  .tehilim-hero__container {
		padding-left: 60px;
	}
  }

@media (max-width: 1024px){
  .tehilim-hero__row {
    grid-template-columns: 65% 35%;
    gap: 30px;
  }
  
  .tehilim-hero__content {
    padding-right: 20px;
  }
  
  .tehilim-grid{
    grid-template-columns: 1fr;
  }
}



@media (max-width: 768px){

/* HEADER TRANSPARENT AU-DESSUS DU HERO */
#masthead,
.site-header,
.site-header-wrap,
.site-header-row-container,
.site-header-row-container-inner {
  background: transparent !important;
  box-shadow: none !important;
}

/* MOBILE */
.mobile-header,
.mobile-header-wrap {
  background: transparent !important;
  box-shadow: none !important;
}


/* HERO ultra compact */
.tehilim-hero {
  padding: 0px;
  margin-top: -80px ;
	min-height: 200px;
}

.tehilim-hero__label {
font-size: 0.7rem;
margin: 90px 0 0 0;
}

.tehilim-hero h1.tehilim-hero__title {
margin: 20px 0 0px 0;
font-size: clamp(1.5rem, 5vw, 2rem);
}

.tehilim-hero__title::after {
bottom: -6px;
height: 3px;
}

.tehilim-hero__description {
margin: 8px 0 0 0;
font-size: 0.85rem;
line-height
: 1.4;
}
/* Overlay vertical */
.tehilim-hero__overlay {
background-image: linear-gradient(125deg, rgb(247, 250, 252) 35%, rgba(247, 250, 252, 0) 100%);
	}

.tehilim_row {
  padding-top : 30px;
	padding-bottom : 30px;
}

}



/* =========================================================
   111) RESPONSIVE TOGGLES
   ========================================================= */
/* BREAKPOINT < 1000px */

/* < 1000px : Grille 3 colonnes */
@media (max-width: 1000px) {
  .tehilim-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.5vw, 12px);
  }

  .tehilim-toggle {
    width: 100%;
    height: 38px;
  }

  .tehilim-toggle__ico {
    width: 30px;
    height: 30px;
  }
}

/* FIX : Force les tailles en dessous de 768px */
@media (max-width: 768px) {
  .tehilim-toggle__ico {
    width: 25px !important;
    height: 25px !important;
  }
  
  .tehilim-toggle__ico svg {
    width: 18px !important;
    height: 18px !important;
  }
	
	.tehilim-toggle{
  height: 38px !important;
	}
}


/* < 700px : CACHE LES TOGGLES 2 COLONNES */
@media (max-width: 700px) {
  /* Cache les toggles avec 2 colonnes */
  .tehilim-toggle[data-view="hebrew-phonetic"],
  .tehilim-toggle[data-view="hebrew-french"],
  .tehilim-toggle[data-view="phonetic-french"] {
    display: none;
  }
  
  /* Grille 3 colonnes (mais avec seulement 3 toggles visibles) */
  .tehilim-controls {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tehilim-toggle {
    height: 38px;
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .tehilim-toggle__ico {
    width: 26px;
    height: 26px;
  }
  
  .tehilim-toggle__ico svg {
    width: 18px;
    height: 18px;
  }
}

/* < 500px : Ultra compact */
@media (max-width: 500px) {


.tehilim-hero__content {
    max-width: 100% !important;
}

  .tehilim-toggle {
    height: 33px;
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .tehilim-toggle__ico {
    width: 23px;
    height: 23px;
  }
  
  .tehilim-toggle__ico svg {
    width: 16px;
    height: 16px;
  }
  
  .tehilim-toggle__sep {
    font-size: 14px;
  }
}

/* < 400px : Ultra compact */
@media (max-width: 350px) {


  .tehilim-hero__content {
    max-width: 100% !important;
  }

  .tehilim-hero h1.tehilim-hero__title {
        font-size: 22px;
    }

 .tehilim-toggle {
    height: 28px !important;
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .tehilim-toggle__ico {
    width: 20px!important;
    height: 20px!important;
  }
  
  .tehilim-toggle__ico svg {
    width: 13px !important;
    height: 13px !important;
  }
  
  .tehilim-toggle__sep {
    font-size: 13px !important;
  }
}
/* =========================================================
   112) RESPONSIVE AUDIO PLAYER - COMPRESSION AU LIEU DE WRAP
   ========================================================= */

/* < 1200px : Réduit les éléments progressivement */
@media (max-width: 1200px) {
  .tehilim-player {
    gap: 12px;
  }
  
  .tehilim-player__author-photo {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  
  .tehilim-player__author-name {
    font-size: 0.8rem;
  }
  
  .tehilim-player__bar {
    min-width: 80px;
  }
}

/* < 1000px : Réduit encore */
@media (max-width: 1000px) {
  .tehilim-player {
    gap: 10px;
    padding: 10px 16px;
  }
  
  .tehilim-player__btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
  
  .tehilim-player__author-photo {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  
  .tehilim-player__author-name {
    font-size: 0.75rem;
  }
  
  .tehilim-player__bar {
    min-width: 60px;
  }
  
  .tehilim-player__speed select {
    min-width: 45px;
    padding: 2px 5px;
    font-size: 0.65rem;
  }
}

/* < 750px : Cache la photo de l'auteur */
@media (max-width: 750px) {
 
  
  .tehilim-player__author {
    padding-left: 10px;
    gap: 6px;
  }
}

/* < 520px : Ultra compact, cache le label VITESSE */
@media (max-width: 520px) {
  .tehilim-player__speedlbl {
    display: none;
  }
  
  .tehilim-player__author-photo {
    display: none;
  } 

  .tehilim-player {
    gap: 8px;
    padding: 8px 12px;
  }
  
  .tehilim-player__btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  
  .tehilim-player__btn::before {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #FFFFFF;
  }
  
  .tehilim-player__btn::after {
    width: 12px;
    height: 12px;
    border-left: 2.5px solid #FFFFFF;
    border-right: 2.5px solid #FFFFFF;
  }
  
  .tehilim-player__speed select {
    min-width: 40px;
    padding: 2px 4px;
  }
}

/* < 600px : Cache l'auteur complètement */
@media (max-width: 400px) {
  .tehilim-player__author {
    display: none;
  }
}


/* =========================================================
   113) RESPONSIVE FONT SIZE - VARIABLES PAR BREAKPOINT
   ========================================================= */

/* TABLETTE < 1024 */
@media (max-width: 1024px) {
  :root {

    --font-hebrew-base: 24px;
  }
}

/* SMARTPHONE < 768px */
@media (max-width: 768px) {
  :root {
    --font-hebrew-base: 22px ; 
  }
}

/* PETIT SMARTPHONE < 500px */
@media (max-width: 500px) {
  :root {
    --font-hebrew-base: 20px ; /* Encore plus petit */
  }
}

/* TRES PETIT SMARTPHONE < 3500px */
@media (max-width: 350px) {
  :root {
    --font-hebrew-base: 18px ; /* Encore plus petit */
  }
}


/* =========================================================
   114) RESPONSIVE Espace texte - MOBILE
   ========================================================= */

@media (max-width: 500px) {
  .tehilim-section{
    width: min(1300px, 100%);
    margin: 0 0 0 0;
    padding: 6px;
    padding-top : 20px;
    padding-bottom : 20px;
    border-radius: 0px;

  }
  .tehilim-grid{
    margin: 0px;
  }
  .tehilim-col{
      padding: 8px;
      padding-bottom : 20px;
  }

  .clear_bottom {
    display: none;
  }
}



/* =========================================
   FIX UNIQUE ANTI-FLASH COLONNES (LA BASE)
   ========================================= */

/* Par défaut : on n’affiche QUE la vue demandée */
.tehilim_row[data-default-view="hebrew"] [data-col="phonetic"],
.tehilim_row[data-default-view="hebrew"] [data-col="french"] { display:none; }

.tehilim_row[data-default-view="phonetic"] [data-col="hebrew"],
.tehilim_row[data-default-view="phonetic"] [data-col="french"] { display:none; }

.tehilim_row[data-default-view="french"] [data-col="hebrew"],
.tehilim_row[data-default-view="french"] [data-col="phonetic"] { display:none; }

.tehilim_row[data-default-view="hebrew-phonetic"] [data-col="french"] { display:none; }

.tehilim_row[data-default-view="hebrew-french"] [data-col="phonetic"] { display:none; }

.tehilim_row[data-default-view="phonetic-french"] [data-col="hebrew"] { display:none; }



/* =====================================
   ANTI-JUMP FINAL : réserver la place du player
   ===================================== */

.tehilim-audio{
  min-height: 72px; /* desktop */
}

@media (max-width: 768px){
  .tehilim-audio{
    min-height: 70px; /* mobile un peu plus haut */
  }
}

