.news-visual {
  display: block;
  min-width: 0;
}
.news-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: #e9e6dc;
}
.news-visual-label {
  display: block;
  margin-top: 4px;
  color: var(--muted, #425249);
  font: 11px/1.3 var(--sans, sans-serif);
  overflow-wrap: anywhere;
}
.story-card--news { min-width: 0; }
.portal-page .story-card--news > .news-thumbnail-link { display: block; align-self: start; }
.headline-source .headline-visual-link { display: block; margin-top: 12px; }
.headline-source .headline-visual-link .news-visual img { aspect-ratio: 16 / 9; max-height: 168px; }
.headline-visual-link:focus-visible { outline: 2px solid var(--brand, #173d2c); outline-offset: 4px; }
@media (max-width: 760px) {
  .portal-page .story-card--news,
  .portal-page .story-card--news:first-child:not(.is-plain) {
    display: grid;
    grid-template-columns: clamp(100px, 32vw, 136px) minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
  }
  .portal-page .story-card--news .card-copy { padding: 0; }
  .portal-page .story-card--news .card-copy h3 { font-size: clamp(19px, 5.5vw, 26px); overflow-wrap: anywhere; }
  .headline-source .headline-visual-link .news-visual img { max-height: 150px; }
}

.headline-source .headline-item-link {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.headline-item-copy { min-width: 0; overflow-wrap: anywhere; }
.headline-source-image {
  display: block;
  flex: 0 0 clamp(84px, 23vw, 108px);
  width: clamp(84px, 23vw, 108px);
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 6px;
}
.headline-source-image[hidden] { display: none; }

@media (max-width: 760px) { .portal-page .story-card--news.is-plain { display: block; } }

.portal-page .market-signature .story-card--news > .news-thumbnail-link { display: block; margin-bottom: 16px; }
@media (max-width: 760px) {
  .portal-page .market-signature .story-card--news:first-child:not(.is-plain) { display: block; }
}

#manchetes-locais .headline-grid--local {
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

#manchetes-locais .headline-source--lead {
  grid-column: 1 / -1;
}

@media (min-width: 761px) {
  #manchetes-locais .headline-source--lead > ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  }
}

#manchetes-locais .headline-source {
  min-width: 0;
  border: 0;
  padding: 0;
}

#manchetes-locais .headline-source h3 {
  padding: 0 0 12px;
  line-height: 1.3;
}

#manchetes-locais .headline-source ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

#manchetes-locais .headline-source li {
  padding: 0;
  border: 0;
}

#manchetes-locais .headline-item-link {
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  min-height: 58px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

#manchetes-locais .headline-item-link:hover {
  border-color: var(--gold);
  text-decoration: underline;
}

#manchetes-locais .headline-source-image {
  flex: 0 0 66px;
  width: 66px;
}

#manchetes-locais .headline-item-copy small {
  margin-top: 4px;
  font-size: .76rem;
  font-weight: 400;
}

.local-headline-sources {
  margin-top: 20px;
  font-size: .88rem;
}

.local-headline-sources p {
  color: var(--muted);
}

.local-headline-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.publisher-section-mark {
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 6px;
  border-radius: 4px;
  background: var(--brand, #173d2c);
  color: #fff;
  text-align: center;
  font-size: .68rem;
  line-height: 1.15;
  font-weight: 650;
}

.publisher-section-mark--municipal {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--brand, #173d2c);
  color: #fff;
  aspect-ratio: 8 / 5;
  border-radius: 6px;
}
.headline-item-link .publisher-section-mark--municipal {
  width: clamp(84px, 23vw, 108px);
  flex: 0 0 auto;
}
.news-thumbnail-link .publisher-section-mark--municipal {
  min-height: 68px;
  font-size: .85rem;
}
#manchetes-locais .publisher-section-mark--municipal { width: 80px; }

.publisher-summary {
  display: block;
  margin-top: 5px;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.45;
}
.editorial-story-image figcaption,
.article-cover figcaption {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.35;
}

.compact-news-thumbnail {
  display: block;
  flex: 0 0 clamp(84px, 23vw, 108px);
  width: clamp(84px, 23vw, 108px);
}
.compact-news-thumbnail .news-visual img { border-radius: 6px; }
.tribuna-story--lead .compact-news-thumbnail { width: 100%; }
.tribuna-story--lead .compact-news-thumbnail .news-visual img { aspect-ratio: 16 / 9; }
.service-directory-card > .news-visual { margin-bottom: 16px; }
.service-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 350px;
  padding: 8px;
  border: 1px solid var(--line, #d4ded8);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}
.service-businesses { margin: 28px 0 44px; }
.service-businesses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-businesses-grid > article { min-width: 0; margin: 0; }
.service-businesses-grid .sele-service { grid-template-columns: minmax(0, 1fr); align-content: start; }
.service-businesses-grid .sele-service-art { width: 112px; }
.service-businesses-grid .sele-service-copy h2 { font-size: clamp(25px, 3vw, 33px); }
.service-businesses-grid .button { overflow-wrap: anywhere; }
.active-weather-notice { padding: 18px 22px; margin: 24px 0; border-left: 4px solid #99621a; background: #fff5df; }
.active-weather-notice h2 { margin: 0 0 8px; font-size: 1.4rem; }
.active-weather-notice p { margin: 6px 0; }
.article-cover--thematic .news-visual img { max-height: 360px; }
@media (max-width: 1000px) {
  .service-businesses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .service-businesses-grid { grid-template-columns: minmax(0, 1fr); }
  .service-businesses-grid .sele-service { grid-template-columns: minmax(75px, 100px) minmax(0, 1fr); gap: 14px; }
  .service-businesses-grid .sele-service-art { width: 100%; }
}
@media (max-width: 380px) {
  .service-businesses-grid .sele-service { grid-template-columns: minmax(0, 1fr); }
  .service-businesses-grid .sele-service-art { width: 95px; }
}


.story-photo--portrait img { object-fit: contain; }
@media (max-width: 760px) {
  .news-thumbnail-link .news-visual img,
  .compact-news-thumbnail .news-visual img { aspect-ratio: 4 / 3; }
  .news-thumbnail-link .story-photo--portrait img { aspect-ratio: 1; }
}

.news-topic {
  display: grid;
  place-items: center;
  min-height: 50px;
  aspect-ratio: 8 / 5;
  padding: 8px;
  text-align: center;
  border: 1px solid #d7ded8;
  border-radius: 8px;
  background: #eaf1eb;
  color: #243b31;
}
.news-topic--lighting { background: #f5ecd5; color: #4d3814; }
.news-topic--roadworks { background: #eee9e0; color: #45372b; }
.news-topic--mobility { background: #e6eef2; color: #1d3948; }
.news-topic--memorial { background: #edeae5; color: #35312c; border-color: #d5cdc4; }
.news-topic-text {
  font: 650 clamp(11px, 2.5vw, 15px)/1.3 var(--sans, sans-serif);
  overflow-wrap: anywhere;
}
.article-cover .news-topic { min-height: 56px; aspect-ratio: auto; }
