:root {
  --ow-bg: #f7f4ee;
  --ow-surface: #ffffff;
  --ow-surface-strong: #111827;
  --ow-text: #19202a;
  --ow-muted: #5b6472;
  --ow-line: #d9d2c6;
  --ow-blue: #135e96;
  --ow-blue-strong: #0b4069;
  --ow-gold: #b7862d;
  --ow-green: #2f6f5f;
  --ow-radius: 8px;
  --ow-shadow: 0 18px 45px rgb(30 42 59 / 13%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ow-bg);
  color: var(--ow-text);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--ow-blue-strong);
}

.ow-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.ow-site-header,
.ow-site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.ow-site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--ow-line);
  color: var(--ow-muted);
  font-size: 15px;
}

.ow-brand,
.ow-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ow-brand {
  color: var(--ow-text);
  font-weight: 800;
  text-decoration: none;
}

.ow-brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ow-surface-strong);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.ow-nav {
  flex-wrap: wrap;
}

.ow-nav a,
.ow-button,
.ow-actions a,
.ow-actions button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 9px 14px;
  background: var(--ow-surface);
  color: var(--ow-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.ow-nav a:hover,
.ow-button:hover,
.ow-actions a:hover,
.ow-actions button:hover {
  border-color: var(--ow-blue);
  color: var(--ow-blue-strong);
}

.ow-main {
  min-height: 70vh;
}

.ow-content {
  padding: 8px 0 40px;
}

.ow-entry-content > * + * {
  margin-top: 28px;
}

.ow-hero,
.ow-section,
.ow-media-detail,
.ow-browse-panel {
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  background: var(--ow-surface);
  box-shadow: var(--ow-shadow);
}

.ow-hero {
  display: grid;
  min-height: 420px;
  align-content: end;
  padding: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(140deg, rgb(12 22 35 / 88%), rgb(19 94 150 / 76%)),
    radial-gradient(circle at 88% 14%, rgb(183 134 45 / 58%), transparent 34%),
    #18202b;
  color: #fff;
}

.ow-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.ow-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 21px;
}

.ow-kicker {
  margin: 0 0 12px;
  color: var(--ow-gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ow-section,
.ow-browse-panel,
.ow-media-detail {
  padding: clamp(24px, 4vw, 42px);
}

.ow-section h2,
.ow-browse-panel h2,
.ow-media-detail h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.ow-section > p,
.ow-browse-panel > p,
.ow-media-detail > p {
  max-width: 760px;
  color: var(--ow-muted);
}

.ow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ow-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 20px;
  background: #fff;
}

.ow-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

.ow-card p {
  margin: 0;
  color: var(--ow-muted);
}

.ow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ow-actions a:first-child,
.ow-actions button:first-child,
.ow-button-primary {
  border-color: var(--ow-blue);
  background: var(--ow-blue);
  color: #fff;
}

.ow-actions input[type="search"] {
  min-width: min(100%, 320px);
  min-height: 44px;
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-radius);
  padding: 9px 12px;
  background: #fff;
  color: var(--ow-text);
  font: inherit;
}

.ow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.ow-meta li {
  border: 1px solid var(--ow-line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fbfaf7;
  color: var(--ow-muted);
  font-size: 14px;
  font-weight: 700;
}

.ow-player {
  min-height: 280px;
  display: grid;
  place-items: center;
  border-radius: var(--ow-radius);
  background: linear-gradient(135deg, #101827, #123d64);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .ow-site-header,
  .ow-site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ow-nav {
    width: 100%;
  }

  .ow-nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .ow-hero {
    min-height: 360px;
  }
}
