.nf-tempo-page-active .entry-title,
.nf-tempo-page-active .page-title,
.nf-tempo-page-active .pagetitle,
.nf-tempo-page-active .mow_fn_breadcrumbs,
.nf-tempo-page-active .entry-header:has(.entry-title:empty) {
  display: none !important;
}

.nf-tempo-page-active .site-main,
.nf-tempo-page-active .content-area,
.nf-tempo-page-active .entry-content {
  max-width: none;
}

.nf-tempo {
  --nf-tempo-primary: var(--nazar-color-primary, #102f59);
  --nf-tempo-secondary: var(--nazar-color-secondary, #c91f36);
  --nf-tempo-accent: var(--nazar-color-accent, #f7c948);
  --nf-tempo-surface: var(--nazar-color-surface, #ffffff);
  --nf-tempo-background: var(--nazar-color-background, #f7f7f5);
  --nf-tempo-text: var(--nazar-color-text, #121a28);
  --nf-tempo-muted: var(--nazar-color-muted, #5d697b);
  --nf-tempo-border: var(--nazar-color-border, #dedbd4);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
  color: var(--nf-tempo-text);
  font-family: var(--nazar-font-body, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.nf-tempo * { box-sizing: border-box; }
.nf-tempo h1,
.nf-tempo h2,
.nf-tempo h3,
.nf-tempo p { margin-top: 0; }
.nf-tempo button,
.nf-tempo input { font: inherit; }
.nf-tempo button { cursor: pointer; }

.nf-tempo__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--nf-tempo-muted);
  font-size: 12px;
}

.nf-tempo__breadcrumb a { color: inherit; text-decoration: none; }
.nf-tempo__heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.nf-tempo__eyebrow { display: block; margin-bottom: 8px; color: var(--nf-tempo-secondary); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nf-tempo__heading h1 { margin-bottom: 0; font-family: var(--nazar-font-heading, Georgia, "Times New Roman", serif); font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.035em; }
.nf-tempo__heading p { max-width: 760px; margin: 12px 0 0; color: var(--nf-tempo-muted); line-height: 1.65; }
.nf-tempo__updated { color: var(--nf-tempo-muted); font-size: 12px; white-space: nowrap; }

.nf-tempo__search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin: 24px 0;
  padding: 8px 9px 8px 17px;
  border: 1px solid var(--nf-tempo-border);
  border-radius: 12px;
  background: var(--nf-tempo-surface);
  box-shadow: 0 8px 28px rgba(19, 32, 54, .08);
}

.nf-tempo__search-icon { color: var(--nf-tempo-muted); font-size: 24px; line-height: 1; }
.nf-tempo__search input { width: 100%; min-width: 0; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: var(--nf-tempo-text); }
.nf-tempo__search input::placeholder { color: var(--nf-tempo-muted); }
.nf-tempo__locate,
.nf-tempo__submit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 0; border-radius: 8px; font-weight: 700; }
.nf-tempo__locate { background: #eef1f5; color: #24334a; }
.nf-tempo__submit { background: var(--nf-tempo-secondary); color: #fff; }
.nf-tempo__results { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; display: grid; padding: 7px; border: 1px solid var(--nf-tempo-border); border-radius: 10px; background: var(--nf-tempo-surface); box-shadow: 0 14px 34px rgba(16, 30, 52, .15); }
.nf-tempo__results[hidden] { display: none; }
.nf-tempo__result { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 11px; border: 0; border-radius: 7px; background: transparent; color: var(--nf-tempo-text); text-align: left; }
.nf-tempo__result:hover,
.nf-tempo__result:focus-visible { background: #f0f3f7; }
.nf-tempo__result span { display: grid; gap: 2px; }
.nf-tempo__result small { color: var(--nf-tempo-muted); }
.nf-tempo__result-empty { padding: 14px; color: var(--nf-tempo-muted); }

.nf-tempo__hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); overflow: hidden; border-radius: 16px; background: var(--nf-tempo-primary); color: #fff; box-shadow: 0 12px 34px rgba(13, 39, 73, .18); }
.nf-tempo__current { position: relative; min-height: 330px; padding: 34px; background: linear-gradient(135deg, var(--nf-tempo-primary) 0%, #245a8e 58%, #7eb3d0 100%); }
.nf-tempo__current::after { content: ""; position: absolute; right: -80px; top: -100px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 221, 105, .19); }
.nf-tempo__place { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.nf-tempo__reading { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 31px; }
.nf-tempo__reading > div { display: flex; align-items: flex-start; gap: 18px; }
.nf-tempo__weather-icon { width: 94px; height: 94px; display: grid; place-items: center; color: var(--nf-tempo-accent); font-size: 74px; line-height: 1; }
.nf-tempo__temperature { font-size: clamp(68px, 9vw, 100px); line-height: .88; letter-spacing: -.06em; }
.nf-tempo__condition { display: grid; gap: 6px; padding-top: 8px; }
.nf-tempo__condition strong { font-size: 19px; }
.nf-tempo__condition span { color: rgba(255,255,255,.8); font-size: 13px; }
.nf-tempo__summary { position: relative; z-index: 1; max-width: 630px; margin: 29px 0 0; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.23); line-height: 1.55; }

.nf-tempo__facts { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 1px; background: rgba(255,255,255,.16); }
.nf-tempo__facts > div { min-height: 112px; display: grid; align-content: center; gap: 7px; padding: 22px; background: var(--nf-tempo-primary); }
.nf-tempo__facts span { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.74); font-size: 12px; }
.nf-tempo__facts b { font-size: 18px; }
.nf-tempo__facts strong { font-size: 22px; }

.nf-tempo__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; margin-top: 30px; }
.nf-tempo__primary { min-width: 0; }
.nf-tempo__section { padding: 28px 0; border-bottom: 1px solid var(--nf-tempo-border); }
.nf-tempo__section:first-child { padding-top: 0; }
.nf-tempo__section-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.nf-tempo__section-title h2,
.nf-tempo__box h2,
.nf-tempo__seo h2 { margin: 0; font-family: var(--nazar-font-heading, Georgia, "Times New Roman", serif); }
.nf-tempo__section-title h2 { font-size: 28px; }
.nf-tempo__section-title span { color: var(--nf-tempo-muted); font-size: 12px; }

.nf-tempo__hourly { display: grid; grid-template-columns: repeat(8, minmax(74px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.nf-tempo__hour { min-width: 74px; display: grid; justify-items: center; gap: 10px; padding: 14px 8px; border: 1px solid var(--nf-tempo-border); border-radius: 10px; background: var(--nf-tempo-surface); }
.nf-tempo__hour.is-now { border-color: #9db6d2; background: #e9f1fa; }
.nf-tempo__hour time,
.nf-tempo__hour small { color: var(--nf-tempo-muted); font-size: 11px; }
.nf-tempo__hour-icon { color: #d19719; font-size: 25px; line-height: 1; }

.nf-tempo__days { display: grid; gap: 7px; }
.nf-tempo__day { display: grid; grid-template-columns: 105px 36px minmax(125px, 1fr) 90px 120px; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 8px 14px; border: 1px solid transparent; border-radius: 10px; background: var(--nf-tempo-surface); color: var(--nf-tempo-text); text-align: left; }
.nf-tempo__day:hover,
.nf-tempo__day.is-selected { border-color: #9db6d2; background: #edf3f9; }
.nf-tempo__day-icon { color: #d19719; font-size: 24px; }
.nf-tempo__day-condition { color: var(--nf-tempo-muted); }
.nf-tempo__day-temp { display: flex; justify-content: flex-end; gap: 8px; }
.nf-tempo__day-temp span { color: var(--nf-tempo-muted); }
.nf-tempo__rain { display: flex; justify-content: flex-end; color: #2779b8; font-size: 12px; }
.nf-tempo__day-detail { min-height: 24px; margin: 8px 0 0; padding: 4px 14px; color: var(--nf-tempo-muted); font-size: 12px; }

.nf-tempo__sidebar { display: grid; align-content: start; gap: 18px; }
.nf-tempo__box { padding: 20px; border: 1px solid var(--nf-tempo-border); border-radius: 12px; background: var(--nf-tempo-surface); }
.nf-tempo__box h2 { margin-bottom: 14px; font-size: 22px; }
.nf-tempo__box p { margin-bottom: 0; color: var(--nf-tempo-muted); font-size: 13px; line-height: 1.55; }
.nf-tempo__sun { position: relative; height: 82px; margin: 8px 0 4px; overflow: hidden; }
.nf-tempo__sun::before { content: ""; position: absolute; left: 8%; right: 8%; top: 25px; height: 90px; border: 2px dashed #d9a739; border-bottom: 0; border-radius: 50% 50% 0 0; opacity: .75; }
.nf-tempo__sun span { position: absolute; left: 56%; top: 8px; color: #d19719; font-size: 28px; }
.nf-tempo__sun-times { display: flex; justify-content: space-between; color: var(--nf-tempo-muted); font-size: 12px; }
.nf-tempo__sun-times strong { display: block; margin-top: 3px; color: var(--nf-tempo-text); font-size: 15px; }
.nf-tempo__box-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nf-tempo__condition-label { padding: 5px 9px; border-radius: 999px; background: #dff4e8; color: #157347; font-size: 11px; font-weight: 700; }
.nf-tempo__popular { display: grid; }
.nf-tempo__popular button { display: flex; padding: 11px 0; border: 0; border-bottom: 1px solid var(--nf-tempo-border); background: transparent; color: var(--nf-tempo-text); text-align: left; }
.nf-tempo__popular button:last-child { border-bottom: 0; }

.nf-tempo__seo { padding-top: 30px; }
.nf-tempo__seo h2 { margin-bottom: 10px; font-size: 28px; }
.nf-tempo__seo > p { max-width: 850px; color: var(--nf-tempo-muted); line-height: 1.7; }
.nf-tempo__faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.nf-tempo__faq article { padding: 18px 0; border-top: 1px solid var(--nf-tempo-border); }
.nf-tempo__faq h3 { margin-bottom: 7px; font-size: 16px; }
.nf-tempo__faq p { margin-bottom: 0; color: var(--nf-tempo-muted); font-size: 13px; line-height: 1.55; }
.nf-tempo__source { margin: 24px 0 0; padding-top: 15px; border-top: 1px solid var(--nf-tempo-border); color: var(--nf-tempo-muted); font-size: 11px; }
.nf-tempo__source a { color: inherit; text-decoration: underline; }
.nf-tempo__error { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--nf-tempo-secondary); background: #fff0f2; color: #7c1f2c; }

@media (prefers-color-scheme: dark) {
  .nf-tempo {
    --nf-tempo-surface: var(--nazar-color-surface, #111827);
    --nf-tempo-background: var(--nazar-color-background, #0c111b);
    --nf-tempo-text: var(--nazar-color-text, #f5f7fb);
    --nf-tempo-muted: var(--nazar-color-muted, #aeb8c8);
    --nf-tempo-border: var(--nazar-color-border, #344056);
  }
  .nf-tempo__locate { background: #1d293b; color: #e4e9f2; }
  .nf-tempo__result:hover,
  .nf-tempo__result:focus-visible { background: #1d293b; }
  .nf-tempo__hour.is-now,
  .nf-tempo__day:hover,
  .nf-tempo__day.is-selected { border-color: #41658d; background: #162b45; }
  .nf-tempo__condition-label { background: #173b2a; color: #73d8a2; }
  .nf-tempo__error { background: #3a1820; color: #ffb3c0; }
}

@media (max-width: 980px) {
  .nf-tempo__layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .nf-tempo__day { grid-template-columns: 95px 32px 1fr 80px; }
  .nf-tempo__rain { display: none; }
}

@media (max-width: 780px) {
  .nf-tempo__hero,
  .nf-tempo__layout { grid-template-columns: 1fr; }
  .nf-tempo__facts { grid-template-columns: repeat(4, 1fr); }
  .nf-tempo__facts > div { min-height: 92px; padding: 15px; }
  .nf-tempo__sidebar { grid-template-columns: 1fr 1fr; }
  .nf-tempo__sidebar .nf-tempo__box:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nf-tempo { width: min(100% - 22px, 1180px); padding-top: 22px; }
  .nf-tempo__heading { grid-template-columns: 1fr; align-items: start; }
  .nf-tempo__heading h1 { font-size: 40px; }
  .nf-tempo__updated { display: none; }
  .nf-tempo__search { grid-template-columns: auto 1fr auto; }
  .nf-tempo__locate span:last-child { display: none; }
  .nf-tempo__submit { grid-column: 1 / -1; width: 100%; }
  .nf-tempo__current { min-height: auto; padding: 25px; }
  .nf-tempo__reading { grid-template-columns: 1fr; gap: 12px; }
  .nf-tempo__reading > div { align-items: flex-end; }
  .nf-tempo__weather-icon { width: 66px; height: 66px; font-size: 54px; }
  .nf-tempo__temperature { font-size: 74px; }
  .nf-tempo__facts { grid-template-columns: 1fr 1fr; }
  .nf-tempo__day { grid-template-columns: 76px 30px minmax(90px, 1fr) 64px; gap: 9px; padding: 8px 9px; }
  .nf-tempo__day-condition { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  .nf-tempo__sidebar,
  .nf-tempo__faq { grid-template-columns: 1fr; }
  .nf-tempo__sidebar .nf-tempo__box:last-child { grid-column: auto; }
}
