/* Inner pages: terms, hod-stroy, news */

/* Terms page */
.terms {
    padding: 2rem 0;
}
.terms__list {
    list-style: none;
    padding: 0;
}
.terms__item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.terms__item:last-child {
    border-bottom: none;
}
.terms__img {
    width: 200px;
    min-width: 200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
.terms__item-wrap {
    flex: 1;
    min-width: 0;
}
.terms__heading {
    font-family: Gilroy, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #14451f;
    margin-bottom: 0.75rem;
}
.terms__text {
    font-family: Gilroy, sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    white-space: pre-line;
}
.terms__sublist {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}
.terms__subitem {
    font-family: Gilroy, sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: #555;
}
.terms__subitem::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}
.terms__subitem.active {
    font-weight: 600;
    color: #14451f;
}
.terms__subitem.active::before {
    background: #43A154;
}

/* Container heading for terms */
.container__heading_terms {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

/* Buttons */
.how-buy__btn {
    margin-top: 1rem;
}
.btn {
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn_blue {
    background: #43A154;
    color: #fff;
}
.btn_blue:hover {
    background: #388E3C;
}

/* Hod-stroy page */
.slides__section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.slides__item {
    flex: 1 1 0;
    min-width: 0;
}
.slides__item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.slides__section.slick-initialized {
    display: block;
}
.load-more-wrapper {
    text-align: center;
    padding: 20px 0 40px;
}

/* News page */
.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.post-card:hover {
    transform: translateY(-2px);
}
.post-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.post-card__body {
    padding: 1.25rem;
}
.post-card__title {
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #14451f;
    margin-bottom: 0.5rem;
}
.post-card__date {
    font-family: Gilroy, sans-serif;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}
.post-card__excerpt {
    font-family: Gilroy, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .terms__item {
        flex-direction: column;
    }
    .terms__img {
        width: 100%;
        min-width: 100%;
        max-height: 200px;
        object-fit: cover;
    }
    .terms__heading {
        font-size: 1.25rem;
    }
    .posts-list {
        grid-template-columns: 1fr;
    }
}
