.blog-top { 
  background: #E7EBEE; text-align: center; height: 255px; padding: 30px 0px; margin-bottom: 40px; 
  background-clip: padding-box; background-repeat: no-repeat; background-position: center; background-size: cover;
}
.blog-top h1 { text-shadow: 0 0 5px #fff; margin: 0; padding: 17px 0; font-size: 35px; }
.blog-top .container { display: flex; flex-direction: column; height: 100%; justify-content: center; height: 100%; }
#content .row { display: flex; flex-wrap: wrap; }


.blog-item-wrap { padding-bottom: 30px; }
.blog-item { background: #F8F8F8; border: 1px solid #D3D3D3; border-radius: 10px; overflow: hidden; display: flex; height: 100%; flex-direction: column; justify-content: space-between; row-gap: 15px; }
.blog-item .image { margin: -5px; }
.blog-item .image img { width: 100%; }
.blog-item .title { padding: 0 20px; font-size: 18px; font-weight: bold; }
.blog-item .description { padding: 0 20px; flex-grow: 1; font-size: 14px; text-align: justify; }
.blog-item .controls { padding: 0 20px 15px; display: flex; align-items: center; column-gap: 10px; }
.blog-item .viewed { border: 1px solid #D3D3D3; border-radius: 15px; padding: 0 15px; height: 30px; display: inline-flex; align-items: center; }
.blog-item .viewed svg { width: 12px; height: 12px; display: inline-block; margin-right: 5px; }
.blog-item .added { font-weight: 500; }
.blog-item .tags { padding: 5px 20px 0; }
.blog-item .tag { background: #F0F0F0; font-size: 12px; height: 26px; line-height: 26px; border-radius: 13px; padding: 0 10px; white-space: nowrap; float: left; }

.blog-cat-list { display: flex; flex-wrap: wrap; column-gap: 8px; font-size: 15px; margin-bottom: 16px; }
.blog-cat-list a { padding: 12px 16px; display: block;}
.blog-cat-list a span { font-weight: normal; }

.blog-more { padding-bottom: 30px; }
.blog-more-btn { border: 1px solid #000; border-radius: 5px; padding: 17px 130px; color: #000; cursor: pointer; background: #fff; font-size: 16px; font-weight: bold; }
.blog-more-btn:hover { border-color: #C2EC01; background: #C2EC01; color: #fff; }

.blog-pagination .pagination { display: flex; column-gap: 8px; justify-content: center; }
.blog-pagination .pagination li a, .blog-pagination .pagination li span { border-radius: 5px; font-size: 14px; line-height: 35px; border: 1px solid #D3D3D3; color: #000; width: 35px; height: 35px; padding: 0; text-align: center; }
.blog-pagination .pagination li.active span { border-color: #C2EC01; background: #C2EC01; color: #fff; }

.article-top h1 { margin-bottom: 12px; font-size: 44px; color: #34343C; }
.article-top .controls { padding: 0 0 15px 0; display: flex; align-items: center; column-gap: 10px; }
.article-top .viewed { border: 1px solid #D3D3D3; border-radius: 15px; padding: 0 15px; height: 30px; display: inline-flex; align-items: center; }
.article-top .viewed svg { width: 12px; height: 12px; display: inline-block; margin-right: 5px; }
.article-top .added { font-weight: 500; }

.video-container { height: 0px; padding-bottom: 56.2%; position: relative; }
.video-container iframe { width: 100%; height: 100%; position: absolute; }
.blog-text { background: #fff; padding: 20px; border-radius: 8px; font-size: 15px; line-height: 150%; color: #34343D; }
.blog-text h2 { font-size: 28px; font-weight: 600; margin: 16px 0 4px 0; }
.blog-text h2:first-child, .blog-text h3:first-child { margin-top: 0; }
.blog-text h3 { font-size: 22px; font-weight: 600; margin: 16px 0 4px 0; }
.blog-text img { max-width: 100%; margin: 12px 0; width: 100%; }
.blog-text ul, .blog-text ol { padding-left: 30px; margin: 12px 0; }
.blog-text ul li, .blog-text ol li { margin-bottom: 8px; }
.blog-text ul li:last-child, .blog-text ol li:last-child { margin-bottom: 0; }

h2.sub-title { border-bottom: 1px solid #D3D3D3; padding-bottom: 15px; font-size: 24px; margin: 40px 0; }
.review-container .buttons { text-align: center; }
.review-container .buttons .border-btn { border: 1px solid #C2EC01; border-radius: 5px; padding: 17px 20px; width: 400px; max-width: 100%; color: #000; cursor: pointer; background: #C2EC01; font-size: 16px; font-weight: bold; margin-bottom: 20px; }
.review-container .buttons .border-btn:hover { color: #555; }
.review-container .form-control { border-color: #D3D3D3; padding: 10px 8px; }
.review-container input.form-control { height: 40px; }
.review-container h3 { padding: 0; margin-bottom: 20px; }
.review-container h3:after { display: none; }
.review-container .w65 { max-width: 400px; border: 1px solid #D3D3D3; padding: 20px; border-radius: 5px; background: #fff; }
.review-container .w65 .buttons { margin: 0 !important; }

#review { display: flex; flex-wrap: wrap; gap: 25px; }
#review .review-item { background: #F8F8F8; border: 1px solid #F8F8F8; border-radius: 5px; width: calc(50% - 15px); padding: 25px; }
#review .review-item.fw { width: 100%; }
#review .review-item .rev-info { padding-bottom: 15px; border-bottom: 1px solid #D3D3D3; display: flex; justify-content: space-between; align-items: center; }
#review .review-item .rev-info li { font-size: 18px; color: #C2EC01; padding-left: 3px; }
#review .review-item .rev-info ul { margin-right: 0; }
#review .review-item .autor { font-size: 18px; font-weight: bold; }
#review .review-item .added { font-size: 12px; color: #444444; }
#review .review-item .body { padding-top: 15px; font-size: 14px; }

.blog-hero { text-align: center; padding: 60px 24px 100px; }
.blog-hero h1 { font-size: 56px; font-weight: 700; margin: 0 0 24px; color: #3D3C3A; }
.blog-hero h1:last-child { margin-bottom: 0; }
.blog-hero-intro { max-width: 720px; margin: 0 auto; color: #8F8F8F; font-size: 20px; line-height: 24px; }

.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 16px; }
.blog-cat-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.blog-cat-pill { display: inline-block; border-radius: 8px; background: #EFEFEF; color: #000; font-weight: 500; font-size: 14px; white-space: nowrap; }
.blog-cat-pill:hover { background: rgba(228, 228, 228, 0.939); }
.blog-cat-pill.active { background: #007AFF; color: #fff; }
.blog-cat-pill span { opacity: .65; font-weight: 400; }

.blog-search { position: relative; display: flex; align-items: center; }
.blog-search-toggle { display: inline-flex; width: 42px; height: 42px; padding: 0; border: 0; box-sizing: border-box; border-radius: 8px; background: #EEEFF0; align-items: center; justify-content: center; color: #6B6C77; cursor: pointer; flex-shrink: 0; overflow: hidden; transition: width .25s ease, opacity .2s ease; }
.blog-search-toggle:hover { background: rgba(228, 228, 228, 0.939); }
.blog-search-toggle svg { flex-shrink: 0; }

.blog-search-field { position: relative; width: 0; overflow: hidden; transition: width .3s ease; }
.blog-search-input { width: 300px; height: 42px; border-radius: 8px; padding: 12px 44px 12px 12px; font-size: 14px; background: #FFFFFF; border: 0; box-sizing: border-box; }
.blog-search-submit { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; box-sizing: border-box; background: transparent; display: flex; align-items: center; justify-content: center; color: #6B6C77; cursor: pointer; }
.blog-search-submit:hover { color: #34343C; }

.blog-search.open .blog-search-toggle { width: 0; opacity: 0; }
.blog-search.open .blog-search-field { width: 300px; }

.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; background: #fff; }
.article-card-image { position: relative; padding-top: 66%; overflow: hidden; }
.article-card-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card-time { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; background: transparent; color: #fff; font-size: 14px; font-weight: 400; line-height: 22px; }
.article-card-author { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; background: #EFEFEF; border-radius: 8px; padding: 4px; font-size: 14px; font-weight: 500; color: #34343C; }
.article-card-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.article-card-body { padding: 12px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.article-card-title { font-size: 18px; font-weight: 600; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #34343C; }
.article-card-meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #888; justify-content: space-between; }
.article-card-tag { background: #EFEFEF; border-radius: 16px; padding: 4px 8px; color: #34343C; font-weight: 500; }

.article-list-footer { text-align: center; margin-top: 16px; }
.text-empty { padding: 40px 0; color: #999; }
.btn-load-more { border-radius: 8px; padding: 12px 0px; background: #EFEFEF; font-weight: 600; font-size: 14px; cursor: pointer; width: 100%; max-width: 614px; }
.btn-load-more:hover { background: rgba(228, 228, 228, 0.939); }
.article-pagination { margin-top: 20px; }
.article-pagination .pagination { display: flex; align-items: center; column-gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.article-pagination .pagination li a, .article-pagination .pagination li span { display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: #000; min-width: 32px; height: 25px; padding: 0; text-align: center; }
.article-pagination .pagination li.active span { border-radius: 8px; background: #007AFF; color: #fff; min-width: 32px; height: 25px; }
.article-pagination .pagination li.pagination-ellipsis span { color: #999; }
.article-pagination .pagination li.pagination-prev a, .article-pagination .pagination li.pagination-next a { color: #555; }
.article-pagination .pagination li.pagination-prev a:hover, .article-pagination .pagination li.pagination-next a:hover, .article-pagination .pagination li a:hover { color: #2f7bf6; }

/* Article page header meta */
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; font-size: 16px; color: #9799A3; }
.article-meta-tag { background: #F4F4F6; border-radius: 16px; padding: 4px 8px; font-weight: 500; color: #34343C; }
.article-meta-time { display: inline-flex; align-items: center; gap: 5px; }
.article-hero-image { position: relative; border-radius: 14px; overflow: hidden; margin: 12px 0; }
.article-hero-image img { width: 100%; display: block; margin: 0; }
.article-hero-image .article-card-time { font-size: 15px; top: 20px;}

/* Article body / sticky Contents sidebar */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 8px; align-items: start; }
.article-content { min-width: 0; }
.article-toc { position: sticky; top: 100px; }

/* Product-carousel sections: a direct sibling of .article-layout, not nested inside
   the narrow text column, so it naturally spans the full content width already. */
.article-carousel-full { margin: 20px 0; }
.article-carousel-full .module-content { padding: 0; }
.article-toc-inner { border-radius: 8px; padding: 20px; background: #fff; }
.article-toc-header { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 18px; letter-spacing: .04em; margin-bottom: 16px; }
.article-toc-collapse { display: none; border: 0; background: none; padding: 4px; cursor: pointer; color: inherit; }
.article-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 0 !important; }
.article-toc-list a { color: #8F8F8F; font-size: 15px; line-height: 1.4; display: block; }
.article-toc-list a:hover { color: #34343C; }
.article-toc-list a:before { content: '\2022'; margin-right: 8px; color: #8F8F8F; font-weight: 700; }
.article-toc-list li.active a { color: #34343C; font-weight: 500; }
.article-toc-list li.active a:before { color: #34343C; }
.article-toc-list .article-toc-level-3 { padding-left: 16px; }

.article-toc-mobile { display: none; }
.article-toc-mobile .article-toc-inner { background: #EFEFEF; }
.article-carousel-full .module-top .h2 { font-size: 20px; font-weight: 600; }

.article-content .article-callout,
.article-content .article-callout--pro-tip,
.blog-text .article-callout,
.blog-text .article-callout--pro-tip { border-left: 2px solid #007AFF; background: #EFEFEF; padding: 8px 12px; margin: 12px 0; }
.article-content .article-callout p, .blog-text .article-callout p { margin: 0; }
.article-content .article-shortcode, .blog-text .article-shortcode { margin: 25px 0; }

.article-author { display: flex; align-items: center; gap: 12px; padding: 24px 0 8px; margin-top: 24px; border-top: 1px solid #EDEDED; }
.article-author-photo { flex-shrink: 0; }
.article-author-info { display: flex; justify-content: space-between; width: 100%; gap: 8px; }
.article-author-photo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; margin: 0; }
.article-author-name { display: block; font-weight: 500; font-size: 15px; color: #007AFF; width: max-content; }
.article-author-role { font-size: 12px; color: #000000; margin: 2px 0 0; line-height: 130%; width: fit-content; }
.article-author-link { font-size: 15px; font-weight: 500; color: #007AFF; text-decoration: underline !important; white-space: nowrap; }
.article-author-link:hover { text-decoration: none; color: #007AFF; }

.article-share { padding: 20px 0 0; border-top: 1px solid #EDEDED; margin-top: 16px; }
.article-share-label { font-weight: 600; font-size: 20px; margin-bottom: 12px; display: block; }
.article-share-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.article-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 500; border: 0; cursor: pointer; text-decoration: none; justify-content: center; }
.article-share-facebook { background: #3568B8; color: #fff; }
.article-share-whatsapp { background: #25D366; color: #fff; }
.article-share-copy { background: #4A7BB0; color: #fff; }
.article-share-btn:hover { opacity: .88; color: #fff; }
.article-share-btn.copied { background: #C2EC01; color: #17181A; }

.article-subscribe { grid-column: 1; background: #007AFF; color: #fff; border-radius: 8px; padding: 20px; margin: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.article-subscribe h3 { color: #fff; font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.article-subscribe p { color: #fff; max-width: 390px; font-size: 15px; }
.article-subscribe-form { display: flex; flex-direction: column; gap: 8px; max-width: 330px; width: 100%; }
.article-subscribe-form input { flex-grow: 1; height: 48px; border-radius: 8px; border: 0; padding: 0 12px; font-size: 16px; }
.article-subscribe-form button { padding: 16px; font-weight: 600; font-size: 15px; }
.article-subscribe-message { color: #fff; border-radius: 8px; width: 100%; margin-top: 0; }

.article-other-reading { margin: 20px 0 0; }
.article-other-reading h3 { font-size: 20px; margin-bottom: 12px; }
.article-other-reading .equalize-row .article-card { height: auto; }

.article-related-products { margin: 30px 0; }

.author-card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 12px; }
.author-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "photo info"
    "photo about"
    "photo bag";
  column-gap: 12px;
}
.author-hero-photo { grid-area: photo; }
.author-hero-info { grid-area: info; }
.author-hero-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; display: block; }
.author-hero-info h1 { margin: 0 0 4px; font-size: 40px; color: #3D3C3A; }
.author-role { color: #000; margin-bottom: 4px; font-size: 15px; }
.author-location { color: #8F8F8F; font-size: 15px; }
.author-about { grid-area: about; margin-top: 20px; }
.author-bag { grid-area: bag; margin-top: 20px; }
.author-about h2, .author-bag h2 { font-size: 20px; margin-bottom: 4px; color: #3D3C3A; font-weight: 600; }
.author-bio { color: #444; line-height: 1.6; }
.author-bag-list a { color: #007AFF; font-weight: 400; text-decoration: underline !important; }
.author-bag-list .sep { margin-right: 6px; color: #444; }
.author-about p { margin-bottom: 0; }

@media (min-width: 768px) {
  #content .col-sm-4:nth-child(3n+1){ clear:left; }
  
  .blog-text .fw { margin: 0 -70px; }
}

@media (max-width: 991px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; order: -1; margin-bottom: 20px; }
  .article-toc-collapse { display: inline-flex; }
  .article-toc-inner.collapsed .article-toc-list { display: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-toc-mobile { display: block; margin: 16px 0; }
  .article-toc { display: none; }
}

@media (max-width: 767px) {
  /* .container { padding: 0 0; } */
  .blog-top { height: 145px; }
  .blog-top h1 { font-size: 18px; }
  .blog-top .breadcrumb { display: none; }
  .showcase-list { padding: 0 0 32px; }
  .blog-hero { padding: 30px 24px 40px; }

  .article-top h1 { font-size: 24px; }
  .video-container { margin: 0 10px; border-radius: 10px; overflow: hidden; }
  
  .blog-text { padding: 16px; margin: 0 -10px; font-size: 14px; line-height: 140%; }
  .blog-text h2 { font-size: 20px; margin-top: 12px; }
  .blog-text h3 { font-size: 16px; margin-top: 12px; }

  .article-meta { font-size: 14px; }

  h2.sub-title { font-size: 20px; bottom: 30px 0 25px; }
  .review-container { padding: 0 10px; }
  .review-container .buttons .border-btn { margin-bottom: 5px; }
  #review .review-item .autor { font-size: 16px; }
  #review .review-item { width: 100%; }

  .blog-hero h1 { font-size: 36px; margin-bottom: 12px; }
  .blog-hero-intro { font-size: 14px; line-height: 130%; }
  .blog-toolbar { align-items: flex-start; gap: 4px; flex-wrap: nowrap; }
  .blog-toolbar:has(.blog-search.open) { flex-wrap: wrap; }
  .blog-search.open { order: -1; width: 100%; }
  .blog-cat-list a { padding: 12px; }
  .blog-search.open .blog-search-field { width: 100%; }
  .blog-search-field .blog-search-input { width: 100%; }
  .article-grid { grid-template-columns: 1fr; }
  .article-subscribe-form { max-width: 100%; }
  .article-subscribe { padding: 16px; flex-direction: column; gap: 20px; margin: 8px -10px 0 -10px; }
  .article-subscribe h3 { font-size: 22px; }
  .article-subscribe p { font-size: 14px; }
  .article-subscribe-form button { font-size: 14px; }
  .author-card { padding: 16px; }
  .author-hero {
    grid-template-columns: 70px 1fr;
    grid-template-areas:
      "photo info"
      "about about"
      "bag bag";
    column-gap: 8px;
  }
  .author-hero-photo img { width: 70px; height: 70px; }
  .author-hero-info h1 { font-size: 20px; }
  .blog-cat-list { gap: 4px; }
  .article-hero-image .article-card-time { font-size: 14px; top: 10px;}

  .article-author-name { font-size: 14px; }
  .article-author-link { font-size: 14px; }
  .article-author-info { align-items: center; }

  .article-share-btn { font-size: 14px; padding: 10px 0; gap: 4px; }
  .article-share-label { font-size: 16px; }

  .article-card-tag { font-size: 14px; }

  .article-toc-mobile .article-toc-inner { padding: 16px; }
  .article-toc-header { font-size: 16px; color: #34343C; margin-bottom: 8px; }
  .article-toc-list a { font-size: 14px; }
  .article-toc-list { gap: 4px; }
  .blog-text .article-toc-inner ul { padding-left: 0; }

  .article-carousel-full { margin: 10px 0; }

  .article-share-buttons { gap: 4px; }

  .author-about, .author-bag { margin-top: 12px; }

  .author-about h2, .author-bag h2 { font-size: 18px; }

  .author-role, .author-location { font-size: 14px; }
}
