
/* Blog category page */


/* Main grid */
section.main-grid {
display: flex;
  justify-content: space-around;
  padding: 0;
  align-items: flex-start;
}

.main-blog-page h1, .blog-sidebar h1 {
text-align: center;
  padding: 20px 0;
  font-size: 30px;
  box-shadow: 0px 1px 10px -5px black;
}

.main-blog-page {
width: 65%;
}

p#sidebar-p {
padding: 0 10px;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Latest blogs - blog page section*/
.blog-card-wrapper {
display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.blog-page-card {
width: 40%;
  margin: 15px 0;
  border: 1px solid transparent;
  box-shadow: 0px 0px 10px -5px black;
  transition: 0.3s ease;
  border-radius: 20px;
}

.most-selling {
border-radius: 0 0 15px 15px;
}

.most-selling img {
border-radius: 0 !important;
}

.blog-page-card a {
text-decoration: none;
}

.blog-page-card:hover {
border: 1px solid black;
  box-shadow: none;
}

.blog-page-card img {
width: 100%;
  max-height: 315px;
  border-radius: 20px 20px 0 0;
}

.blog-page-card p {
color: black;
  text-align: left;
  margin: 15px 0 0 0;
  font-size: 15px;
  padding: 0 20px;
  text-transform: uppercase;
  font-weight: 600;
}

#blog-card {
text-align: right;
  margin:0 0 10px 0;
  font-size: 12px;
  text-transform: none;
  font-weight: 100;
  color: grey;
  width: 70%;
}

.gifts-card-blog-page p#blog-title {
text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

/* Latest blogs - blog page section ends here */

/* sidebar - blog page section */

.blog-sidebar {
width: 35%;
  box-shadow: 0 0 10px -5px black;
  position: sticky;
  position: -webkit-sticky;
  top: 135px;
  height: 100vh;
  border-bottom-left-radius:20px;
}

.blog-sidebar p {
margin: 10px 0;
  font-size: 12px;
  text-transform: none;
}

.gifts-card-blog-page {
display: flex;
  justify-content: space-between;
}

.gifts-card-blog-page p#gift-price {
color: red;
}

.sidebar-blog {
overflow-y:scroll;
  height: 86vh;
}

/* Custom Scrollbar inside sidebar*/

.sidebar-blog::-webkit-scrollbar-track {
border-radius: 10px;
  background-color: #dfdfdf;
}

.sidebar-blog::-webkit-scrollbar {
width: 7px;
  background-color: #e9e9e9;
}

.sidebar-blog::-webkit-scrollbar-thumb {
border-radius: 10px;
  background-color: #969696;
}

/* Scrollbar ends here */

/* sidebar - blog page section ends here */


/* Main grid ends here  */


/* Blog category page ends here*/


/* Blog page - main blog section */

.main-blog {
padding: 0 50px;
}

.main-blog h1 {
box-shadow: none;
  padding-top: 50px;
  text-align: left;
  font-size: 40px;
}

.main-blog img {
width: 100%;
}

.main-blog-content {
margin: 30px 0;
}
 
.main-blog p#content-blog-main {
margin:0 0 10px 0;
  font-size: 13px;
  text-align: right;
  color: grey;
}

/* Blog page ends here */


/* Recent Blog Section */

#recent-blogs {
padding: 50px 0 70px 0;
  background-color: #f5fdfc;
}

#recent-blogs a {
color: black;
  text-decoration: none;
}

.recent-blog-wrapper {
display: flex;
  width: 85%;
  margin: auto;
  justify-content: space-around;
}

.wrapped-card {
width: 80%;
  margin: 40px auto;
  box-shadow: 0 0 5px -2px black;
  border-radius: 0 0 40px 40px;
  transition: 0.2s ease;
}

.wrapped-card a {
color: black;
  text-decoration: none;
}

.blog-card-img {
width: 85%;
  margin: auto;
}

.blog-card-img img {
width: 100%;
}


/* Categories navigation */

section#categories-nav {
width: 100%;
  display: block;
  margin: auto;
  background: white;
  font-weight: bold;
  font-size: 14px;
}

.sorting-nav {
display: flex;
  width: 85%;
  justify-content: space-between;
  margin: auto;
  padding: 25px 0;
  align-items: center;
  flex-wrap: wrap;
}

.pagination {
color: red;
  display: flex;
  align-items: center;
}

.pagination i {
margin-right: 5px;
  font-size: 12px;
}

.home-logo {
margin-right: 15px;
  width: 100%;
}

.home-logo img {
width: 80%;
}

.fa-home {
font-size: 20px;
  margin-right: 10px;
}

.fa-angle-right {
color: black;
  font-size: 15px;
}

.sort-by {
display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.col-main {
padding: 20px 0px;
  margin: 0;
  font-size: 12px;
}

.col-main a {
padding: 7px 12px;
  transition: 0.2s ease;
  font-size: 12px;
  text-decoration: none;
  color: black;
}

.col-main a:hover,
.col-main a#active {
background-color: #36c6cf;
  border-radius: 25px;
  color: white;
}

.sort-text {
display: flex;
  align-items: center;
}

.sort-by-logo {
width: 30%;
  margin-right: 5px;
}

.sort-by-logo img {
width: 100%;
}

/* Red Background section */

.red-background {
width: 100%;
  height: 15vh;
}

.red-background img {
width: 100%;
}

.red-background-mobile {
display: none;
}

.grey-bg {
background-color: #f8f7f7;
}

/* Cake Categories */

.categories-slider {
width: 100%;
  margin-top: -4%;
  padding: 0 ;
}

.cake-categories {
display: flex;
  width: 85%;
  margin: auto;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cake-categories .slick-list.draggable {
height: 150px;
}

.cakes-card {
width: 20%;
  margin: 0 20px;
  box-shadow: 0px 0px 10px -3px black;
  transition: 0.2s ease;
}

.cakes-card:hover {
box-shadow: 1px 1px 10px -1px black;
}

.cakes-card img {
width: 100%;
}

.navigation.pagination {
    display: inline-block;
    text-align: center;
}

.navigation.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.navigation.pagination .page-numbers.current {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

.navigation.pagination .page-numbers:hover {
    background-color: #ff0000;
    color: white;
}
