/* public codes */

.text_color {
    color: #444;
}
.title_color {
    color: #333;
}

/* head */
.cover_image {
    position: relative;
    height: 0;
    padding-bottom: 20%;
    overflow: hidden;
}

.cover_image figure {
    background-color: #090505;
}

.cover_image img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: 0 50%;
}
.cover_content {
    bottom: 14%;
}

@media (max-width: 576px) {
    .cover_image {
        padding-bottom: 40%;
    }
    .headIcons {
        font-size: 0.8rem;
    }
}
.page_bg {
    background-color: #eff1f6;
}

.container_position {
    top: -25px;
}

/* side */
.profile_side {
}
.side_card {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}
.side_card_title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 28px;
    font-weight: 600;
}

.gift {
    margin-bottom: 20px;
}

.gift-title {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.gift-description {
    position: relative;
    font-size: 13px;
    color: #777;
    border-right: 2px solid #eee;
    padding-right: 15px;
    margin-top: 4px;
}

.gift-description::after {
    content: "";
    width: 10px;
    height: 2px;
    position: absolute;
    right: 0;
    background-color: #eee;
    bottom: 0;
}
.gift-description_inner {
    bottom: -8px;
    position: relative;
    padding-right: 0px;
}
.userHonours {
    max-height: 333px;
    overflow-y: auto;
}

.blur-map .map-overlay {
    z-index: 1000;
    pointer-events: none;
      transition: backdrop-filter 0.3s ease, opacity 0.3s ease;

}

.blur-map .map-overlay a {
    pointer-events: all;
}

/* ------------tabs-------------*/

.nav.profile_nav {
    border: 0;
    flex-wrap: nowrap;
    height: 55px;
}

.nav.profile_nav li {
    display: inline-block;
}
.nav.profile_nav .nav-item {
    border: 0;
}
.nav.profile_nav .nav-link {
    position: relative;
    border: 0;
    padding: 0px 15px;
    color: #555;
    font-weight: 500;
    line-height: 55px;
    white-space: nowrap;
}

.nav.profile_nav li {
    border-bottom: 1px solid #ececec;
}

.nav.profile_nav .nav-item.show .nav-link,
.profile_nav .nav-link.active {
    color: #db3037;
    border-bottom: 1px solid #db3037;
}
.nav.profile_nav li a::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #db3037;
    opacity: 0;
    left: 0;
    transition: 0.3s;
    visibility: hidden;
    bottom: 0;
}
.nav.profile_nav li a.active:before {
    opacity: 1;
    visibility: visible;
}

.divider {
    border-bottom: 1px solid darkgray;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 1rem;
    color: #555;
}

.tcard .card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

/* ---- Comments ---- */

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}
.comment-time {
    font-size: 0.85rem;
    color: #888;
}
.comment-text {
    margin-top: 0.25rem;
    color: #888;
}
.view-all {
    text-align: center;
    margin-top: 1rem;
}
.comment-form textarea {
    resize: vertical;
}

/* ---  tab files --- */

ul.pdf-list {
    list-style: none;
    padding: 0;
}
ul.pdf-list li {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.pdf_body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;


    gap: 1rem;
}
.pdf-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pdf-icon {
    font-size: 2rem;
}
.download-link {
    color: #c00;
    text-decoration: none;
    font-weight: bold;
}
.download-link:hover {
    text-decoration: underline;
}
.option-buttons {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* ---cards-- */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}
.photo-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.photo-card:hover img {
    transform: scale(1.05);
}
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* VIDEO */
@media screen and (max-width : 1920px) {
    .video-js {
        object-fit: cover;
    }
}

@media screen and (max-width : 906px) {
    .video-js {
        object-fit: contain;
    }
}
/*  */

/* NAV */
@media (max-width: 768px) {
    .nav.profile_nav {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
    }
    .nav.profile_nav .nav-item {
        flex: 0 0 auto;
    }
    .nav.profile_nav::-webkit-scrollbar {
        height: 4px;
    }
    .nav.profile_nav::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
}
/*  */