/* N10 RN - Servicos publicos regionais */

:root {
  --n10rn-green: #07851b;
  --n10rn-green-dark: #055f16;
  --n10rn-blue: #075fcb;
  --n10rn-ink: #0f172a;
  --n10rn-muted: #64748b;
  --n10rn-line: rgba(15, 23, 42, 0.10);
  --n10rn-soft: #f8fafc;
  --n10rn-card: #ffffff;
}

.n10rn-service-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid var(--n10rn-line);
  color: var(--n10rn-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  height: var(--n10-service-h, 36px);
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.n10rn-service-strip__inner {
  align-items: center;
  display: flex;
  gap: 12px;
  height: 100%;
  margin: 0 auto;
  max-width: 1240px;
  min-width: 0;
  padding: 0 16px;
}

.n10rn-service-strip__brand {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(7, 133, 27, .13);
  border-radius: 999px;
  color: var(--n10rn-green-dark);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
  padding: 7px 10px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.n10rn-service-strip__brand-dot {
  background: var(--n10rn-green);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(7, 133, 27, .11);
  display: block;
  height: 7px;
  width: 7px;
}

.n10rn-service-strip__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.n10rn-service-strip__viewport::before,
.n10rn-service-strip__viewport::after {
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 36px;
  z-index: 2;
}

.n10rn-service-strip__viewport::before {
  background: linear-gradient(90deg, #f8fafc, rgba(248,250,252,0));
  left: 0;
}

.n10rn-service-strip__viewport::after {
  background: linear-gradient(270deg, #f8fafc, rgba(248,250,252,0));
  right: 0;
}

.n10rn-service-strip__track {
  align-items: center;
  display: flex;
  gap: 22px;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: n10rn-service-marquee 46s linear infinite;
}

.n10rn-service-strip:hover .n10rn-service-strip__track,
.n10rn-service-strip:focus-within .n10rn-service-strip__track {
  animation-play-state: paused;
}

.n10rn-service-strip__item {
  align-items: baseline;
  color: #334155;
  display: inline-flex;
  gap: 5px;
  font-size: 12px;
  line-height: 1;
  min-width: max-content;
  text-decoration: none;
}

.n10rn-service-strip__label {
  color: #475569;
}

.n10rn-service-strip__item strong {
  color: #020617;
  font-size: 13px;
  font-weight: 950;
}

.n10rn-service-strip__item small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

a.n10rn-service-strip__item:hover,
a.n10rn-service-strip__item:focus {
  color: var(--n10rn-green-dark);
  outline: none;
}

@keyframes n10rn-service-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.n10rn-service-home {
  color: var(--n10rn-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  margin: clamp(24px, 4vw, 46px) auto;
  padding: 0 16px;
}

.n10rn-service-home__shell {
  background:
    radial-gradient(circle at top left, rgba(7, 133, 27, .09), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
  margin: 0 auto;
  max-width: 1240px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px);
}

.n10rn-service-home__header {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 18px;
}

.n10rn-service-home__eyebrow {
  color: var(--n10rn-green-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.n10rn-service-home__title {
  color: #020617;
  font-size: clamp(22px, 4.8vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .98;
  margin: 0;
  max-width: 760px;
}

.n10rn-service-home__summary {
  color: var(--n10rn-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 540px;
}

.n10rn-service-home__layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.n10rn-service-card,
.n10rn-service-links {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.n10rn-service-card {
  padding: 16px;
}

.n10rn-service-card__head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.n10rn-service-card__head h3 {
  color: #020617;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
  margin: 6px 0 0;
}

.n10rn-service-card__head time {
  color: var(--n10rn-muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.n10rn-service-chip {
  background: #eaffef;
  border: 1px solid rgba(7, 133, 27, .12);
  border-radius: 999px;
  color: var(--n10rn-green-dark);
  display: inline-flex;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.n10rn-weather-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}

.n10rn-weather-city {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 9px;
  padding: 14px;
}

.n10rn-weather-city__top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.n10rn-weather-city__top strong {
  color: #020617;
  font-size: 15px;
  font-weight: 950;
}

.n10rn-weather-city__top span {
  color: var(--n10rn-muted);
  font-size: 11px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n10rn-weather-city__temp {
  color: #020617;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: .95;
  margin-top: 10px;
}

.n10rn-weather-city__temp sup {
  font-size: .45em;
  top: -.65em;
}

.n10rn-weather-city p {
  color: var(--n10rn-muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 6px 0 0;
}

.n10rn-weather-city dl {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.n10rn-weather-city dl div,
.n10rn-service-list li {
  align-items: center;
  border-top: 1px solid rgba(15, 23, 42, .08);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 0;
}

.n10rn-weather-city dl div:first-child,
.n10rn-service-list li:first-child {
  border-top: 0;
}

.n10rn-weather-city dt,
.n10rn-weather-city dd {
  margin: 0;
}

.n10rn-weather-city dt,
.n10rn-service-list span {
  color: #475569;
  font-size: 13px;
}

.n10rn-weather-city dd,
.n10rn-service-list strong {
  color: #020617;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.n10rn-service-side {
  display: grid;
  gap: 14px;
}

.n10rn-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.n10rn-service-source {
  color: var(--n10rn-muted);
  font-size: 11px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.n10rn-service-links {
  display: grid;
  gap: 0;
  margin-top: 14px;
  overflow: hidden;
}

.n10rn-service-links a {
  background: #fff;
  color: #0f172a;
  display: grid;
  gap: 4px;
  padding: 14px;
  text-decoration: none;
}

.n10rn-service-links a + a {
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.n10rn-service-links span {
  color: var(--n10rn-green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.n10rn-service-links strong {
  color: #334155;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.n10rn-service-links a:hover strong,
.n10rn-service-links a:focus strong {
  color: #020617;
}

@media (min-width: 760px) {
  .n10rn-service-home__header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  }

  .n10rn-weather-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .n10rn-service-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .n10rn-service-links a + a {
    border-left: 1px solid rgba(15, 23, 42, .08);
    border-top: 0;
  }
}

@media (min-width: 1080px) {
  .n10rn-service-home__layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
  }

  .n10rn-weather-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .n10rn-service-strip__inner {
    gap: 10px;
    padding: 0 12px;
  }

  .n10rn-service-strip__brand {
    font-size: 10px;
  }

  .n10rn-service-strip__track {
    animation-duration: 34s;
    gap: 14px;
  }

  .n10rn-service-strip__item small {
    display: none;
  }

  .n10rn-service-home {
    margin: 22px auto 30px;
    padding: 0 12px;
  }

  .n10rn-service-home__shell {
    border-radius: 10px;
    padding: 16px;
  }

  .n10rn-service-card {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .n10rn-service-strip__viewport {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .n10rn-service-strip__track {
    animation: none;
  }
}

/* ==========================================================================
   N10 RN editorial portal system 2026 - services
   ========================================================================== */
.n10rn-service-strip {
  height: var(--n10-service-h, 32px);
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid #e5e7eb;
}

.n10rn-service-strip__inner {
  max-width: var(--n10rn-page-max, 1180px);
  gap: 14px;
  padding-inline: var(--n10rn-gutter, clamp(12px, 3vw, 20px));
}

.n10rn-service-strip__brand {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--n10rn-green-dark);
  font-size: 11px;
  padding: 0;
}

.n10rn-service-strip__brand-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(7, 133, 27, .10);
}

.n10rn-service-strip__track {
  gap: 24px;
  animation-duration: 58s;
}

.n10rn-service-strip__item {
  font-size: 12px;
}

.n10rn-service-strip__item strong {
  font-size: 13px;
}

.n10rn-service-strip__item small {
  color: #98a2b3;
  font-size: 9px;
}

.n10rn-service-home {
  margin: clamp(28px, 5vw, 48px) auto;
}

.n10rn-service-home__shell {
  max-width: var(--n10rn-page-max, 1180px);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  padding: clamp(16px, 2.4vw, 24px);
}

.n10rn-service-home__title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.n10rn-service-card,
.n10rn-service-links,
.n10rn-weather-city {
  border-radius: 8px;
  box-shadow: none;
}

@media (max-width: 640px) {
  .n10rn-service-strip__brand-text {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .n10rn-service-strip__track {
    gap: 18px;
    animation-duration: 42s;
  }
}
