/*
Theme Name: Rivor-Child
Template: rivor
Theme URI: https://rivor-wp-dark.pixels71.com/
Author: Pixels71
Author URI: https://themeforest.net/user/pixels71
Description: Rivor is a robust and versatile Creative Agency & Portfolio WordPress Theme, tailored specifically for technology-driven businesses. It's the ideal solution for transforming your Creative or technology website. Designed with conversion optimization in mind, Rivor combines sleek, modern aesthetics with powerful features to effectively showcase your software or services.
Version: 0.0.3
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later 
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Text Domain: rivor-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Copyright 2025 Rivor. This theme is distributed under the terms of the GNU General Public License (GPL).
*/


.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bypostauthor {
    font-weight: bold;
}

.gallery-caption {
    font-style: italic;
    text-align: center;
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
  margin-top: 40px !important;
  margin-bottom: 16px !important;
}
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading {
  margin-top: 40px !important;
  margin-bottom: 16px !important;
}
/* Espace entre les paragraphes */
.wp-block-paragraph {
  margin-bottom: 16px !important;
}

/* Espace avant/après les blocs citation (notes) */
.wp-block-quote {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

/* Espace avant/après les listes */
.wp-block-list {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
/* Espace entre les puces d'une liste */
.wp-block-list li {
  margin-bottom: 12px !important;
}
/* Style des liens dans le contenu des articles */
.wp-block-paragraph a,
.wp-block-list a {
  font-size: inherit !important;
  text-transform: none !important;
  text-decoration: underline !important;
  color: inherit !important;
  font-weight: inherit !important;
}
/* Couleur des liens dans le contenu */
.wp-block-paragraph a,
.wp-block-list a {
  color: #a0814d !important; /* remplace par ta couleur exacte */
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.wp-block-paragraph a:hover,
.wp-block-list a:hover {
  color: #1a1a1a !important; /* couleur au survol, ici un noir/gris foncé */
}
body h3.wp-block-heading,
html body h3.wp-block-heading {
  font-size: 30px !important;
  line-height: 38px !important;
}
p:has(+ .rivor-table-of-content-list) {
  font-size: 0 !important;
  line-height: normal !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
p:has(+ .rivor-table-of-content-list)::after {
  content: "Sommaire";
  display: inline-block;
  line-height: 1.2;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #666666 !important;
}

.rivor-table-of-content-list a {
  font-size: 18px !important;
}
.grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.justify-items-center::before {
  content: "Articles similaires";
  display: block;
  grid-column: 1 / -1;
  justify-self: start !important;
  font-size: 24px;
  font-weight: 600;
  margin-top: -50px;
  margin-bottom: 12px;
  padding-left: 0;
}
/* H2 des articles sans police choisie : Inter 600 */
.blog-details-body h2:not([style*="font-family"]):not([class*="font-family"]) {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}