/*
Theme Name: Fotomag Child
Template: fotomag
Description: Theme enfant de Fotomag - personnalisations du footer (logo + catégories/archives sur 2 colonnes).
Version: 1.4.8
Author: Novamira
Text Domain: fotomag
*/

/* ==========================================================================
   Icônes recherche + réseaux sociaux : taille augmentée
   ========================================================================== */

/* Barre latérale gauche : icône recherche + icônes réseaux sociaux (même taille) */
#cb-nav-left .social__icon i {
  font-size: 22px;
}

/* Icônes réseaux sociaux dans le header (autres emplacements) */
.social__icons a {
  font-size: 28px;
}

/* Icônes réseaux sociaux dans le footer */
.cb-footer-social-icons a i {
  font-size: 22px;
}

/* Icônes réseaux sociaux dans le menu coulissant mobile */
.cb-menu-overlay .cb-slide-social-icons a i {
  font-size: 22px;
}

/* Boutons de pagination : taille + police */
.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Bulles d'info (tooltips) au survol des icônes (ex. Instagram dans la barre latérale) */
.tipi-tip-wrap .inner {
  background: #FFAACC !important;
  color: #fff !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  border-color: #FFAACC !important;
}

.tipi-tip-wrap-b .detail {
  border-bottom-color: #FFAACC !important;
}

.tipi-tip-wrap-t .detail {
  border-top-color: #FFAACC !important;
}

.tipi-tip-wrap-r .detail {
  border-right-color: #FFAACC !important;
}

.tipi-tip-wrap-l .detail {
  border-left-color: #FFAACC !important;
}

.pagination a,
.woocommerce-pagination a {
  color: #000 !important;
}

.pagination .current,
.woocommerce-pagination .current {
  background: #000 !important;
  border-color: #000 !important;
}

.pagination .page-numbers:hover,
.woocommerce-pagination .page-numbers:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

/* ==========================================================================
   Footer : logo à gauche, catégories/archives à droite (2 colonnes)
   ========================================================================== */

.cb-footer-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  text-align: left;
  margin-bottom: 30px;
}

.cb-footer-col-logo {
  flex: 0 0 auto;
}

.cb-footer-col-widgets {
  flex: 1 1 320px;
  text-align: left;
}

.cb-footer-col-widgets .cb-under-footer {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.cb-footer-col-widgets .cb-widget {
  margin-bottom: 0;
}

.cb-footer-col-widgets .cb-widget:last-child {
  margin-bottom: 0;
}

.cb-footer-col-widgets .cb-widget-title,
.cb-footer-col-widgets .wp-block-heading {
  text-align: left;
}

@media (max-width: 767px) {
  .cb-footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .cb-footer-col-widgets {
    text-align: center;
  }

  .cb-footer-col-widgets .cb-under-footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .cb-footer-col-widgets .cb-widget-title,
  .cb-footer-col-widgets .wp-block-heading {
    text-align: center;
  }
}

/* Fix: external audio embeds (Ausha, Soundcloud, etc.) opened via the headphone icon
   were cropped. Two causes: (1) the theme forces a fixed 560x315 iframe sized for
   video, and (2) the popup wrapper is ".content-custom" (not ".overlay__modal" as a
   previous attempt here assumed, which never matched anything), and on screens over
   1200px it is capped at a fixed 1000px width — narrower than Ausha's default player.
   Widen the actual wrapper and let the iframe fill it. */
.content-custom.is-audio {
  width: 1100px !important;
  max-width: 95vw !important;
}

.content-custom.is-audio iframe.frame {
  width: 100% !important;
  height: 232px !important;
}

@media (max-width: 600px) {
  .content-custom.is-audio iframe.frame {
    height: 320px !important;
  }
}

/* ==========================================================================
   Footer : couleur de fond personnalisée
   ========================================================================== */

.cb-footer-last {
  background: #000 !important;
  color: #fff !important;
}

.cb-footer-last a,
.cb-footer-social-icons a {
  color: #fff !important;
}

.cb-footer-social-icons a:hover,
.cb-footer-last .cb-to-top a:hover {
  color: #FFAACC !important;
}

.cb-widget-title,
.cb-under-footer .wp-block-heading {
  color: #fff !important;
  font-family: 'Raleway', sans-serif !important;
  text-transform: uppercase;
}

.cb-under-footer a {
  color: #fff !important;
  font-weight: bold;
}

/* Cartes d'aperçu (accueil, archives) sans image mise en avant : fond noir,
   texte blanc. */
.cb-bs:not(:has(.cb-fi)) {
  background: #000;
  color: #fff;
}

.cb-bs:not(:has(.cb-fi)) a {
  color: #fff;
}

/* Icone TikTok (SVG, absente de la police d'icones du theme) : meme taille et couleur que les autres */
.fotomag-i-tiktok svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.125em;
}

/* Pages sans image de couverture : le theme masque le menu et la barre des reseaux
   jusqu'a un defilement de 90% de l'ecran (son exception "sans image" ne se declenche
   jamais, le JS teste .hero au lieu de .hero-wrap). Sur une page courte, ils
   n'apparaissaient donc jamais : on les affiche d'emblee. */
.page.cb-no-fis .nav {
  opacity: 1;
  visibility: visible;
}

/* Listes d'articles sans pagination (une seule page) : le theme laisse un bloc
   de pagination vide. On ajoute 40px sous les derniers articles. */
.cb-posts-loop .pagination.pagi-num:empty {
  margin: 0;
  padding: 0;
  height: 40px;
}

/* ==========================================================================
   Newsletter : formulaire dans la fenetre "Newsletter" (fond noir, texte blanc)
   ========================================================================== */

.cb-sub-modal .cb-modal-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.pop-nl-form {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Raleway', sans-serif;
  text-align: left;
}

.pop-nl-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pop-nl-row {
  display: flex;
  gap: 0;
}

.pop-nl-form .pop-nl-email {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 2px solid #fff;
  border-right: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  margin: 0;
  box-shadow: none;
}

.pop-nl-form .pop-nl-email::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.pop-nl-form .pop-nl-email:focus {
  outline: none;
  border-color: #FFAACC;
}

.pop-nl-form .pop-nl-submit {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 22px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.pop-nl-form .pop-nl-submit:hover,
.pop-nl-form .pop-nl-submit:focus-visible {
  background: #FFAACC;
  border-color: #FFAACC;
}

.pop-nl-form .pop-nl-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pop-nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-transform: none;
  font-weight: 400;
}

.pop-nl-consent input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  accent-color: #FFAACC;
}

.pop-nl-msg {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.pop-nl-msg.is-success {
  color: #FFAACC;
}

.pop-nl-msg.is-error {
  color: #ff8a8a;
}

@media (max-width: 600px) {
  .pop-nl-row {
    flex-direction: column;
    gap: 10px;
  }

  .pop-nl-form .pop-nl-email {
    border-right: 2px solid #fff;
  }

  .pop-nl-form .pop-nl-submit {
    width: 100%;
  }
}

/* Newsletter : paragraphe d'introduction entre le titre et le formulaire */
.cb-sub-modal .cb-subtitle {
  max-width: 520px;
  margin: 0 auto 28px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cb-sub-modal .cb-title {
  margin-bottom: 16px;
}

/* Pages : pas de temps de lecture (reserve aux articles) */
.page .hero .cb-reading-time {
  display: none;
}


/* Images empilees dans un article (ex. colonnes de couvertures) : le theme met
   figure { margin: 0 }, elles se touchent. Espace vertical = ecart des colonnes. */
.entry-content .wp-block-image + .wp-block-image {
  margin-top: 2em;
}

/* Colonnes chargees en defilement infini : la regle 'nowrap' generee par
   WordPress n'est pas fournie avec le contenu AJAX. */
@media (min-width: 782px) {
  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-wrap: nowrap !important;
  }
}


/* Footer : bouton d'inscription a la newsletter, sous les reseaux sociaux */
.cb-footer-newsletter {
  text-align: center;
  margin: 20px 0 10px;
}

.cb-footer-last a.cb-footer-newsletter-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.cb-footer-last a.cb-footer-newsletter-btn:hover {
  background: #fff;
  color: #000 !important;
}


/* Videos YouTube/Vimeo : le theme les enveloppe en JS dans .video-wrap et leur
   donne 1170px de large (format 'video large'). Applique apres le chargement,
   cela provoquait un saut. On les garde a la largeur du texte. */
.contents-wrap .video-wrap {
  width: 100%;
  max-width: 100%;
  -webkit-transform: none;
  transform: none;
  margin: 30px 0 !important;
}

.entry-content .wp-block-embed.is-type-video {
  margin-left: 0;
  margin-right: 0;
}

.entry-content .wp-block-embed.is-type-video .video-wrap {
  margin: 0 !important;
}


/* ==========================================================================
   Videos integrees (bloc Embed YouTube/Vimeo) : chaque video garde son format
   d'origine. WordPress pose deja la bonne proportion (classes wp-embed-aspect-*),
   mais le JS du theme ajoute ensuite un cadre .video-wrap force en 16:9 : les deux
   se cumulaient (Shorts recadres, saut au chargement). On neutralise le cadre du
   theme et on fixe la proportion sur le conteneur WordPress.
   ========================================================================== */
.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper::before {
  display: none !important;
  content: none !important;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper .video-wrap {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-transform: none !important;
  transform: none !important;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-21-9 .wp-block-embed__wrapper { aspect-ratio: 21 / 9; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-18-9 .wp-block-embed__wrapper { aspect-ratio: 18 / 9; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-4-3 .wp-block-embed__wrapper  { aspect-ratio: 4 / 3; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-1-1 .wp-block-embed__wrapper  { aspect-ratio: 1 / 1; max-width: 560px; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-9-16 .wp-block-embed__wrapper { aspect-ratio: 9 / 16; max-width: 400px; }
.entry-content .wp-block-embed.is-type-video.wp-embed-aspect-1-2 .wp-block-embed__wrapper  { aspect-ratio: 1 / 2; max-width: 360px; }

/* Shorts YouTube colles sans classe de format : vertical par defaut */
.entry-content .wp-block-embed.is-type-video:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper:has(iframe[src*="/shorts/"]) {
  aspect-ratio: 9 / 16;
  max-width: 400px;
}

/* Footer : un logo ne doit jamais depasser de sa colonne */
.cb-footer-col-logo img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   En-tete : bouton menu (agrandi) en haut a gauche, loupe en haut a droite.
   Fixes en haut de l'ecran au defilement (classe .pwm-hdr-stuck posee en JS).
   Mobile (< 768px) : masques, la barre noire du theme fait deja le travail.
   ========================================================================== */
.pwm-hdr-btn {
  display: none;
}

@media only screen and (min-width: 768px) {
  .cb-header .pwm-hdr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border-radius: 50%;
    color: #161616;
    line-height: 1;
    z-index: 60;
    transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
  }

  .cb-header .pwm-hdr-menu {
    left: 56px;
  }

  .cb-header .pwm-hdr-search {
    right: 56px;
  }

  .cb-header .pwm-hdr-menu i {
    font-size: 36px;
  }

  .cb-header .pwm-hdr-search i {
    font-size: 28px;
  }

  .cb-header .pwm-hdr-btn:hover,
  .cb-header .pwm-hdr-btn:focus-visible {
    color: #FFAACC;
  }

  /* En-tete transparent sur la photo de couverture d'un article : icones blanches */
  .cb-header-trans-tr.single:not(.pwm-hdr-stuck) .cb-header .pwm-hdr-btn {
    color: #fff;
  }

  .cb-header-trans-tr.single:not(.pwm-hdr-stuck) .cb-header .pwm-hdr-btn:hover {
    color: #FFAACC;
  }

  /* Au defilement : boutons fixes, sur une pastille blanche */
  .pwm-hdr-stuck .cb-header .pwm-hdr-btn {
    position: fixed;
    top: var(--pwm-hdr-pin-top, 20px);
    margin-top: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  }
}

/* ==========================================================================
   Boutons de partage : icones SVG (WhatsApp, Copier le lien) a la taille des
   icones du theme + message "Lien copie !" apres un clic sur Copier le lien.
   ========================================================================== */
.cb-sharing-buttons .pwm-share-svg {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

.cb-sharing-buttons .pwm-share-svg svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
}

.cb-sharing-buttons .pwm-copy-link {
  position: relative;
}

.cb-sharing-buttons .pwm-copy-link::after {
  content: "Lien copié !";
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 8px;
  transform: translateX(-50%);
  padding: 6px 10px;
  background: #FFAACC;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 10;
}

.cb-sharing-buttons .pwm-copy-link.is-copied::after {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MOBILE (< 768px) : logo de l'en-tete agrandi.
   Les fichiers du logo (noir et blanc) sont tres larges (3500-4000px) avec
   beaucoup de vide transparent a gauche et a droite : le texte n'occupait
   qu'un tiers de la largeur de l'ecran. On fixe la hauteur et on recadre les
   cotes vides (object-fit: cover, centre) : le texte prend ~75% de la largeur.
   Si le logo est remplace par un fichier sans marges, retirer cette regle.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .cb-header .logo__main,
  .cb-header .logo__main .cb-logo-link {
    display: block;
  }

  .cb-header .logo__main img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: 17vw;
    object-fit: cover;
    object-position: center;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : image de couverture des articles moins haute.
   Le theme lui donne toute la hauteur de l'ecran (100vh - 40px) : on la
   ramene a 65% de l'ecran, avec un minimum de 460px pour que le logo,
   les categories, le titre et le bouton ecoute tiennent dessus.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .single .hero-1 {
    height: 65vh !important;
    min-height: 460px;
  }

  .single .hero-1 .hero {
    height: 100%;
  }

  .single .hero-1 .mask img {
    min-height: 0;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : fenetre Newsletter.
   Le theme lui donne une hauteur fixe de 420px avec le contenu centre
   verticalement : sur telephone, le texte + le formulaire depassaient en haut
   et recouvraient la croix de fermeture (qui ne repondait plus au toucher).
   -> hauteur adaptee au contenu (defilement si l'ecran est trop petit),
      espace reserve en haut pour la croix, croix au premier plan.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .cb-sub-modal {
    height: auto;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 64px 20px 28px;
  }

  .cb-sub-modal .cb-modal-wrap {
    top: auto;
    transform: none;
    -webkit-transform: none;
    height: auto;
  }

  .cb-sub-modal .overlay__closer,
  .admin-bar .cb-sub-modal .overlay__closer {
    top: 12px;
    right: 12px;
    margin-top: 0;
    z-index: 20;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
  }

  .cb-sub-modal .cb-title {
    margin-top: 0;
  }
}

/* ==========================================================================
   MOBILE : colonnes contenant uniquement des images (ex. couvertures de livres
   de La bibliotheque ideale). WordPress empile les colonnes sous 782px, d'ou une
   seule image par ligne. On affiche toutes les images sur une grille de 2.
   Les colonnes qui contiennent aussi du texte ne sont pas concernees.
   ========================================================================== */
@media only screen and (max-width: 781px) {
  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile):not(:has(> .wp-block-column > :not(.wp-block-image))) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }

  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile):not(:has(> .wp-block-column > :not(.wp-block-image))) > .wp-block-column {
    display: contents;
  }

  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile):not(:has(> .wp-block-column > :not(.wp-block-image))) .wp-block-image {
    margin: 0 !important;
  }

  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile):not(:has(> .wp-block-column > :not(.wp-block-image))) .wp-block-image img {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================================
   Texte des articles : 18px sur mobile, 20px sur ordinateur et tablette.
   La plupart des paragraphes ont la taille "Moyen" de l'editeur
   (.has-medium-font-size = 20px !important, partout) : on la ramene a 18px
   sur mobile. Les paragraphes sans taille choisie suivent la meme regle.
   ========================================================================== */
.entry-content {
  font-size: 20px;
  line-height: 1.7;
}

@media only screen and (max-width: 767px) {
  .entry-content {
    font-size: 18px;
  }

  .entry-content .has-medium-font-size,
  .entry-content .has-custom-font-size[style*="font-size:20px"] {
    font-size: 18px !important;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : texte de presentation des categories (ex. POP WOMEN
   SELECTION) colle aux bords de l'ecran -> marges laterales.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .cb-arc-header .cb-arc-sub {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : videos avec le style "Format reel (telephone)".
   La video YouTube est en 16:9 mais son contenu utile est une bande verticale
   centrale (9:16, soit 81/256 de la largeur). On affiche un cadre 9:16 et on
   agrandit l'iframe (x 256/81) en la centrant : seule la bande centrale reste
   visible. Les commandes YouTube situees sur les bords sont rognees.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .entry-content .wp-block-embed.is-type-video.is-style-pwm-reel .wp-block-embed__wrapper {
    aspect-ratio: 9 / 16;
    max-width: 400px;
    overflow: hidden;
  }

  .entry-content .wp-block-embed.is-type-video.is-style-pwm-reel .wp-block-embed__wrapper .video-wrap {
    overflow: visible !important;
  }

  .entry-content .wp-block-embed.is-type-video.is-style-pwm-reel .wp-block-embed__wrapper iframe {
    width: 316.05% !important;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   MOBILE (< 768px) : moins d'espace sous les titres des categories.
   Le theme met 50px au-dessus et 100px en dessous du bloc titre.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .cb-title-box {
    margin-top: 30px;
    margin-bottom: 35px;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : bandeau du haut (menu + reseaux sociaux) en noir pur.
   Le theme le met en #161616 (gris tres fonce).
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .mob-header {
    background: #000;
  }
}

/* ==========================================================================
   MOBILE (< 768px) : logo des articles coupe par le bandeau noir (pwm-fix-logo-sous-bandeau).
   Sur un article, le theme place l'en-tete transparent (logo) en position
   absolue tout en haut de la page (top: 0), mais le bandeau noir mobile
   (.mob-header, sticky) occupe deja ce haut d'ecran et recouvrait le logo.
   -> hauteur fixe pour le bandeau, et en-tete decale d'autant.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .mob-header {
    height: 50px;
  }

  .cb-header-trans-tr.single .cb-header {
    top: 50px;
  }

  .cb-header-trans-tr.single.admin-bar .cb-header {
    top: 96px;
  }
}
