:root {
  --site-primary: #9DC4B5;
  --site-primary-light: #BAD9A2;
  --site-gray: #565264;
  --site-secondary: #246A73;
  --site-tertiary: #93A392;
  --site-quarternary: #E2EB98;
  --site-white: #EFF9F0;
  --site-platinum: #EFF9F0;
  --site-danger: #D7263D;
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

h1 {
  font-size: 3rem;
  margin: 20px 0;
}
h1.center {
  text-align: center;
  width: 100%;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 10px 0;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 10px 0;
}

#block-dchadwick-primary-local-tasks {
  width: auto;
  padding: 20px 0;
  background: var(--site-secondary);
}
#block-dchadwick-primary-local-tasks > ul {
  margin: 0;
  display: flex;
  justify-content: center;
  list-style-type: none;
  gap: 5px;
}
#block-dchadwick-primary-local-tasks > ul li a {
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--site-primary);
  color: var(--site-white);
  transition: all 0.2s ease;
}
#block-dchadwick-primary-local-tasks > ul li a:hover {
  background: var(--site-tertiary);
  color: var(--site-primary);
}

.btn {
  padding: 0;
}

.btn-primary a {
  background: var(--site-primary) !important;
  color: var(--site-white);
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}
.btn-primary a:hover {
  background: var(--site-white);
  color: var(--site-secondary);
}

header#header {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0.5rem;
  border-top: 5px solid transparent;
  border-bottom: 5px solid var(--site-secondary);
  background: var(--site-primary);
}
header#header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header#header .region-navigation {
  width: 100%;
}
header#header #block-dchadwick-site-branding a {
  white-space: nowrap;
  color: var(--site-secondary);
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
header#header #block-dchadwick-site-branding a:hover {
  color: var(--site-white);
}
header#header #block-dchadwick-main-menu > ul {
  display: flex;
  flex-direction: row !important;
}
header#header #block-dchadwick-main-menu > ul li:not(:last-child) {
  border-right: 2px solid var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a {
  color: var(--site-white);
  padding: 0 1rem;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
header#header #block-dchadwick-main-menu > ul a:hover {
  color: var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a.is-active {
  color: var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a.is-active:hover {
  color: var(--site-white);
}

#footer {
  display: flex;
  background: var(--site-primary);
  color: var(--site-secondary);
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin-top: 50px;
  box-shadow: 0 50vh 0 50vh var(--site-primary);
}
#footer h2 {
  color: white !important;
}
#footer p {
  margin: 0;
}

.table {
  width: auto;
  margin: auto;
  border-collapse: collapse;
  font-size: 0.9em;
  min-width: 800px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.table.cols-5 {
  width: 1300px;
}
.table th, .table td {
  padding: 12px 15px;
}
.table thead {
  border-radius: 5px 5px 0 0;
}
.table thead tr > th {
  color: var(--site-white);
}
.table thead tr > th.win {
  background: var(--site-secondary);
}

.hero-slide {
  height: 600px;
  overflow: hidden;
  position: relative;
}
.hero-slide .hero-bground::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.hero-slide video {
  position: absolute;
  top: -50px;
  left: 0;
}

.hero-caption-wrapper {
  position: relative;
  height: 100%;
}

.hero-caption {
  z-index: 2;
  width: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  background: var(--site-tertiary);
  padding: 2rem;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .hero-caption {
    width: 100%;
    top: unset;
    transform: none;
    left: 0;
    bottom: 0;
    border-radius: 0;
  }
}
.hero-caption__text {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--site-white);
}
.hero-caption__text p {
  color: var(--site-white);
  margin: 0;
}

#recent-fights > div {
  grid-gap: 5px;
  justify-content: space-evenly;
}

#block-dchadwick-recentfightsblock h2, .block-recent-fights-block h2 {
  text-transform: uppercase;
  font-size: 2.4rem;
  text-align: center;
  width: 100%;
  margin: 50px 0;
}
@media screen and (min-width: 1024px) {
  #block-dchadwick-recentfightsblock .card, .block-recent-fights-block .card {
    flex: 1 0 21%;
  }
}
#block-dchadwick-recentfightsblock .fightcard-img, .block-recent-fights-block .fightcard-img {
  height: 60px;
  border-radius: 50%;
}
#block-dchadwick-recentfightsblock .card-header, .block-recent-fights-block .card-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-flow: wrap;
}
#block-dchadwick-recentfightsblock .card-body, .block-recent-fights-block .card-body {
  text-align: center;
}
#block-dchadwick-recentfightsblock .card-body h4, .block-recent-fights-block .card-body h4 {
  font-size: 1.2rem;
}
@media screen and (max-width: 767px) {
  #block-dchadwick-recentfightsblock .card-body h4, .block-recent-fights-block .card-body h4 {
    font-size: 0.8rem;
  }
}

#fighter__personal-info .fieldset-wrapper, #fighter__stats .fieldset-wrapper {
  display: flex;
  flex-flow: wrap;
  justify-content: space-evenly;
}
#fighter__stats .fieldset-wrapper > div {
  flex-basis: 20%;
}

#fighter h2 {
  text-align: center;
  font-size: 3rem;
  margin: 4rem 0;
  text-transform: uppercase;
}
#fighter span.label {
  font-size: 1.2rem;
  font-weight: 300;
}
#fighter .data-wrapper {
  margin: 1rem;
}
#fighter .datapoint {
  font-size: 2rem;
}
#fighter__hero {
  color: var(--site-secondary);
  display: flex;
  flex-flow: wrap;
  padding: 2rem 0;
  justify-content: space-evenly;
  align-items: center;
}
#fighter__text {
  text-align: center;
  background: var(--site-primary);
  padding: 2rem 3rem;
  border: 1px solid;
}
#fighter__text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2.4rem;
}
#fighter__personal {
  display: flex;
  flex-flow: wrap;
  justify-content: space-evenly;
  text-align: center;
}
#fighter__stats {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  text-align: center;
}

h2#fight-history {
  text-align: center;
  color: var(--site-primary);
  font-size: 3rem;
  margin: 2rem 0;
  text-transform: uppercase;
}

table.cols-2 {
  margin: auto;
  width: auto;
  text-align: center;
  color: var(--site-secondary);
}
table.cols-2 thead tr {
  font-size: 1.6rem;
  background: var(--site-primary) !important;
}
table.cols-2 thead tr th {
  padding: 10px 0;
}
table.cols-2 tr:nth-child(odd) {
  background: var(--site-primary);
}
table.cols-2 tr:nth-child(odd) a {
  color: var(--site-secondary);
}
table.cols-2 tbody > tr > td {
  padding: 1rem;
}
table.cols-2 tbody > tr > td a {
  text-decoration: none;
}

td.loss {
  background: var(--site-danger);
  --bs-table-striped-color: #eb6f92;
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}
td.loss a {
  color: white !important;
}

td.win {
  background: var(--site-primary);
}
td.win a {
  color: white !important;
}

.page-node-type-fighter .table > :not(caption) > * > * {
  box-shadow: none !important;
}

.view-all-fighters .view-content {
  display: flex;
  flex-flow: wrap;
}
.view-all-fighters .view-content .card img {
  max-height: 214px;
}
.view-all-fighters .view-content .btn-dark {
  margin-left: 0;
}
.view-all-fighters .view-content .btn-dark a {
  text-decoration: none;
}

.page-node-type-fight h1 {
  text-align: center;
}
.page-node-type-fight #block-dchadwick-content {
  display: flex;
  justify-content: center;
}
.page-node-type-fight th {
  padding: 1rem 1rem 0 1rem !important;
  text-align: center;
}
.page-node-type-fight th a {
  text-decoration: none;
}
.page-node-type-fight th.win {
  color: white;
  background: var(--site-secondary);
}

#compare-fighters img {
  max-width: 100px;
}

table.cols-5 {
  border-spacing: 2rem 0;
  margin-top: 2rem;
}
table.cols-5 thead {
  text-align: left;
}
table.cols-5 tbody tr:nth-child(odd) {
  background: var(--site-secondary);
}
table.cols-5 td {
  padding: 5px 0;
}
table.cols-5 td.correct {
  background: var(--site-tertiary);
  color: white;
}
table.cols-5 td.incorrect {
  background: var(--site-danger);
  color: white;
}

.node-type-article .hero {
  padding: 30px 0;
}
.node-type-article .article-intro h1 {
  margin: 0;
  font-size: 56px;
  color: var(--site-white);
}
.node-type-article #article-body {
  display: block;
  margin-top: 20px;
}
.node-type-article .left-side {
  display: inline-block;
  width: 75%;
}
.node-type-article .left-side .article-info {
  background: var(--site-platinum);
  padding: 10px;
  gap: 20px;
  display: inline-flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 14px;
  color: var(--site-gray);
  margin-bottom: 10px;
  border-radius: 10px;
}
.node-type-article .left-side .article-info .info-item {
  display: flex;
  align-items: center;
}
.node-type-article .left-side .article-info .info-item span {
  margin-right: 3px;
  color: var(--site-primary);
}
.node-type-article .left-side p {
  font-size: 16px;
  line-height: 24px;
}
.node-type-article .left-side img {
  border-radius: 10px;
}
.node-type-article .right-side {
  display: inline-block;
  vertical-align: top;
  width: 24%;
  text-align: left;
  right: 0;
}
.node-type-article .right-side ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  margin-left: 5px;
  padding-left: 10px;
  border-left: 2px solid var(--site-primary);
}
.node-type-article .right-side ul li {
  display: inline-block;
  width: 100%;
}
.node-type-article .right-side ul li a {
  display: inline-block;
  margin-left: 20px;
  width: 100%;
  margin: 20px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-decoration-thickness: 0px;
}
.node-type-article .right-side ul li a:hover {
  color: var(--site-gray);
  text-decoration: underline;
  text-decoration-thickness: 5px;
}
.node-type-article .right-side.fixed-sidebar {
  position: fixed;
  top: 0;
  right: 34px;
}

.node-type-snippet .body {
  position: relative;
}
.node-type-snippet .copy {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 10px;
  border-radius: 50%;
  background: var(--site-tertiary);
  color: var(--site-primary);
  cursor: pointer;
  transition: all 250ms ease;
}
.node-type-snippet .copy:hover {
  background: var(--site-primary);
  color: var(--site-white);
}

#block-dchadwick-breadcrumbs {
  background: var(--site-gray);
}
#block-dchadwick-breadcrumbs ol {
  max-width: 1300px;
  margin: 0 50px;
  padding: 10px 0;
  list-style: none;
  display: flex;
  gap: 10px;
}
#block-dchadwick-breadcrumbs ol li:not(:last-child):after {
  content: "/";
  display: inline-block;
  position: relative;
  margin-left: 10px;
}
#block-dchadwick-breadcrumbs ol a, #block-dchadwick-breadcrumbs ol li {
  color: var(--site-platinum);
  font-size: 14px;
}

.node-type-character .layout--twocol-section {
  gap: 20px;
}
.node-type-character .layout--twocol-section .layout__region--first {
  flex: 0 1 calc(67% - 20px);
}
.node-type-character .layout--twocol-section .layout__region--first h1 {
  margin-bottom: 5px;
  background: var(--site-primary);
  color: var(--site-platinum);
  padding: 0 10px;
}
.node-type-character .layout--twocol-section .layout__region--first h3 {
  margin: 0;
  font-style: italic;
  font-size: 16px;
  color: var(--site-gray);
  display: inline-block;
  padding: 0 10px;
}
.node-type-character .layout--twocol-section .layout__region--second {
  flex: 0 1 calc(33% - 20px);
  text-align: center;
}
.node-type-character .layout--twocol-section .layout__region--second [class^=field] > div:first-child {
  background: var(--site-gray);
  color: var(--site-white);
  font-size: 18px;
  font-weight: 900;
  padding: 5px 0;
}
.node-type-character .layout--twocol-section .layout__region--second [class^=field] div:nth-child(2) {
  padding: 5px 0;
  color: var(--site-gray);
}
.node-type-character .layout__region--first p {
  font-size: 18px;
  line-height: 24px;
}

.margin-1 {
  margin: 1rem;
}
.margin-2 {
  margin: 2rem;
}

.m-top-1 {
  margin-top: 1rem;
}
.m-top-2 {
  margin-top: 2rem;
}

.m-bottom-1 {
  margin-bottom: 1rem;
}
.m-bottom-2 {
  margin-bottom: 2rem;
}

.padding-1 {
  padding: 1rem;
}
.padding-2 {
  padding: 2rem;
}

.p-topbottom-1 {
  padding: 1rem 0;
}
.p-topbottom-2 {
  padding: 2rem 0;
}

html {
  font-size: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.region-content {
  padding: 0;
}

body {
  background: var(--site-white);
  color: var(--site-primary);
  font-family: "Ubuntu", sans-serif;
  margin: auto;
}

a {
  color: var(--site-gray);
  text-decoration: none;
  cursor: pointer;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

p {
  color: var(--site-gray);
}

.container {
  max-width: 1300px;
  margin: auto;
}
@media screen and (max-width: 1300px) {
  .container {
    margin: 0 50px;
  }
}

blockquote {
  font-style: italic;
  border-left: 1px solid var(--site-primary);
  padding-left: 20px;
}

pre, code {
  display: block;
  max-width: 100%;
  white-space: pre;
  overflow-x: auto;
  background: var(--site-gray);
  padding: 1rem;
}

pre {
  margin: 0;
}

code {
  display: block;
}

/* Container to line up radios nicely */
#views-exposed-form-snippets-block-1 fieldset {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  border: none;
}

/* Hide the default radio input */
#views-exposed-form-snippets-block-1 fieldset input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #6c9e9b; /* soft green border */
  border-radius: 50%;
  background: #f2f7f5; /* light background */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* Hover effect */
#views-exposed-form-snippets-block-1 fieldset input[type=radio]:hover {
  border-color: #4a7a77;
}

/* Checked state with a modern filled circle */
#views-exposed-form-snippets-block-1 fieldset input[type=radio]:checked {
  border-color: #4a7a77;
  background: #6c9e9b;
}

#views-exposed-form-snippets-block-1 fieldset input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Label styling */
#views-exposed-form-snippets-block-1 fieldset label {
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  user-select: none;
}

#views-exposed-form-snippets-block-1 fieldset .form-item {
  margin: 0 10px;
}