/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

 /* Top Header - thông tin liên hệ */
 [data-icons-type*=square] .ct-icon-container {
    border-radius: 4px;
 }

 [class*=ct-contact-info] .contact-title {
    font-size: 10px;
    font-weight: 400;
    line-height: 136%;
    opacity: 50%;
 }

 .ct-header-account {
    padding: 12px 24px;
    background-color: #FFF100;
    border-radius: 4px;
 }

 [class*=ct-contact-info] ul {
   flex-wrap: nowrap !important;
 }


 /* Top Footer */
 [data-footer*="type-1"] .ct-footer [data-row*="top"] {
    margin-top: 72px;
 }

 /* Dịch Vụ Nổi Bật - Footer */
 #block-54 li {
   margin-bottom: 8px;
 }

 /* Top Header - Trang Giới Thiệu - Trang Liên Hệ*/
.page-id-20 [data-vertical-spacing*=top],
.page-id-22 [data-vertical-spacing*=top] {
    padding-top: 0;
}

/* Chi Tiết Tin Tức - share box  */

.ct-share-box {
   flex-direction: row !important;
   align-items: center !important;
   justify-content: right;
}

.ct-module-title:is(p,span):not(:empty) {
   margin-bottom: 0px; 
}

.ct-share-box[data-type=type-2] .ct-icon-container {
    padding: 0px !important;
    padding-left: 12px !important;
}

/* Chi Tiết Tin Tức - Điều hướng bài viết */
.post-navigation .ct-media-container img {
   aspect-ratio: 4 / 3 !important;
}

/* Chi Tiết Tin Tức - Bài viết liên quan*/
.ct-related-posts-container .ct-related-posts .ct-module-title {
   margin-bottom: 32px;
}

/* =============================== 
   Sidebar news
=============================== */

.sidebar__category__new {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar__category__new li {
  background-color: #FAFAFA;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #F5F5F5;
}
.sidebar__category__new li {
  line-height: 150%;
  font-weight: 500;
}


.tab-posts-wrapper .list__follow__tab {
    display: none;
}

.tab-posts-wrapper .list__follow__tab.active {
    display: flex;
}
.tab-posts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tab-posts-wrapper .tabs {
  display: flex;
  border-bottom: 1px solid #EEEEEE;
}
.tab-posts-wrapper .tabs .tab {
    cursor: pointer;
    padding: 0 16px 8px 16px;
    color: #BDBDBD;;
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
}
.tab-posts-wrapper .tabs .tab.active {
    color: #1B75BB;
    border-bottom: 2px solid #1B75BB;
}
.none__p p:first-child {
  display: none;
}
.tab-posts-wrapper .list__follow__tab {
  flex-direction: column;
  gap: 12px;
}
.tab-posts-wrapper .list__follow__tab article a {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 8px;
  align-items: center;
}
.tab-posts-wrapper .list__follow__tab article a img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.tab-posts-wrapper .list__follow__tab article a p {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================== 
  End sidebar new
=============================== */

/* Form bình luận */
.comment-respond {
   padding: 24px;
   background-color: #FAFAFA;
   border: 1px solid #EEEEEE;
   border-radius: 4px;
}

.comment-respond .form-submit {
   text-align: right;
}

.comment-respond:not(:only-child) .comment-reply-title,
article>:is(.ct-comments,.ct-related-posts),
.ct-comment-inner {
   padding-top: 0px !important; 
   border-top: 0px !important;
}

article>:is(.ct-comments,.ct-related-posts) {
   margin-top: 72px !important;
}

.ct-comment-inner {
    padding-block: 0px !important;
    padding-bottom: 32px !important;
}

.ct-comment-meta figure {
   width: 32px;
   height: 32px;
}

.ct-has-avatar .ct-comment-meta,
.ct-has-avatar .ct-comment-content {
   padding-inline-start: 50px !important;
}

.ct-comments-title {
   margin-bottom: 24px !important;
   color: #212121;
   font-size: 20px;
   font-weight: 600;
   line-height: 138%;
}

.ct-comment-meta {
   margin-bottom: 8px !important;
}

/* Hồ sơ năng lực */
.hosonangluc-container .gspb_row__content {
      display: grid !important;
      grid-template-columns: 1fr 1fr 1fr !important;
  	  gap: 24px !important;
    }

.hosonangluc-container .gspb_row__content .hosonangluc-item{
      width: 100% !important;
    }

.hosonangluc-container .gspb_row__content .hosonangluc-item a{
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  line-height: 138%;
  padding: 0 20px;
}

@media screen and (min-width: 100px) and (max-width: 1024px) {
    [class*="ct-contact-info"] ul {
         flex-wrap: wrap !important;
    }
}

@media screen and (min-width: 500px) and (max-width: 1024px) {
    [class*="ct-contact-info"] ul {
         justify-content: center;
    }
}

/* Chuyển menu chính sang off-canvas từ 1200px trở xuống */
@media screen and (max-width: 1200px) {
  #header .header-menu-1,
  #header .header-menu-2,
  #header .mobile-menu-inline {
    display: none !important;
  }

  #header .ct-header-trigger {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

html.use-offcanvas-1200 #header .header-menu-1,
html.use-offcanvas-1200 #header .header-menu-2,
html.use-offcanvas-1200 #header .mobile-menu-inline {
  display: none !important;
}

html.use-offcanvas-1200 #header .ct-header-trigger {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media screen and (max-width: 1200px) {
  #header [data-device='desktop'] {
    display: none !important;
  }

  #header [data-device='mobile'] {
    display: block !important;
  }

  #offcanvas [data-device='desktop'] {
    display: none !important;
  }

  #offcanvas [data-device='mobile'] {
    display: block !important;
  }

  #offcanvas .ct-panel-content-inner {
    align-items: center !important;
  }

  .ct-header-trigger .ct-icon {
    fill: #ffffff !important;
  }
  .mobile-menu .ct-menu-link {
    justify-content: center !important;
  }
}

@media (min-width: 500px) and (max-width: 1200px) {
  /* hồ sơ năng lực */
  .hosonangluc-container .gspb_row__content {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 24px !important;
    }

    .hosonangluc-container .gspb_row__content .hosonangluc-item{
      width: 100% !important;
    }
}

@media screen and (max-width: 500px) {
  /* hồ sơ năng lực */
  .hosonangluc-container .gspb_row__content {
      display: grid !important;
      grid-template-columns: 1fr !important;
      gap: 24px !important;
    }

    .hosonangluc-container .gspb_row__content .hosonangluc-item{
      width: 100% !important;
    }
}
