.community-news-portal {
    background: #f4f7fb;
    margin: 0 auto;
    max-width: none;
    padding: 0.75rem clamp(16px, 2.5vw, 40px) 2.5rem;
    width: 100%;
}

.community-news-portal__layout {
    align-items: start;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 250px minmax(0, 1fr) 290px;
}

.community-news-sidebar__card,
.community-news-rail__card {
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 47, 85, 0.05);
    margin-bottom: 0.85rem;
    padding: 0.95rem;
}

.community-news-sidebar__label,
.community-news-rail__title {
    color: #0f2f55;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0 0 0.7rem;
    text-transform: uppercase;
}

.community-news-sidebar__nav,
.community-news-sidebar__categories,
.community-news-sidebar__quick {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.community-news-sidebar__link,
.community-news-sidebar__category,
.community-news-sidebar__quick a {
    border-radius: 10px;
    color: #3f5873;
    display: flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 0.55rem;
    padding: 0.48rem 0.55rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.community-news-sidebar__link i {
    color: #6c849c;
    width: 1rem;
}

.community-news-sidebar__link:hover,
.community-news-sidebar__category:hover,
.community-news-sidebar__quick a:hover {
    background: #f3f8fd;
    color: #0f2f55;
}

.community-news-sidebar__link.is-active {
    background: #2e7d32;
    color: #fff;
}

.community-news-sidebar__link.is-active i {
    color: #fff;
}

.community-news-sidebar__category.is-active {
    background: #edf7ef;
    color: #2e7d32;
    font-weight: 800;
}

.community-news-main__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.community-news-main__heading h1 {
    color: #0f2f55;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.community-news-main__heading p {
    color: #5a7189;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

.community-news-main__create {
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.community-news-type-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    margin-bottom: 0.85rem;
}

.community-news-type-card {
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.community-news-type-card.is-active,
.community-news-type-card:hover {
    border-color: #9ed4a5;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.12);
    transform: translateY(-1px);
}

.community-news-type-card__browse {
    align-items: center;
    color: #3f5873;
    display: flex;
    flex: 1;
    flex-direction: column;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 0.25rem;
    padding: 0.55rem 0.45rem 0.4rem;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.community-news-type-card.is-active .community-news-type-card__browse,
.community-news-type-card:hover .community-news-type-card__browse {
    color: #1b5e20;
}

.community-news-type-card__icon {
    align-items: center;
    background: #f3f8fd;
    border-radius: 10px;
    color: #2e7d32;
    display: inline-flex;
    font-size: 0.95rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.community-news-type-card.is-active .community-news-type-card__icon {
    background: #e8f5e9;
}

.community-news-type-card__label {
    line-height: 1.25;
}

.community-news-type-card__create {
    border-top: 1px solid #e8eef5;
    color: #2e7d32;
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.42rem 0.35rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.community-news-type-card__create:hover {
    background: #f3faf4;
    color: #1b5e20;
}

.community-news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.community-news-tabs__item {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    color: #3f5873;
    display: inline-flex;
    flex-direction: column;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 0.25rem;
    min-width: 84px;
    padding: 0.55rem 0.45rem;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.community-news-tabs__icon {
    align-items: center;
    background: #f3f8fd;
    border-radius: 10px;
    color: #2e7d32;
    display: inline-flex;
    font-size: 0.95rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.community-news-tabs__item.is-active,
.community-news-tabs__item:hover {
    border-color: #9ed4a5;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.12);
    color: #1b5e20;
    transform: translateY(-1px);
}

.community-news-tabs__item.is-active .community-news-tabs__icon {
    background: #e8f5e9;
}

.community-news-filters {
    align-items: center;
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.7rem 0.85rem;
}

.community-news-filters__group {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.community-news-filters__group--end {
    margin-left: auto;
}

.community-news-filters__label {
    color: #6c849c;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.community-news-filters .form-select {
    border-color: #d7e3ef;
    border-radius: 10px;
    min-width: 140px;
}

.community-news-hero {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
    margin-bottom: 1.1rem;
}

.community-news-hero__featured {
    border-radius: 16px;
    color: #fff;
    display: block;
    min-height: 360px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.community-news-hero__featured img,
.community-news-hero__featured-placeholder {
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    width: 100%;
}

.community-news-hero__featured-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #1f66b4, #2e7d32);
    display: flex;
    font-size: 3rem;
    justify-content: center;
}

.community-news-hero__featured-overlay {
    background: linear-gradient(180deg, rgba(8, 24, 40, 0.05) 20%, rgba(8, 24, 40, 0.88) 100%);
    bottom: 0;
    left: 0;
    padding: 1.2rem;
    position: absolute;
    right: 0;
}

.community-news-hero__badge {
    background: #2e7d32;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.6rem;
}

.community-news-hero__featured-overlay h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.45rem;
}

.community-news-hero__featured-overlay p {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 0.65rem;
    opacity: 0.92;
}

.community-news-hero__meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    gap: 0.8rem;
    opacity: 0.9;
}

.community-news-hero__side {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.community-news-hero__side-card {
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 14px;
    color: inherit;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 0.7rem;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-news-hero__side-card:hover {
    border-color: #b9d4bf;
    box-shadow: 0 8px 20px rgba(15, 47, 85, 0.08);
}

.community-news-hero__side-thumb img,
.community-news-hero__side-thumb-placeholder {
    border-radius: 10px;
    height: 72px;
    object-fit: cover;
    width: 92px;
}

.community-news-hero__side-thumb-placeholder {
    align-items: center;
    background: #edf2f8;
    color: #6c849c;
    display: flex;
    justify-content: center;
}

.community-news-hero__side-category {
    border-radius: 999px;
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    padding: 0.18rem 0.45rem;
}

.community-news-hero__side-body h3 {
    color: #0f2f55;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.25rem;
}

.community-news-hero__side-body p {
    color: #6c849c;
    font-size: 0.74rem;
    margin: 0;
}

.community-news-hero__side-empty {
    background: #fff;
    border: 1px dashed #d7e3ef;
    border-radius: 14px;
    color: #6c849c;
    font-size: 0.84rem;
    padding: 1rem;
}

.community-news-latest__head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.community-news-latest__head h2 {
    color: #0f2f55;
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.community-news-latest__head a {
    color: #2e7d32;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.community-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-news-list-item {
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 14px;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-news-list-item:hover {
    border-color: #c5d9e8;
    box-shadow: 0 10px 24px rgba(15, 47, 85, 0.07);
}

.community-news-list-item__thumb-link {
    display: block;
}

.community-news-list-item__thumb {
    border-radius: 12px;
    height: 118px;
    object-fit: cover;
    width: 100%;
}

.community-news-list-item__thumb--placeholder {
    align-items: center;
    background: #edf2f8;
    color: #6c849c;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
}

.community-news-list-item__top {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.community-news-list-item__category {
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
}

.community-news-list-item__category--local-news,
.community-news-list-item__category--community-news { background: #e8f5e9; color: #2e7d32; }
.community-news-list-item__category--agriculture-news { background: #edf7ed; color: #33691e; }
.community-news-list-item__category--environment-news,
.community-news-list-item__category--water-news { background: #e0f2f1; color: #00695c; }
.community-news-list-item__category--business-news { background: #ede7f6; color: #5e35b1; }
.community-news-list-item__category--education-news { background: #e8eaf6; color: #3949ab; }
.community-news-list-item__category--health-news { background: #ffebee; color: #c62828; }
.community-news-list-item__category--technology-news { background: #e3f2fd; color: #1565c0; }
.community-news-list-item__category--sports-news { background: #fff3e0; color: #ef6c00; }
.community-news-list-item__category--infrastructure-news { background: #eceff1; color: #455a64; }
.community-news-list-item__category--government-news { background: #f3e5f5; color: #7b1fa2; }
.community-news-list-item__category--news { background: #eef2f6; color: #455a64; }

.community-news-list-item__actions {
    align-items: center;
    display: flex;
    gap: 0.25rem;
}

.community-news-list-item__icon-btn {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #6c849c;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.community-news-list-item__actions .community-banner-action--icon {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #6c849c;
    height: 2rem;
    min-width: 2rem;
    padding: 0;
    width: 2rem;
}

.community-news-list-item__actions .community-banner-action--icon:hover {
    background: #f3f8fd;
    color: #1f66b4;
}

.community-news-list-item__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0.35rem 0;
}

.community-news-list-item__title a {
    color: #0f2f55;
    text-decoration: none;
}

.community-news-list-item__title a:hover {
    color: #1f66b4;
}

.community-news-list-item__excerpt {
    color: #5a7189;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0 0 0.55rem;
}

.community-news-list-item__meta {
    color: #8aa0b5;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    gap: 0.8rem;
}

.community-news-load-more {
    border-radius: 12px;
    font-weight: 700;
    margin-top: 1rem;
    width: 100%;
}

.community-news-rail__card--breaking {
    overflow: hidden;
    padding: 0;
}

.community-news-rail__breaking-head {
    background: #c62828;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.65rem 0.9rem;
}

.community-news-rail__breaking-list {
    padding: 0.75rem 0.9rem 0.25rem;
}

.community-news-breaking-item {
    align-items: flex-start;
    border-bottom: 1px solid #edf2f8;
    color: inherit;
    display: grid;
    gap: 0.35rem 0.5rem;
    grid-template-columns: auto auto 1fr;
    padding: 0.55rem 0;
    text-decoration: none;
}

.community-news-breaking-item:last-child {
    border-bottom: 0;
}

.community-news-breaking-item__time {
    color: #8aa0b5;
    font-size: 0.72rem;
    white-space: nowrap;
}

.community-news-breaking-item__alert {
    color: #c62828;
    font-size: 0.8rem;
}

.community-news-breaking-item__title {
    color: #0f2f55;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.community-news-rail__empty {
    color: #6c849c;
    font-size: 0.84rem;
    margin: 0;
}

.community-news-trending {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
}

.community-news-trending li + li {
    border-top: 1px solid #edf2f8;
}

.community-news-trending a {
    align-items: flex-start;
    color: inherit;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0;
    text-decoration: none;
}

.community-news-trending__rank {
    align-items: center;
    background: #f3f8fd;
    border-radius: 8px;
    color: #1f66b4;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
    height: 1.7rem;
    justify-content: center;
    width: 1.7rem;
}

.community-news-trending__copy strong {
    color: #0f2f55;
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.community-news-trending__copy small {
    color: #8aa0b5;
}

.community-news-rail__card--trending {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-color: #dbe7f4;
}

.community-news-trending-panel__head {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.community-news-trending-panel__icon {
    align-items: center;
    background: linear-gradient(135deg, #ff8a3d, #ff5c5c);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.95rem;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.community-news-trending--cards {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.community-news-trending--cards li + li {
    border-top: 0;
}

.community-news-trending-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e4edf6;
    border-radius: 12px;
    color: inherit;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto 3.1rem minmax(0, 1fr);
    padding: 0.55rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.community-news-trending-card:hover {
    border-color: #b9d4f0;
    box-shadow: 0 8px 20px rgba(15, 47, 85, 0.08);
    transform: translateY(-1px);
}

.community-news-trending-card__rank {
    align-items: center;
    background: #eef5fc;
    border-radius: 999px;
    color: #1f66b4;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 1.65rem;
    justify-content: center;
    width: 1.65rem;
}

.community-news-trending-card__thumb {
    border-radius: 10px;
    display: block;
    height: 3.1rem;
    overflow: hidden;
    width: 3.1rem;
}

.community-news-trending-card__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.community-news-trending-card__thumb--placeholder {
    align-items: center;
    background: linear-gradient(135deg, #edf4fb, #dce9f7);
    color: #5a7189;
    display: inline-flex;
    font-size: 0.95rem;
    justify-content: center;
}

.community-news-trending-card__copy {
    min-width: 0;
}

.community-news-trending-card__copy strong {
    color: #0f2f55;
    display: -webkit-box;
    font-size: 0.82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    overflow: hidden;
}

.community-news-trending-card__meta {
    align-items: center;
    color: #8aa0b5;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    gap: 0.55rem;
}

.community-news-trending-card__meta i {
    margin-right: 0.25rem;
}

.community-news-trending-panel__cta {
    margin-top: 0.15rem;
}

.community-news-sidebar__card--youth-achievements {
    background: linear-gradient(180deg, #fff 0%, #f7fcf8 100%);
    border-color: #d7eadb;
}

.yc-sidebar-achievements__head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.yc-sidebar-achievements__icon {
    align-items: center;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.yc-sidebar-achievements__lead {
    color: #607487;
    font-size: 0.76rem;
}

.yc-sidebar-achievements__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.yc-sidebar-achievement {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e3efe5;
    border-radius: 12px;
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
}

.yc-sidebar-achievement__badge {
    align-items: center;
    background: #edf7ef;
    border-radius: 10px;
    color: #2e7d32;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.yc-sidebar-achievement__body {
    min-width: 0;
}

.yc-sidebar-achievement__title {
    color: #0f2f55;
    display: block;
    font-size: 0.84rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.yc-sidebar-achievement__year {
    background: #f3faf4;
    border: 1px solid #d7eadb;
    border-radius: 999px;
    color: #2e7d32;
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    padding: 0.12rem 0.45rem;
}

.yc-sidebar-achievement__certificate {
    align-items: center;
    color: #1f66b4;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 600;
    gap: 0.35rem;
    text-decoration: none;
}

.yc-sidebar-achievement__certificate:hover {
    color: #134a86;
    text-decoration: underline;
}

.yc-sidebar-achievement__certificate-arrow {
    font-size: 0.65rem;
    opacity: 0.75;
}

.community-news-sidebar__card--trending {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-color: #dbe7f4;
}

.community-news-sidebar__card--trending .community-news-trending-panel__head {
    margin-bottom: 0.75rem;
}

.community-news-sidebar__card--trending .community-news-trending-card {
    grid-template-columns: auto 2.75rem minmax(0, 1fr);
}

.community-news-sidebar__card--trending .community-news-trending-card__thumb {
    height: 2.75rem;
    width: 2.75rem;
}

.community-news-rail__card--newsletter p {
    color: #5a7189;
    font-size: 0.84rem;
    line-height: 1.55;
}

.community-news-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.community-news-social__icon {
    align-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    text-decoration: none;
    width: 2.2rem;
}

.community-news-social__icon--whatsapp { background: #25d366; }
.community-news-social__icon--copy { background: #475569; cursor: pointer; }

.community-news-social__icon--facebook { background: #1877f2; }
.community-news-social__icon--x { background: #111; }
.community-news-social__icon--instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.community-news-social__icon--youtube { background: #ff0000; }
.community-news-social__icon--linkedin { background: #0a66c2; }

.news-detail-tags--sidebar {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.news-detail-tags--sidebar .news-detail-tags__item {
    align-items: stretch;
    flex-direction: column;
}

.news-detail-tags--sidebar .news-detail-tags__chip {
    max-width: 100%;
    width: 100%;
}

.news-detail-tags--sidebar .news-detail-tags__follow {
    width: 100%;
}

.news-sidebar-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.news-sidebar-meta-grid__item .border {
    font-size: 0.84rem;
}

.news-sidebar-meta-grid__item strong {
    color: #0f2f55;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.community-news-sidebar__card--report-details {
    padding-bottom: 1rem;
}

.community-engagement-panel--sidebar {
    padding-bottom: 0.95rem;
}

.community-engagement-bar__stats {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-engagement-bar__stat {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    display: flex;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.45rem 0.55rem;
}

.community-engagement-bar__stat i {
    color: #1b6ca8;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.community-engagement-bar__stat-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    line-height: 1.15;
    min-width: 0;
}

.community-engagement-bar__stat-copy strong {
    color: #0f2f55;
    font-size: 0.86rem;
    font-weight: 800;
}

.community-engagement-bar__stat-copy small {
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.community-engagement-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.community-engagement-panel--sidebar .community-engagement-icon-btn {
    border-radius: 0.55rem;
    font-size: 0.68rem;
    min-width: 2rem;
    padding: 0.22rem 0.4rem;
}

.community-engagement-panel--sidebar .js-community-reaction-form {
    margin: 0;
}

.community-news-rail__detail-extras {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.community-news-rail__community-issues-extras {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.about-page--news-detail .community-issues-community-panel--rail .report-community-panel__grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    grid-template-columns: none;
}

.about-page--news-detail .community-issues-community-panel--rail .report-community-action-card {
    flex-direction: row;
    height: auto;
    min-height: 0;
}

.community-news-rail__card--detail {
    margin-bottom: 0;
}

.community-news-rail__card--detail .report-trust-score {
    margin: 0;
}

.community-news-rail__attachments {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.community-news-rail__attachment {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    display: flex;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.community-news-rail__attachment:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.community-detail-card--rail {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 1rem 1.15rem 1.1rem;
}

.community-news-rail__card.community-detail-card--rail {
    padding: 1rem 1.15rem 1.1rem;
}

.community-detail-card--rail .community-detail-card__head {
    margin-bottom: 0.85rem;
    padding-inline: 0;
}

.community-detail-card--rail .community-detail-card__title {
    font-size: 0.95rem;
}

.community-detail-grid--rail {
    grid-template-columns: 1fr;
}

.community-detail-list--rail {
    padding-inline: 0;
}

.community-detail-list--rail .community-detail-list__row {
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem;
}

.community-detail-card--rail .community-detail-map {
    min-height: 220px;
    margin-top: 0.85rem;
}

.community-detail-card--rail .community-detail-map iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.community-news-sidebar__card--news-details {
    padding-bottom: 1rem;
}

.community-news-sidebar__card--story-details,
.community-news-sidebar__card--poetry-details,
.community-news-sidebar__card--autobiography-details,
.community-news-sidebar__card--childrens-details,
.community-news-sidebar__card--student-details,
.community-news-sidebar__card--youth-details,
.community-news-sidebar__card--youth-achievements,
.community-news-sidebar__card--trending,
.community-news-sidebar__card--senior-details,
.community-news-sidebar__card--womens-details,
.community-news-sidebar__card--wellness-details,
.community-news-sidebar__card--local-voices-event,
.community-news-sidebar__card--awareness-event,
.community-news-sidebar__card--community-issues-details,
.community-news-sidebar__card--community-issues-overview,
.community-news-sidebar__card--community-issues-status,
.community-news-sidebar__card--religion-spirituality-details {
    padding-bottom: 1rem;
}

.community-news-sidebar__card--religion-spirituality-details .rs-capability-grid {
    gap: 0.35rem;
}

.community-news-sidebar__card--religion-spirituality-details .rs-capability-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
}

.community-news-sidebar__card--childrens-intro,
.community-news-sidebar__card--student-intro,
.community-news-sidebar__card--youth-intro,
.community-news-sidebar__card--senior-intro,
.community-news-sidebar__card--womens-intro {
    padding-bottom: 1rem;
}

.community-news-sidebar__pill-groups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.community-news-sidebar__pill-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.community-news-sidebar__pill-label {
    color: #607487;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.community-news-rail__life-learning-extras .community-news-rail__card {
    margin-bottom: 0.85rem;
}

.community-news-rail__card--womens-resources {
    background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
    border-color: #f3d0e3;
}

.ww-rail-resources__head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.ww-rail-resources__icon {
    align-items: center;
    background: linear-gradient(135deg, #ec407a, #c2185b);
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.95rem;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.ww-rail-resources__lead {
    color: #607487;
    font-size: 0.76rem;
}

.ww-rail-resources__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ww-rail-resource {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #f1dce8;
    border-radius: 12px;
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
}

.ww-rail-resource__badge {
    align-items: center;
    background: #fcebf3;
    border-radius: 10px;
    color: #c2185b;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.ww-rail-resource__body {
    min-width: 0;
}

.ww-rail-resource__title {
    color: #0f2f55;
    display: block;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.ww-rail-resource__text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ww-rail-resource__line {
    color: #3f5873;
    font-size: 0.78rem;
    line-height: 1.45;
}

.ww-rail-resource__link {
    align-items: flex-start;
    color: #c2185b;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 600;
    gap: 0.35rem;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-word;
}

.ww-rail-resource__link:hover {
    color: #880e4f;
    text-decoration: underline;
}

.ww-rail-resource__link i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.community-news-rail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.community-news-rail__quote {
    border-left: 3px solid #198754;
    color: #3f5873;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    padding-left: 0.85rem;
}

.community-news-rail__life-learning-extras .cc-gallery-grid--rail,
.community-news-rail__creative-corner-extras .cc-gallery-grid--rail {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-news-rail__creative-corner-extras .community-detail-card--creative-intro {
    overflow: hidden;
    padding: 0;
}

.community-news-rail__creative-corner-extras .cc-show-overview--rail {
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    padding: 1rem 1.05rem;
}

.community-news-rail__creative-corner-extras .cc-show-overview--rail .cc-show-overview__tagline {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0;
}

.community-news-rail__creative-corner-extras .cc-capability-grid--rail {
    flex-direction: column;
    gap: 0.45rem;
}

.community-news-rail__creative-corner-extras .cc-capability-grid--rail .cc-capability-pill {
    justify-content: flex-start;
    width: 100%;
}

.community-news-rail__competitions-extras .community-detail-card--competition-intro {
    overflow: hidden;
    padding: 0;
}

.community-news-rail__competitions-extras .comp-show-overview--rail {
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    padding: 1rem 1.05rem;
}

.community-news-rail__competitions-extras .comp-show-overview--rail .comp-show-overview__tagline {
    font-size: 0.82rem;
    line-height: 1.45;
}

.community-news-rail__competitions-extras .comp-show-overview__chips .comp-show-chip {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
}

.community-news-rail__life-learning-extras .cc-art-frame img,
.community-news-rail__life-learning-extras .business-gallery-grid img,
.community-news-rail__creative-corner-extras .creative-corner-rail-media__featured,
.community-news-rail__creative-corner-extras .cc-gallery-grid--rail img {
    max-height: 160px;
    object-fit: cover;
    width: 100%;
}

.community-detail-location-inline {
    color: #3f5873;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    margin-top: 0.75rem;
}

.community-detail-card--rail .community-detail-map + .community-detail-location-inline {
    margin-top: 0.65rem;
}

.community-detail-card--rating .story-rating-summary__score {
    font-size: 1.35rem;
}

.community-detail-card--rating .story-rating-input {
    margin-top: 0.35rem;
}

.community-detail-card--rating .story-rating-input__stars {
    width: 100%;
    justify-content: space-between;
}

.community-detail-card--rating .story-rating-star {
    min-width: 0;
    padding-inline: 0.45rem;
    flex: 1 1 0;
    max-width: 2.4rem;
}

.community-news-empty {
    background: #fff;
    border: 1px dashed #d7e3ef;
    border-radius: 14px;
    padding: 2rem 1rem;
    text-align: center;
}

.community-news-empty__icon {
    color: #1f66b4;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.community-news-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.85rem;
}

.community-hub--news .community-hero {
    padding-bottom: 1.5rem;
    padding-top: 1.75rem;
}

.community-hub--news .community-hero__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 1199.98px) {
    .community-news-portal__layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .community-news-rail {
        display: grid;
        gap: 0.85rem;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-news-rail__card--breaking {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .community-news-portal__layout {
        grid-template-columns: 1fr;
    }

    .community-news-sidebar {
        display: grid;
        gap: 0.85rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-news-sidebar__card:last-child {
        grid-column: 1 / -1;
    }

    .community-news-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .community-news-sidebar {
        grid-template-columns: 1fr;
    }

    .community-news-rail {
        grid-template-columns: 1fr;
    }

    .community-news-list-item {
        grid-template-columns: 1fr;
    }

    .community-news-list-item__thumb,
    .community-news-list-item__thumb--placeholder {
        height: 180px;
    }

    .community-news-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .community-news-tabs__item {
        flex: 0 0 auto;
    }

    .community-news-main__header {
        flex-direction: column;
    }
}
