/* 
=================================================
	Theme Name: MASUNO
	Author: INTRES SPA - Oscar Madrid V.
	Author URI: masuno.cl
	Description: Tema diseñado y desarrollado para masuno.cl
	Version: 1.0.0
=================================================
*/


/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/* Variables */
:root {
  --primary: #e30917;
  --text: #1A1A1A;
}

::selection {
  background: var(--primary); /* Color de fondo deseado (ejemplo: azul) */
  color: white; /* Color del texto seleccionado (ejemplo: blanco) */
 }

body {
  font-family: "Montserrat", sans-serif;
  background-color: #fff; 
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 300
}

body.logged-in {
  position: relative
}

img {
  border: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1
}

b,
strong {
  font-weight: 600
}

a {
  color: var(--text)
}
a:hover {
  text-decoration: none
}

label {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 3px !important
}

textarea {
  height: 230px !important
}

.form-control {
  height: 50px
}

input:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--primary) !important;
  border-bottom-width: 2px
}

button:focus {
  border: 0
}

button,
input[type="submit"],
.btn,
.wp-block-button__link,
.button {
  position: relative;
  border-radius: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 0;
  font-weight: 300;
  font-size: 16px;
  text-transform: uppercase;
  padding-left: 30px;
  padding-right: 30px;
  height: 50px
}

button:before,
input[type="submit"]:before,
.btn:before,
.wp-block-button__link:before,
.button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2)
  );
  transform: skewX(-25deg);
}

button:hover:before,
input[type="submit"]:hover:before,
.btn:hover:before,
.wp-block-button__link:hover:before,
.button:hover:before {
  animation: brillo 1s ease forwards;
}

@keyframes brillo {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  filter: brightness(1.1);
  transform: scale(1.1)
}

.btn-primary,
.btn-primary:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important
}

small {
  font-size: 12px
}

iframe,
embed {
  border: 0
}

.wrapper {
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center
}

.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2) !important;
  margin-right: calc(-100vw / 2 + 100% / 2) !important;
  max-width: 100vw !important;
  flex-basis: auto !important
}

.gap-30,
.gap-30 > .innerblocks-wrap {
  column-gap: 30px;
  gap: 30px
}

.gap-10,
.gap-10 > .innerblocks-wrap {
  column-gap: 10px;
  gap: 10px
}


/*
====================
     HEADER
====================
*/

header {
  margin: 10px 0 30px
}

.logotipo {
  margin: 0
}

.logotipo img {
  width: 100%;
  max-width: 80px
}


/* Menú */

.navbar-toggler {
  color: var(--primary);
  border: 0;
  padding: 0;
  height: 48px;
  width: 48px;
  font-size: 32px;
  -webkit-transition: all linear 0.15s;
  -moz-transition: all linear 0.15s;
  transition: all linear 0.15s
}

.navbar-toggler:hover {
  background-color: var(--primary);
  color: #fff
}

ul.navbar-nav {
  gap: 30px
}

ul.navbar-nav a {
  color: var(--text)
}

ul.navbar-nav a:after {
  content: "";
  display: block;
  margin: -3px auto 0;
  width: 0;
  border-top: 1px solid var(--primary);
  transition: all 0.3s ease
}

ul.navbar-nav .current-post-ancestor > a:after,
ul.navbar-nav .current-cat > a:after,
ul.navbar-nav .current-menu-item > a:after,
ul.navbar-nav .current-menu-ancestor > a:after,
ul.navbar-nav .current-page-item > a:after,
ul.navbar-nav .current-page-ancestor > a:after,
ul.navbar-nav .current-category-ancestor > a:after,
ul.navbar-nav .current-menu-item:hover > a:after,
ul.navbar-nav .current-menu-ancestor:hover > a:after,
ul.navbar-nav .current-page-item:hover > a:after,
ul.navbar-nav .current-page-ancestor:hover > a:after,
ul.navbar-nav li a:hover:after {
  width: 100%
}



/*
====================
       FOOTER
====================
*/

footer {
  padding: 15px 0
}

footer a {
  color: var(--text)
}

footer a:after {
  content: "";
  display: block;
  margin: -3px auto 0;
  width: 0;
  border-top: 1px solid var(--primary);
  transition: all 0.3s ease
}

footer a:hover:after {
  width: 100%
}



/*
======================
     BREADCRUMBS
======================
*/

ul.breadcrumbs {
  position: relative;
  z-index: 50;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: start;
  justify-content: start;
  margin-bottom: 25px !important;
  gap: 10px
}

.container--content-details ul.breadcrumbs {
  -ms-flex-pack: center;
  justify-content: center
}

ul.breadcrumbs li {
  font-size: 12px;
  margin-bottom: 0
}

ul.breadcrumbs li a {
  color: var(--primary);
  margin-bottom: 0
}



/*
====================
     CONTACTO
====================
*/

.wpcf7 p {
  margin-bottom: 0 !important
}

.wpcf7-spinner {
  float: left;
  margin: 13px 24px 13px 0 !important
}

.wpcf7 form .wpcf7-response-output {
  border: 0 !important;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  border-radius: .25rem
}

.wpcf7 form.sent .wpcf7-response-output {
  background: #46b450; /* Green */
  color: #fff
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: #dc3232; /* Red */
  color: #fff !important
}

.wpcf7 form.spam .wpcf7-response-output {
  background: #f56e28; /* Orange */
  color: #fff
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #ffb900;
  color: #000
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  text-transform: uppercase;
  color: #dc3232;
  margin-top: 5px;
  margin-bottom: 0 !important
}



/*
===================
     HOMEPAGE
===================
*/

.container--content-home {
  text-align: center
}

.container--content-home img,
.container--content-home p {
  margin-bottom: 0
}



/*
======================
      CATEGORÍAS
======================
*/

.category h1 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 30px
}

.container--box-info {
  position: relative;
  margin-bottom: 30px;
  transition: all 0.3s ease
}

.container--box-info:hover {
  transform: scale(1.03)
}

.container--box-info h2 {
  font-size: 19px;
  text-transform: uppercase;
  text-align: center
}

.container--box-info figure {
  margin-bottom: 15px
}

.container--box-info figure img {
  display: block
}

.container--box-info.posts figure {
  position: relative;
  margin-bottom: 0
}

.container--box-info.posts figure:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 40%;
  background: linear-gradient(0deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: all 0.3s ease
}

.container--box-info.posts h2 {
  position: absolute;
  bottom: -20px;
  left: 15px;
  right: 15px;
  opacity: 0;
  transition: all 0.3s ease
}

.container--box-info.posts h2 a {
  color: #fff
}

.container--box-info.posts:hover h2 {
  bottom: 20px;
  opacity: 1
}

.container--box-info.posts:hover figure:after {
  opacity: 1
}



/*
======================
     PAGINACIÓN
======================
*/

.pagination {
  margin-top: 30px;
  margin-bottom: 100px;
  font-size: 15px
}

.pagenavi ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  gap: 5px;
  column-gap: 5px
}

.pagenavi li {
  display: -ms-flexbox;
  display: flex !important;
}

.pagenavi li a {
  cursor: pointer;
  display: block;
  color: var(--morado);
  padding: 8px 15px
}

.pagenavi li.current a {
  background-color: var(--morado);
  color: #fff
}

.pagenavi li a:hover {
  background-color: var(--moradoClaro);
  color: white
}



/*
===========================
        SINGLE/PAGE
===========================
*/

.container--content-details {
  margin-bottom: 60px
}

.container--content-details h1 {
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px
}

.container--content-details p {
  margin-bottom: 30px
}

.container--content-details figcaption {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase
}



/*
===================
       ERROR
===================
*/

.container--text-error_404 {
  text-align: center
}

.container--text-error_404 *{
  margin-bottom: 20px
}

.container--text-error_404 h1 {
  color: var(--text);
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  text-transform: uppercase
}

.container--text-error_404 p {
  margin-bottom: 50px
}