/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.ce_woo_blocks .woo_bl_title h1 {
    font-size: 35px !important;
	line-height: 38px !important;
    font-weight: bold !important;
}
article, .post {
    font-size: 18px !important;
    line-height: 28px;
}
.post {
    font-size: 19px !important;
    line-height: 28px;
}
.post p {
    font-size: 19px !important;
}
img.alignright {
float:right; 
margin:0 0 1em 1em;
border-radius: 20px;
border:1px solid #EEEEEE;
}
img.alignleft {
float:left; 
margin:0 1em 1em 0;
border-radius: 20px;
border:1px solid #EEEEEE;
}
img.aligncenter {
display: block; 
margin-left: auto; 
margin-right: auto;
border-radius: 20px;
border:1px solid #EEEEEE;
}
img.alignnone {
border-radius: 20px;
border:1px solid #EEE; 
}

h2 {
    font-size: 30px !important;
}
.table_view_charts h2 {
    line-height: 25px !important;
}
.wpsm-highlight-yellow, .wpsm-highlight-yellow a {
    background-color: #fff059c2 !important;
    color: #090909 !important;
}
.carouselhor-item h2 {
    font-size: 20px !important;
    line-height: 22px;
}
.rehub_offer_coupon {
    font-size: 18px;
}
.lineheight20 {
    line-height: 32px !important;
}
.rh-pr-rated-block {
    display:none;
}
.rh_woo_star {
    display:none;
}
.wpsm-one-half {
  border-radius: 15px;
  background: #f8f8f8;
  padding: 20px;
}

.news-community .hotmeter_wrap {
    display:none;
}
.btn_more {
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 25px !important;
    color: #000 !important;
    border: none !important;
	background-color: #92eed9;
	padding: 6px 18px;
}
.btn_more:hover {
    color: #fff !important;
	background-color: #7000f4;
	
}

.broken_link, a.broken_link {
    text-decoration: none !important;
}

.list_woo.products .button_action {

    display: none;
}
.carouselhor-item .temperatur {
    font-size: 18px;
    display: none;
}
.carouselhor-item h2 {
    font-weight: 600 !important;
}
.header-top .top-social a {
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
}

.wpsm_box.info_type {
    border-radius: 15px !important;
}
.post ul:not([class]) li, .post ol:not([class]) li {
    margin: 0 0 5px 50px !important;
}


/** CSS customizations by Chumang **/
.rh_deal_block .deal-pic-wrapper {
	width: 70px;
}
.rh_deal_block .rh-deal-details {
	padding-left: 15px !important;
	width: calc(100% - 70px)
}
.rh-deal-details .redemptionText {
	display: flex;
    flex-direction: column;
}
.rh-deal-details .redemptionText span {
	margin-top: 10px
}
.rh-deal-details .rh-flex-columns.rh-flex-nowrap {
	justify-content: start;
}
.rh-deal-details .rh-flex-right-align {
	margin-left: 0;
	padding-left: 0 !important;
}

.sidebar .widget.posts_widget .tabs-item > div figure {
	float: none;
	width: 100%;
}
.sidebar .widget.posts_widget .tabs-item > div .detail {
	float: none;
	padding-left: 0 !important;
	margin-top: 15px;
	width: 100%;
}

.widget.posts_widget .tabs-item > div .detail h5 {
	font-size: 15px;
    line-height: 20px !important;
}

.elementor-size-xl .elementor-heading-title {
	font-size: 39px !important;
}
.rehub_offer_coupon span {
    font-size: large !important;
    font-weight: 800 !important;
}
.post ol, .post ul {
    font-size: 18px !important;
}
.wpsm-highlight-yellow, .wpsm-highlight-yellow a {
    font-size: 18px !important;
}
.wpsm_box {
    font-size: 18px !important;
}

.tablepress>:where(thead)>*>th {
    background-color: #7000f4 !important;
}


.offer_grid h2 {
    font-size: 15px !important;
}
.clearfix.flowhidden figure img {
    border-radius: 20px !important;
}
.col_item h2 {
    font-size: 18px !important;
}
.col_item img {
    border-radius: 20px !important;
}

blockquote {
    margin: 0 !important;
}
blockquote:not(.wp-block-quote) p {
    color: #181818 !important;
}
blockquote p {
    font-size: 22px !important;
}
h3 {
    font-size: 24px !important;
}
.redemptionText {
    font-size: 16px !important;
}
h2 .wpsm-highlight.wpsm-highlight-yellow {
    font-size: 30px;
}
.owl-item .carouselhor-item figure img {
    border-radius: 15px;
}

.wp-caption {
    display: inline-block; /* Makes the caption behave like an image element */
    vertical-align: top; /* Ensures captions align properly */
    margin: 0 5px 30px; /* Adjust margins as needed */
    text-align: center; /* Centers the caption text */
	padding: 1px !important;
	border-radius: 20px !important;
}

/* Optional: Ensure consistency in image widths */
div.wp-caption p.wp-caption-text {
    font-size: 85% !important;
	font-weight:500 !important;
}
.wp-caption .wp-caption-text, .wp-caption p.wp-caption-text {
	margin-bottom: 10px !important;
}
.wp-caption img {
    width: 100%; /* Forces the image to take up the full width of the container */
    height: auto; /* Keeps the aspect ratio */
	border-radius: 20px !important;
}
.wpsm-one-half, .wpsm-one-third {
    margin-bottom: 20px !important;
}

.rh_gr_img figure img {
    border-radius: 15px !important;
}

figure.top_featured_image img {
    border-radius: 30px !important;
}

.wpsm-titlebox {
	border-radius: 20px;
	}
.wpsm-titlebox>strong:first-child {
    left: 35px !important;
}
@media (min-width: 1024px) {
	.wpsm-titlebox {
		margin: 0 auto 30px !important;
		width: 80%;
		padding: 25px 45px !important;
	}
}
.wpsm-titlebox h3 {
    margin-bottom: 0px;
}
.wpsm-titlebox ul {
    margin-top: 0px; /* Aligns with p elements */
}
.post .wpsm-titlebox ul li, .wpsm-titlebox ul li {
    margin-left: 0 !important;
    padding-left: 0;
    list-style: none !important; /* Overrides the list-style */
	font-size: 17px;
}
h2 .wpsm-highlight.wpsm-highlight-yellow {
    font-size: 30px !important;
}
blockquote .wpsm-highlight {
    font-size: inherit !important;
}
.post em {
    color: #7000f4;
}


#kcmenu {
    margin: 15px 0 30px !important;
    counter-reset: item;
	counter-reset: main-item;
    list-style: none;
    box-shadow: 0 4px 12px #e0e0e0;
    margin: 0 4px 12px;
    border: 1px solid #ddd;
    border-top: none;
}

#kcmenu > li.top {
    counter-increment: main-item;
    counter-reset: sub-item; /* Reset the sub-counter when a new main item starts */
}
#kcmenu li {
    list-style: none;
    padding: 8px 15px 8px 5px;
    margin: 0;
    border-top: 1px solid #ddd;
}

#kcmenu li.top {
    background-color: #f9f9f9;
}

#kcmenu > li.top::before {
    content: counter(main-item);
    border-radius: 50%;
    color: #fff;
    float: left;
    height: 25px;
    line-height: 25px;
    margin: 4px 20px 20px 15px;
    text-align: center;
    width: 25px;
    font-weight: 700;
    font-size: 16px;
    background: #7000f4;
}

#kcmenu > li.sub.sub_1::before {
    content: counter(main-item) "." counter(sub-item);
    counter-increment: sub-item; /* Increment the sub-counter for each sub item */
    color: #7000f4;
    margin-right: 10px;
    font-weight: bold;
}
.kc-anchor.kc__anchor::before {
    content: '';
    display: block;
    height: 45px; /* Adjust as needed */
    margin-top: -45px; /* Negative margin to offset the height */
}
.kc-anchor.kc__anchor {
    margin-bottom: 0 !important;
}
h2:not([class]) {
    margin-top: 40px;
}
h3:not([class]) {
    margin-top: 5px;
}

.post {
    counter-reset: kc-counter; /* Initialize the counter at the container level */
}

/* Increment the counter only if .kc-anchor is directly followed by an <h2> */
.post .kc-anchor.kc__anchor + h2 {
    counter-increment: kc-counter;
}

/* Display the counter before <h2> elements */
.post .kc-anchor.kc__anchor + h2:before {
    content: counter(kc-counter);
    border-radius: 50%;
    display: block;
    float: left;
    font: bold 20px / 38px Arial;
    height: 38px;
    margin: -8px 15px 10px 0;
    text-align: center;
    width: 38px;
    border: 3px solid #111;
}

.woocommerce-product-details__short-description p {
    font-size: 18px !important;
}

.rh-tabletext-block-wrapper.padd20 p {
    font-size: 20px !important;
}

.wpsm-titlebox.wpsm_style_3 {
	width: 100% !important;
    border: 3px solid #49c4a9 !important;
}

.wpsm-titlebox.wpsm_style_3>strong:first-child {
    color: #49c4a9 !important;
}

/* =========================================================
   Align "Mise à jour" with "Ajouter au comparateur"
   Rehub / ce_woo_blocks.php
   ========================================================= */

.ce_woo_block_top_holder .woo_bl_title{
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;           /* vertical alignment */
}

/* Title on its own row */
.ce_woo_block_top_holder .woo_bl_title h1{
  flex: 0 0 100%;
  margin-bottom: 6px;
}

/* Neutralise old float layout */
.ce_woo_block_top_holder .woo_bl_title .product-last-updated,
.ce_woo_block_top_holder .woo_bl_title .woo-top-actions{
  float: none !important;
  clear: none !important;
}

/* "Mise à jour" styling (smaller & discreet) */
.ce_woo_block_top_holder .woo_bl_title .product-last-updated{
  margin: 0 !important;
  font-size: 16px !important;              /* smaller font */
  line-height: 1.1;
}

/* Compare button aligned on the same line */
.ce_woo_block_top_holder .woo_bl_title .woo-top-actions{
  margin-left: auto;
  margin-top: 0 !important;
  align-self: center;
}

/* ---------------------------------------------------------
   Mobile adjustments
   --------------------------------------------------------- */
@media (max-width: 768px){
  .ce_woo_block_top_holder .woo_bl_title{
    align-items: flex-start;
  }

  .ce_woo_block_top_holder .woo_bl_title .woo-top-actions{
    margin-left: 0;
    margin-top: 6px;
  }
}
.ce_woo_block_top_holder .woo_bl_title .product-last-updated{ float:none !important; }
.ce_woo_block_top_holder .woo_bl_title .woo-top-actions{ float:none !important; }


#toplistmenu ul li a {
    border-bottom: none !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.woo-top-actions .woo-button-actions-area {
  display: none !important;
}