/* ============================
   BLOG SINGLE – CSS
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #ffffff;
    font-family: 'Jost', sans-serif;
}

.blog-single {
    padding: 80px 40px 100px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-single__container {
    width: 100%;
}

.blog-single__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2D2D2D;
    margin-bottom: 60px;
    line-height: 1.2;
}

.blog-single__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.blog-single__img-wrap {
    flex: 0 0 58%;
    max-width: 58%;
}

.blog-single__img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.blog-single__text {
    flex: 0 0 34%;
    max-width: 34%;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
    letter-spacing: 0.02em;
    padding: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-single__galeria {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
}

.blog-single__galeria-item {
    flex: 0 0 auto;
    width: 392px;
    height: 503px;
    overflow: hidden;
    border-radius: 4px;
}

.blog-single__galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.blog-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.blog-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.blog-lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.blog-lightbox__close:hover {
    opacity: 1;
}

.blog-single__back {
    text-align: center;
    margin-top: 60px;
}

.blog-single__back a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #2D2D2D;
    text-decoration: none;
    border-bottom: 1px solid #2D2D2D;
    padding-bottom: 2px;
    transition: opacity 0.3s;
    letter-spacing: 0.05em;
}

.blog-single__back a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .blog-single { padding: 40px 20px 60px; }
    .blog-single__title { font-size: 32px; margin-bottom: 40px; }
    .blog-single__content { flex-direction: column; gap: 30px; }
    .blog-single__img-wrap { flex: none; max-width: 100%; }
    .blog-single__text { flex: none; max-width: 100%; padding: 20px; font-size: 16px; }
    .blog-single__galeria { flex-wrap: wrap; gap: 12px; }
    .blog-single__galeria-item { width: calc(50% - 6px); height: auto; aspect-ratio: 392/503; }
}

@media (max-width: 480px) {
    .blog-single__galeria-item { width: 100%; }
}
