:root {
  --navy: #092b49;
  --orange: #ef7b36;
  --blue: #1464a5;
  --ink: #13202b;
  --muted: #71808b;
  --line: #dbe4ea;
  --paper: #fff;
  --bg: #f7fafc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}
a, button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--orange), #f4aa50);
}
.utility {
  background: var(--navy);
  color: #bdd2e2;
  font-size: 12px;
}
.utility .wrap {
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility a {
  color: #fff;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}
.social-icons a:hover {
  background: var(--orange);
}
.head {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo > b {
  background: var(--orange);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 25px Fraunces;
}
.logo strong {
  display: block;
  color: var(--navy);
  font: 700 26px Fraunces;
}
.logo small {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;
}
.search {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 14px;
  color: var(--muted);
}
.search input {
  border: 0;
  outline: 0;
  width: 170px;
}
nav {
  background: #fff;
  border-block: 1px solid var(--line);
}
nav .wrap {
  height: 47px;
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-size: 13px;
  font-weight: bold;
  color: #5d6c76;
}
nav a:hover {
  color: var(--orange);
}
.hero {
  padding: 38px 0 25px;
}
.hero > label, .panel label, .hero label {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: bold;
}
.feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-top: 18px;
}
.slider-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 390px;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: block;
  z-index: 0;
  color: #fff;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.slide:after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #000c);
}
.slide div {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
}
.tag {
  color: var(--orange);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}
.slide h1 {
  font: 32px/1.08 Fraunces;
  margin: 8px 0;
}
.slide p, .card p {
  font-size: 13px;
  color: #d7e4ed;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
}
.slider-dots .dot.active {
  background: var(--orange);
  width: 20px;
  border-radius: 4px;
}
.side {
  display: grid;
  gap: 22px;
}
.sidecard {
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  border-radius: 8px;
}
.sidecard img {
  width: 150px;
  height: 137px;
  object-fit: cover;
  border-radius: 6px;
}
.sidecard h3, .card h3 {
  font: 20px/1.15 Fraunces;
  color: var(--navy);
  margin: 7px 0;
}
.meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 17px 0;
}
.title h2 {
  font: 28px Fraunces;
  color: var(--navy);
  margin: 0;
}
.title a {
  font-size: 13px;
  color: var(--orange);
  font-weight: bold;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  box-shadow: 0 10px 28px #092b4910;
  border-radius: 8px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card > div {
  padding: 15px 17px 18px;
}
.card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.subscribe {
  background: var(--navy);
  color: #fff;
  padding: 23px;
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.subscribe h2 {
  font: 26px Fraunces;
  margin: 0;
}
.subscribe p {
  font-size: 13px;
  color: #bdd2e2;
}
.subscribe button, .title button, .formbuttons button:last-child {
  background: var(--orange);
  border: 0;
  color: #fff;
  font-weight: bold;
  padding: 11px 16px;
  border-radius: 3px;
}
footer {
  background: var(--navy);
  color: #bdd2e2;
  margin-top: 30px;
  padding: 34px 0;
}
footer .logo strong {
  color: #fff;
}
footer p {
  font-size: 12px;
}
.admin {
  display: none;
  padding: 34px 0 70px;
  grid-template-columns: 235px 1fr;
  gap: 25px;
}
.adminnav, .panel {
  background: #fff;
  border: 1px solid var(--line);
}
.adminnav {
  padding: 18px;
  height: max-content;
}
.adminnav h3 {
  font: 20px Fraunces;
  color: var(--navy);
  margin: 0 0 18px;
}
.adminnav button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px;
  color: var(--muted);
}
.adminnav button:hover {
  background: #eaf5fc;
  color: var(--blue);
}
.panel {
  padding: 26px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stats div {
  background: #eaf5fc;
  border-left: 3px solid var(--orange);
  padding: 16px;
}
.stats b {
  display: block;
  font-size: 25px;
  color: var(--navy);
}
.stats small {
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
}
.pill {
  background: #dff5e8;
  color: #27824a;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 10px;
}
.actions button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 12px;
}
.actions button:last-child {
  color: #c45050;
}
.article {
  display: none;
  padding: 45px 0;
}
.articlebox {
  background: #fff;
  max-width: 820px;
  margin: auto;
  padding: 40px;
}
.article h1 {
  font: 47px/1.05 Fraunces;
  color: var(--navy);
}
.articlebox > img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 8px;
}
.articlebody {
  font: 18px/1.75 Georgia;
  color: #35434d;
}
.back {
  border: 0;
  background: none;
  color: var(--orange);
  font-weight: bold;
}
.share-bar {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-bar button {
  background: #eaf5fc;
  color: var(--blue);
  border: 0;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}
.share-bar button:hover {
  background: var(--blue);
  color: #fff;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #092b4966;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 3;
}
.modal.open {
  display: flex;
}
.modal form {
  background: #fff;
  width: min(650px, 100%);
  padding: 28px;
  max-height: 90vh;
  overflow: auto;
}
.modal h2 {
  font: 26px Fraunces;
  color: var(--navy);
}
form label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: bold;
  margin: 12px 0;
}
form input, form select, form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  margin-top: 6px;
  font: inherit;
}
form textarea {
  min-height: 85px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.formbuttons {
  text-align: right;
  margin-top: 18px;
}
.cancel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 15px;
  margin-right: 8px;
}
@media(max-width: 800px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .utility span:last-child, .search {
    display: none;
  }
  .feature, .admin {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .adminnav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .adminnav h3 {
    display: none;
  }
  .adminnav button {
    white-space: nowrap;
  }
  .articlebox {
    padding: 24px;
  }
  .article h1 {
    font-size: 35px;
  }
  .share-bar {
    flex-wrap: wrap;
  }
}
@media(max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .sidecard {
    grid-template-columns: 115px 1fr;
  }
  .sidecard img {
    width: 115px;
    height: 120px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .subscribe {
    display: block;
  }
  .subscribe button {
    margin-top: 8px;
  }
}