/* .home {
  height: calc(100vh - 60px);
} */


body::-webkit-scrollbar {
  display: none;
}

#list {
  overflow-x: hidden;
}


::-webkit-scrollbar-button {
  display: none;
}

body {
  -ms-overflow-style:none;
  /* background-image: url(https://images.unsplash.com/photo-1561688784-2cbd459693de?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url(/img/moon-river-2.jpg);
    
}

.home {
  position: relative;
            width: 100%;
             min-height: calc(100vh - 60px); 
            
            color: white;
            font-size: 2rem;
            font-weight: bold;
          
            padding: 20px; /* Thêm khoảng cách nội dung */
            padding-right: 35px;
  
}


/* Overlay tạo hiệu ứng mờ huyền bí */
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.1);  */
  z-index: 1;
}

/* Đảm bảo nội dung không bị che bởi overlay */
.home > * {
  position: relative;
  z-index: 2;
}

.home-nav-classify{
  background: rgb(225, 175, 108, 0.0);
  backdrop-filter: blur(1px);
}

.category-list{
  padding: 5px 10px;
}

.home-wrap {
  min-height: calc(85vh - 90px);
  padding-top: 20px;
  z-index:1;
}

.home-inter-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
}

.home-body {
  flex: 1;
  /* font-family: 'LoraRegular'; */
  font-family: 'Josefin Slab';
  margin-right: 20px;
  /* background: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(230, 245, 230, 0.3), rgba(230, 230, 230, 0.1)); */
  background: linear-gradient(to right, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.1));
  padding: 0 20px;
  margin-bottom: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.home-body-nav {
  color: #262626;
}

/* 头部导航 */
.category--item {
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  line-height: 2.3rem;
  white-space: nowrap;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  font-family: Marie;
}

.category--item:hover {
  color: var(--pai-brand-2-hover);
}

.category--item:first-child {
  padding-left: 0;
}

.category--active {
  color: var(--pai-brand-1-normal);
}

.category-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.align-content-start {
  overflow-x: auto;
}

/* 头部搜索 */
.search-has-result ul {
  margin-bottom: 0;
  list-style-type: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.77778rem;
  margin-top: 0;
}

.search-has-result ul li a {
  --tw-border-opacity: 1;
  border: 0 solid;
  border-bottom-width: 1px;
  border-color: rgba(127, 125, 131, var(--tw-border-opacity));
}



.hover\:bg-gray-400:hover {
/*
  --tw-bg-opacity: 0.1;
  background-color: rgba(221, 255, 255, var(--tw-bg-opacity));
*/
  
}

.search-result-block .search-no-result mark {
  font-size: 1.2rem;
}

.category-search-btn,
.category-cancel-btn {
  align-self: center;
  justify-items: center;
  background-color: transparent;
  background-image: none;
  border: none;
  color: white;
  margin-top: -9px;
  opacity:0.8;
}

.category-search-btn:hover,
.category-cancel-btn:hover {
  color: var(--pai-brand-2-hover);
}

.svg-inline--fa,
svg:not(:root).svg-inline--fa {
  overflow: visible;
}

.svg-inline--fa.fa-w-16 {
   margin-top: -5px;
}

.svg-inline--fa.fa-w-14 {
  width: 1em;
}

/*主要文章详情页 头部图片*/
.home-carouse-wrap {
  /* background-color: #346; */
  padding: 20px;
  background: rgb(225, 175, 108, 0.0) !important;
  padding-top: 111px;
  z-index:1;
}

.home-carouse-inter-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.home-carouse-item {
  width: calc((100% - 60px) * 0.25);
  transition: all 0.2s ease 0s;
  box-shadow: 0 6px 12px 0 rgb(0 0 0 / 25%);
}

.home-carouse-item img {
  width: 100%;
  height: 150px;
   opacity: 0.8; 
}

.home-carouse-item-body {
  /* background-color: #fff; */
  padding: 20px;
  height: 160px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(245, 245, 245, 0.4), rgba(230, 230, 230, 0.2));
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.home-carouse-item-title {
  font-size: 18px;
  font-weight: 700;
  height: 58px;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-carouse-item-dot {
  display: inline-block;
  background-color: #a2a2a2;
  border-radius: 100%;
  height: 8px;
  width: 8px;
  margin-right: 4px;
  flex-shrink: 0;
}

.home-carouse-item-tag {
  display: flex;
  align-items: center;
  color: steelblue;
  font-size: 14px;
}

.home-carouse-item-first-text {
  font-weight: 900;
  padding: 0 8px;
  align-items: center;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.home-carouse-item-tag .home-carouse-item-first-text:not(:last-child):after {
  position: absolute;
  right: -1px;
  display: block;
  content: " ";
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #4e5969;
}

.home-carouse-item-tag .author {
  padding-left: 8px;
  color: darkslategrey;
  display: inline-block;
  max-width: 100px;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-carouse-item:hover {
  transform: translateY(-4px);
}




/* home 适配 */

  @media screen and (min-width: 769px) {
        .vine-mobile {
  
              display:none !important;
          }
          
          .vine-desktop {
  
                display:block !important;
            }
            
            .custom-scrollbar {
            
                z-index:99;
            
            }
  

  }
  
@media screen and (max-width: 1023px) and (orientation: landscape) {
   
   .circle-container {
  
    display:none;
  }
}



  
@media screen and (max-width: 768px) {

 .home{
    padding-top: 25px;
    padding-right: 0;
  }
  
   
   .circle-container {
  
    display:none;
  }
  
  
  .vine-desktop {
  
      display:none !important;
      
  }
  
  .vine-mobile {
  
      display:block !important;
  }
  
  .column-60 {
  width: unset !important;
}
.column-50 {
  width: unset !important;
}
.column-40 {
  display: none;
}
.column-30 {
  display: none;
}
.column-20 {
  display: none;
}


  .cdc-tag-links__items {
  display:block;
  }
  
  
  
  .home-right,
  .leaf:nth-child(4),
  .leaf:nth-child(5),
  .home-carouse-wrap {
    display: none;
  }
   .home-inter-wrap{
    padding-top: 25px;
  }
  .custom-scrollbar{
    right: -20px;
    width: 60px;
  }
  .custom-scrollbar-thumb{
    background: url(/img/thumb1.gif) center center / 40px no-repeat;
  }
    .svg-inline--fa.fa-w-16 {
    width: 0.8em;
}
.svg-inline--fa.fa-w-14 {
    width: 0.7em;
    margin-top: -15px;
}
  .home-body {
    margin-right: 0;
  }

  .home-wrap {
    padding-top: 0;
  }

  .user-article-item-value-text {
    -webkit-line-clamp: 3;
  }
  .home-inter-wrap {
    width: auto;
    display: block;
  }
  .user-article-img {
    width: 110px;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    right: 0;
  }
  .align-content-start {
    padding: 4px 18px;
  }
  .cdc-article-panel__operate {
    margin-left: 8px;
  }
  .article-show-wrap {
    margin-right: 8px;
  }

  .cdc-article-panel__inner:has(.user-article-img) .cdc-article-panel__media {
    max-width: 65%;
  }
}



@font-face {
  font-family: "neontubes";
  src: url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.eot");
  src: url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.woff2")
      format("woff2"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.woff")
      format("woff"),
    url("https://bitbucket.org/kennethjensen/webfonts/raw/fc13c1cb430a0e9462da56fe3f421ff7af72db71/neontubes/neontubes-webfont.ttf")
      format("truetype");
  font-weight: normal;
  font-style: normal;
}

.main-subject {
  
   
  white-space: nowrap;
}

.main-subject span {
  display: inline-table;
  position: relative;
  transform: translateZ(0) translate3D(0, 0, 0);
  backface-visibility: hidden;
  will-change: opacity;
}

.main-subject .first-span {

  color: #ffd9e2;
  text-shadow: 0 0 0 transparent, 0 0 10px #ff003c,
    0 0 20px rgba(255, 0, 60, 0.5), 0 0 40px #ff003c, 0 0 100px #ff003c,
    0 0 200px #ff003c, 0 0 300px #ff003c, 0 0 500px #ff003c, 0 0 1000px #ff003c;
  animation: blink 4s infinite alternate;
}



.main-subject .second-span {
   
  color: #d4eaff;
  text-shadow: 0 0 0 transparent, 0 0 10px #2695ff,
    0 0 20px rgba(38, 149, 255, 0.5), 0 0 40px #2695ff, 0 0 100px #2695ff,
    0 0 200px #2695ff, 0 0 300px #2695ff, 0 0 500px #2695ff;
}



/* Thêm một pseudo-element để làm border glow động */
button.first-span {
    border: 1px solid;
    padding: 8px;
}
 

@-webkit-keyframes blink {
  40% {
    opacity: 1;
  }
  42% {
    opacity: 0.8;
  }
  43% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  46% {
    opacity: 1;
  }
}
@keyframes blink {
  40% {
    opacity: 1;
  }
  42% {
    opacity: 0.8;
  }
  43% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  46% {
    opacity: 1;
  }
}


.neon-text {
  
  color: currentColor;
   
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff, 0 0 40px #00f, 0 0 80px #00f, 0 0 90px #00f;
}


.nav-body {
  position: relative;
  overflow: visible;
  z-index: 1000;
}

/* Vine Stem */
.vine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px; /* Adjust for better coverage */
  pointer-events: none;
  filter: brightness(0.5);
  filter: saturate(0.5);
  opacity: 0.5;
}

/* Vine Leaves */
.leaf {
  position: absolute;
  width: 160px;
  height: 111px;
  background: url('/img/vine.png') no-repeat center;
  background-size: cover;
}

/* Positioning the leaves in an organic pattern */
.leaf:nth-child(1) {     top: -13px;
  left: -90px;
  transform: rotate(-33deg);}
.leaf:nth-child(2) {    top: -31px;
  left: 3%;
  transform: rotate(-145deg); }
.leaf:nth-child(3) { top: 3px;
  left: 145px;
  transform: rotate(-32deg);}

  .leaf:nth-child(4) {     top: -33px;
    left: 242px;
    transform: rotate(-150deg);}

    .leaf:nth-child(5) { top: 3px;
      left: 369px;
      transform: rotate(-32deg);}


.svg-inline--fa.fa-w-16{
        width: 1.0em;
      }
      .category-search-btn{
        margin-top: 5px;
      }

    .column-30 {
        width: 30%;
         
        padding: 10px;
        box-sizing: border-box;
        border-right: 1px solid darkolivegreen;
        background: linear-gradient(to right, rgba(245, 245, 245, 0.8), rgba(230, 245, 230, 0.6), rgba(245, 245, 245, 0.1));
    }
    .column-20 {
      width: 20%;
       
      padding: 10px;
      box-sizing: border-box;
      border-right: 1px solid darkolivegreen;
      background: linear-gradient(to right, rgba(245, 245, 245, 0.4), rgba(230, 245, 230, 0.6), rgba(245, 245, 245, 0.1));
  }


    .column-50 {
        width: 50%;
       
        padding: 10px;
        box-sizing: border-box;
        background: linear-gradient(to right, rgba(245, 245, 245, 0.8), rgba(230, 245, 230, 0.6), rgba(245, 245, 245, 0.1));
    }

    .layout-flex{
      display: flex;
    }


 
  

    .foldertag {
      background-image: url("/img/Tag-Folder.png");
  }
  
    
  .labeltag {
      background-image: url("/img/tag-label.png");
  }
  
  .rootimg {
      background-image: url("/img/disk.png");
  }

  #clear_scope {
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}



ul.fancytree-container{
  min-height: 350px !important;
  background: linear-gradient(to right, rgba(245, 245, 245, 0.6), rgba(230, 245, 230, 0.4), rgba(245, 245, 245, 0.1)) !important;
 
  border: none !important;
}

.vine-border {
  background: transparent;
  position: relative;
  z-index: 0;
}

.vine-border::before {
  content: '';
  position: absolute;
  top: -45px;
  left: -17px;
  right: 0;
  bottom: 0px;
  background-image: url(/img/vine.png);
  background-repeat: repeat-x;
  background-size: 135px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.count-color {
  color: palevioletred;
}