/* --- ХІРО СЕКЦІЯ СТАТТІ --- */
.post-hero {
    padding: 140px 0 60px;
    background: linear-gradient(to right, rgba(15,19,25, 0.95) 0%, rgba(15,19,25, 0.6) 50%, rgba(15,19,25, 0.1) 100%), url('../image/blog-hero-bg.png') no-repeat center right;
    background-size: cover;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.breadcrumbs {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: var(--text-gold);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--text-white);
}

.breadcrumbs .current {
    color: #aaa;
}

.post-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 0.85rem;
    color: var(--text-beige);
    text-transform: uppercase;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1); /* Робить чорні іконки білими, якщо потрібно */
    opacity: 0.7;
}

.post-hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-white);
    background: none;
    -webkit-text-fill-color: var(--text-white);
}

.post-hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5rem;
    font-weight: 500;
}

.post-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    max-width: 650px;
}

/* --- КОНТЕНТ СТАТТІ --- */
.post-content-wrapper {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

/* Цитата */
.quote-box {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-text-wrap p {
    font-size: 1.4rem;
    color: var(--text-beige);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.quote-text-wrap cite {
    font-size: 0.9rem;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.post-text-regular {
    font-size: 1rem;
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 60px;
}

/* --- ЧЕРГУВАННЯ БЛОКІВ (Текст + Картинка) --- */
.post-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
    /* За замовчуванням: зліва направо (Текст -> Картинка) */
    flex-direction: row; 
}

/* ТУТ МІГІЯ РЕВЕРСУ */
.post-block.reverse {
    /* Перевертає порядок: Картинка стає зліва, Текст справа */
    flex-direction: row-reverse;
}

.post-text {
    flex: 1;
    max-width: 50%;
}

.post-image {
    flex: 1;
    max-width: 50%;
}

.post-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.post-text h2 {
    /* Відключаємо глобальний градієнт для цих h2, якщо він був */
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.post-text p {
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.7;
}

.list-title {
    display: block;
    color: var(--text-beige);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Списки з тегом <img> замість булетів */
.post-list {
    padding: 0;
}

.post-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-white);
    line-height: 1.6;
}

.post-list .list-icon {
    width: 25px; /* Фіксований розмір для іконок */
    height: 25px;
    flex-shrink: 0;
     /* Вирівнювання по тексту */
}

.list-icon {
    width: 30px; /* Фіксований розмір для іконок */
    height: 30px;
}

/* --- ПІДСУМОК --- */
.summary-box {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px;
    background: rgba(15, 19, 25, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    margin-bottom: 60px;
}

.summary-icon img {
    width: 60px;
    height: 60px;
}

.summary-content h3 {
    color: var(--text-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.summary-content p {
    color: var(--text-white);
    line-height: 1.7;
    margin: 0;
}

/* --- ПОДІЛИТИСЯ ТА НАВІГАЦІЯ --- */
.post-footer-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-block span {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-icon img {
    width: 18px;
    height: 18px;
}

.share-icon:hover {
    border-color: var(--text-gold);
    transform: translateY(-3px);
}

.nav-buttons {
    display: flex;
    gap: 20px;
}

.btn-nav {
    padding: 12px 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--text-beige);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    border-color: var(--text-gold);
    color: var(--text-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* --- 1. ВЕРТИКАЛЬНИЙ СПИСОК З НОМЕРАМИ (Для "5 порад") --- */
.post-vertical-steps {
    position: relative;
    padding-left: 13%;
    margin: 50px 0;
}

.step-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
}

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

.step-num {
    position: absolute;
    left: -140px; /* Зсуваємо номер ліворуч від лінії */
    width: 80px;
    height: 80px;
    border: 1px solid var(--text-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-gold);
    background: var(--bg-dark);
}

/* Крапка на самій лінії */
.step-item::before {
    content: '';
    position: absolute;
    left: -106px; /* Точно на бордер */
    top: 35px;
    width: 11px;
    height: 11px;
    background: var(--text-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.step-content h3 {
    color: var(--text-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-content p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- 2. ВЕРТИКАЛЬНИЙ СПИСОК З ІКОНКАМИ (Для "Чому програємо") --- */
.post-icon-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 50px 0;
}

.icon-list-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.item-icon-box {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon-box img {
    width: 35px;
}

.item-text-box h3 {
    color: var(--text-gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.item-text-box p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

/* --- 3. СІТКА КАРТОК (Для "Спільного дозвілля") --- */
.post-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.grid-card {
    background: transparent;
    text-align: center;
}

.grid-card > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: -25px; /* Заїзд іконки на картинку */
}

.grid-card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 1px solid var(--text-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    position: relative;
    z-index: 2;
}

.grid-card-icon img {
    width: 30px;
}

.grid-card h3 {
    color: var(--text-gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.grid-card p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- 4. ЧЕКЛИСТ (Для "Більше, ніж просто гра") --- */
.post-checklist {
    margin: 50px 0;
    padding-left: 20px;
}

.post-checklist h3 {
    color: var(--text-gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.post-checklist ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.post-checklist ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.post-checklist ul li img {
    width: 24px;
}

.checklist-footer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checklist-footer img {
    width: 30px;
    margin-top: 5px;
}

.checklist-footer p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

/* --- АДАПТИВНІСТЬ ДЛЯ НОВИХ БЛОКІВ --- */
@media (max-width: 900px) {
    .post-grid-cards {
        grid-template-columns: 1fr;
    }
    .post-vertical-steps {
        padding-left: 80px;
        border-left: none; /* Ховаємо лінію на мобілках */
    }
    .step-item::before {
        display: none;
    }
    .step-num {
        position: static;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .step-item {
        flex-direction: column;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
    }
}

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 900px) {
    .post-block, .post-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .post-text, .post-image {
        max-width: 100%;
    }
    .post-hero h1 {
        font-size: 2.5rem;
    }
    .summary-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .post-footer-actions {
        flex-direction: column;
    }
}