/*
 * Custom CSS overrides for the NWC BS53 Starter template.
 *
 * Add your site-specific CSS here.
 * This file is loaded after template.min.css.
 */

html {
  font-size: 18px;
}

a {
    color: rgb(102 163 187);
    text-decoration: none;
}

a:hover {
    color: #253a47;
    text-decoration: underline;
}

:root {

  --nwc-page-bg: #f5f6f8;
  --nwc-text-color: #212529;
  --nwc-header-bg: #3F7F92;
  --nwc-header-color: rgba(255, 255, 255, 0.92);
  --nwc-header-link-hover-bg: rgba(255, 255, 255, 0.12);
  --nwc-hero-bg: #ffffff;
  --nwc-section-border: rgba(0, 0, 0, 0.08);
  --nwc-card-bg: #ffffff;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.65;
  --bs-link-color-rgb: 102 163 187;
  --bs-btn-color: rgb(102 163 187);
}

body {
  color: var(--nwc-text-color);
  font-size: var(--bs-body-font-size);
  line-height: var(--bs-body-line-height);
}

main#maincontent img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--nwc-heading-font-family);
  margin-bottom: 0.75rem;
  font-style: normal;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

hr {
    clear: both;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    clear: both;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3F7F92;
    --bs-btn-border-color: #3F7F92;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #253a47;
    --bs-btn-hover-border-color: #66a3bb;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #253a47;
    --bs-btn-active-border-color: #253a47;
    --bs-btn-active-shadow: inset 0 3px 5px #00000020;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #66a3bb;
    --bs-btn-disabled-border-color: #66a3bb;
}

.btn-outline-primary {
    --bs-btn-color: #3F7F92;
    --bs-btn-border-color: #3F7F92;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3F7F92;
    --bs-btn-hover-border-color: #3F7F92;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3F7F92;
    --bs-btn-active-border-color: #3F7F92;
    --bs-btn-active-shadow: inset 0 3px 5px #00000020;
    --bs-btn-disabled-color: #3F7F92;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #3F7F92;
    --bs-gradient: none
}

h1, .h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

h2, .h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

h3, .h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

h4, .h4 {
  font-size: 1.25rem;
}

h5, .h5 {
  font-size: 1.1rem;
}

h6, .h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

small,
.small {
  font-size: 0.9rem;
}

.site-sidebar,
.card,
.moduletable {
  font-size: 0.97rem;
}


header.site-header-bar.navbar .site-header-inner {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

img.site-logo.img-fluid {
    max-height: 110px;
    width: auto;
}

nav.desktop-navigation a {
    text-transform: uppercase;
}



aside.sidebar-right .list-unstyled ul {
    padding-left: 0;
    list-style: none;
}

aside.sidebar-right h3.card-header {
    font-size: 1.5rem;
}


/* Header row */
.site-header-inner {
  width: 100%;
}

/* Keep logo at natural width */
.site-branding {
  flex: 0 0 auto;
}

/* Let desktop nav take the middle space */
.desktop-navigation-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}

/* Keep toggle visible and push it to the far right */
.site-header-actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Always show the toggle button */
.site-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}



/* Price table */
.acm-pricing .header-intro .img-intro img {
    width: 100px;
    margin-bottom: 20px;
}

.acm-pricing .header-intro .img-intro {
    text-align: center;
}











/* =========================================================
   New Web Consulting - Front Page
   ========================================================= */


/* ---------------------------------------------------------
   Home page template wrapper cleanup
   --------------------------------------------------------- */

.home-page .site-hero-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-page .site-hero-section > .container-xl,
.home-page .site-hero-section > .container-xxl,
.home-page .site-hero-section > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.home-page .site-hero-inner {
  width: 100%;
}

.home-page .site-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home-page .site-main > .container-xl,
.home-page .site-main > .container-xxl,
.home-page .site-main > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.home-page .site-main > .container-xl > .row,
.home-page .site-main > .container-xxl > .row,
.home-page .site-main > .container > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.home-page .site-main > .container-xl > .row > .col-12,
.home-page .site-main > .container-xxl > .row > .col-12,
.home-page .site-main > .container > .row > .col-12 {
  padding-left: 0;
  padding-right: 0;
}

.home-page .content-above {
  margin-bottom: 0 !important;
}

.home-page .component-area {
  display: none;
}


/* ---------------------------------------------------------
   Shared section spacing
   --------------------------------------------------------- */

.nwc-section {
  padding: 4rem 0;
}

@media (max-width: 991.98px) {
  .nwc-section {
    padding: 3rem 0;
  }
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.nwc-hero {
  padding: 4.5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-primary-rgb), 0.02));
}

.nwc-hero-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #3F7F92;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nwc-hero h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  line-height: 1.08;
}

.nwc-hero .lead {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.nwc-hero p:not(.nwc-hero-kicker):not(.lead) {
  max-width: 680px;
  line-height: 1.65;
}

.nwc-hero-image-wrap {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08);
}

.nwc-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .nwc-hero {
    padding: 4rem 0 3rem;
  }

  .nwc-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }
}


/* ---------------------------------------------------------
   Shared icon styling
   --------------------------------------------------------- */

.nwc-icon,
.nwc-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5FA8BB;
  flex-shrink: 0;
}

.nwc-icon svg,
.nwc-card-icon svg {
  display: block;
}


/* ---------------------------------------------------------
   Trust / Highlights strip
   --------------------------------------------------------- */

.nwc-highlights {
  padding: 2rem 0;
}

.nwc-highlights h3 {
  line-height: 1.3;
}

.nwc-highlights p {
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .nwc-highlights {
    text-align: left !important;
  }
}


/* ---------------------------------------------------------
   Services overview
   --------------------------------------------------------- */

.nwc-services-overview {
  background: #f7f9fb;
}

.nwc-services-overview .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.nwc-service-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.nwc-service-card .card-body {
  padding: 1.5rem;
}

.nwc-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), 0.25);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
}

.nwc-card-icon {
  margin-bottom: 1rem;
}

.nwc-service-card h3 {
  margin-bottom: 0.75rem;
}

.nwc-service-card p {
  line-height: 1.55;
}

.nwc-card-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}

.nwc-card-link::after {
  content: " →";
}

.nwc-card-link:hover {
  text-decoration: underline;
}

.moduletable.nwc-home-services span.nwc-card-icon svg {
    width: 82px;
    height: 82px;
}


/* ---------------------------------------------------------
   Selected website work
   --------------------------------------------------------- */

.nwc-featured-work {
  background: #fff;
}

.nwc-work-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.nwc-work-card .card-body {
  padding: 1.5rem;
}

.nwc-work-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), 0.22);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
}

.nwc-work-type {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bs-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nwc-work-card h3 {
  margin-bottom: 0.75rem;
}

.nwc-work-card p:last-child {
  margin-bottom: 0;
  line-height: 1.55;
}


/* ---------------------------------------------------------
   Hosting and ongoing support
   --------------------------------------------------------- */

.nwc-hosting-support {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nwc-support-box {
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nwc-support-box ul {
  padding-left: 1.2rem;
}

.nwc-support-box li {
  margin-bottom: 0.5rem;
  line-height: 1.45;
}


/* ---------------------------------------------------------
   Homepage News / Articles module
   --------------------------------------------------------- */

.nwc-home-news {
  margin: 0;
}

.nwc-home-news-section {
  background: #fff;
}

.nwc-home-news-section .lead {
  max-width: 780px;
}

.nwc-news-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.nwc-news-card .card-body {
  padding: 1.5rem;
}

.nwc-news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--bs-primary-rgb), 0.22);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.08);
}

.nwc-news-title {
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.nwc-news-link {
  text-decoration: none;
}

.nwc-news-link:hover {
  text-decoration: underline;
}

.nwc-news-date {
  margin-bottom: 0.75rem;
}

.nwc-news-image img {
  border-radius: 0.75rem;
}

.nwc-news-intro {
  line-height: 1.55;
}

.nwc-news-intro p:last-child {
  margin-bottom: 0;
}

.nwc-news-readmore {
  margin-top: 1rem;
}

.nwc-news-readmore .btn {
  --bs-btn-padding-y: 0.45rem;
  --bs-btn-padding-x: 0.9rem;
  --bs-btn-font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */

.nwc-final-cta {
  background: #fff;
}

.nwc-final-cta-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  background: rgba(var(--bs-primary-rgb), 0.06);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
}

.nwc-final-cta-box .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

@media (max-width: 575.98px) {
  .nwc-final-cta-box {
    padding: 2.25rem 1.25rem;
  }
}








/* =========================================================
   News archive page
   Body class: news-archive
   ========================================================= */


/* Page heading and intro
   --------------------------------------------------------- */

.news-archive .com-content-category-blog > .page-header {
  margin-bottom: 1rem;
}

.news-archive .com-content-category-blog > .page-header h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.news-archive .category-desc {
  max-width: 760px;
  margin-bottom: 2rem;
}

.news-archive .category-desc .lead {
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}


/* Archive item cards
   --------------------------------------------------------- */

.news-archive .com-content-category-blog__item.blog-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}

.news-archive .com-content-category-blog__items.items-leading .blog-item {
  padding: 0;
}

.news-archive .item-image {
  margin: 0 0 1.25rem;
}

.news-archive .items-leading .item-image {
  margin-bottom: 0;
}

.news-archive .item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
}

.news-archive .items-leading .item-image img {
  border-radius: 1rem 1rem 0 0;
}

.news-archive .items-leading .item-content {
  padding: 1.5rem;
}

.news-archive .item-content > .page-header {
  margin-bottom: 0.75rem;
}

.news-archive .item-content > .page-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.18;
}

.news-archive .item-content > .page-header h2 a {
  color: var(--nwc-teal-dark, #3F7F92);
  text-decoration: none;
}

.news-archive .item-content > .page-header h2 a:hover,
.news-archive .item-content > .page-header h2 a:focus {
  color: var(--nwc-navy, #253A47);
  text-decoration: underline;
}

.news-archive .item-content p {
  line-height: 1.65;
}


/* Article details / metadata
   Keep subtle rather than dominant
   --------------------------------------------------------- */

.news-archive .article-info {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.news-archive .article-info dd {
  margin-bottom: 0;
}

/* Uncomment this if you decide to hide dates/details completely on archive:
.news-archive .article-info {
  display: none;
}
*/


/* Read more button
   --------------------------------------------------------- */

.news-archive .readmore {
  margin-top: 1rem;
  margin-bottom: 0;
}

.news-archive .readmore .btn {
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: 0.95rem;

  background: var(--nwc-teal-dark, #3F7F92);
  border-color: var(--nwc-teal-dark, #3F7F92);
  color: #fff;
}

.news-archive .readmore .btn:hover,
.news-archive .readmore .btn:focus {
  background: var(--nwc-navy, #253A47);
  border-color: var(--nwc-navy, #253A47);
  color: #fff;
}

.news-archive .readmore .icon-chevron-right {
  display: none;
}


/* Non-leading items: make smaller cards
   --------------------------------------------------------- */

.news-archive .com-content-category-blog__items:not(.items-leading) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .blog-item {
  margin-bottom: 0;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .item-image {
  margin-bottom: 1rem;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .item-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .item-content > .page-header h2 {
  font-size: 1.25rem;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .article-info {
  font-size: 0.85rem;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .item-content p {
  font-size: 0.96rem;
}


/* Older article links
   --------------------------------------------------------- */

.news-archive .items-more {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
}

.news-archive .com-content-blog__links {
  margin-bottom: 0;
}

.news-archive .com-content-blog__link {
  margin-bottom: 0.5rem;
}

.news-archive .com-content-blog__link:last-child {
  margin-bottom: 0;
}

.news-archive .com-content-blog__link a {
  color: var(--nwc-teal-dark, #3F7F92);
  text-decoration: none;
}

.news-archive .com-content-blog__link a:hover {
  color: var(--nwc-navy, #253A47);
  text-decoration: underline;
}


/* Pagination
   --------------------------------------------------------- */

.news-archive .com-content-category-blog__navigation {
  margin-top: 2rem;
}

.news-archive .pagination {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.news-archive .page-link {
  color: var(--nwc-teal-dark, #3F7F92);
  border-radius: 0.45rem;
}

.news-archive .page-item.active .page-link {
  background: var(--nwc-teal-dark, #3F7F92);
  border-color: var(--nwc-teal-dark, #3F7F92);
  color: #fff;
}


/* Sidebar cards
   --------------------------------------------------------- */

.news-archive .sidebar-right .moduletable.card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}

.news-archive .sidebar-right .moduletable.card + .moduletable.card {
  margin-top: 1.5rem;
}

.news-archive .sidebar-right .card-header {
  padding: 1rem 1.25rem;
  background: rgba(var(--bs-primary-rgb), 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.25rem;
}

.news-archive .sidebar-right .card-body {
  padding: 1.25rem;
}


/* Sidebar recent posts
   --------------------------------------------------------- */

.news-archive .sidebar-right .mod-articles-items {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.news-archive .sidebar-right .mod-articles-items > li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-archive .sidebar-right .mod-articles-items > li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.news-archive .sidebar-right .mod-articles-title {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.news-archive .sidebar-right .mod-articles-link {
  color: var(--nwc-teal-dark, #3F7F92);
  text-decoration: none;
}

.news-archive .sidebar-right .mod-articles-link:hover,
.news-archive .sidebar-right .mod-articles-link:focus {
  color: var(--nwc-navy, #253A47);
  text-decoration: underline;
}

.news-archive .sidebar-right .mod-articles-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}


/* Responsive
   --------------------------------------------------------- */

@media (max-width: 991.98px) {
  .news-archive .com-content-category-blog__items:not(.items-leading) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .news-archive .com-content-category-blog__item.blog-item,
  .news-archive .items-more {
    padding: 1.15rem;
    border-radius: 0.85rem;
  }

  .news-archive .com-content-category-blog__items.items-leading .blog-item {
    padding: 0;
  }

  .news-archive .items-leading .item-content {
    padding: 1.15rem;
  }
}


.news-archive .com-content-category-blog__items:not(.items-leading) {
  margin-top: 2.5rem;
}

.news-archive .com-content-category-blog__items:not(.items-leading) .article-info {
  display: none;
}




/* =========================================================
   News metadata: archive vs individual article
   ========================================================= */


/* ---------------------------------------------------------
   News archive: keep archive cards clean
   --------------------------------------------------------- */

.news-archive .com-content-category-blog .article-info {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--bs-secondary-color, #6c757d);
}

.news-archive .com-content-category-blog .article-info-term {
  display: none;
}

/* Hide author on archive cards */
.news-archive .com-content-category-blog .createdby {
  display: none;
}

/* Keep published date on archive cards */
.news-archive .com-content-category-blog .published {
  margin-bottom: 0;
}

/* Hide Joomla tags on archive cards */
.news-archive .com-content-category-blog .tags {
  display: none;
}

/* Optional: hide the date icons on archive cards */
.news-archive .com-content-category-blog .article-info .icon-calendar {
  display: none;
}


/* ---------------------------------------------------------
   Individual News article: show author/date/topic neatly
   --------------------------------------------------------- */

.news-archive .com-content-article.item-page .article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 0.75rem;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.95rem;
}

.news-archive .com-content-article.item-page .article-info-term {
  display: none;
}

.news-archive .com-content-article.item-page .article-info dd {
  margin: 0;
}

/* Hide default Joomla icons in the article metadata */
.news-archive .com-content-article.item-page .article-info .icon-user,
.news-archive .com-content-article.item-page .article-info .icon-calendar {
  display: none;
}

/* Add subtle separators between metadata items */
.news-archive .com-content-article.item-page .article-info dd + dd::before {
  content: "·";
  margin-right: 1rem;
  color: rgba(0, 0, 0, 0.35);
}


/* ---------------------------------------------------------
   Individual News article tags / topic pill
   --------------------------------------------------------- */

.news-archive .com-content-article.item-page .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding-left: 0;
}

.news-archive .com-content-article.item-page .tags li {
  margin: 0;
}

.news-archive .com-content-article.item-page .tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--nwc-teal-dark, #3F7F92);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.16);
  font-size: 0.9rem;
  text-decoration: none;
}

.news-archive .com-content-article.item-page .tags a:hover,
.news-archive .com-content-article.item-page .tags a:focus {
  background: var(--nwc-teal-dark, #3F7F92);
  color: #fff;
}


/* ---------------------------------------------------------
   Individual News article image and body
   --------------------------------------------------------- */

.news-archive .com-content-article.item-page .item-image {
  margin: 1.5rem 0 2rem;
}

.news-archive .com-content-article.item-page .item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.news-archive .com-content-article.item-page .com-content-article__body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.news-archive .com-content-article.item-page .com-content-article__body p {
  margin-bottom: 1.2rem;
}


/* ---------------------------------------------------------
   Mobile metadata stacking
   --------------------------------------------------------- */

@media (max-width: 575.98px) {
  .news-archive .com-content-article.item-page .article-info {
    display: block;
  }

  .news-archive .com-content-article.item-page .article-info dd {
    margin-bottom: 0.25rem;
  }

  .news-archive .com-content-article.item-page .article-info dd + dd::before {
    content: "";
    margin-right: 0;
  }
}



/* ---------------------------------------------------------
   Individual News article: inline metadata + topic tag
   --------------------------------------------------------- */

.news-archive .com-content-article.item-page .article-info {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: 0 0 1.25rem;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.95rem;
  vertical-align: middle;
}

.news-archive .com-content-article.item-page .article-info-term {
  display: none;
}

.news-archive .com-content-article.item-page .article-info dd {
  margin: 0;
}

/* Hide default Joomla icons in the article metadata */
.news-archive .com-content-article.item-page .article-info .icon-user,
.news-archive .com-content-article.item-page .article-info .icon-calendar {
  display: none;
}

/* Separator between author and date */
.news-archive .com-content-article.item-page .article-info dd + dd::before {
  content: "·";
  margin-right: 1rem;
  color: rgba(0, 0, 0, 0.35);
}

/* Make the tags sit inline after the article info */
.news-archive .com-content-article.item-page .tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.25rem 0.75rem;
  padding-left: 0;
  vertical-align: middle;
}

/* Separator before the topic tag */
.news-archive .com-content-article.item-page .tags::before {
  content: "·";
  color: rgba(0, 0, 0, 0.35);
  margin-right: 0.25rem;
}

.news-archive .com-content-article.item-page .tags li {
  margin: 0;
}

/* Smaller, calmer topic pill */
.news-archive .com-content-article.item-page .tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--nwc-teal-dark, #3F7F92);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.16);
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
}

.news-archive .com-content-article.item-page .tags a:hover,
.news-archive .com-content-article.item-page .tags a:focus {
  background: var(--nwc-teal-dark, #3F7F92);
  color: #fff;
}

/* Image spacing now that the metadata row is tighter */
.news-archive .com-content-article.item-page .item-image {
  margin: 1.25rem 0 2rem;
}

/* Mobile: stack metadata neatly */
@media (max-width: 575.98px) {
  .news-archive .com-content-article.item-page .article-info {
    display: block;
    margin-bottom: 0.5rem;
  }

  .news-archive .com-content-article.item-page .article-info dd {
    display: block;
    margin-bottom: 0.25rem;
  }

  .news-archive .com-content-article.item-page .article-info dd + dd::before {
    content: "";
    margin-right: 0;
  }

  .news-archive .com-content-article.item-page .tags {
    display: flex;
    margin-left: 0;
    margin-bottom: 1.25rem;
  }

  .news-archive .com-content-article.item-page .tags::before {
    content: "";
    margin-right: 0;
  }
}


