/*
Theme Name: Ursus Custodes
Theme URI: https://github.com/aiwirepo-gif/custus
Author: José UX
Description: Tema oficial de Ursus Custodes para un club de combate medieval y Buhurt.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ursus-custodes
*/

:root {
  --ursus-bg: #090a0f;
  --ursus-surface: #0d0f17;
  --ursus-border: #1e293b;
  --ursus-primary: #35387d;
  --ursus-text: #f8fafc;
  --ursus-muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ursus-bg);
  color: var(--ursus-text);
  font-family: "Rubik", sans-serif;
}

body.admin-bar #root > div > header {
  top: 32px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: #fff;
  background: var(--ursus-primary);
}

.wp-theme-header,
.wp-theme-footer,
.wp-content-shell {
  box-sizing: border-box;
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.wp-theme-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--ursus-border);
}

.wp-theme-brand {
  color: #fff;
  font-family: "Germania One", cursive;
  font-size: 1.5rem;
  text-decoration: none;
}

.wp-theme-header .custom-logo {
  width: auto;
  max-height: 72px;
}

.wp-theme-menu,
.wp-theme-menu ul {
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wp-theme-menu a {
  color: #cbd5e1;
  text-decoration: none;
}

.wp-theme-menu a:hover,
.wp-theme-menu a:focus-visible {
  color: #a5b4fc;
}

.wp-content-shell {
  min-height: 65vh;
  padding-block: 72px;
}

.wp-entry {
  padding: 32px;
  margin-bottom: 24px;
  background: var(--ursus-surface);
  border: 1px solid var(--ursus-border);
}

.wp-entry-title {
  margin-top: 0;
  color: #fff;
  font-family: "Germania One", cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.wp-entry-title a {
  color: inherit;
  text-decoration: none;
}

.wp-entry-content {
  color: #cbd5e1;
  line-height: 1.75;
}

.wp-entry-content a {
  color: #a5b4fc;
}

.wp-theme-footer {
  padding-block: 32px;
  color: var(--ursus-muted);
  border-top: 1px solid var(--ursus-border);
}

@media (max-width: 782px) {
  body.admin-bar #root > div > header {
    top: 46px;
  }

  .wp-theme-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .wp-theme-menu,
  .wp-theme-menu ul {
    flex-wrap: wrap;
  }
}
