.hero-section {
    position: relative;
    background: url('/home/news/bg.png') center/cover no-repeat;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-size: 2rem;
    font-weight: bold;
    overflow: hidden;
}

/* Dark overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust darkness */
    z-index: 1;
}

/* Ensure text stays above overlay */
.hero-section h3 {
    position: relative;
    z-index: 2; /* Higher than the overlay */
}

.breadcrumb-bar {
    background-color: #006600; /* Dark Green */
    padding: 15px 10px;
}
.breadcrumb a {
    color: white;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.search-bar {
    margin-top: 15px;
}
.category-badge {
    border: 1px solid #006600;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #006600;
    display: inline-flex;
    align-items: center;
}
.badge-number {
    background-color: #A3C413;
    border-radius: 12px;
    padding: 3px 7px;
    margin-left: 5px;
    font-weight: bold;
}
.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    line-height: 3.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}
.btn{
    text-transform: none!important;
}

.news-card {
    background-color: #006600; /* Dark green background */
    color: white;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
}
.category-badge-2 {
    background-color: #A3C413!important;
    color: #ffffff;
    font-weight: bold;
    padding: 3px 5px;
    border-radius: 35px;
    font-size: 14px;
}
.news-card h3 {
    font-size: 1.8rem;
}
.news-card p {
    font-size: 1rem;
    margin-top: 10px;
}
.date {
    font-size: 14px;
}
.rounded-img {
    border-radius: 15px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

.text-afc-green{
    color: #006600;
}
.text-afc-orange{
    color: #DC5D01;
}

.custom-gap > * {
    margin-right: 8px; /* Adjust spacing */
}

.custom-gap > *:last-child {
    margin-right: 0;
}
.container-padding {
    padding-left: 40px;
    padding-right: 40px;

}
.breadcrumb-bar{
    padding-left: 31px;
    padding-right: 31px;
}
@media (max-width: 768px) {
    .container-padding {
        padding-left: 20px;
        padding-right: 20px;

    }
    .breadcrumb-bar{
        padding-left: 10px;
        padding-right: 10px;
    }
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 2.25rem;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    border-bottom-left-radius: 2.25rem;
    border-bottom-right-radius: 2.53rem;
}

.card-body:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(2.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
