﻿.ceys-outage-lookup {
  width: min(980px, calc(100% - 32px));
  margin: 34px auto 54px;
  padding: 34px 32px;
  color: #26323d;
  background: #fff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(35, 52, 69, 0.08);
}

.ceys-outage-head {
  margin-bottom: 22px;
}

.ceys-outage-head h2 {
  margin: 0 0 8px;
  color: #173047;
  font-size: 30px;
  font-weight: 900;
}

.ceys-outage-head p,
.ceys-outage-hint {
  margin: 0;
  color: #5c6978;
  line-height: 1.5;
}

.ceys-outage-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  margin-bottom: 10px;
}

.ceys-outage-search-row input {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #d7e0e8;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
}

.ceys-outage-search-row input:focus {
  border-color: #1d3a6c;
}

.ceys-outage-search-row button {
  color: #fff;
  background: #1d3a6c;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
}

.ceys-outage-results {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.ceys-outage-result {
  padding: 18px;
  background: #f8fbfd;
  border: 1px solid #cfe0ec;
  border-left: 5px solid #1d3a6c;
  border-radius: 6px;
}

.ceys-outage-result > strong {
  display: inline-flex;
  margin-bottom: 8px;
  color: #17613a;
  font-size: 13px;
  text-transform: uppercase;
}

.ceys-outage-result h3 {
  margin: 0 0 14px;
  color: #173047;
  font-size: 22px;
}

.ceys-outage-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 12px;
}

.ceys-outage-result div {
  display: grid;
  gap: 2px;
}

.ceys-outage-result dt {
  color: #687789;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ceys-outage-result dd {
  margin: 0;
  color: #26323d;
  font-weight: 800;
}

.ceys-outage-result p {
  margin: 8px 0 0;
  color: #4f5f6f;
}

.ceys-outage-result a {
  display: inline-flex;
  margin-top: 12px;
  color: #1d3a6c;
  font-weight: 900;
  text-decoration: none;
}

.ceys-outage-empty {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #5c6978;
  background: #f5f7f9;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  font-weight: 800;
}

.ceys-home-outages {
  width: 100%;
  margin: 0;
  padding: 52px 0 58px;
  color: #24364a;
  background: #f3f7f9;
  border-top: 3px solid #5fb030;
}

.ceys-home-outages-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ceys-home-outages-head {
  margin-bottom: 24px;
}

.ceys-home-outages-head > span {
  display: block;
  margin-bottom: 7px;
  color: #4b9e28;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ceys-home-outages-head h2 {
  margin: 0 0 7px;
  color: #1d3a6c;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
}

.ceys-home-outages-head p {
  margin: 0;
  color: #5a6878;
  font-size: 15px;
  line-height: 1.5;
}

.ceys-home-outages-list {
  display: grid;
  gap: 18px;
}

.ceys-home-outage-card {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  min-height: 260px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6e2e8;
  border-left: 5px solid #5fb030;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(29, 58, 108, .1);
}

.ceys-home-outage-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce8ee;
}

.ceys-home-outage-media > button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.ceys-home-outage-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceys-home-outage-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(29, 58, 108, .9);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: background-color .18s ease, transform .18s ease;
}

.ceys-home-outage-zoom .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.ceys-home-outage-media > button:hover .ceys-home-outage-zoom,
.ceys-home-outage-media > button:focus-visible .ceys-home-outage-zoom {
  background: #5fb030;
  transform: scale(1.06);
}

.ceys-home-outage-media > button:focus-visible {
  outline: 3px solid #5fb030;
  outline-offset: -3px;
}

.ceys-home-outage-lightbox {
  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.ceys-home-outage-lightbox::backdrop {
  background: rgba(10, 24, 43, .88);
}

.ceys-home-outage-lightbox-inner {
  position: relative;
  display: flex;
  max-height: calc(100vh - 32px);
  align-items: center;
  justify-content: center;
}

.ceys-home-outage-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .36);
}

.ceys-home-outage-lightbox [data-ceys-outage-close] {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #1d3a6c;
  background: #fff;
  border: 2px solid #5fb030;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.ceys-home-outage-lightbox [data-ceys-outage-close] .dashicons {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

html.ceys-outage-lightbox-open {
  overflow: hidden;
}

.ceys-home-outage-content {
  display: flex;
  min-width: 0;
  padding: 28px 30px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ceys-home-outage-status {
  margin-bottom: 9px;
  color: #4b9e28;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ceys-home-outage-content h3 {
  margin: 0 0 15px;
  color: #1d3a6c;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ceys-home-outage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 14px;
  color: #334d68;
}

.ceys-home-outage-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
}

.ceys-home-outage-meta .dashicons {
  width: 19px;
  height: 19px;
  color: #5fb030;
  font-size: 19px;
}

.ceys-home-outage-content p {
  margin: 0;
  color: #536477;
  font-size: 15px;
  line-height: 1.55;
}

.ceys-home-outage-content > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 18px;
  color: #fff;
  background: #1d3a6c;
  border: 2px solid #1d3a6c;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ceys-home-outage-content > a:hover,
.ceys-home-outage-content > a:focus-visible {
  color: #1d3a6c;
  background: #fff;
  border-color: #5fb030;
}

@media (max-width: 720px) {
  .ceys-home-outages {
    padding: 38px 0 42px;
  }

  .ceys-home-outages-inner {
    width: min(100% - 24px, 520px);
  }

  .ceys-home-outages-head h2 {
    font-size: 28px;
  }

  .ceys-home-outage-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ceys-home-outage-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .ceys-home-outage-content {
    padding: 23px 20px 25px;
  }

  .ceys-home-outage-content h3 {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
.ceys-outage-lookup {
    width: min(100% - 24px, 720px);
    padding: 24px 18px;
  }

  .ceys-outage-search-row,
  .ceys-outage-result dl {
    grid-template-columns: 1fr;
  }

  .ceys-outage-search-row button {
    min-height: 42px;
  }
}
