/* ============================
   NEWS WIDGET (home page preview)
   ============================ */
.news-widget-section,
.news-list-section {
    padding: 60px 0;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-link:hover .news-card {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.news-img {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-dark, #1A520D);
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
    margin-bottom: 14px;
}

.news-readmore {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-dark, #1A520D);
}

.news-readmore i {
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.news-card-link:hover .news-readmore i {
    transform: translateX(4px);
}

/* ============================
   NEWS CAROUSEL (home page widget)
   ============================ */
.news-carousel {
    padding: 0 55px;
}

.news-carousel .carousel-item {
    padding: 6px 4px 10px;
}

.news-carousel .carousel-control-prev,
.news-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.news-carousel .carousel-control-prev {
    left: -10px;
}

.news-carousel .carousel-control-next {
    right: -10px;
}

.news-carousel .carousel-control-prev-icon,
.news-carousel .carousel-control-next-icon {
    background-color: var(--green-dark, #1A520D);
    border-radius: 50%;
    padding: 20px;
    background-size: 45%;
}

.news-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.news-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #1f7a3a;
}

.news-carousel .carousel-indicators {
    position: static;
    margin-top: 30px;
    margin-bottom: 0;
}

.news-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d7d7d7;
    border: none;
    opacity: 1;
}

.news-carousel .carousel-indicators .active {
    background-color: var(--green-dark, #1A520D);
}

@media (max-width: 767px) {
    .news-carousel {
        padding: 0 40px;
    }

    .news-carousel .carousel-control-prev,
    .news-carousel .carousel-control-next {
        width: 38px;
        height: 38px;
    }
}

/* ============================
   NEWS LISTING PAGE
   ============================ */
.news-hero {
    padding: 70px 0 40px;
    background: #f7f9f5;
}

.news-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #222;
}

.news-hero-title span {
    color: var(--green-dark, #1A520D);
}

.news-hero-desc {
    max-width: 600px;
    margin: 10px auto 0;
    color: #666;
}

.no-news-msg {
    padding: 60px 0;
    color: #777;
}

/* ============================
   NEWS DETAIL PAGE
   ============================ */

/* Accent color used for the ribbon, slashes, and headline.
   Swap this one value (e.g. to #e21f1f) for a red "breaking news" look. */
.news-detail-hero-banner {
    --news-accent: #c99510;
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    background-color: #14151a;
    background-position: center 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-attachment: fixed;
}

.news-detail-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.55) 70%,
        rgba(0, 0, 0, 0.92) 100%);
    z-index: 1;
}

.news-detail-hero-top,
.news-detail-hero-bottom {
    position: relative;
    z-index: 2;
}

.news-detail-hero-top {
    padding-top: 28px;
}

.news-detail-hero-bottom {
    padding-bottom: 44px;
}

.news-back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green-dark, #1A520D);
    text-decoration: none;
}

.news-back-link i {
    margin-right: 6px;
}

.news-back-link-light {
    color: #fff;
}

.news-back-link-light:hover {
    color: var(--news-accent, #c99510);
}

/* Ribbon / category flag */
.news-ribbon {
    display: inline-flex;
    align-items: center;
    margin-top: 26px;
}

.news-ribbon-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #14151a;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 10px 20px 10px 26px;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.news-ribbon-flag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 100%;
    background: var(--news-accent, #c99510);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.news-ribbon-slashes {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.news-ribbon-slashes span {
    display: block;
    width: 4px;
    height: 20px;
    background: var(--news-accent, #c99510);
    transform: skewX(-18deg);
}

/* Overlaid headline block */
.news-detail-hero-text {
    position: relative;
    max-width: 640px;
    padding-left: 22px;
}

.news-detail-hero-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--news-accent, #c99510);
}

.news-detail-hero-text::after {
    content: "";
    position: absolute;
    left: -4px;
    top: -6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--news-accent, #c99510);
}

.news-detail-hero-title {
    color: var(--news-accent, #c99510);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-detail-hero-excerpt {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.news-detail-hero-date {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.news-detail-hero-date i {
    margin-right: 6px;
}

@media (max-width: 767px) {
    .news-detail-hero-banner {
        min-height: 460px;
    }

    .news-detail-hero-title {
        font-size: 1.4rem;
    }
}

.news-detail-section {
    padding: 50px 0 80px;
}

.news-detail-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}