@import url('https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@500&family=Alegreya:wght@700&family=Spectral+SC&family=Titillium+Web:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Noto+Sans&family=PT+Sans&family=Poppins:wght@300&family=Quicksand:wght@500&family=Raleway:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,200;9..40,300;9..40,400&display=swap');

@font-face {
    font-family: "Custom Century Gothic";
    src: url("../fonts/custom/century-gothic-regular.ttf");
}

.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;
}
.breadcrumb-bar .breadcrumb-item.active {
    color: #ffffff;
}
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}
.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);
}

/* ===== News Header Slider (nau-) ===== */

.nau-slider-section {
    padding: 30px 0;
    margin-top: 90px;
    background: #f8f9fa;
    overflow: hidden;
}

.nau-slider-container {
    position: relative;
    padding: 0 50px;
}

.nau-swiper {
    overflow: hidden;
    padding-bottom: 10px;
}

/* Card */
.nau-card-link {
    text-decoration: none;
    display: block;
}

.nau-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nau-card:hover {
    transform: translateY(-4px);
}

/* Thumbnail */
.nau-card-thumb {
    position: absolute;
    inset: 0;
}

.nau-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Branded placeholder */
.nau-placeholder {
    width: 100%;
    height: 100%;
    background-color: #006600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nau-placeholder span {
    color: #A3C413;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Gradient overlay */
.nau-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* Content */
.nau-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 2;
}

/* Category badge */
.nau-cat-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

/* Title */
.nau-card-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.45;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.nau-card-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.nau-card-meta li {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Nav buttons */
.nau-swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, box-shadow 0.2s;
    color: #006600;
    font-size: 14px;
}

.nau-swiper-nav:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nau-swiper-prev {
    left: 5px;
}

.nau-swiper-next {
    right: 5px;
}

@media (max-width: 768px) {
    .nau-slider-container {
        padding: 0 40px;
    }

    .nau-card {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .nau-slider-container {
        padding: 0 35px;
    }
}
/* ===== End News Header Slider ===== */

/* ===== News Categories Section (nau-cat-) ===== */

.nau-cat-section {
    background-color: #006600;
    padding: 60px 0;
}

/* Header row */
.nau-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.nau-cat-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nau-cat-heading {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

/* Dot divider */
.nau-cat-divider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nau-cat-dot {
    width: 8px;
    height: 8px;
    background-color: #A3C413;
    border-radius: 50%;
    display: inline-block;
}

.nau-cat-line {
    display: inline-block;
    width: 120px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* View All link */
.nau-cat-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 18px;
    border-radius: 30px;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.nau-cat-view-all:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    text-decoration: none;
}

/* Grid */
.nau-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Card */
.nau-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.nau-cat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

/* Icon circle */
.nau-cat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.nau-cat-icon-wrap i {
    font-size: 1.75rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.nau-cat-card:hover .nau-cat-icon-wrap {
    background: #ffffff;
}

.nau-cat-card:hover .nau-cat-icon-wrap i {
    color: #006600;
}

/* Text */
.nau-cat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nau-cat-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.nau-cat-count {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

/* Arrow */
.nau-cat-arrow {
    position: absolute;
    bottom: 14px;
    right: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: color 0.2s, transform 0.2s;
}

.nau-cat-card:hover .nau-cat-arrow {
    color: #ffffff;
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .nau-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .nau-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nau-cat-line {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .nau-cat-section {
        padding: 40px 0;
    }

    .nau-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nau-cat-heading {
        font-size: 1.4rem;
    }

    .nau-cat-divider {
        display: none;
    }
}

@media (max-width: 360px) {
    .nau-cat-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== End News Categories Section ===== */

/* ===== Latest News Section (nau-latest-) ===== */

.nau-latest-section {
    padding: 56px 0 48px;
    background: #ffffff;
}

.nau-latest-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.nau-latest-heading {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.nau-latest-diamond {
    color: #A3C413;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.nau-latest-rule {
    flex: 1;
    display: block;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    border: none;
}

.nau-latest-divider {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nau-latest-card {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    align-items: stretch;
}

/* Thumbnail link — large image matching design */
.nau-latest-thumb-link {
    flex-shrink: 0;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 150ms ease;
    width: 400px;
}

.nau-latest-thumb-link:hover {
    opacity: 0.92;
}

.nau-latest-thumb {
    width: 400px;
    height: 240px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

.nau-latest-placeholder {
    width: 400px;
    height: 240px;
    background-color: #006600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nau-latest-placeholder span {
    color: #A3C413;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nau-latest-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.nau-latest-cat {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    align-self: flex-start;
    line-height: 1.8;
}

.nau-latest-title {
    margin: 0;
}

.nau-latest-title a {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: color 150ms ease;
}

.nau-latest-title a:hover {
    color: #006600;
    text-decoration: none;
}

.nau-latest-title a:focus-visible {
    outline: 2px solid #006600;
    outline-offset: 2px;
    border-radius: 2px;
}

.nau-latest-excerpt {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nau-latest-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 0.82rem;
    color: #767676;
}

.nau-latest-meta li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nau-latest-meta i {
    font-size: 0.9rem;
}

.nau-latest-empty {
    color: #767676;
    font-style: italic;
    padding: 24px 0;
}

.nau-latest-pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nau-latest-pagination .pagination {
    gap: 4px;
}

.nau-latest-pagination .page-item .page-link {
    border: 1px solid rgba(0, 102, 0, 0.25);
    border-radius: 6px;
    color: #006600;
    background-color: #ffffff;
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.nau-latest-pagination .page-item .page-link:hover {
    background-color: #006600;
    border-color: #006600;
    color: #ffffff;
}

.nau-latest-pagination .page-item.active .page-link {
    background-color: #006600;
    border-color: #006600;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 102, 0, 0.30);
}

.nau-latest-pagination .page-item.disabled .page-link {
    background-color: #f8f8f8;
    border-color: rgba(0, 0, 0, 0.1);
    color: #aaaaaa;
    cursor: not-allowed;
}

.nau-latest-pagination .page-item:first-child .page-link,
.nau-latest-pagination .page-item:last-child .page-link {
    border-radius: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nau-latest-thumb-link,
    .nau-latest-title a {
        transition: none;
    }
}

/* Responsive: tablet — shrink thumbnail */
@media (max-width: 900px) {
    .nau-latest-thumb-link {
        width: 280px;
    }

    .nau-latest-thumb,
    .nau-latest-placeholder {
        width: 280px;
        height: 190px;
    }

    .nau-latest-title a {
        font-size: 1.15rem;
    }
}

/* Responsive: small tablet */
@media (max-width: 768px) {
    .nau-latest-heading {
        font-size: 1.4rem;
    }

    .nau-latest-thumb-link {
        width: 220px;
    }

    .nau-latest-thumb,
    .nau-latest-placeholder {
        width: 220px;
        height: 160px;
    }
}

/* Responsive: mobile — stack thumb above content */
@media (max-width: 576px) {
    .nau-latest-section {
        padding: 40px 0 32px;
    }

    .nau-latest-card {
        flex-direction: column;
        gap: 14px;
    }

    .nau-latest-thumb-link {
        width: 100%;
    }

    .nau-latest-thumb,
    .nau-latest-placeholder {
        width: 100%;
        height: 210px;
    }

    .nau-latest-heading {
        font-size: 1.25rem;
    }

    .nau-latest-title a {
        font-size: 1.1rem;
    }
}

/* ===== End Latest News Section ===== */

/* ===== Sidebar (nau-sb-) ===== */

.nau-sb {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 20px;
    margin-top: 56px;
}

/* Tab strip */
.nau-sb-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.nau-sb-tab {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #ffffff;
    color: #3a3a3a;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
    white-space: nowrap;
}

.nau-sb-tab:hover {
    border-color: #006600;
    color: #006600;
}

.nau-sb-tab.is-active {
    background: #006600;
    border-color: #006600;
    color: #ffffff;
}

/* Panels */
.nau-sb-panel {
    display: none;
}

.nau-sb-panel.is-active {
    display: block;
}

/* Divider between cards */
.nau-sb-divider {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Individual card */
.nau-sb-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

/* Circular thumbnail */
.nau-sb-thumb-link {
    flex-shrink: 0;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity 150ms ease;
}

.nau-sb-thumb-link:hover {
    opacity: 0.88;
}

.nau-sb-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.nau-sb-placeholder {
    width: 72px;
    height: 72px;
    background-color: #006600;
    border-radius: 50%;
}

/* Content */
.nau-sb-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nau-sb-title {
    margin: 0;
    line-height: 1.4;
}

.nau-sb-title a {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 150ms ease;
}

.nau-sb-title a:hover {
    color: #006600;
    text-decoration: none;
}

.nau-sb-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: #767676;
}

.nau-sb-meta li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nau-sb-meta i {
    font-size: 0.8rem;
    color: #006600;
}

.nau-sb-empty {
    color: #767676;
    font-size: 0.85rem;
    font-style: italic;
    padding: 16px 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nau-sb-tab,
    .nau-sb-thumb-link,
    .nau-sb-title a {
        transition: none;
    }
}

/* ===== End Sidebar ===== */


/* ===== Category Hero (nau-cat-hero) ===== */

.nau-cat-hero {
    position: relative;
    background: url('/home/news/bg.png') center / cover no-repeat;
    min-height: 140px;
    margin-top: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nau-cat-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 0, 0.72);
    z-index: 1;
}

.nau-cat-hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px 20px;
}

.nau-cat-hero-body h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .nau-cat-hero {
        min-height: 160px;
    }
    .nau-cat-hero-body h1 {
        font-size: 1.5rem;
    }
}

/* ===== End Category Hero ===== */


/* ===== Category Page Sidebar (nau-cat-sb-) ===== */

.nau-cat-sb-section {
    margin-top: 40px;
}

.nau-cat-sb-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006600;
}

/* Category list items */
.nau-cat-sb-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f8f9fa;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 150ms ease, color 150ms ease;
}

.nau-cat-sb-category-item:hover {
    background: #e8f5e9;
    color: #006600;
    text-decoration: none;
}

.nau-cat-sb-category-item.is-active {
    background: #006600;
    color: #ffffff;
}

.nau-cat-sb-category-item.is-active .nau-cat-sb-count {
    background: #ffffff;
    color: #006600;
}

.nau-cat-sb-count {
    background: #006600;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Popular news cards */
.nau-cat-sb-popular-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.nau-cat-sb-popular-card:first-of-type {
    border-top: none;
    padding-top: 0;
}

.nau-cat-sb-popular-thumb-link {
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 150ms ease;
}

.nau-cat-sb-popular-thumb-link:hover {
    opacity: 0.85;
}

.nau-cat-sb-popular-img {
    width: 80px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.nau-cat-sb-popular-placeholder {
    width: 80px;
    height: 72px;
    border-radius: 8px;
    background-color: #006600;
    flex-shrink: 0;
}

.nau-cat-sb-popular-title a {
    font-family: "Josefin Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 150ms ease;
}

.nau-cat-sb-popular-title a:hover {
    color: #006600;
}

.nau-cat-sb-popular-meta {
    font-size: 0.75rem;
    color: #767676;
    margin-top: 5px;
}

.nau-cat-sb-popular-meta i {
    color: #006600;
    font-size: 0.78rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nau-cat-sb-category-item,
    .nau-cat-sb-popular-thumb-link,
    .nau-cat-sb-popular-title a {
        transition: none;
    }
}

/* ===== End Category Page Sidebar ===== */


/* ===== Single Post Page (nau-single-) ===== */

/* Breadcrumb sits directly under the fixed navbar */
.nau-single-breadcrumb {
    margin-top: 90px;
}

.nau-single-article {
    padding-bottom: 20px;
}

/* Featured image */
.nau-single-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 20px;
}

/* Category pill */
.nau-single-cat-badge {
    display: inline-block;
    background: #006600;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 12px;
    transition: opacity 150ms ease;
}

.nau-single-cat-badge:hover {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
}

/* Article title */
.nau-single-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin: 10px 0 16px;
}

@media (max-width: 768px) {
    .nau-single-title {
        font-size: 1.5rem;
    }
}

/* Meta row (author, date, category) */
.nau-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: #555555;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nau-single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nau-single-meta-item i {
    color: #006600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Article body content */
.nau-single-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #2a2a2a;
}

.nau-single-content p {
    margin-bottom: 1.2em;
}

.nau-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.nau-single-content h2,
.nau-single-content h3,
.nau-single-content h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.nau-single-content ul,
.nau-single-content ol {
    padding-left: 1.4em;
    margin-bottom: 1.2em;
}

.nau-single-content li {
    margin-bottom: 0.4em;
}

.nau-single-content a {
    color: #006600;
    text-decoration: underline;
}

.nau-single-content a:hover {
    color: #004d00;
}

.nau-single-content blockquote {
    border-left: 4px solid #006600;
    margin-left: 0;
    padding: 12px 20px;
    color: #444;
    font-style: italic;
    background: #f8fdf8;
    border-radius: 0 8px 8px 0;
}

/* ===== End Single Post Page ===== */


/* ===== Show Page Sidebar (nau-show-sb-) ===== */

.nau-show-sb {
    padding-top: 8px;
}

/* Suppress the default top margin on the embedded nau-sb widget */
.nau-show-sb .nau-sb {
    margin-top: 24px;
}

/* Search bar */
.nau-show-sb-search {
    display: flex;
    align-items: stretch;
}

.nau-show-sb-search input {
    flex: 1;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 0 14px;
    font-size: 0.88rem;
    color: #2a2a2a;
    outline: none;
    background: #fff;
    transition: border-color 150ms ease;
}

.nau-show-sb-search input:focus {
    border-color: #006600;
}

.nau-show-sb-search button {
    height: 46px;
    box-sizing: border-box;
    background: #006600;
    color: #ffffff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 0 18px;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease;
}

.nau-show-sb-search button:hover {
    background: #004d00;
}

/* Explore Categories in show sidebar */
.nau-show-sb-cats {
    margin-top: 28px;
}

.nau-show-sb-cats-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006600;
}

.nau-show-sb-cat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #f8f9fa;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 0.87rem;
    font-weight: 500;
    transition: background 150ms ease, color 150ms ease;
}

.nau-show-sb-cat-item:hover {
    background: #e8f5e9;
    color: #006600;
    text-decoration: none;
}

.nau-show-sb-cat-count {
    background: #006600;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nau-show-sb-search input,
    .nau-show-sb-search button,
    .nau-show-sb-cat-item {
        transition: none;
    }
}

/* ===== End Show Page Sidebar ===== */


/* ===== Search Results Page ===== */

/* Hero label/count text above and below the query */
.nau-search-hero-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nau-search-hero-count {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0 0;
}

/* Inline re-search bar on the results page */
.nau-search-bar-inline {
    max-width: 520px;
    margin-bottom: 28px;
}

/* Empty state */
.nau-search-empty {
    padding: 48px 0 32px;
    text-align: center;
    color: #555;
}

.nau-search-empty-icon {
    font-size: 3rem;
    color: #cccccc;
    display: block;
    margin-bottom: 16px;
}

.nau-search-empty p {
    font-size: 1rem;
    margin-bottom: 8px;
}

.nau-search-empty-hint {
    font-size: 0.88rem;
    color: #888;
}

.nau-search-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #006600;
    text-decoration: none;
}

.nau-search-back-link:hover {
    color: #004d00;
    text-decoration: underline;
}

/* ===== End Search Results Page ===== */
