/* Dynamic blocks added to the original Altroz layout. */
.altroz-news-strip {
  color: #fff;
  background: #202020;
}

.altroz-news-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  width: 1140px;
  max-width: calc(100% - 30px);
  min-height: 68px;
  margin: 0 auto;
}

.altroz-news-strip-label {
  padding: 9px 12px;
  border-radius: 4px;
  background: #d64000;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.altroz-news-strip-items {
  position: relative;
  min-width: 0;
  height: 34px;
  overflow: hidden;
}

.altroz-news-strip-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.altroz-news-strip-item:hover { color: #fff; }
.altroz-news-strip-item.is-active { opacity: 1; visibility: visible; transform: none; }
.altroz-news-strip-item b { flex: 0 0 auto; font-size: 12px; }
.altroz-news-strip-item span { overflow: hidden; font-size: 13px; text-overflow: ellipsis; }

.altroz-news-strip-controls { display: flex; gap: 4px; }
.altroz-news-strip-controls button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  cursor: pointer;
}
.altroz-news-strip-controls button:hover { background: rgba(255, 255, 255, 0.25); }
.altroz-news-strip-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.altroz-weather {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.altroz-weather > strong { font-size: 25px; font-weight: 500; white-space: nowrap; }
.altroz-weather-icon { font-size: 24px; line-height: 1; }
.altroz-weather-city { display: flex; flex-direction: column; min-width: 105px; line-height: 1.3; }
.altroz-weather-city b { font-size: 13px; }
.altroz-weather-city > span { font-size: 11px; }
.altroz-weather-city small { font-size: 9px; opacity: 0.9; }
.altroz-weather-city a { color: inherit; text-decoration: underline; }

@media (max-width: 800px) {
  .altroz-news-strip-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 0; }
  .altroz-news-strip-label { display: none; }
  .altroz-news-strip-items { grid-column: 1; }
  .altroz-news-strip-controls { grid-column: 2; }
  .altroz-weather { grid-column: 1 / -1; justify-content: center; gap:6px; min-height: 28px; padding: 6px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); white-space:nowrap; }
  .altroz-weather > strong {font-size:16px;}
  .altroz-weather-icon {font-size:18px;}
  .altroz-weather-city {display:contents;min-width:0;}
  .altroz-weather-city b {font-size:12px;}
  .altroz-weather-city > span {min-width:0;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .altroz-weather-city small {display:inline-flex;align-items:center;gap:3px;flex:none;white-space:nowrap;}
}
