:root {
    --white: #ffffff;
    --black: #000000;
    --dark-grey: #4A4A4A;
    --primary-color: #C0934C;
    --yellow-color: #D9A346;
    --light-yellow-color: #F4F0E7;
    --heading-yellow-color: #DCC5A2;
    --dark-yellow-color: #B9A082;

}

/*---------- Template CSS start -----------*/

.template h2 {
    color: var(--dark-grey);
}

.template ul {
    list-style: disc;
    margin-left: 25px;
}

.template ul li {
    font-size: 18px;
    padding: 5px;
}

.template .apartmani-pdf a {
    margin-left: 20px;
    color: var(--yellow-color);
    font-size: 24px;
    margin-top: 10px;
    display: inline-block;
}

.template .apartmani-pdf a:hover {
    text-decoration: underline;
}

.template .back-btn a {
    font-size: 24px;
    font-family: 'cinzelregular';
    color: var(--yellow-color);
    font-weight: 700;
    display: inline-block;
    margin-left: 15px;
}

.template .back-btn a:hover {
    text-decoration: underline;
}

.conclusion-gallery img {
    transition: transform 0.5s ease;
    -webkit-transition: transform 0.5s ease;
}

.conclusion-gallery img:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

.whole-gallery {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    color: var(--white);
    background-color: rgba(74, 74, 74, .75);
    padding: 93px 40px;
}

.blog-gallery{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-gallery .gallery-item:nth-child(1), .blog-gallery .gallery-item:nth-child(2), .blog-gallery .gallery-item:nth-child(3) {
    display: block;
}

.blog-gallery .gallery-item{
    width: 100%;
    height: 265px;
    padding: 0;
    display: none;
}

.blog-gallery .gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-gallery .gallery-item:nth-child(1){
    grid-row: span 2;
    height: 550px;
}


/*---------- Media Css Start -----------*/
@media only screen and (max-width: 1024px) {
    .template ul li {
        font-size: 16px;
    }

}

@media only screen and (max-width: 992px) {
      .blog-gallery{
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .blog-gallery .gallery-item:nth-child(1){
        grid-row: span 1;
        height: 265px;
    }
}

@media only screen and (max-width: 767px) {
        .blog-gallery{
        padding: 0 0.75rem;
        margin-top: 1rem !important;
    }

        .blog-gallery .gallery-item:nth-child(1){
            height: 200px;
        }

    .blog-gallery .gallery-item{
        height: 200px;
    }

.whole-gallery{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 25px;
}

}