/* TechMedias — vernis de marque (ce que theme.json ne fait pas finement).
   Volontairement minimal : on enrichit, on ne se bat pas contre Twenty Twenty-Five. */

:root {
  --tm-grad: linear-gradient(135deg, #22A6E8 0%, #8B5CF6 52%, #EC4899 100%);
}

/* Titre de l'article + titre du site : dégradé signature de la marque */
.wp-block-post-title,
h1.wp-block-post-title a,
.wp-block-site-title a:hover {
  background: var(--tm-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Liens de contenu : soulignement marque, plus aéré */
.entry-content a,
.wp-block-post-content a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(139, 92, 246, 0.45); /* violet translucide */
}
.entry-content a:hover,
.wp-block-post-content a:hover {
  text-decoration-color: #EC4899;
}

/* Sélection de texte aux couleurs de la marque */
::selection { background: rgba(139, 92, 246, 0.22); }

/* Filet dégradé sous l'en-tête (rappel discret du dégradé marque) */
.wp-block-template-part[data-area="header"],
header.wp-block-template-part {
  border-bottom: 2px solid transparent;
  border-image: var(--tm-grad) 1;
}

/* Citations : l'accent Instrument Serif respire */
.wp-block-pullquote {
  border-top: none;
  border-bottom: none;
}
.wp-block-pullquote p {
  font-size: 1.6rem;
  line-height: 1.3;
}

/* Boutons : léger relief de marque au survol */
.wp-block-button__link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.55);
}
