/* ==========================================================================
   TEXT BLOCK / SINGLE POST & SERVICE CONTENT - BEM STANDARD
   ========================================================================== */

.text-block {
    background-color: var(--color-primary, #ffffff);
}

.text-block__meta-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--text-grey, #BBCDBD);
}

.text-block__meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark, #0F0F0F);
}

.text-block__meta-left a {
    color: var(--color-accent, #456C35);
    text-decoration: none;
}

.text-block__meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-block__meta-right span {
    color: var(--text-dark, #0F0F0F);
}

.text-block__meta-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.text-block__meta-right a:hover {
    transform: translateY(-2px);
}

.text-block__wysiwyg {
    line-height: 1.8;
    color: var(--text-dark, #0F0F0F);
}

.text-block__wysiwyg img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card, 6px);
    margin: 20px 0;
}

.text-block__wysiwyg h2,
.text-block__wysiwyg h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Lưới Bento 5 ảnh gallery (Bố cục bất đối xứng chuẩn theo thiết kế) */
.text-block__bento-gallery {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
    margin-top: 50px;
}

.text-block__bento-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card, 6px);
}

.text-block__bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base, all 0.3s ease);
}

.text-block__bento-item:hover img {
    transform: scale(1.03);
}

/* Ảnh 1: Hàng trên góc trái (Ngắn hơn) */
.text-block__bento-item--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

/* Ảnh 2: Hàng trên ở giữa (Dài hơn) */
.text-block__bento-item--2 {
    grid-column: 3 / 6;
    grid-row: 1 / 2;
}

/* Ảnh 3: Cột bên phải (Ảnh đứng dài trải hết 2 hàng) */
.text-block__bento-item--3 {
    grid-column: 6 / 8;
    grid-row: 1 / 3;
}

/* Ảnh 4: Hàng dưới góc trái (Dài hơn) */
.text-block__bento-item--4 {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
}

/* Ảnh 5: Hàng dưới ở giữa (Ngắn hơn) */
.text-block__bento-item--5 {
    grid-column: 4 / 6;
    grid-row: 2 / 3;
}