/* theme/fujico/css/blog.css */
/* CSS cho trang blog (danh sách bài viết) */

.blog-header {
  margin-bottom: 40px;
}

.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
  height: 220px;
  object-fit: cover;
}

.blog-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card .card-title a {
  color: var(--dark-text);
  text-decoration: none;
}
.blog-card .card-title a:hover {
  color: var(--secondary-color);
}

.blog-meta {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.pagination {
  margin-top: 50px;
}

.pagination .page-link {
  color: var(--secondary-color);
  border: none;
  margin: 0 5px;
  border-radius: 5px;
}
.pagination .page-item.active .page-link {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}



/* ========== INSIGHT BOX STYLES ========== */
.insight-box {
    background: linear-gradient(145deg, #f0f9ef 0%, #e8f4e7 100%);
    border-left: 5px solid var(--orange, #088603);
    border-radius: var(--radius-md, 10px);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.05));
    transition: var(--transition, all 0.3s ease);
    font-size: 0.95rem;
}

.insight-box:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md, 0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Icon before the insight box */
.insight-box::before {
    content: "💡";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--orange, #088603);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-circle, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.1));
    border: 2px solid white;
}

/* Header/title inside insight box */
.insight-box strong:first-child,
.insight-box .insight-title {
    color: var(--orange-dark, #003f0a);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paragraph styling inside insight */
.insight-box p {
    margin-bottom: 0;
    color: #2c3e2a;
}

/* Multiple paragraphs inside insight */
.insight-box p + p {
    margin-top: 0.5rem;
}

/* List styling inside insight */
.insight-box ul, 
.insight-box ol {
    margin: 0.5rem 0 0 1.25rem;
    color: #2c3e2a;
}

.insight-box li {
    margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insight-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .insight-box::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: -10px;
    }
}

