/* =========================================================
   Author Box
   ========================================================= */


    .custom-author-banner {
      background: #fff;
      color: #222;
      border: 1px solid rgba(0, 0, 0, 0.1); /* Độ mờ tăng từ 0.08 lên 0.1 */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Giống Code 2 (light mode) */
      border-radius: 12px;
      padding: 20px;
      margin: 24px 0;
      animation: fadeIn 0.4s ease-out forwards;
    }
    
    [data-mode="dark"] .custom-author-banner {
      background: #352d46;
      color: #eee;
      border-color: rgba(255, 255, 255, 0.1);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Giống Code 2 (dark mode) */
    }

  .cab__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .cab__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    display: block;
  }

  .cab__name {
    font-size: 1.2em;
    font-weight: 600;
    margin: 4px 0 0;
    line-height: 1.2;
  }

  .cab__bio {
    font-size: 0.9em;
    margin-top: 6px;
    color: #555;
  }

  [data-mode="dark"] .cab__bio {
    color: #aaa;
  }

  .cab__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
  }

  .cab__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    font-weight: 500;
    background: #666;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  /* Button color variations */
  .cab__btn._patreon       { background: linear-gradient(135deg, #FF424D, #FF7081); }
  .cab__btn._kofi          { background: linear-gradient(135deg, #29ABE0, #4ECDC4); }
  .cab__btn._paypal        { background: linear-gradient(135deg, #0070BA, #00A6E5); }
  .cab__btn._subscribestar { background: linear-gradient(135deg, #00C4B4, #00E5D9); }
  .cab__btn._topwebfiction { background: linear-gradient(135deg, #4CAF50, #66BB6A); }
  .cab__btn._donation      { background: linear-gradient(135deg, #E91E63, #F06292); }

  @media (min-width: 768px) {
  .cab__container {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
  }

  .cab__avatar {
    flex: 0 0 auto;
  }

  .cab__avatar img {
    width: 96px;
    height: 96px;
  }

  .cab__info {
    flex: 1 1 auto;
  }

  .cab__buttons {
    justify-content: flex-start;
  }
  .cab__name {
    margin-bottom: 5px;
  }
  .cab__bio {
    margin-top: 10px;
  }
}



.latest-updates .post-list-item__image {
    width: 100px;
	padding-bottom:10px
}

.latest-updates .post-list-item__image img {
    width: 100%;
    height: auto;
}

.latest-updates .post-list-item__image {
    width: 130px !important;
}



/* =========================================================
   Chapters Block
   ========================================================= */

.fictioneer-new-releases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.release-card {
    background: rgba(128, 128, 128, 0.08);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.release-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* =========================================================
   Cover
   ========================================================= */

.release-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(128,128,128,.05);
}

.release-cover a {
    display: block;
    width: 100%;
    height: 100%;
}

.release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.release-card:hover .release-cover img {
    transform: scale(1.03);
}

/* =========================================================
   Card Content
   ========================================================= */

.release-info {
    padding: 10px 12px;
}

.release-title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.release-title a {
    color: inherit;
    text-decoration: none;
}

.release-title a:hover {
    color: var(--theme-color, #f15a4a);
}

/* =========================================================
   Chapters
   ========================================================= */

.release-chapters {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.release-chapter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    line-height: 1.35;
}

.release-chapter a {
    color: inherit;
    text-decoration: none;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

    flex: 1;
}

.release-chapter a:hover {
    color: var(--theme-color, #f15a4a);
}

.release-time {
    font-size: .75rem;
    opacity: .6;
    white-space: nowrap;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 768px) {

    .fictioneer-new-releases {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .release-info {
        padding: 10px;
    }

}

@media (max-width: 480px) {

    .fictioneer-new-releases {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .release-title {
        font-size: .95rem;
    }

    .release-chapter {
        font-size: .82rem;
    }

}