/*
Theme Name: Webcam Sex Hot (GeneratePress)
Description: Thème enfant de webcam-sex-hot.com, remplace ReHub (2026-11-27). Code versionné dans wp-fleet : sites/webcam-sex-hot/generatepress-child/.
Template: generatepress
Version: 1.0.0
Text Domain: webcam-sex-hot
*/

:root { --wsh-rouge: #e43917; --wsh-lien: #ea0020; --wsh-texte: #111; --wsh-gris: #f4f4f4; }

body { font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--wsh-texte); background: #f6f6f6; }
a { color: var(--wsh-lien); }
a:hover, a:focus { color: var(--wsh-rouge); }
h1, h2, h3, h4 { font-weight: 700; color: var(--wsh-texte); line-height: 1.25; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }

/* En-tête rouge, logo WSH, menu blanc en gras */
.site-header { background: var(--wsh-rouge); }
.site-header .inside-header { padding: 10px 20px; }
.site-header .site-logo img { width: 125px; height: auto; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items { color: #fff; font-weight: 700; font-size: 16px; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: #fff; background: transparent; box-shadow: inset 0 -3px 0 #fff; }
.main-navigation .main-nav ul ul { background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.main-navigation .main-nav ul ul li a { color: var(--wsh-texte); font-weight: 500; box-shadow: none; }
.main-navigation .main-nav ul ul li a:hover { color: var(--wsh-lien); background: var(--wsh-gris); box-shadow: none; }
@media (max-width: 768px) {
  .main-navigation.toggled .main-nav > ul { background: var(--wsh-rouge); }
}

/* Contenus */
.separate-containers .inside-article, .separate-containers .widget { border: 1px solid #e5e5e5; }
.entry-content h2 { margin-top: 1.6em; }
.wp-block-image img { height: auto; }

/* Boutons et listes à coches (styles ReHub utilisés dans les avis) */
.wp-block-button.is-style-check-bullet-button .wp-block-button__link,
.wsh-offre { display: inline-block; background: var(--wsh-rouge); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.3;
  padding: 14px 26px; border-radius: 4px; box-shadow: 0 3px 0 rgba(0, 0, 0, .18); text-decoration: none; }
.wp-block-button.is-style-check-bullet-button .wp-block-button__link::before,
.wsh-offre::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 10px;
  border-radius: 50%; background: #fff; color: var(--wsh-rouge); font-size: 14px; vertical-align: 2px; }
.wp-block-button.is-style-check-bullet-button .wp-block-button__link:hover, .wsh-offre:hover { background: #c8300f; color: #fff; }
ul.is-style-check-bullets-list { list-style: none; margin-left: 0; }
ul.is-style-check-bullets-list li { position: relative; padding-left: 30px; margin-bottom: 6px; }
ul.is-style-check-bullets-list li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #3ab54a; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }

/* Encadré, avantages / inconvénients, accordéon */
.wpsm_box { border-radius: 4px; padding: 18px 22px; margin-bottom: 30px; background: #e8f4fd; border-left: 4px solid #2f8fd8; }
.wpsm_box.warning_type { background: #fff6e0; border-color: #f0a500; }
.wpsm_box.error_type { background: #fdecec; border-color: #d33; }
.wpsm_box.green_type, .wpsm_box.download_type { background: #eaf7ec; border-color: #3ab54a; }
.wpsm_box > i { display: none; }
.wsh-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 30px; }
.wsh-pc__col { border: 1px solid #e5e5e5; border-radius: 4px; padding: 16px 18px; background: #fff; }
.wsh-pc__titre { font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.wsh-pc__pros .wsh-pc__titre { color: #2e9b3c; }
.wsh-pc__cons .wsh-pc__titre { color: #d33; }
.wsh-pc ul { list-style: none; margin: 0; }
.wsh-pc li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.wsh-pc__pros li::before { content: "+"; position: absolute; left: 0; color: #2e9b3c; font-weight: 700; }
.wsh-pc__cons li::before { content: "−"; position: absolute; left: 0; color: #d33; font-weight: 700; }
@media (max-width: 768px) { .wsh-pc { grid-template-columns: 1fr; } }
.wsh-accordeon { margin: 0 0 30px; border-top: 1px solid #e5e5e5; }
.wsh-accordeon details { border-bottom: 1px solid #e5e5e5; }
.wsh-accordeon summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.wsh-accordeon summary::-webkit-details-marker { display: none; }
.wsh-accordeon summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 22px; color: var(--wsh-rouge); }
.wsh-accordeon details[open] summary::after { content: "−"; }
.wsh-accordeon__texte { padding: 0 0 14px; }

/* Encadré de note (barre latérale des avis) */
.wsh-note { background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); margin-bottom: 30px; }
.inside-right-sidebar .widget:has(.wsh-note) { padding: 0; border: 0; background: transparent; }
.wsh-note__tete { display: flex; justify-content: space-between; align-items: center; background: #f0f0f0; padding: 15px 20px; font-size: 19px; }
.wsh-note__tete strong { font-size: 27px; }
.wsh-note__corps { padding: 20px; }
.wsh-critere { margin-bottom: 14px; }
.wsh-critere__ligne { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.wsh-critere__ligne span:last-child { font-weight: 700; }
.wsh-barre { height: 9px; background: #e3e3e3; border-radius: 5px; overflow: hidden; }
.wsh-barre span { display: block; height: 100%; background: var(--wsh-rouge); border-radius: 5px; }
.wsh-offre--note { display: block; margin: 0 20px 20px; text-align: center; }
@media (min-width: 769px) { .inside-right-sidebar { position: sticky; top: 20px; } }

/* Classement de l'accueil */
.wsh-classement__titre { font-weight: 700; font-size: 21px; padding: 15px 0; margin-bottom: 20px; border-bottom: 1px solid #e3e3e3; box-shadow: inset 0 -3px 0 -1px transparent; position: relative; }
.wsh-classement__titre::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 170px; height: 3px; background: var(--wsh-lien); }
.wsh-item { display: grid; grid-template-columns: 150px 1fr 90px 230px; gap: 25px; align-items: center; background: #fff; border: 1px solid #eee;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .05); padding: 18px 25px; margin-bottom: 18px; }
.wsh-item__image { position: relative; }
.wsh-item__image img { width: 125px; height: auto; display: block; margin: 0 auto; border: 1px solid #eee; }
.wsh-item__rang { position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--wsh-lien);
  color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; z-index: 1; }
.wsh-item__nom { font-size: 18px; margin: 0 0 8px; }
.wsh-item__nom a { color: var(--wsh-texte); }
.wsh-item__resume { color: #777; font-size: 15px; line-height: 1.5; }
.wsh-rond { --p: 0; width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto;
  background: conic-gradient(var(--wsh-rouge) calc(var(--p) * 1%), #e8e8e8 0); }
.wsh-rond span { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.wsh-item__actions { text-align: center; }
.wsh-item__actions .wsh-offre { font-size: 17px; padding: 12px 18px; }
.wsh-item__actions .wsh-offre::before { content: none; }
.wsh-item__lire { display: block; margin-top: 8px; font-size: 12px; }
@media (max-width: 900px) {
  .wsh-item { grid-template-columns: 1fr auto; grid-template-areas: "img note" "texte texte" "actions actions"; gap: 12px 15px; padding: 18px 15px; }
  .wsh-item__image { grid-area: img; justify-self: start; padding-left: 12px; }
  .wsh-item__note { grid-area: note; }
  .wsh-item__texte { grid-area: texte; }
  .wsh-item__actions { grid-area: actions; }
  .wsh-item__actions .wsh-offre { display: block; }
}
