.journal-header {
    height: 250px !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.journal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
    z-index: 1;
    pointer-events: none;
}

.blog-banner-box {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    z-index: 999;
    background: transparent;
    box-shadow: none;
}

.blog-banner-box,
.blog-banner-box h1,
.blog-banner-box .page-title,
.blog-banner-box div {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 2.8rem !important;
    text-align: center !important;
    margin: 0 !important;
    font-family: inherit !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    font-style: normal !important;
}

.blog-banner-box .breadcrumb-wrapper,
.blog-banner-box .extra-info {
    display: none !important;
}

.login-header-box-link-box {
    display: block !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    z-index: 100 !important;
    position: absolute !important;
}

.login-header-box-link-box .Metrics_second .link_list {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    color: #2b2b2b !important;
}

.login-header-box-link-box .Metrics_second .link_list a {
    font-size: 0.85rem !important;
    color: #2b2b2b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.login-header-box-link-box .Metrics_second .link_list a:hover {
    color: #e87626 !important;
}


.category-bar-wrapper {
    background: transparent !important;
    padding: 0 40px 25px 40px;
    margin-bottom: 10px;
    position: relative !important;
}

.cat-scroll-btn {
    position: absolute;
    top: 10px; /* Align precisely with top padding of category-bar */
    bottom: 35px; /* Cover the height of the buttons but leave bottom padding */
    width: 40px;
    background: transparent;
    border: none;
    color: #111; /* Black color */
    font-size: 1.6rem; /* Bigger size */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: none;
    transition: all 0.2s;
    outline: none;
    padding: 0;
}

.cat-scroll-btn:hover {
    color: #444; 
    transform: scale(1.1);
    background: transparent;
}

.cat-scroll-btn.left {
    left: 0px;
    background: transparent;
}

.cat-scroll-btn.right {
    right: 0px;
    background: transparent;
}

.category-bar-wrapper::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    border-bottom: 1.5px solid #bbb !important;
}

.category-bar {
    /*max-width: 1300px;*/
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 10px;
    justify-content: flex-start;
    padding: 10px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #e8e8e8;
    border-radius: 5px;
    color: #282828;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.24s ease;
    border: none;
    white-space: nowrap !important;
    min-width: fit-content;
    flex-shrink: 0;
}

.category-btn:hover {
    background: #dadada;
}

.category-btn.active {
    background: #e87626;
    color: #fff;
}

.Heading.Heading--h2 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
}

.Heading.Heading--h2 h2 {
    margin: 0 !important;
    font-weight: 700 !important;
    color: #2b2b2b;
}



.search-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}



.search-input {
    height: 36px;
    font-weight: 300 !important;
    padding: 0 15px;
    border: 0.5px solid #c9c9c9;
    border-radius: 3px !important;
    width: 300px;
    font-size: 0.9rem;
    color: #584bb1;
    outline: none;
    box-sizing: border-box;
}

.search-btn {
    height: 35px;
    padding: 0 10px;
    background: #2D3E50;
    color: #ffffff !important;
    border: none;
    border-radius: 4px !important;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-input::placeholder {
    color: #b0b0b0 !important;
    font-weight: 300 !important;
    font-size: 0.9rem !important;
    opacity: 1;
}

.blog-banner-box~.banner-text-Online-subscriptions {
    display: none !important;
}

.blog-layout-grid {
    display: grid !important;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    width: 100%;
    align-items: start;
    padding-left: 5% !important;
    padding-right: 3% !important;
    max-width: 1600px;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .blog-layout-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .blog-layout-grid {
        grid-template-columns: 1fr 300px;
    }
}

.blog-main-content {
    min-width: 0;
}

.blog-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    margin-top: 108px;
}

.blog-banner-box h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
}



.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700 !important;
    color: #2b2b2b;
    margin: 0;
    /* margin-top: 23px; */
    margin-bottom: 5px;
    height: 43px;
    display: flex;
    align-items: center;
}

.blog-sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 25px;
    border: 1px solid #f0f0f0;
    width: 100%;
    height: auto;
}

.blog-sidebar-card.feedback_sidebar {
    height: auto;
    min-height: 400px;
}

.event-mini-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f2f2f2;
}

.event-mini-card:last-child {
    border-bottom: none;
}

.event-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.view-all-events-btn {
    display: block;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 5px !important;
    color: #0a0909 !important;
    font-weight: 400 !important;
    font-size: small;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-events-btn:hover {
    color: #706e6e !important;
}


.event-details {
    flex: 1;
    min-width: 0;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin-bottom: 5px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    font-size: 0.8rem;
    color: #777;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap !important;
    overflow: hidden;
    white-space: nowrap;
}

.event-loc,
.event-countdown {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap !important;
    margin: 0 !important;
}

.event-countdown {
    color: #7f7e7d;
    font-weight: 500;
    margin-left: 10px !important;
}

.event-loc i,
.event-countdown i {
    margin-right: 4px;
}


.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-field input:focus {
    border-color: #2D3E50;
}

.form-submit-btn {
    background: #2D3E50;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.form-submit-btn:hover {
    background: #1c2732;
}

.Hub__total_sidebar,
.side_box .Hub__total {
    font-size: 1.25rem;
    font-weight: 700 !important;
    color: #2b2b2b;
    margin-bottom: 10px;
    padding-bottom: 4px !important;
}

/*.FilterCardB__list {
    display: grid !important;
    grid-template-columns: repeat(3, 285px) !important;
    gap: 26px !important;
}*/
/*
.FilterCardB__list>div {
    width: 285px !important;
    height: 388px !important;
    max-width: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}*/

.CardArticle {
    width: 100% !important;
    height: 450px !important;
    margin: 0 !important;
}

.CardArticle__mask.blog {
    height: 180px !important;
}

.CardArticleNew {
    display: flex;
    flex-direction: column;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden;
    height: 100% !important;
    /*width: 285px !important;*/
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    padding-bottom: 15px !important;
}

.CardArticleNew:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-only {
    display: none !important;
}

.CardArticleNew .BlogCardNew__image {
    width: 100% !important;
    height: 260px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    display: block;
}

.CardArticleNew .BlogCardNew__image .Blog__image {
    width: 100% !important;
    height: 260px !important;
    background-size: cover;
    background-position: center 28%;
}

.CardArticleNew .BlogCardNew__image span,
.CardArticleNew .BlogCardNew__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
    display: block !important;
}

.CardArticleNew .CardArticle__info {
    padding: 25px 15px 12px 15px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.BlogCardNew__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px !important;
}

.CardArticleNew .CardArticle__date {
    font-size: 0.95rem !important;
    color: #888 !important;
    font-weight: 300 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.CardArticleNew .CardArticle__views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9b9a99;
    font-weight: 400;
}

.BlogCardNew__title {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #2b2b2b !important;
    margin-bottom: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 50px;
}

.BlogCardNew__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;

}

.BlogCardNew__info-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #777;
}

.BlogCardNew__separator {
    color: #ccc;
}

.BlogCardNew__journal {
    font-weight: 500;
    color: #2D3E50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.BlogCardNew__category {
    font-weight: 500;
    color: #666;
}


/* .BlogCardNew__keywords {
    margin-top: 8px !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: #666 !important;
    padding: 0 !important;
    list-style: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.BlogCardNew__keywords li {
    display: inline !important;
} */

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 60px;
    width: 100%;
}

.load-more-btn {
    background: transparent;
    color: #2D3E50;
    border: 1px solid #2D3E50;
    padding: 10px 35px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: #2D3E50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 62, 80, 0.2);
}

.load-more-btn i {
    display: none;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}
