.outage-page {
  min-height: 100vh;
  background: #f8f6f1;
  color: #111315;
}

.outage-header {
  border-bottom: 1px solid rgba(14, 47, 51, 0.12);
  background: rgba(248, 246, 241, 0.96);
}

.outage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.outage-nav a {
  color: #0e2f33;
  font-weight: 800;
  text-decoration: none;
}

.outage-hero {
  padding: 56px 0 34px;
}

.outage-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.outage-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #536164;
  font-size: 1.05rem;
  line-height: 1.65;
}

.outage-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 720px;
  margin-top: 26px;
}

.outage-search input {
  min-width: 0;
  border: 1px solid rgba(14, 47, 51, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}

.outage-search button {
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 900;
  background: #ffd23d;
  color: #111315;
  cursor: pointer;
}

.outage-summary {
  margin: 22px 0 0;
  padding: 16px;
  border: 1px solid rgba(14, 47, 51, 0.12);
  border-radius: 12px;
  background: #fff;
}

.outage-summary strong,
.outage-summary small {
  display: block;
}

.outage-summary strong {
  font-size: 1.05rem;
}

.outage-loading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.outage-loader-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  transform: rotate(45deg);
  animation: outageLoaderSpin 1.25s linear infinite;
}

.outage-loader-mark span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  box-shadow: 0 2px 7px rgba(14, 47, 51, 0.18);
}

.outage-loader-mark span:nth-child(1) {
  top: 0;
  left: 0;
  background: #d94b38;
}

.outage-loader-mark span:nth-child(2) {
  top: 0;
  right: 0;
  background: #88827a;
}

.outage-loader-mark span:nth-child(3) {
  bottom: 0;
  right: 0;
  background: #ffd23d;
}

.outage-loader-mark span:nth-child(4) {
  bottom: 0;
  left: 0;
  background: #23b7df;
}

.outage-loading-dots::after {
  content: "";
  display: inline-block;
  min-width: 4.4em;
  margin-left: 0.2em;
  color: #d49a00;
  font-size: 1.35em;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0;
  vertical-align: -0.08em;
  animation: outageLoadingDots 1.4s steps(6, end) infinite;
}

@keyframes outageLoaderSpin {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(405deg);
  }
}

@keyframes outageLoadingDots {
  0% {
    content: "";
  }

  16% {
    content: ".";
  }

  32% {
    content: "..";
  }

  48% {
    content: "...";
  }

  64% {
    content: "....";
  }

  80%,
  100% {
    content: ".....";
  }
}

.outage-summary small {
  margin-top: 6px;
  color: #536164;
}

.outage-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.outage-seo-links a {
  border: 1px solid rgba(14, 47, 51, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #0e2f33;
  font-weight: 800;
  text-decoration: none;
}

.outage-explainer {
  margin-bottom: 28px;
  border: 1px solid rgba(14, 47, 51, 0.12);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.outage-explainer h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.outage-explainer p {
  max-width: 960px;
  margin: 0;
  color: #536164;
  line-height: 1.65;
}

.outage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding-bottom: 56px;
}

.outage-list {
  display: grid;
  gap: 24px;
}

.outage-section {
  display: grid;
  gap: 12px;
}

.outage-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(14, 47, 51, 0.12);
  padding-bottom: 8px;
}

.outage-section-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.outage-section-head span {
  min-width: 36px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #ffd23d;
  color: #111315;
  font-weight: 900;
  text-align: center;
}

.outage-list-inner {
  display: grid;
  gap: 14px;
}

.outage-place-list {
  display: grid;
  gap: 14px;
}

.outage-place-group {
  border: 1px solid rgba(14, 47, 51, 0.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.outage-place-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.outage-place-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.outage-place-head span {
  min-width: 30px;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(14, 47, 51, 0.1);
  color: #0e2f33;
  font-weight: 900;
  text-align: center;
}

.outage-archive {
  border-top: 1px dashed rgba(14, 47, 51, 0.18);
  padding-top: 4px;
}

.outage-archive > summary {
  cursor: pointer;
  list-style: none;
}

.outage-archive > summary::-webkit-details-marker {
  display: none;
}

.outage-archive > summary h2::after {
  content: " - pokaz";
  color: #536164;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: none;
}

.outage-archive[open] > summary h2::after {
  content: " - ukryj";
}

.outage-archive-note {
  margin: 0;
  color: #536164;
  font-size: 0.92rem;
  line-height: 1.5;
}

.outage-card {
  border: 1px solid rgba(14, 47, 51, 0.12);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(14, 47, 51, 0.08);
}

.outage-card h2,
.outage-card h3 {
  margin: 12px 0 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.outage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #536164;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.outage-card-head strong {
  color: #0e2f33;
}

.outage-time,
.outage-subtle {
  color: #536164;
}

.outage-addresses {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #1f3639;
}

.outage-muted {
  background: rgba(255, 255, 255, 0.72);
}

.outage-loading-section {
  opacity: 0.96;
}

.outage-skeleton {
  display: grid;
  gap: 12px;
  box-shadow: none;
}

.outage-skeleton span,
.outage-skeleton strong,
.outage-skeleton p {
  display: block;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 47, 51, 0.07), rgba(14, 47, 51, 0.14), rgba(14, 47, 51, 0.07));
  background-size: 220% 100%;
  animation: outageSkeleton 1.35s ease-in-out infinite;
}

.outage-skeleton span {
  width: 36%;
  height: 12px;
}

.outage-skeleton strong {
  width: 68%;
  height: 22px;
}

.outage-skeleton p {
  width: 92%;
  height: 14px;
}

.outage-skeleton p:last-child {
  width: 54%;
}

@keyframes outageSkeleton {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.province-panel {
  position: sticky;
  top: 18px;
  border: 1px solid rgba(14, 47, 51, 0.12);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.province-panel h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.province-links {
  display: grid;
  gap: 7px;
}

.province-links a {
  color: #0e2f33;
  font-weight: 700;
  text-decoration: none;
}

.outage-source {
  margin-top: 18px;
  color: #536164;
  font-size: 0.9rem;
  line-height: 1.5;
}

.outage-source a {
  color: #111315;
  font-weight: 800;
}

@media (max-width: 820px) {
  .outage-grid,
  .outage-search {
    grid-template-columns: 1fr;
  }

  .province-panel {
    position: static;
  }

}
