/*
Theme Name: Mystic AG
Theme URI: https://tusitio.com/mystic-ag
Author: Tu Nombre
Author URI: https://tusitio.com
Description: Tema de bloques personalizado para WordPress.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mystic-ag
*/

* {
  box-sizing: border-box !important;
}

body,
html {
  overflow-x: hidden;
}

a,
a:hover {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

dl,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
pre,
ul {
  margin-top: 0;
}

address,
dl,
ol,
p,
pre,
ul {
  margin-bottom: 1rem;
}

img,
svg {
  vertical-align: middle;
}

body,
caption {
  text-align: left;
}

pre,
textarea {
  overflow: auto;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
legend,
main,
nav,
section {
  display: block;
}

dd,
h1,
h2,
h3,
h4,
h5,
h6,
label,
legend {
  margin-bottom: 0.5rem;
}

h3 > strong{
  font-weight: bold;
}


address,
legend {
  line-height: inherit;
}

progress,
sub,
sup {
  vertical-align: baseline;
}

a,
summary {
  cursor: pointer;
}


body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  background-color: #f4f4f4;
  background-repeat: repeat;
}

.container,
.container-fluid {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }

  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.text-center{
  text-align: center;
}

.header__top {
  padding: 8px 0;
  background: #08c;
}

.header__top .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.header__top .searchform {
  border: 1px solid #000;
  background: #fff;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}

.header__top .searchform input[type="text"] {
  flex-grow: 1;
  height: 40px;
  line-height: 40px;
  border: none;
  background: 0 0;
  padding: 0 16px;
  font-size: 14px;
}

.header__top .searchform button {
  border: none;
}

.header__top .searchform button,
.notfound_search .searchform input[type="submit"] {
  padding: 0 12px;
  height: 40px;
  line-height: 0px;
  background: 0 0;
  cursor: pointer;
}

.header__navigation {
  height: 48px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0;
}

.header__navigation ul {
  gap: 0;
}

.header__navigation ul li a {
  font-size: 14px;
  color: #000 !important;
}

.mystic-main-menu-mobile .main-menu-mobile {
  border: 1px solid #ccc;
  width: 100%;
  display: block;
  line-height: 30px;
  padding: 0 8px;
  background-color: #fff;
  border-radius: 0;
  height: 30px;
  font-size: 14px;
  background-image: url(../images/mobile-menu-arrow.png);
  background-position: right 7px;
  background-repeat: no-repeat;
}

.header__navigation ul > li {
  padding-right: 20px;
  position: relative;
}

.header__navigation ul > li a {
  color: #000;
  font-weight: 300;
  opacity: 1;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--oswald);
  white-space: nowrap;
}

.header__navigation ul > li a:hover {
  opacity: 0.5;
}

.header__navigation ul ul {
  display: none;
  position: absolute;
  background: #fff;
  top: 30px;
  padding: 4px 12px;
  min-width: 160px;
  z-index: 999;
  margin: 0 0 0 10px;
  left: auto;
  border: 1px solid #ccc !important;
  border-radius: 2px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

.header__navigation ul ul a {
  white-space: nowrap;
  padding: 5px 0;
  font-size: 13px;
  display: block;
}

.header__navigation ul ul:before {
  position: absolute;
  top: -7px;
  left: 9px;
  z-index: 999;
  display: inline-block;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(0, 0, 0, 0.2);
  border-left: 7px solid transparent;
  content: "";
}

.header__navigation ul ul:after {
  position: absolute;
  top: -6px;
  left: 10px;
  z-index: 1000;
  display: inline-block;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  border-left: 6px solid transparent;
  content: "";
}

@media (max-width: 576px) {
  .header__top .searchform {
    margin: 0 1rem;
  }
}

@media (max-width: 767.99px) {
  .mystic-main-menu-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .mystic-main-menu-mobile {
    display: none;
  }
  .mystic-main-menu-desktop {
    display: flex;
  }
  .header__top .searchform {
    margin-top: 1rem;
    flex-grow: 0;
  }
  .header__top .searchform input[type="text"] {
    width: 156px;
    box-sizing: content-box !important;
  }
}

@media (min-width: 992px) {
  .header__navigation ul li a {
    font-size: 15px;
  }

  .header__top .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .header__top .searchform {
    margin-top: 0;
    flex-grow: 0;
    width: auto;
  }
}

@media (min-width: 1200px) {
  .header__navigation ul {
    font-size: 16px;
  }
}

.category__header {
  margin: 20px 0 10px;
  padding: 20px;
  background-color: white;
}

.category__header h1,
.archive .category__header h1
{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.archive .category__header p{
  color: #000000;
  font-size: 16px;
  margin-top: 10px !important;
  margin-bottom: 0;
  text-align: center;
}
    

.category__header h2 {
  border-bottom: none;
  font-weight: 300;
  color: #444;
  text-align: center;
  letter-spacing: -1px;
  font-size: 36px !important;
  margin: 10px 0 0;
}

.coursera-highlight {
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  background-color: #e6f4ff;
  padding: 15px 20px;
  border-radius: 8px;
}

.highlighted {
  background-color: gold;
  padding: 5px;
  border-radius: 5px;
  color: #000;
  font-weight: 700;
}

.category__header .universities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.category__header .universities .university {
  margin-right: 2rem;
}

/*============================*/
/* Posts
===============================*/

.category__posts {
  display: flex;
  flex-wrap: wrap;
}

.components__post-block {
  background: #fff;
  position: relative;
  padding-bottom: 46px;
  box-shadow: 0 0 1px 0 #aaa, 0 2px 0 0 #999, 0 5px 10px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}
.components__post-block__header {
  display: block;
}
.components__post-block__header .image-wrapper {
  position: relative;
}
.components__post-block__header__overlay {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  transition: 0.3s ease-in-out;
  font-size: 48px;
}
.components__post-block__header h2 {
  font-size: 25px;
  line-height: 28px;
  text-transform: uppercase;
  padding: 15px 15px 0;
  margin: 0 0 15px;
}
.components__post-block__header img {
  width: 100%;
  height: auto;
}
.components__post-block__excerpt p {
  padding: 15px;
  font-size: 14px;
  color: #666;
}

.components__post-block__excerpt p:first-of-type {
  margin-top: 0;
}

.components__post-block__excerpt a,
dt {
  font-weight: 700;
}
.components__post-block__actions {
  min-height: 46px;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #999;
  text-align: center;
  font-size: 11px;
  display: flex;
  justify-content: space-around;
}
.components__post-block.grid-item {
  margin: 10px;
  width: calc(25% - 21px);
}

.components__post-block__actions {
  min-height: 46px;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #999;
  text-align: center;
  font-size: 11px;
  display: flex;
  justify-content: space-around;
}

.components__post-block__actions div {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1199.98px) {
  .components__post-block.grid-item {
    width: calc(33.33% - 21px);
  }
}
@media (max-width: 991.98px) {
  .components__post-block.grid-item {
    width: calc(50% - 21px);
  }
  .header__top__brand {
    text-align: center;
    margin: 1em 0;
  }
  .components__post-block__header h2 {
    font-family: Oswald;
    font-weight: 300;
    font-display: optional;
  }
}
@media (max-width: 575.98px) {
  .components__post-block.grid-item {
    width: calc(100% - 21px);
  }
}
.components__post-block.item-loading {
  opacity: 0;
}

@media (min-width: 992px) {
  .components__post-block__header img {
    width: 100%;
    max-width: 300px;
    height: 180px;
    object-fit: cover;
  }
}

/*==========
* Footer 
============*/

.footer {
  padding: 0 0 30px;
  background-color: #fff;
}
.footer__colophon {
  padding: 30px 0 30px;
  background-color: #fff;
}
.footer_colophon__top {
  display: flex;
  gap: 30px;
}

@media (max-width: 576px) {
  .footer_colophon__top {
    padding: 0 0.6rem;
  }
}

.footer__colophon ul {
  margin: 5px 0 0;
  padding: 0;
}
.footer__colophon ul li {
  position: relative;
  padding: 4px 0 4px 15px;
  border-bottom: 1px dotted #333;
  list-style: none;
  font-size: 14px;
}
.footer__colophon ul li:before {
  content: "\f054";
  position: absolute;
  font-family: FontAwesome;
  left: 0;
  top: 7px;
  font-size: 9px;
  color: #bbb;
}
.footer__colophon ul li span,
.sidebar ul li span {
  color: #666;
}
.footer__colophon ul li li {
  border-bottom: none;
}

.footer__bottom {
  background: #eaeaea;
  padding: 15px 0;
  border-top: 1px solid #d2d2d2;
}

.category__actions,
.category__header,
.post__single,
.sidebar {
  background: #fff;
  box-shadow: 0 0 1px 0 #aaa, 0 2px 0 0 #999, 0 5px 10px rgba(0, 0, 0, 0.25);
}
.footer__bottom ul {
  display: flex;
  list-style: none;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
}
.footer__bottom ul li {
  border-right: 1px dotted rgba(0, 0, 0, 0.5);
}
.footer__bottom ul li:last-child a {
  padding-right: 0;
}
.footer__bottom ul li a {
  font-weight: 300;
  color: #666;
  padding: 0 10px;
}
.footer__bottom ul li a:hover {
  color: #000;
}

.footer h3 {
  font-family: var(--wp--preset--font-family--oswald);
  font-weight: bold;
  padding: 5px;
  border-bottom: 1px solid #333;
  color: #fff;
  line-height: 20px;
  font-size: 14px;
  background-color: #08c;
  margin: 30px 0 15px;
  text-transform: uppercase;
}

.footer-posts-list li {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.footer-posts-list li time {
  font-size: 14px;
  margin-left: 5px;
}

.footer_colophon__logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.footer_colophon__logos-list figure {
  height: 40px;
  width: 25%;
  vertical-align: middle;
}

.footer_colophon__logos-list img {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
}

/* Social Icons */
.components__follow-us {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.components__follow-us figure {
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  font-size: 14px;
  margin: 0 2.5px;
  opacity: 1;
}

.components__follow-us figure:first-of-type {
  margin-left: 0;
}

.components__follow-us figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
}

.social-icon-aprendergratis img {
  width: 14px;
  height: 14px;
  filter: invert();
  margin-top: -3px;
}
.components__follow-us a.facebook {
  background: #3b5998;
}

.components__follow-us a.youtube {
  background: #fe0001;
}

.components__follow-us a.google {
  background: #db4437;
}

.components__follow-us a.linkedin {
  background: #007bb5;
}

.components__follow-us a.pinterest {
  background: #bd081c;
}

.components__follow-us a.whatsapp {
  background: #25d366;
}

.components__follow-us a.twitter {
  background: #1da1f2;
}

.footer__bottom {
  display: none;
  background: #eaeaea;
  padding: 15px 0;
  border-top: 1px solid #d2d2d2;
}

.footer__bottom ul {
  display: flex;
  list-style: none;
  margin: 0;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
}

.footer__bottom ul li {
  border-right: 1px dotted rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.footer__bottom ul li:last-of-type {
  border: none;
}

.footer__bottom ul li a {
  font-weight: 300;
  color: #666;
  padding: 0 10px;
  font-family: var(--wp--preset--font-family--oswald);
}

@media (min-width: 768px) {
  .footer_colophon__left {
    flex-basis: 50% !important;
  }

  .footer_colophon__right {
    flex-basis: 25% !important;
  }

  .footer__bottom {
    display: block;
    margin: auto;
  }
}

/**
Load more BTN
**/

.category__actions {
  margin: 30px auto 0;
  font-size: 14px;
  line-height: 20px;
  padding: 25px 0;
  font-family: var(--wp--preset--font-family--oswald);
  font-weight: 300;
  text-transform: uppercase;
  background: #fff;
  box-shadow: 0 0 1px 0 #aaa, 0 2px 0 0 #999, 0 5px 10px rgba(0, 0, 0, 0.25);
}

.category__actions > div {
  display: flex;
  justify-content: space-between;
}

.category__actions .loadmore-btn {
  font-weight: 700;
  color: #08c !important;
  text-align: center;
  width: 160px;
  height: 20px;
  border: 0;
  background-color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--oswald);
  font-weight: bold;
}

.category__actions .loadmore-btn:focus {
  border: 0;
  outline: 0;
}

.category__actions .loadmore-btn.loading {
  color: transparent !important;
  background-image: url(assets/images/30.gif);
  background-position: center;
  border: none;
}

button.pager-item.anchorLink {
  background: 0 0;
  outline: 0;
  border: none;
  font-weight: 300;
  color: #333;
  cursor: pointer;
  font-family: var(--wp--preset--font-family--oswald);
  font-weight: 300;
  text-transform: uppercase;
}

/***
===================================================================================
* Single
================================================================================***/

.single_wrapper {
  margin-top: 1.5rem;
  display:flex;
  flex-wrap:wrap;
}

.single-wraper > h3{
  padding-right: 15px;
  padding-bottom: 10px;
  padding-left: 0;
  border-bottom: 1px solid #f9f9f9;
  color: #333;
  font-weight: 400;
  line-height: 20px;
  font-size: 14px;
  text-transform: uppercase;
}

@media (min-width:992px){

  .single_wrapper{
    flex-wrap: nowrap;
    gap:2rem; 
    align-items: flex-start;
  }

}

.post__single {
  padding: 10px;
  margin-bottom: 30px;
}

.post__single__content {
  height: auto !important;
}

.post__single__content__title {
  color: #08c;
  font-size: 25px;
  line-height: 28px;
  font-weight: 100;
}

.post__single__content__image__wrapper {
  margin-top: 30px;
  text-align: center;
}

.post__single__content__image__wrapper img{
  width: 100% !important;
  height: auto !important;
  max-height: 450px;
  object-fit: cover;
}

.post__single__content__text,
.post__single__content__text p {
  color: #666;
  margin: 30px 0;
  font-size: 16px;
  line-height: 1.4;
}

.post__single__content__text p:first-of-type{
  margin-top:0;
}

.editor-choice-post{
  width:100%;
}

.components__follow-us-sidebar{
  margin-top:1rem;
  padding-top:7px;
}

/**
* Comments
**/

.comments-area {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f9f9f9;
}
.comments-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  display: flex;
}
.comment .avatar {
  border-radius: 50%;
  margin-right: 15px;
}
.comment-content {
  flex-grow: 1;
}
.comment-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}
.comment-author {
  font-weight: 700;
  color: #333;
}
.comment-body p {
  line-height: 1.6;
  margin-bottom: 10px;
}
.reply {
  margin-top: 10px;
}
.reply .comment-reply-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}
.reply .comment-reply-link:hover {
  background-color: #0056b3;
}
#respond {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f9f9f9;
}
#respond h3#reply-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}
#respond .comment-form-comment label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: #555;
}
#respond .comment-form-comment textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}
#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: #555;
}
#respond .comment-form-author input[type="text"],
#respond .comment-form-email input[type="text"],
#respond .comment-form-url input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
#respond .form-submit input[type="submit"] {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}
#respond .form-submit input[type="submit"]:hover {
  background-color: #0056b3;
}
.comment-navigation {
  margin-top: 20px;
  text-align: center;
}
.comment-navigation .nav-links {
  display: inline-block;
}
.comment-navigation .nav-links a,
.comment-navigation .nav-links span {
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
}
.comment-navigation .nav-links .current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}
.comment-navigation .nav-links a:hover {
  background-color: #eee;
}
.post__single__comments-list  li {
  flex-direction: column;
}
.post__single__comments-list li .children {
  margin-left: 7px;
}

.post__single__comments .commentmetadata{
  display:flex;
  gap:5px;
  font-size: 11px !important;
  font-weight: 700;
  color: #777;
  margin-bottom: 5px;
}

/**
* Sidebar
**/

.sidebar-wrapper{
  width:100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 0 1px 0 #aaa, 0 2px 0 0 #999, 0 5px 10px rgba(0, 0, 0, .25);
  padding: 10px;
  margin-bottom: 30px;
}

.sidebar-wrapper h3{
  border-bottom: 1px solid #f9f9f9;
}

.mystic_single_col_one{
  width:100%;
}

@media (min-width: 992px) {
  .mystic_single_col_one {
    width: 66.66%;
    flex: 0 0 66.66667%;
  }

  .sidebar-wrapper{
    padding:30px;
    width:33.33%;
  }
}

.editor-choice-post h4{
  font-family: var(--wp--preset--font-family--helvetica) !important;
  font-weight: bold !important;
  margin-top:5px;
}
/**
* Search
**/

.search-404-page{
  margin:auto;
  text-align: center;
  display: flex;
  justify-content: center;
}

.search-404-page form{
  display: flex;
  flex-direction: column;
  min-width: 350px;
  max-width: 650px;
  width: 100%;
  margin: auto;
  align-items: center;
}

.search-404-page form input[type=text]{
  border-radius: 5px;
}

.search-404-page form button{
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}
    

/*==========
* Shadows
============*/

.shadow-m {
  background: #fff;
  box-shadow: 0 0 1px 0 #aaa, 0 2px 0 0 #999, 0 5px 10px rgba(0, 0, 0, 0.25);
}
