/* public/assets/css/blogDetail.css */

.bd-wrap{
  padding: 26px 0 60px;
}

.bd-article{
  background:#fff;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow:hidden;
}

.bd-cover{
  padding: 18px 18px 0;
}

.bd-cover .swiper{
  border-radius: 16px;
  overflow:hidden;
  background:#111;
}

.bd-cover img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
}

.bd-cover .swiper-pagination{
  bottom: 12px !important;
}

.bd-head{
  padding: 18px 22px 0;
}

.bd-title{
  margin: 6px 0 10px;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.35;
}

.bd-meta{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(0,0,0,0.55);
  font-size: .88rem;
  margin-bottom: 10px;
}

.bd-meta-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.bd-body{
  padding: 10px 22px 22px;
  line-height: 2;
  color: rgba(0,0,0,0.78);
  font-size: 1rem;
}

.bd-body h2{
  margin: 24px 0 10px;
  font-weight: 900;
  color:#111;
  font-size: 1.2rem;
}

.bd-lead{
  font-size: 1.02rem;
  color: rgba(0,0,0,0.75);
}

/* Comments */
.bd-comments{
  border-top: 1px solid #eee;
  padding: 18px 22px 22px;
}

.bd-comments-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 14px;
}

.bd-comments-title{
  margin:0;
  font-weight: 900;
  font-size: 1.1rem;
}

.bd-comments-count{
  color: rgba(0,0,0,0.55);
  font-size: .9rem;
}

.bd-comment-list{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.bd-comment{
  display:flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 16px;
  background:#fff;
}

.bd-comment--reply{
  margin-top: 12px;
  background: #fafafa;
}

.bd-comment-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow:hidden;
  flex: 0 0 auto;
  border: 1px solid #eee;
  background:#f3f3f3;
}

.bd-comment-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.bd-comment-body{
  flex:1;
  min-width: 0;
}

.bd-comment-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.bd-comment-name{
  font-weight: 900;
  color:#111;
  font-size: .95rem;
}

.bd-comment-date{
  color: rgba(0,0,0,0.55);
  font-size: .85rem;
  white-space: nowrap;
}

.bd-comment-text{
  color: rgba(0,0,0,0.75);
  line-height: 1.9;
  font-size: .95rem;
}

.bd-comment-actions{
  margin-top: 10px;
}

.bd-reply-btn{
  border: 0;
  background: transparent;
  color: rgba(0,0,0,0.70);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: .9rem;
  padding: 0;
}

.bd-reply-btn:hover{
  color:#111;
}

.bd-reply-box{
  display:none;
  margin-top: 10px;
}

.bd-reply-box.is-open{
  display:block;
}

.bd-reply-actions{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  justify-content:flex-start;
}

/* New comment */
.bd-new-comment{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.bd-new-comment-title{
  margin:0 0 12px;
  font-weight: 900;
  font-size: 1rem;
}

.bd-new-comment-box{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.bd-new-comment-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow:hidden;
  flex: 0 0 auto;
  border: 1px solid #eee;
  background:#f3f3f3;
}

.bd-new-comment-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
}

.bd-new-comment-form{
  flex:1;
}

.bd-new-comment-actions{
  margin-top: 10px;
}

/* Sidebar */
.bd-side{
  position: sticky;
  top: 90px;
}

.bd-side-block{
  background:#fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}

.bd-side-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}

.bd-side-title{
  margin:0;
  font-weight: 900;
  font-size: 1rem;
}

.bd-side-line{
  height:1px;
  flex:1;
  background: rgba(0,0,0,0.10);
}

.bd-side-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.bd-side-row{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  transition: .15s ease;
  border: 1px solid rgba(0,0,0,0.06);
}

.bd-side-row:hover{
  background: rgba(0,0,0,0.03);
}

.bd-side-meta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(0,0,0,0.55);
  margin-bottom: 6px;
}

.bd-side-meta span{
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

.bd-side-row-title{
  font-weight: 900;
  font-size: .98rem;
  color:#111;
  line-height: 1.35;
}

.bd-ad{
  border-radius: 16px;
  overflow:hidden;
  background:#111;
}

.bd-ad img{
  width:100%;
  height: 360px;
  object-fit: cover;
  display:block;
}

/* Responsive */
@media (max-width: 992px){
  .bd-side{ position: static; top:auto; }
  .bd-cover img{ height: 320px; }
}

@media (max-width: 576px){
  .bd-wrap{ padding: 18px 0 44px; }
  .bd-cover{ padding: 12px 12px 0; }
  .bd-head{ padding: 14px 14px 0; }
  .bd-body{ padding: 10px 14px 18px; }
  .bd-comments{ padding: 14px; }
  .bd-cover img{ height: 240px; }

  .bd-title{ font-size: 1.25rem; }
  .bd-comment{ padding: 12px; }
  .bd-comment-avatar,
  .bd-new-comment-avatar{ width: 40px; height: 40px; }
}
.swiper-wrapper {
    margin-bottom: auto;
}
.news-summary-box {
    border: 1px solid #e2e8f0;
    background-color: #fbfbfb;
    padding: 16px 20px;
    border-radius: 6px;
    margin: 24px;
}


.news-summary-box .summary-content {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
}
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-radius: 16px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.author-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.author-card:hover {
    transform: translateY(-5px);
}

.author-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.author-card:hover .author-avatar {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}


.author-bio {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 15px;
    margin-bottom: 1.5rem;
}
