/*Top header style CSS*/
.logo-title {
    color: var(--orange-color);
    font-size: 1.8rem;
    font-weight: 700 !important;
    font-family: var(--font-family-roboto);
}

.logo-sub-title {
    font-size: var(--normal-font-size);
    color: var(--orange-color);
}

/*Nav style CSS for News Page*/
.news-header-wrapper {
    color: black;
    border-bottom: 1px solid var(--lighter-orange);
}

.news-header-wrapper .navbar-brand h3 {
    color: var(--orange-color);
    /* break text */
    white-space: break-spaces;
}

.news-header-wrapper .navbar-brand span {
    font-size: 0.8rem;
}

.news-header-wrapper ul li {
    margin-left: 10px;
}

.news-header-wrapper .navbar-toggler {
    border-color: var(--orange-color) !important;
    border-radius: 50%;
    padding: 0.5rem;
}

.news-header-wrapper .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(250, 97, 30, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    background-color: transparent;
}

.navbar-light .navbar-nav .nav-link {
    color: black !important;
}

/*Main content style CSS*/
.news-page {
    background: var(--light-color);
}

.news-page-title {
    font-size: 3.5rem;
    color: var(--defalt-text-color);
    font-family: var(--font-family-roboto) !important;
    font-weight: 700;
}

/*News elements style CSS*/
.news-element{
    margin-bottom: 25px;
}
.news-element .card {
    border-radius: 30px;
    background: var(--light-orange);
}

.news-element .card {
    border-bottom: 1rem solid var(--orange-color);
    display: inline-block;
    overflow: hidden;
}

.news-element .card-title.news-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-family-roboto) !important;
}

.news-element .card-title.news-published {
    font-size: 1rem;
}

.news-element .card-text {
    font-size: 1.2rem;
    color: var(--defalt-text-color);
}

.news-element .card:hover div.view-more-button {
    display: block;
}

.news-element .card:hover img.card-img-top{
    transform: scale(1.08);
    transform-origin: 50% 50%;
}
 /*Animations style CSS*/
.news-element img.card-img-top, .news-element div.view-more-button{
    transition: transform .3s;
}

/*Responsive style CSS*/
@media (max-width: 768px) {
    .news-header-wrapper .navbar-brand h3 {
        font-size: 1.5rem !important;
    }
    .logo-title {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .news-page-title {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1.5rem;
        font-weight: 600;
    }
    .news-top-right-logo {
        border: none !important;
    }
    .news-element .news-title{
        font-size: 1.5rem !important;
    }
}

#chat-notification-identifier {
    width: 10px;
    height: 10px;
    background-color: darkred;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 0px;
}

.news-header-mobile {
    height: 100%;
    width: 0%;
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    background-color: var(--light-color);
    overflow-x: hidden;
    transition: 0.2s;
    display: none;
    animation: slideIn 0.2s forwards; /* Add this line */
}

.news-header-mobile a {
    color: black;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-family-roboto) !important;
}


.news-header-mobile.overlayshow {
    display: block;
}
.news-header-mobile .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #C0C0C0;
    cursor: pointer;
    border-radius: 50%;
    padding: 0.5rem;
    border: 1px solid var(--lighter-orange);
    width: 40px; /* Add this line */
    height: 40px; /* Add this line */
    display: flex; /* Add this line */
    justify-content: center; /* Add this line */
    align-items: center; /* Add this line */

}

.news-header-mobile li {
    padding-bottom: 10px;
}

.news-header-mobile li.active, .news-header-mobile li.active a {
    color: var(--orange-color) !important;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


#navbarSupportedNews.show {
    display: none;
}

/* HOA page breadcrumbs — matches city/county/restaurant styling */
.hoa-breadcrumb-bar {
    border-bottom: none;
    padding: 0 0 0.75rem;
    margin: 0;
}

.hoa-breadcrumb-bar .construction-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 1rem;
    color: #666;
}

.hoa-breadcrumb-bar .construction-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.hoa-breadcrumb-bar .construction-breadcrumb a:hover {
    color: #fa611e;
}

.hoa-breadcrumb-bar .construction-breadcrumb .sep {
    color: #ccc;
    margin: 0 2px;
}

.hoa-breadcrumb-bar .construction-breadcrumb .current {
    color: #fa611e;
    font-weight: 500;
}