/* Modern Blog Overrides - Match RubioExpert homepage style */

/* Blog listing container */
.blogs1 {
  padding-top: 10px;
  padding-bottom: 40px;
}

/* Blog cards - layout2 */
.blogs1 .blog-thumb {
  background: #fff !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  min-height: auto !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blogs1 .blog-thumb:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}
.layout2-height {
  min-height: auto !important;
}

/* Blog card image */
.blogs1 .image {
  overflow: hidden;
}
.blogs1 .image img {
  width: 100% !important;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Blog card caption overlay */
.blogs1 .blog-thumb .caption {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background: #fff !important;
  padding: 16px 20px !important;
  text-align: left !important;
  margin: 0 !important;
}

.blogs1 .blog-thumb .caption h4 {
  font-size: 17px !important;
  line-height: 1.4 !important;
  margin: 0 0 8px !important;
  font-weight: 600 !important;
}
.blogs1 .blog-thumb .caption h4 a {
  color: #1a1a1a !important;
  text-decoration: none;
  transition: color 0.2s;
}
.blogs1 .blog-thumb .caption h4 a:hover {
  color: #5bbcbf !important;
}

/* Remove bottom line/border from cards */
.blogs1 .blog-thumb .caption,
.blogs1 .blog-thumb .description,
.blogs1 .blog-thumb .social-icons,
.blogs1 .blog-thumb .feedback {
  border: none !important;
}

/* Description text */
.blogs1 .description {
  text-align: left !important;
  font-size: 14px;
  line-height: 1.6;
  color: #555 !important;
  margin-bottom: 10px;
}
.blogs1 .description p {
  margin: 0;
  color: #555 !important;
}
.blogs1 .description a {
  color: #5bbcbf !important;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
}
.blogs1 .description a:hover {
  text-decoration: underline;
}

/* Feedback row (posted by, views, comments) */
.blogs1 .feedback {
  padding: 0 !important;
  margin-bottom: 8px;
}
.blogs1 .feedback ul {
  margin: 0 !important;
}
.blogs1 .feedback li {
  font-size: 12px !important;
  color: #888 !important;
}

/* Hide HR lines inside blog cards */
.blogs1 .blog-thumb hr,
.blogs1 .blog-thumb .caption hr {
  display: none !important;
}

/* Social icons in blog cards */
.blogs1 .social-icons {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}
.blogs1 .social-icons li i {
  background: #f0f0f0 !important;
  color: #555 !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 14px !important;
  transition: background 0.2s, color 0.2s;
}
.blogs1 .social-icons li i:hover {
  background: #5bbcbf !important;
  color: #fff !important;
}

/* Date badge */
.blogs1 .blog-thumb .dateadded i {
  background: #5bbcbf !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-style: normal !important;
}

/* ========================================
   SIDEBAR STYLING
   ======================================== */

#blog-right {
  padding-left: 20px;
}

/* Sidebar section boxes */
#blog-right .blogssearch,
#blog-right .postright,
#blog-right .commentpage,
#pimcategorysearch {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

/* Sidebar headings (Blog Zoeken, Zoeken, etc.) */
#blog-right h2 {
  background: #5bbcbf !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  letter-spacing: 0.3px;
}

/* Search input */
#blog-right #blogsearch {
  padding: 16px !important;
}
#blog-right #blogsearch .form-control {
  border-radius: 8px 0px 0px 8px !important;
  border: 1px solid #e0e0e0 !important;
  min-height: 40px !important;
  font-size: 14px;
}
#blog-right #blogsearch .form-control:focus {
  border-color: #5bbcbf !important;
  box-shadow: 0 0 0 2px rgba(91,188,191,0.15) !important;
}
#blog-right #blogsearch .btn-default {
  border-radius: 0 8px 8px 0 !important;
  background: #5bbcbf !important;
  border-color: #5bbcbf !important;
  color: #fff !important;
}

/* Sidebar tabs (Laatste Berichten / Populair) */
#blog-right .postright .nav-tabs {
  border: none !important;
  display: flex;
}
#blog-right .nav > li > a {
  border: none !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 0 !important;
  transition: background 0.2s;
}
#blog-right .nav li > a.active {
  background: #5bbcbf !important;
  color: #fff !important;
}
#blog-right .nav > li > a:not(.active) {
  background: #f5f5f5 !important;
  color: #555 !important;
}
#blog-right .nav > li > a:not(.active):hover {
  background: #e8e8e8 !important;
}

/* Post items in sidebar */
#blog-right .postbox {
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  transition: background 0.15s;
  display: flex !important;
  align-items: center !important;
}
#blog-right a.postbox-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
#blog-right .postbox:last-child {
  border-bottom: none !important;
}
#blog-right .postbox:hover {
  background: #f5f5f5 !important;
}
#blog-right .postbox .userpic {
  margin-right: 12px !important;
  flex-shrink: 0;
}
#blog-right .postbox .userpic img,
#blog-right .postbox .userpic img.img-responsive {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
  border: 1px solid #e0e0e0 !important;
}
#blog-right .postbox .comment {
  flex: 1;
}
#blog-right .postbox .comment h5 {
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: #333;
}
#blog-right a.postbox-link:hover .comment h5 {
  color: #5bbcbf;
}

/* Tags section */
#blog-right .tags {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
}
#blog-right .tags h2 {
  margin-bottom: 0 !important;
}
#blog-right .tags ul {
  padding: 16px !important;
}
#blog-right .tags li a {
  border: 1px solid #e0e0e0 !important;
  border-radius: 20px !important;
  padding: 4px 14px !important;
  font-size: 13px !important;
  color: #555 !important;
  line-height: 28px !important;
  transition: all 0.2s;
}
#blog-right .tags li a:hover {
  background: #5bbcbf !important;
  border-color: #5bbcbf !important;
  color: #fff !important;
}

/* Related post module */
.relatedblog1 {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0 !important;
  overflow: hidden;
  margin-bottom: 20px;
}
.relatedblog1 h3.headingmain {
  background: transparent;
  font-size: 18px !important;
  font-weight: 600;
  color: #1a1a1a;
  padding: 16px 20px 8px !important;
  margin: 0;
}
.relatedblog1 .blog-thumb {
  background: #fff !important;
  margin: 0 !important;
  min-height: auto !important;
  border-radius: 0;
}
.relatedblog1 .blog-thumb .image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.relatedblog1 .blog-thumb .caption {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  padding: 12px 16px !important;
  text-align: center;
}
.relatedblog1 .blog-thumb .caption h4 {
  font-size: 15px !important;
}
.relatedblog1 .description {
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  text-align: center;
}
.relatedblog1 .description a {
  color: #5bbcbf !important;
  font-weight: 500;
}

/* Breadcrumb styling */
.blogs1 .breadcrumb {
  background: transparent;
  padding: 8px 0;
  margin-bottom: 16px;
  font-size: 13px;
}

/* Pagination */
.blogs1 .pagination > li > a,
.blogs1 .pagination > li > span {
  border-radius: 8px !important;
  margin: 0 3px;
  border-color: #e0e0e0;
  color: #555;
}
.blogs1 .pagination > .active > a {
  background: #5bbcbf !important;
  border-color: #5bbcbf !important;
}

/* ========================================
   BLOG DETAIL PAGE
   ======================================== */

/* Hero image - inside content column (background cover) */
.blog-detail-hero {
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100% !important;
  height: 400px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #e8e8e8;
}

/* Blog title below hero */
.blog-detail-header {
  padding: 28px 0 8px;
}
.blog-detail-header h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Hide old title overlay (legacy) */
#latestpost .listimg,
#latestpost .blogdetail-title {
  display: none !important;
}

/* Content area */
#latestpost .deatil-box {
  background: #fff !important;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0 !important;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Article typography */
#latestpost .description {
  font-size: 15px;
  line-height: 1.8;
  color: #333 !important;
}
#latestpost .description p {
  margin-bottom: 14px;
  color: #333 !important;
}
#latestpost .description h2,
#latestpost .description h3,
#latestpost .description h4,
#latestpost .description h5 {
  color: #1a1a1a !important;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
}
#latestpost .description h2 {
  font-size: 22px;
}
#latestpost .description h3 {
  font-size: 19px;
}
#latestpost .description ul,
#latestpost .description ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
#latestpost .description li {
  margin-bottom: 6px;
  line-height: 1.7;
}
#latestpost .description a {
  color: #5bbcbf !important;
  text-decoration: none;
}
#latestpost .description a:hover {
  text-decoration: underline;
}
#latestpost .description hr {
  border: none !important;
  height: 1px !important;
  background: #e8e8e8 !important;
  margin: 24px 0 !important;
}

/* Tags in blog detail */
#latestpost .tagbox {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
#latestpost .tagbox h2 {
  font-size: 14px !important;
  font-weight: 600;
  color: #555;
  margin-right: 10px !important;
}
#latestpost .tagbox .tag {
  background: #f5f5f5 !important;
  border-radius: 20px !important;
  padding: 4px 16px !important;
  height: auto !important;
  line-height: 28px !important;
  font-size: 13px;
  color: #555 !important;
  transition: all 0.2s;
}
#latestpost .tagbox .tag::before,
#latestpost .tagbox .tag::after {
  display: none !important;
}
#latestpost .tagbox .tag:hover {
  background: #5bbcbf !important;
  color: #fff !important;
}

/* Social icons in detail page */
#latestpost .deatil-box > .social-icons {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* Comments section */
#latestpost .comment-box {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 24px !important;
  margin-top: 20px;
}
#latestpost .comment-box .commentheadr {
  font-size: 18px !important;
  font-weight: 600;
  color: #1a1a1a;
}
#latestpost .comment-box .commentbox {
  border: 1px solid #eee !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
}
#latestpost .comment-box .commentbox .comment .name {
  font-size: 15px !important;
  color: #5bbcbf !important;
}
#latestpost .comment-box .commentbox2 .inputbox {
  border: 2px solid #e8e8e8 !important;
  border-radius: 10px !important;
}

/* Breadcrumb on detail page */
#latestpost .breadcrumb {
  background: transparent;
  padding: 10px 0;
  margin-bottom: 12px;
  font-size: 13px;
}

/* Hide all HR separators in article content */
#latestpost .deatil-box .description hr,
#latestpost hr {
  border: none !important;
  height: 1px !important;
  background: #eee !important;
  margin: 20px 0 !important;
  box-shadow: none !important;
}
#latestpost hr::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

/* Related Products section */
#latestpost .headingmain {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  background: none !important;
  padding: 24px 0 16px !important;
  margin: 0 !important;
  border-top: 2px solid #5bbcbf;
}
#latestpost .swiper-viewport.noshadow {
  background: none !important;
}
#latestpost .swiper-slide .caption h4 a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}
#latestpost .swiper-slide .caption h4 a:hover {
  color: #5bbcbf !important;
}
#latestpost .swiper-slide .image img {
  border-radius: 8px;
  transition: transform 0.3s;
}
#latestpost .swiper-slide .image img:hover {
  transform: scale(1.03);
}
#latestpost .swiper-slide .caption p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
#latestpost .swiper-slide .price {
  color: #1a1a1a;
  font-weight: 600;
}
#latestpost .swiper-slide .price-old {
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}
#latestpost .swiper-slide .price-new {
  color: #e74c3c;
  font-weight: 700;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .blogs1 .image img {
    height: 180px;
  }
  #blog-right {
    padding-left: 0;
    margin-top: 20px;
  }
  .blogs1 .blog-thumb .caption {
    padding: 12px 16px !important;
  }
  .layout2-height {
    min-height: auto !important;
  }
  .blog-detail-hero {
    height: 220px;
  }
  .blog-detail-header h1 {
    font-size: 22px;
  }
  #latestpost .deatil-box {
    padding: 16px 0 !important;
  }
  #latestpost .description {
    font-size: 14px;
  }
}
