:root {
  --primary-color: #bb8a22;
}

* {
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Crimson Text", serif;
}

a {
  text-decoration: none !important;
}

.toc-items li {
  font-weight: 800;
}

body {
  background: #dbc894;
  color: #333;
  line-height: 1.6;
}

.top-bar {
  background: #daaa62;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 5px 30px;
  background: #fff;
  border-bottom: 2px solid #c28f55;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a17a25;
}

.nav-links {
  list-style: none;
  display: flex;
  padding-left:27vh;
  margin-bottom: 0 !important;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #936400;
  font-weight: 600;
}

.nav-links .dropdown li {
  margin-left: 0 !important;
}

.nav-links .dropdown li a {
  color: var(--primary-color);
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 30px;
    background: #fff;
    border: 1px solid #c28f55;
    border-radius: 8px;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
    z-index: 1000;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
    color: #a17a25;
    cursor: pointer;
  }
}

/* Base Dropdown Setup */
.dropdown {
  position: relative;
  margin-right: 150px;
}

.dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  /* color: inherit; */
}

/* Dropdown icon */
.dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Desktop Hover Behavior */
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 180px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .dropdown-menu li {
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
  }

  .dropdown-menu a:hover {
    background-color: #f5f5f5;
  }

  .dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
  }
}

/* Mobile: Always show dropdown menu inside nav if dropdown is visible */
@media (max-width: 767px) {
  .dropdown-menu {
    display: block;
    position: static;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding-left: 10px;
  }

  .dropdown-menu a {
    padding: 8px 15px;
  }

  .dropdown-icon {
    display: none; /* hide icon if not needed on mobile */
  }
}

/* Base search container */
.search-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Search icon button */
.search-button {
  background: none;
  /* border: 1px solid #ccc; */
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Icon inside the button */
.search-button i {
  font-size: 16px;
  color: #333;
}

/* Hover effect */
.search-button:hover {
  background-color: #f0f0f0;
}

/* Optional: adjust size and spacing for mobile */
@media (max-width: 768px) {
  .search-button {
    padding: 6px 8px;
    display: flex;
    border-radius: 4px;
  }

  .search-button i {
    font-size: 15px;
  }

  .search-container {
    justify-content: center; /* center icon on small screens */
    margin-top: 4px;
  }
}

.slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  /* height: calc(30vw + 12rem); */
  max-height: 768px;
}

.slides {
  display: flex;
  width: 100%;
  animation: slide 12s infinite;
}

.slides a {
  flex: 0 0 100%;
}

.slides img {
  width: 100%;
  height: auto;
  min-height: 400px;
  max-height: 768px;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(248, 208, 170, 0.8);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}
.slider-caption .slider-heading  {
  font-size: 2.5rem;
  color: #965c06;
}

.slider-caption p {
  font-size: 1.1rem;
  color: #9a631b;
}

.blog-container {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: row-reverse;
  /* gap: 20px; */
}

.blog-left {
  /* width: 35%; */
  position: sticky;
  top: 5px;
  width: 100vw;
  /* right: 10px; */
  /* bottom: 144px; */
  height: 100%;
  padding: 20px 10px;
  background-color: #dab988;
  border-radius: 8px;
  /* overflow-y: auto; */
}

.blog-left .content h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
  text-align: center;
  font-size: 20px;
}

.blog-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.blog-left ul li {
  margin-bottom: 12px;
}

.blog-left ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
}

.blog-left ul li a:hover {
  color: #555;
}

.blog-right {
  width: auto;
  margin-right: 20px;
}

.blog-post {
  /* margin-left: 230px; */

  background: #fff;
  margin-bottom: 40px;
  padding: 20px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.blog-post img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-post h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.blog-post p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.blog-post a {
  color: #cc7a7a;
  text-decoration: none;
  font-weight: bold;
}

.blog-post a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .blog-post h2 {
    font-size: 20px;
  }

  .blog-post p {
    font-size: 15px;
  }
}

@media (max-width: 1000px) {
  .blog-left {
    display: none;
  }
}

footer {
  background: #daaa62 !important;
  text-align: center;
  color: #000000;
  padding: 15px;
  margin-top: 40px;
}
footer a {
  color: #f3f3f3;
  text-decoration: none !important;
}

.footer-container {
  max-width: none !important;
  margin: auto !important;
  background: inherit !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
}

#ql-1 {
  font-size: 1.4rem;
}
/* Sliderss animation */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}
.post {
  background: #fff;
  border: 1px solid #caaa53;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.post .content {
  font-family: "Lato", sans-serif;
}
.post img {
  width: auto;
  max-width: 100%;
  border-radius: 5px;
  height: auto;
  margin-bottom: 10px;
  object-fit: cover;
}
.post .content {
  font-family: "Lato", sans-serif;
}

.post h3 {
  font-size: 1.2rem;
  color: #a36825;
  margin-bottom: 10px;
}
.post p {
  font-size: 0.99rem;
  color: #130c0c;
}

.blog-posts .post {
  transition: 0.4s ease-out;
}

.blog-posts .post:hover {
  transform: translateY(-5px);
}


/* form {
  max-width: 600px;
  margin: 40px auto;
  margin-top: 12px;
  padding: 20px;
  background: #dba660;
  border: 1px solid #be9a56;
  border-radius: 10px;
} */
input,
textarea,
button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}
button {
  background: #976213;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
}
footer {
  background: #c79334;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .nav-links li {
    margin: 10px 0;
  }
  .nav-links li a {
    text-align: left;
  }
  .slider-caption h1 {
    font-size: 1.8rem;
  }
}

.container {
  max-width: 800px;
  margin: auto;
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
}

.author {
  text-align: center;
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.image-section {
  text-align: center;
  margin-bottom: 20px;
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-caption {
  margin-top: 8px;
  font-size: 1em;
  color: #666;
}

.content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}

strong {
  color: #7a4e4e;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
  }
  .content p {
    font-size: 1em;
  }
}
body {
  font-family: "Playfair Display", serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

.author-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.author-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #efefef;
  padding: 20px;
  border-radius: 10px;
}

.author-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
}

.author-details {
  flex: 1;
}

.insta-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  margin-top: 10px;
}

.insta-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.post-preview {
  margin-top: 30px;
  background: #d3ca9a;
  padding: 20px;
  border-radius: 10px;
}

.date {
  color: #000000;
  font-size: 0.9em;
}

.post-title {
  font-size: 1.8em;
  margin: 10px 0;
}

.excerpt {
  color: #555;
}

.skincare-section {
  position: relative;
  width: auto;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  margin-top: 10px;
  /* height: 100svh; */
}

.skincare-image {
  width: 100%;
  height: 100%;
  max-height: 726px;
  /* height: -webkit-fill-available; */
  object-fit: cover;
  display: block;
}

.skincare-heading {
  position: absolute;
  bottom: 0;
  left: 0%;
  right: 0%;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 2rem;
  font-weight: bold;
  background-color: rgb(14 13 13 / 50%);
  padding: 18px 15px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .skincare-heading {
    font-size: 1.6rem;
    /* bottom: 10px; */
    /* left: 10px; */
    padding: 8px 12px;
  }
}

/* @media screen and (min-width: 768px) {
  .skincare-section {
    height: 80vh;
  }
}
@media screen and (max-width: 768px) {
  .skincare-section .skincare-image {
    width: 100% !important;
    height: 300px;
  }
} */

@media screen and (max-width: 1200px) {
  .skincare-section {
    height: auto !important;
  }

  /* .post-hero .post-img {
    max-height: 90svh;
  } */
}

.shopping-title {
  text-align: center;
  color: #000000;
  margin-top: 1.5rem;
}

.guide-container {
  /* display: flex;
  flex-direction: column; */
  gap: 20px;
  /* max-width: 800px; */
  margin: auto;
  /* margin-left: 20px; */
}

.guide-container .post-long-card {
  width: 100% !important;
}

.card {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 150px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .guide-container {
    flex-wrap: wrap;
    flex-direction: column;
  }
}

.tag {
  font-size: 0.8rem;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
  margin: 0;
}

.card-title a {
  color: black;
}

.card-desc {
  font-size: 14px;
  color: #555;
}

.fashion-tag {
  background-color: #af801c;
  font-weight: bold;
}

.travel-tag {
  background-color: #af801c;
}

.tech-tag {
  background-color: #af801c !important;
}

.post-long-card .tag {
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .card {
    flex-direction: column;
    width: 768px;
    align-items: center;
  }
  .card img {
    width: 100%;
    max-width: 300px;
  }
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 12px;
  max-width: 1000px;
  margin: 20px auto 0 auto;
  overflow: hidden;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.about-image {
  flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.about-content {
  flex: 1 1 400px;
  padding: 40px;
}

.about-content h2 {
  font-size: 29px;
  margin-bottom: 20px;
  color: #000000;
}

.about-content p {
  margin-bottom: 15px;
}

.about-content .quote {
  font-style: italic;
  font-weight: bold;
  color: #000000;
}

@media screen and (max-width: 799px) {
  .about-content {
    font-family: 1.2rem;
  }
}

.post h3 {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 10px;
}

/* kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk */
/* .sidebar-container {
  padding-top: 50px;
  float: right;
  margin-right: 20px;
  width: 300px;
  position: sticky;
  top: 10px;
  margin-bottom: 100px;
  width: 35%;

}

.sidebar {
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.widget-details a {
  margin-right: 10px;
  font-size: 18px;
  color: #444;
  text-decoration: none;
}

.post {
  display: flex;
  margin-bottom: 15px;
}

.entry-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.entry-content .entry-title {
  font-size: 14px;
  margin: 0;
}

.entry-content .entry-title a {
  color: #222;
  text-decoration: none;
}

.entry-content .author {
  font-size: 12px;
  color: #888;
} */
.sidebar-container {
  /* padding-top: 50px; */
  /* float: right; */
  /* margin-right: 20px; */
  /* width: 35%;
  position: sticky; */
  top: 10px;
  margin-bottom: 0px;
}

.sidebar {
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}

.sidebar .widget {
  margin-bottom: 30px;
}

.sidebar .widget-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.sidebar .widget-details a {
  margin-right: 10px;
  font-size: 18px;
  color: #444;
  text-decoration: none;
}

.sidebar .post {
  display: flex;
  margin-bottom: 15px;
}

.sidebar .entry-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.sidebar .entry-content .entry-title {
  font-size: 14px;
  margin: 0;
}

.sidebar .entry-content .entry-title a {
  color: #222;
  text-decoration: none;
}

.sidebar .entry-content .author {
  font-size: 12px;
  color: #888;
}

/* Hide sidebar on mobile screens (up to 768px) */
@media screen and (max-width: 768px) {
  .sidebar-container {
    /* display: none; */
  }
}

.search-form{
  margin-right:195px;
}

.search-form .form-group input.form-control::-webkit-input-placeholder{
  display:none;
}
.search-form .form-group input.form-control::-moz-placeholder{
  display:none;
}
.navbar-right{
  /* margin-left:450px; or I can probably just use columns */
}
.navbar-right form{
  width:100%;
}
.form-group{
  position:relative;
width:0%;
  min-width:60px;
height:60px;
overflow:hidden;
transition: width 1s;
backface-visibility:hidden;
}
.form-group input.form-control{
  position:absolute;
  top:0;
  right:0;
  outline:none;
  width:100%;
  height:60px;
  margin:0;
  z-index:10;
}
input[type="text"].form-control{
  -webkit-appearence:none;
  -webkit-border-radius:0;
}
.form-control-submit,
.search-label{
  width:60px;
  height:60px;
  position:absolute;
  right:0;
  top:0;
  padding:0;
  margin:0;
  text-align:center;
  cursor:pointer;
  line-height:60px;
  background:white;
}
.form-control-submit{
  background:#fff; /*stupid IE*/
    opacity: 0;
  color:transparent;
  border:none;
  outline:none;
  z-index:-1;
}
.search-label{
  z-index:90;
}
.form-group.sb-search-open,
.no-js .sb-search-open{
  width:100%;
}
.form-group.sb-search-open .search-label,
.no-js .sb-search .search-label {
	background: #da6d0d;
	color: #fff;
	z-index: 11;
}
.form-group.sb-search-open .form-control-submit,
.no-js .form-control .form-control-submit {
	z-index: 90;
}



.widget-latest-posts .last-post {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.widget-latest-posts .last-post .image {
  width: 90px;
  height: 90px;
  margin-right: 15px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.widget-latest-posts .last-post .image img {
  border-radius: 20px;
  width: 90px;
  height: 90px;
  -webkit-transition: all 0.9s ease-in-out;
  transition: all 0.9s ease-in-out;
  object-fit: cover;
}

.widget-latest-posts .last-post .image img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.widget-latest-posts .last-post .nb {
  position: absolute;
  content: "";
  left: -5px;
  top: -5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #f67280;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 2;
  z-index: 1;
}

.widget-latest-posts .last-post .content {
  width: calc(100% - 90px);
}

.widget-latest-posts .last-post .content p, .widget-latest-posts .last-post .content a {
  font-weight: 900;
  color: #152035;
  margin-bottom: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.widget-latest-posts .last-post .content a:hover {
  color: #f67280 !important;
}

.widget-latest-posts .last-post .content small {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 8px;
  text-transform: capitalize;
  font-size: 13px;
  color: #506172;
  font-weight: 400;
}

.widget-latest-posts .last-post .content small .dot {
  margin: 0px 6px  0px 0px !important;
}

.widget-latest-posts .last-post .content small span {
  color: #f67280;
  margin-right: 5px;
  direction: ltr;
}

.widget-latest-posts .last-post .content .link {
  margin-bottom: 8px;
}

.widget-latest-posts .last-post:last-child {
  margin-bottom: 0;
}

.widget-categories li {
  background-color: #F9F9FF;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.widget-categories li a {
  font-weight: 700;
}

.widget-categories li a:hover {
  color: #f67280;
}

.widget-categories li span {
  float: right;
  color: #506172;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.widget-categories li:last-child {
  margin-bottom: 0px;
}

.widget-instagram {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto auto;
      grid-template-columns: auto auto auto;
  -ms-grid-rows: auto auto;
      grid-template-rows: auto auto;
  grid-gap: 10px;
}

.widget-instagram li {
  overflow: hidden;
  border-radius: 5px;
}

.widget-instagram li img {
  border-radius: 5px;
  -webkit-transition: all 0.9s ease-in-out;
  transition: all 0.9s ease-in-out;
}

.widget-instagram li img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.widget-comments {
  margin-bottom: 70px;
}

.widget-comments .comment-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 50px;
}

.widget-comments .comment-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 15px;
}

.widget-comments .comment-item .content p {
  margin-bottom: 15px;
}

.widget-comments .comment-item .content .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
}

.widget-comments .comment-item .content .info li {
  margin-bottom: 0;
  font-size: 14px;
  color: #506172;
  text-transform: capitalize;
  font-weight: 400;
}

.widget-comments .comment-item .content .info li.dot {
  margin: 2px 15px !important;
}

.widget-form .form-group {
  margin-bottom: 20px;
}

.widget-form .form-control {
  background-color: #F9F9FF;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 22px 20px;
  font-size: 14px;
  color: #152035;
  display: inline-block;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.widget-form .form-control:focus, .widget-form .form-control:hover {
  -webkit-box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
          box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
  background-color: #ffffff;
}

.widget-form label {
  font-weight: 400;
  font-size: 14px;
}

.widget-form label span {
  line-height: 0;
}

.widget-next-post .small-post, .widget-previous-post .small-post {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.widget-next-post .small-post .image, .widget-previous-post .small-post .image {
  width: 90px;
  height: 90px;
  margin-right: 15px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.widget-next-post .small-post .image img, .widget-previous-post .small-post .image img {
  border-radius: 20px;
  width: 90px;
  height: 90px;
  -webkit-transition: all 0.9s ease-in-out;
  transition: all 0.9s ease-in-out;
  object-fit: cover;
}

.widget-next-post .small-post .image img:hover, .widget-previous-post .small-post .image img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.widget-next-post .small-post .nb, .widget-previous-post .small-post .nb {
  position: absolute;
  content: "";
  left: -5px;
  top: -5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #f67280;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 2;
  z-index: 1;
}

.widget-next-post .small-post .content, .widget-previous-post .small-post .content {
  width: calc(100% - 90px);
}

.widget-next-post .small-post .content p, .widget-next-post .small-post .content a, .widget-previous-post .small-post .content p, .widget-previous-post .small-post .content a {
  font-weight: 900;
  color: #152035;
  margin-bottom: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.widget-next-post .small-post .content a:hover, .widget-previous-post .small-post .content a:hover {
  color: #f67280 !important;
}

.widget-next-post .small-post .content small, .widget-previous-post .small-post .content small {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 8px;
  text-transform: capitalize;
  font-size: 13px;
  color: #506172;
  font-weight: 400;
}

.widget-next-post .small-post .content small .dot, .widget-previous-post .small-post .content small .dot {
  margin: 0px 6px  0px 0px !important;
}

.widget-next-post .small-post .content small span, .widget-previous-post .small-post .content small span {
  color: #f67280;
  margin-right: 5px;
  direction: ltr;
}

.widget-next-post .small-post .content .link, .widget-previous-post .small-post .content .link {
  margin-bottom: 8px;
}

.widget-next-post .small-post:last-child, .widget-previous-post .small-post:last-child {
  margin-bottom: 0;
}

.widget-tags ul li {
  background-color: #F9F9FF;
  padding: 4px 11px;
  margin-bottom: 5px;
  margin-right: 2px;
  border-radius: 20px;
  font-size: 13px;
  text-transform: capitalize;
  color: #506172;
  font-weight: 700;
}

.widget-tags ul li a:hover {
  color: #506172;
}


.widget {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
          box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
}

.section-title h5:after
 {
    background-color: #f67280;
    display: block;
    position: absolute;
    content: "";
    left: auto;
    top: -5px;
    width: 30px;
    height: 2px;
}


.categorie {
  background-color: #f67280;
  color: #ffffff;
  padding: 2px 15px;
  display: inline-block;
  margin: auto;
  text-align: center;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 800;
  text-transform: capitalize;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.categorie:hover {
  background-color: #2b2b2b;
  color: #ffffff !important;
}

.categorie-section {
  margin-top: 30px;
  margin-bottom: 20px;
  margin-left: 20px;
}

.categorie-title small a:hover {
  color: #f67280;
}

.categorie-title h3 {
  margin-bottom: 10px;
}

.categorie-title h3 span {
  color: #f67280;
}

.categorie-title p {
  margin-bottom: 0px;
}

#popular-posts-container {
  background: transparent;
  box-shadow: none;
}

/* Default image and card styles */
#popular-posts-container .article-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

#popular-posts-container .category-date {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

#popular-posts-container .article-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#popular-posts-container .author {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: left;
}

#popular-posts-container .category-date a,
#popular-posts-container .author a {
  color: var(--primary-color);
}

#popular-posts-container .article-title a {
  color: #646464;
}

#popular-posts-container {
  background: transparent;
  box-shadow: none;
}

/* Article card base styles */
#popular-posts-container .article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#popular-posts-container .article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#popular-posts-container .category-date {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

#popular-posts-container .article-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#popular-posts-container .author {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: left;
}

#popular-posts-container .category-date a,
#popular-posts-container .author a {
  color: var(--primary-color);
}

#popular-posts-container .article-title a {
  color: black;
}

/* === ≥768px (MD and up) === */
@media (min-width: 768px) {
  #popular-posts-container .articles-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 1.5rem;
    height: auto;
  }

  #popular-posts-container .left-article {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
  }

  #popular-posts-container .right-article {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  #popular-posts-container .article-card {
    height: 100%;
  }
}

/* === 576px–767.98px (SM) === */
@media (max-width: 767.98px) and (min-width: 576px) {
  #popular-posts-container .articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  #popular-posts-container .left-article,
  #popular-posts-container .right-article {
    /* height: 300px; */
  }

  #popular-posts-container .article-card img {
    /* height: 50%; */
    flex-shrink: 0;
  }

  #popular-posts-container .article-card .mt-3 {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
  }

  #popular-posts-container .article-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  #popular-posts-container .author,
  #popular-posts-container .category-date {
    font-size: 0.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* === <576px (XS) === */
@media (max-width: 575.98px) {
  #popular-posts-container .articles-grid {
    display: block;
  }

  #popular-posts-container .article-card {
    margin-bottom: 1.5rem;
  }

  #popular-posts-container .article-card img {
    height: auto;
  }

  #popular-posts-container .article-card .mt-3 {
    padding: 0.5rem 0;
  }

  #popular-posts-container .left-article,
  #popular-posts-container .right-article {
    height: auto;
  }
}
