/* --- Banner --- */
/* Reset cơ bản cho component này */
.bohemia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
}

/* --- HEADER --- */
.bohemia-header {
    margin-bottom: 40px;
}

.bohemia-header__title {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
}

.bohemia-header__line {
    width: 100%;
    height: 2px;
    background-color: #ccc; /* Màu xám nhạt giống hình */
    position: relative;
}

.bohemia-header__line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 150px; /* Đoạn gạch chân đậm hơn ở đầu nếu muốn */
    height: 2px;
    background-color: #4a0e0e; /* Màu nâu đỏ */
}

/* --- GRID LAYOUT --- */
.bohemia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cột */
    gap: 30px;
    margin-bottom: 50px;
}

/* Responsive: Tablet 2 cột, Mobile 1 cột */
@media (max-width: 992px) {
    .bohemia-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .bohemia-grid { grid-template-columns: 1fr; }
}

/* --- CARD ITEM --- */
.bohemia-card {
    display: flex;
    flex-direction: column;
    opacity: 0; /* Ẩn mặc định để JS chạy hiệu ứng */
    transform: translateY(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bohemia-card__image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.bohemia-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bohemia-card:hover .bohemia-card__image {
    transform: scale(1.05); /* Zoom nhẹ khi hover */
}

.bohemia-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 44px; /* Giữ chiều cao đều nhau */
}

.bohemia-card__title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.bohemia-card__title a:hover {
    color: #4a0e0e; /* Màu chủ đạo khi hover title */
}

.bohemia-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-top: auto;
}

.bohemia-card__date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bohemia-card__link {
    text-decoration: none;
    color: #4a0e0e; /* Màu chữ Xem thêm */
    font-weight: 600;
    transition: opacity 0.2s;
}

.bohemia-card__link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- PAGINATION --- */
.bohemia-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.bohemia-pagination__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bohemia-pagination__item:hover {
    border-color: #4a0e0e;
    color: #4a0e0e;
}

.bohemia-pagination__item--active {
    background-color: #4a0e0e;
    color: #fff !important;
    border-color: #4a0e0e;
}

.bohemia-pagination__dots {
    color: #666;
    letter-spacing: 2px;
}

/* --- ANIMATION CLASS (Được thêm bởi JS) --- */
.bohemia-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.search-form-sidebar {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-form-sidebar input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}

.search-form-sidebar button {
    background: #f5f5f5;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #555;
    transition: background 0.3s;
}

.search-form-sidebar button:hover { background: #e0e0e0; }

.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li {
    border-bottom: 1px solid #f5f5f5;
}

.cat-list li:last-child { border-bottom: none; }

.cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.cat-list a:hover { color: #d4af37; }
.cat-list a span { color: #ccc; font-size: 12px; }

.recent-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.recent-item:last-child { margin-bottom: 0; }

.recent-img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-info h5 {
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.recent-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-info h5 a:hover { color: #d4af37; }

.recent-info span {
    font-size: 12px;
    color: #999;
}

.sidebar-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-banner img {
    width: 100%;
    display: block;
}

.promo-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.promo-text h3 { font-size: 20px; margin-bottom: 10px; color: #d4af37; }
.promo-text a {
    display: inline-block;
    padding: 5px 15px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
}
