
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-trending-stories {
  background: #fbf8f5;
  padding: 70px 0 75px;
}
.back-trending-stories .container {
  max-width: 1350px;
}
.back-trending-stories ul {
  margin: 0;
  padding: 0;
}
.back-trending-stories ul li {
  background: #ffffff;
  margin: 0 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.back-trending-stories ul li .image-areas {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.back-trending-stories ul li .image-areas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.back-trending-stories ul li .image-areas .back-cate {
  position: absolute;
  bottom: 30px;
  left: 30px;
  padding: 6px 15px 2px;
}
.back-trending-stories ul li .back-btm-content {
  padding: 35px 28px 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.back-trending-stories ul li .back-btm-content h3 {
  font-family: 'SpartanSemiBold';
  font-size: 16px;
  line-height: 26px;
  margin: 0px 0 16px;
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.back-trending-stories ul li .back-btm-content h3 a {
  color: #000;
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(to bottom, #000000 0%, #000000 100%);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: all 0.7s;
}
.back-trending-stories ul li .back-btm-content h3 a:hover {
  color: #000;
  background-size: 100% 1px;
}
.back-trending-stories ul li .back-btm-content ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  flex-direction: column; /* Ajouter cette ligne */
}
.back-trending-stories ul li .back-btm-content ul li {
  color: #777;
  font-size: 13px;
  display: flex;
  align-items: flex-start;  /* Changez de "center" à "flex-start" */
  padding-right: 10px;
  margin: 0;
 flex-direction: row; /* Ajouter cette ligne */

}
.back-trending-stories ul li .back-btm-content ul li a {
  color: #000;
}
.back-trending-stories ul li .back-btm-content ul li a:hover {
  color: #0088cb;
}
.back-trending-stories ul li .back-btm-content ul li svg {
  width: 18px;
  position: relative;
  top: -1px;
}
.back-trending-stories ul li .back-btm-content ul li span {
  margin-right: 10px;
}
.back-trending-stories ul li .back-btm-content ul li.back-author img {
  width: 35px;
  border-radius: 50%;
  height: 35px;
}
.back-trending-stories ul li .back-btm-content ul li:last-child {
  padding-right: 0;
}
.back-trending-stories .owl-nav {
  position: absolute;
  display: block;
  top: -88px;
  right: 0;
  width: 100%;
  opacity: 1;
  transition: all 0.5s ease 0s;
}
.back-trending-stories .owl-nav [class*="owl-"] {
  position: absolute;
  right: 20px;
  display: inline-block;
  font-size: 0 !important;
  width: 50px;
  height: 50px;
  line-height: 47px;
  color: #0a0a0a;
  background: #e5e5e5 !important;
  border-radius: 100%;
  transition: all 0.5s ease 0s;
}
.back-trending-stories .owl-nav [class*="owl-"]:before {
  content: "\f11e";
  font-family: uicons-regular-rounded;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 400;
  line-height: 2px;
}
.back-trending-stories .owl-nav [class*="owl-"] span {
  display: none;
}
.back-trending-stories .owl-nav [class*="owl-"].owl-next {
  right: 12px;
}
.back-trending-stories .owl-nav [class*="owl-"].owl-prev {
  right: 77px;
}
.back-trending-stories .owl-nav [class*="owl-"].owl-prev:before {
  content: '\f11d';
}
.back-trending-stories .owl-nav [class*="owl-"]:hover {
  color: #ffffff;
  background: #0088cb !important;
}
.back-trending-stories .back-title h2 {
  padding-left: 14px;
}
.back-trending-stories.back-trending-stories-home2 {
  background: #ffffff;
  padding: 0px;
}
.back-trending-stories.back-trending-stories-home2 ul li .back-btm-content {
  padding: 25px 0 35px;
}
.back-trending-stories.back-trending-stories-home2 ul li .back-btm-content .back-cates {
  font-size: 12px;
  color: #777;
  text-transform: uppercase;
  display: block;
  margin: 0 0 10px;
}
.back-trending-stories.back-trending-stories-home2 ul li .image-areas img {
  border-radius: 5px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-home2-top {
  background: none;
  margin-left: -12px;
  padding-top: 10px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-home2-top ul li {
  background: none;
  margin: 0;
}
.back-trending-stories.back-trending-stories-home2 ul li .back-btm-content .back-cates {
  margin: 0 0 5px;
}
.back-trending-stories.back-trending-stories-home2 ul li .back-btm-content h3 {
  margin: 0px 0 8px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-weekend {
  background: #f5f5f5;
  padding-top: 70px;
  padding-bottom: 70px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-weekend .container {
  max-width: 1600px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-weekend ul li {
  border-radius: 0 0 5px 5px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-weekend ul li .back-btm-content {
  padding: 35px 30px 35px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-weekend ul li .back-btm-content p {
  font-size: 14px;
  margin: 15px 0 0;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-home3.back-trending-stories ul li {
  margin: 0;
  padding: 0 0 0 23px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-home3.back-trending-stories ul {
  margin: 23px 0 0 -23px;
}
.back-trending-stories.back-trending-stories-home2.back-trending-stories-home3.back-trending-stories-home2 ul li .back-btm-content h3 {
  font-size: 14px;
  line-height: 24px;
}

/* Pour Owl Carousel - forcer la hauteur uniforme */
.back-trending-slider .owl-item {
  display: flex;
}
.back-trending-slider .owl-item > li {
  width: 100%;
}

.back-whats-posts .social-area.back-author-post-social li {
  flex: 0 0 47%;
  max-width: 47%;
}
.back-category-style-grid .row .col-lg-4 {
  margin-bottom: 23px;
}
.back-category-style-grid .row .col-lg-4 .image-areas img {
  border-radius: 5px 5px 0 0;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content {
  padding: 35px 28px 35px;
  background: #fbfafa;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.09);
}
.back-category-style-grid .row .col-lg-4 .back-btm-content h3 {
  font-family: 'SpartanBold';
  font-size: 17px;
  line-height: 27px;
  margin: 2px 0 10px;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content h3 a {
  color: #000;
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(to bottom, #000000 0%, #000000 100%);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: all 0.7s;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content h3 a:hover {
  color: #000;
  background-size: 100% 1px;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content .back-cates {
  color: #777;
  font-size: 14px;
  font-family: 'SpartanSemiBold';
}
.back-category-style-grid .row .col-lg-4 .back-btm-content p {
  margin: 15px 0 0;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul {
  display: flex;
  flex-wrap: wrap;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li {
  color: #777;
  font-size: 13px;
  display: flex;
  align-items: center;
  padding-right: 10px;
  margin: 0;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li a {
  color: #000;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li a:hover {
  color: #0088cb;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li svg {
  width: 18px;
  position: relative;
  top: -1px;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li span {
  margin-right: 10px;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li.back-author img {
  width: 35px;
  border-radius: 50%;
  height: 35px;
}
.back-category-style-grid .row .col-lg-4 .back-btm-content ul li:last-child {
  padding-right: 0;
}
.back-pagination {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-pagination li:not(.back-next) a {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(2, 3, 52, 0.078);
  display: inline-block;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  color: #0a0a0a;
}
.back-pagination li:not(.back-next) a:hover {
  border: 2px solid #0088cb;
  background: #0088cb;
  color: #ffffff;
}
.back-pagination li {
  margin-right: 7px;
}
.back-pagination li.back-next {
  line-height: 45px;
  padding-left: 15px;
}
.back-pagination li.back-next a {
  font-size: 14px;
  font-weight: 600;
  color: #020334;
  border: 2px solid rgba(2, 3, 52, 0.078);
  padding: 9px 20px;
  border-radius: 5px;
}
.back-pagination li.back-next a i {
  font-size: 20px;
  position: relative;
  top: 3px;
}
.back-pagination li.back-next a:hover {
  background: #0088cb;
  color: #ffffff;
}
.back-pagination svg {
  width: 18px;
  color: #0a0a0a;
  position: relative;
  top: 7px;
  left: 3px;
  transition: all 0.5s ease 0s;
}
.back-pagination.back-shop-pagination {
  justify-content: center;
  padding-top: 50px;
}
.back-hero-area3 ul .image-area img {
  border-radius: 5px;
}
.back-hero-area3 ul .image-area:before {
  border-radius: 5px;
}
.back-newsletter-area .inner-newsletter {
  background: #f5f5f5;
  padding: 50px;
  border-radius: 5px;
  margin: 20px 0 60px;
}
.back-newsletter-area .inner-newsletter h3 {
  font-size: 16px;
  text-transform: uppercase;
  color: #000;
  font-family: 'SpartanSemiBold';
  margin: 0 0 10px;
}
.back-newsletter-area .inner-newsletter p {
  font-size: 14px;
  color: #777;
  margin: 0;
}
.back-newsletter-area .inner-newsletter .back-newsletter {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.back-newsletter-area .inner-newsletter .back-newsletter li input {
  border: none;
  outline: none;
  background: #fff;
  padding: 14px 12px 11px;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
}
.back-newsletter-area .inner-newsletter .back-newsletter li button {
  border: none;
  outline: none;
  background: #2962ff;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 25px 11px;
  margin-left: 14px;
  border-radius: 4px;
}
.back-newsletter-area .inner-newsletter .back-newsletter li button:hover {
  opacity: .9;
}
.back-newsletter-area .inner-newsletter .back-newsletter li:first-child {
  flex: 1;
}