/* სექციის საერთო სტილები */
.section-five {
    padding: 80px 0;
    background-color: #fcfbfa; /* ღია, თბილი ტონის ფონი როგორც რეფერენსშია */
}

.section-five__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-five__header {
    text-align: center;
    margin-bottom: 50px;
}

.section-five__subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #c5a880;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-five__title {
    font-family: 'BPG_Header', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* გრიდის სისტემა - 3 სვეტი */
.section-five__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ქარდის ძირითადი კონტეინერი */
.blog-card {
    position: relative;
    height: 580px; /* ვერტიკალური, მაღალი ფორმატი */
    border-radius: 24px; /* მომრგვალებული კუთხეები */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.blog-card__link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* ფოტოს კონტეინერი უკანა ფონზე */
.blog-card__img-box {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* პლეისჰოლდერი იმ შემთხვევისთვის, თუ პოსტს ფოტო არ აქვს */
.blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: #e3ded7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #8c8276;
    letter-spacing: 3px;
}

/* კონტენტის ფენა მუქი გრადიენტით */
.blog-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* კონტენტი ჩამოდის დაბლა */
    align-items: center; /* ცენტრირება ჰორიზონტალურად */
    padding: 40px 30px;
    text-align: center;
    /* გრადიენტი, რომელიც უზრუნველყოფს ტექსტის კითხვადობას */
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* ელემენტების სტილები კონტენტში */
.blog-card__date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.blog-card__title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 14px;
    max-width: 90%;
}

.blog-card__excerpt {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 85%;
}

/* ოვალი ღილაკი (Enter and discover სტილი) */
.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}

.blog-card__more svg {
    transition: transform 0.3s ease;
}

/* ჰოვერ ეფექტები (Interactive states) */
.blog-card:hover .blog-img {
    transform: scale(1.06); /* ფოტოს მსუბუქი Zoom */
}

.blog-card:hover .blog-card__more {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card:hover .blog-card__more svg {
    transform: translateX(3px); /* ისრის გაწევა მარჯვნივ */
}

/* რესპონსივი მობილურებისთვის და ტაბლეტებისთვის */
@media (max-width: 992px) {
    .section-five__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .blog-card {
        height: 500px;
    }
}

@media (max-width: 600px) {
    .section-five {
        padding: 50px 0;
    }
    .section-five__grid {
        grid-template-columns: 1fr;
    }
    .blog-card {
        height: 480px;
    }
}