.bravo-gallery {
    padding-bottom: 100px
}

.bravo-gallery a {
    text-decoration: none
}

.bravo-gallery h2.title,.bravo-gallery h3.post-title,.bravo-gallery h4.post-title {
    color: #ff671e;
    font-size: 16px;
    font-weight: 500;
    /* line-height: 1.3; */
    /* margin-top: 5px; */
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    padding: 2px 12px;
    max-width: 80%;
    overflow: hidden;
    border-radius: 0.3rem;
    margin-bottom: 0px;
}

.bravo-gallery .bravo_content {
    padding: 10px 0;
}

.bravo-gallery .gallery_row {
    display: block;
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 766px) {
    .bravo-gallery .gallery_row {
        column-count: 1;
        column-gap: 20px;
        margin-right: 5px;
        margin-left: 5px;
    }
    
}

.bravo-gallery .gallery_row .col-md-4{
    display: inline;
    max-width: 100%; /* Same width for all items */
    box-sizing: border-box; /* Includes padding in width calculations */
}

.bravo-gallery .bravo_banner {
    background-color: #1a2b48;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0px;
    position: relative
}

@media (max-width: 766px) {
    .bravo-gallery .bravo_banner {
        padding: 15px 0px
    }
}

.bravo-gallery .bravo_banner h1 {
    color: #fff;
    font-size: 30px;
    letter-spacing: 0;
    margin: 0.5rem;
    text-align: center;
}

.bravo-gallery .list-gallery {
    margin: 0 0 30px
}

/* .bravo-gallery .list-gallery .post-header {
    margin-bottom: 15px
} */

.bravo-gallery .article {
    margin-bottom: 40px
}

.bravo-gallery .article h2.title,.bravo-gallery .article h3.post-title,.bravo-gallery .article h4.post-title {
    color: #1a2b48;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 15px
}

.bravo-gallery .article .post-header {
    max-height: 350px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.bravo-gallery .author-info {
    border: 1px solid #d7dce3;
    border-radius: 3px;
    margin-top: 40px;
    padding: 30px
}

.bravo-gallery .author-info .media {
    align-items: center;
    display: flex
}

.bravo-gallery .author-info .media .avatar {
    border-radius: 100px;
    margin-right: 20px
}

.bravo-gallery .space-between {
    -webkit-box-pack: justify;
    display: -webkit-box;
    justify-content: space-between;
    margin: 30px 0
}

.bravo-gallery .space-between .tags .tag-item {
    background: #f7f6f6;
    color: #1a2b48;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 8px 20px;
    text-decoration: none;
    text-transform: uppercase
}

.bravo-gallery .space-between .share {
    color: #1a2b48;
    font-size: 14px
}

.bravo-gallery .space-between .share .share-item {
    color: #5e6d77;
    margin-left: 8px;
    margin-right: 8px
}

.bravo-gallery .post-content {
    color: #5e6d77;
    font-size: 15px
}

.bravo-gallery .post-content img {
    height: auto!important;
    max-width: 100%
}

.bravo-gallery .header {
    position: relative
}

.bravo-gallery .header img {
    height: auto;
    width: 100%;
    border-radius: 0.5rem;
}

.bravo-gallery .header .tag {
    left: 10px;
    overflow: hidden;
    position: absolute;
    top: 10px
}

.bravo-gallery .header .tag ul {
    margin: 0;
    padding: 0
}

.bravo-gallery .header .tag ul li {
    background: #5191fa;
    border-radius: 3px;
    float: left;
    list-style: none;
    margin-bottom: 5px;
    margin-right: 10px;
    color: #fff;
    display: block;
    padding: 2px 5px;
    text-decoration: none
}

/* .bravo-gallery .header .tag ul li a {
    color: #fff;
    display: block;
    padding: 5px 10px;
    text-decoration: none
} */

.bravo-gallery .widget_search {
    width: 50%;
    margin-left: 25%;
}

.bravo-gallery .widget_search form {
    display: flex;
    position: relative;
}

.bravo-gallery .widget_search form .form-control {
    border-radius: 0.3rem;
    border: 1px solid #ff671e;
    color: #ff671e;
    font-size: 16px;
    font-weight: 500;
    height: 38px;
}

@media (max-width: 766px) {
    .bravo-gallery .widget_search form {
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;
        padding: 8px;
        z-index: 1;
        background: #CAEEFB;
    }
}

.bravo-gallery .bravo-video-popup {
    position: absolute;
    width: 16%; /* Width can remain dynamic */
    aspect-ratio: 1 / 1; /* Ensures width and height are equal */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust position to center perfectly */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
}

.bravo-gallery .bravo-video-popup i {
    font-size: 22px;
}

.bravo-gallery .text-darken {
    color: #1a2b48
}

.bravo-gallery .post_item {
    margin-bottom: 10px;
    border-radius: 0.5rem;
}

.bravo-gallery .modal {
    top: 10%;
}

@media (max-width: 766px) {
    .bravo-gallery .modal {
        top: 33%;
    }
}

.bravo-gallery .social-share {
    position: absolute;
    width: 30px; /* Width can remain dynamic */
    height: 30px; /* Ensures width and height are equal */
    right: 5px; /* Center horizontally */
    top: 5px; /* Center vertically */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.bravo-gallery .social-share .social-icon {
    font-size: 19px;
    color: #ff671e;
}

@media (max-width: 766px) {
    .bravo-gallery .social-share .share-wrapper {
        left: 5%;
        width: 90%;
    }
}

.bravo-gallery .social-share .share-wrapper .col-md-3 {
    align-items: center;
    justify-content: center;
    display: flex;
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.bravo-gallery .social-share .share-wrapper .col-md-3 a {
    height: 3rem;
    width: 3rem;
    font-size: 1.2rem;
    background: #fff;
    border-radius: 50%;
    color: #1a2b48;
    text-align: center;
    border: 1px solid #ff671e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiktok-img {
    height: 1.7rem !important;
    width: auto !important;
}



