html,
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--color-text); 
  line-height: 1.4;
  background-color: var(--color-bg, #000);
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0;
}

body.admin-bar {
  --wp-admin-bar-height: 32px;
}
html {
  margin-top: var(--wp-admin-bar-height, 0);
}


:where(
  a,
  button,
  input,
  select,
  textarea,
  [role="button"]
):focus-visible:not(input):not(select):not(textarea) {
  outline: 2px dashed #f00;
  outline-offset: 2px;
}


/* WRAPPER CONTAINERS */
.wrapper {
  width: 100%;
  background-color: var(--color-bg);
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: var(--lateral) 1fr var(--lateral);
  grid-template-areas: ". header ." ". main ." "footer footer footer";

}

.wrapper:before,
.wrapper:after {
	content: "";
    background: #9e0000;
    width: 99vw;
    height: 100vh;
    z-index: -1;
    left: 0;
    pointer-events: none;
    opacity: 0.6;
}

 .wrapper:before {
    position: fixed;
    top: 0;
    background: radial-gradient(circle, #9e0000 0%, rgba(0, 0, 0, 0) 30%);
    transform: translateY(-50%) scale(1.5, 0.8);
    aspect-ratio: 1;
}

.wrapper:after {
    position: absolute;
    bottom: 0;
    background: radial-gradient(circle, #9e0000 0%, rgba(0, 0, 0, 0) 50%);
    transform: scale(1, 0.5);
    aspect-ratio: 1;
}



.main {
    min-width: 0;
  grid-area: main;
  width: 100%;
  position: relative;
  z-index: 200;
  margin-bottom: 3rem;
}

.container {
  width: 100%;
  margin: 0 auto;
}


/* HEADER */
.header {
	grid-area: header;
    padding: 4rem 0;
    /*margin-bottom: 3rem;*/
}
.header.variante-uno {
  min-height: 70vh;
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  position: relative;
}
.header.variante-uno::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  z-index: -10;
  filter: brightness(0.3);
}
.header.variante-uno .container {
  background: #000000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0) 89%);
}

.header.variante-dos {
    margin: 0 !important;
    padding: 0 !important;
}

/* FOOTER */

.footer {
  grid-area: footer;
  display: grid;
  grid-template-columns: subgrid;
  padding-bottom: 3rem;
  background: oklch(0.14 0 0 / 0.83);
}
@media (min-width: 768px) {
  .footer {
    padding-bottom: 0;
  }
}
.footer > * {
  grid-area: main;
}

@media (max-width: 639px) {
  .single-post :where(.header, .main) {
    grid-column: 1/-1;
  }
}

.footer_title {
font-weight: 800;
    font-variant: small-caps;
    margin-bottom: 8px;
    font-size: 18px;
    border-bottom: solid 1px #54120e;
}

.footer :where(.menu, .sub-menu, .menu-item-has-children) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer .menu-item-has-children > a {
    color: #fafafa;
        font-weight: 900;
    font-variant: small-caps;
    margin-top: 8px;
    letter-spacing: 1px;
}

.footer a {
    color: #c0c0c0;
    transition: all 200ms ease;
}
.footer a:hover {
    filter: brightness(2);
    text-shadow: 0 0 6px red;
    letter-spacing: 1px;
}

/* BUTTONS */

.btn {
  display: block;
  width: -moz-max-content;
  width: max-content;
  min-width: max-content;
  max-height: 38px;
  border: solid 1px var(--color-primary);
  border-radius: 7px 0 7px 0;
  corner-shape: bevel;
  padding: 8px 16px 6px;
  background-color: #000;
  color: #fff !important;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: filter 0.3s, background-color 400ms;
}
.btn.small {
  font-size: 0.6rem;
  padding: 7px 10px 4px;
}
.btn.active {
    background-color: var(--color-primary);
}
.btn:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgb(0, 0, 0);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  translate: var(--btn-after-x, -100%) 0 0;
  transition: all 0.5s ease-in-out;
}
.btn:hover {
  filter: brightness(0.9);
  --btn-after-x: 100%;
}

.btn > svg {
    height: 24px;
    width: 24px;
    margin: -6px 4px -6px -8px;
}

/*FORMS*/
:where(input, select, textarea) {
    min-height: 38px;
    background-color: var(--color-bg);
    color: var(--color-white);
    border: solid 1px #8e8e8e;
    border-radius: 7px 0 7px 0;
    corner-shape: bevel;
    padding: 8px 16px 6px;
}
:where(input, select, textarea):focus-visible {
    border: solid 1px var(--color-primary) !important;
    outline: none;
}

.checker {
    cursor: pointer;
    position: relative;
    padding: 2px 10px;
    transition: all 300ms;
}
.checker:before {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-block;
    border: solid 1px currentColor;
    margin-right: 4px;
    transition: all 300ms;
}
.checker:has( :checked) {
    background-color: var(--color-primary);
    color: #fff;
}
.checker:has( :checked):before {
    border-radius: 30px;
    background-color: currentColor;
}


/* IDENTITY */

.identity {
  width: var(--sider);
  height: auto;
  position: fixed;
  top: var(--wp-admin-bar-height, 0);
  z-index: 800;
  left: var(--padexp);
  margin-top: var(--side-y, 0);
  transition: all 700ms ease;
  	border-radius: 0 0 12px 0;
	corner-shape: bevel;
}
.identity_title {
  font-size: clamp(11px, 4vw, 16px);
}

/* CONTEXT */

.context {
  position: fixed;
  left: 0;
  z-index: 800;
  width: 100%;
  transition: all 500ms ease;
}
.context.hide {
  opacity: 0;
  --side-x: -50%;
  --side-y: -5%;
}
@media (min-width: 1px) and (max-width: 767px) {
  .context {
    bottom: 0;
    height: 3rem;
    background-color: oklch(14.5% 0 0deg);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .context {
    height: 100vh;
    top: var(--wp-admin-bar-height, 0);
    display: grid;
    grid-template-columns: var(--column) 1fr var(--column);
    grid-template-areas: "ctxl . ctxr";
    pointer-events: none;
  }
  .context > * {
    pointer-events: all;
    transition: all 500ms ease;
  }
  .context_left {
    grid-area: ctxl;
    padding-right: 2rem;
    margin-left: var(--side-x, 0);
  }
  .context_right {
    grid-area: ctxr;
    margin-right: var(--side-x, 0);
  }
}
.context_btn {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    filter: brightness(0.95);
    transition: all 300ms ease;
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.context_btn:hover {
  filter: brightness(2);
    background: #0a0a0a;
}
@media (min-width: 1px) and (max-width: 767px) {
  .context_btn > svg {
    width: auto;
    height: 100%;
  }
}
@media (min-width: 768px) {
  .context_btn > svg {
    width: clamp(1rem, 5vw, 2rem);
    height: auto;
  }
}

/*SHARE*/

.share-box, .maximenu {
    position: fixed;
    z-index: 700;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px) grayscale(1);
    opacity: var(--share-box-op, 0);
    pointer-events: var(--share-box-pe, none);
    transition: all 600ms ease;
    padding: 0 var(--column);
}
:where(.share-box, .maximenu).show {
    --share-box-op: 1;
    --share-box-pe: all;
}

/*MAXIMENU*/
.maximenu {
    
}