﻿/*
Theme Name: smarttheme
Theme URI: https://smarttheme.smartson.fr
Author: agence smartson
Author URI: https://www.smartson.fr
Description: Ceci est une courte description du thème smarttheme
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smarttheme
Tags: 
*/


/* ———— scrollbar personnalisée ——————————————————————————————————————————————————————————————————————————————— */
    ::-webkit-scrollbar {width: 5px;} 
    /* Track */ ::-webkit-scrollbar-track {background: #eeeeee; border-radius: 10px;}
    /* Handle */::-webkit-scrollbar-thumb {background: #555555; border-radius: 10px;}
    /* Handle on hover */::-webkit-scrollbar-thumb:hover {background: #222222;}

/* ———— rendre les bannières cliquables ——————————————————————————————————————————————————————————————————————— */
.cover-link {
  position: relative;
  overflow: hidden;
  display: block;
}

/* Zone cliquable */
.full-cover-link {
  position: absolute;
  inset: 0;
  z-index: 10 !important;
  display: block;
}

/* Effet de flash blanc */
.cover-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.cover-link:hover::before {
  animation: flashing 0.6s ease-out forwards;
}
@keyframes flashing {
  0% { opacity: 0.4; }
  100% { opacity: 0; }
}





/* ==== style pour resolution desktop a partir de 1000px de large ============================================= */
@media (min-width: 1000px)  {

/* ———— définie la font des items du menu ————————————————————————————————————————————————————————————————————— */
span.wp-block-navigation-item__label { font-size: 1.0em!important; font-weight: 600; }
/* ———— supprime le cadre, le background des blocs sous-menu  ————————————————————————————————————————————————— */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container { border: 0px!important; margin-top: 5px; background-color: unset!important; }
/* ———— calage des sous-menu aligné sur les item top level du menu  ——————————————————————————————————————————— */
a.wp-block-navigation-item__content {margin-left: 0px; padding-left: 0px; }
/* ———— suppression des margin du bloc contenu entre le header et le footer ——————————————————————————————————— */
.entry-content {margin-top: 0px!important; }

.wp-block-template-part {margin-top: 0px!important; }