/*
Theme Name: Mercury Child
Author: UNL
Template: mercury
*/

blockquote::before, 
blockquote.wp-block-quote::before {
  content: "\f0c6";
  font-size: 3.5em;
  top: 4px;
  left: 0;
  right: none;
  font-weight: 600;
  padding: 0 0.4em;
  color: #ccc;
}

.wp-block-quote > * {
  z-index: 2;
  position: relative;
}

blockquote, 
blockquote.wp-block-quote {
  font-weight: 400;
  text-align: left;
  font-size: 1em;
  line-height: 1.4em !important;
  padding: 2em 25px 2em 65px;
  margin-top: 0;
  background: #f5f5f5;
  border-radius: 25px;
}


blockquote p, 
blockquote.wp-block-quote p {
  line-height: 1.4em !important;
}

@media screen and (max-width: 479px) {
	blockquote, blockquote.wp-block-quote {
		padding: 1.5em 15px 1.5em;
		font-size: 0.9em;
		margin-top: 0;

	}
	
	 blockquote::before, blockquote.wp-block-quote::before {
	    font-size: 2.5em;
		top: -7px;
		left: 14px
		 
  }
}


.top-nav {
    position: relative;
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.top-nav-logo-lang {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 50%;
    margin-left: 15px;
}

.top-nav .space-header-logo a {
    padding: 0;
}

.top-nav-lang {
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.top-nav-lang-current {
    position: relative;
    padding-right: 10px;
    color: black;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px dashed black;
    cursor: pointer;
}

.top-nav-lang-current::after {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    border-bottom: 1px solid black;
    border-right: 1px solid black;
}

.top-nav-lang-options {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    opacity: 0;
    transform: rotateX(-90deg) translateX(-50%);
    transform-origin: top;
    transition: transform .3s, opacity .3s;
    padding: 10px 0;
    background: #292f43;
    box-shadow: 0 5px 20px rgba(41, 47, 67, 0.1);
    border-radius: 5px;
    z-index: 10;
}

.top-nav-lang:hover .top-nav-lang-options {
    transform: rotateX(0deg) translateX(-50%);
    opacity: 1;
}

.top-nav-lang-options::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 32px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: rotateZ(45deg);
    border-radius: 2px;
}

.top-nav-lang-option {
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
    transition: all .3s;
}

.top-nav-menu {
    display: none;
}

.top-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0 55px;
    margin: 0;
}

.top-menu a {
    display: block;
    padding-bottom: 2px;
    color: #737373;
    font-size: 1em;
    text-align: center;
    border-bottom: 1px dotted black;
}

.top-menu .current-menu-item a {
    color: #1c75d0;
    border-bottom: 1px solid #1c75d0;
}

.top-menu li:hover a {
    color: #1c75d0;
    border-bottom: 1px solid #1c75d0;
}

.top-banner {
    height: clamp(100px, 10vw, 160px);
    background-color: #1c75d0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.menu-categories-container {
    width: max-content;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 15px;
}

.menu-categories-container .menu-item {
    height: 40px;
    width: max-content;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 2vw, 16px);
    letter-spacing: 0.7px;
    border-radius: 25px;
	padding: 0;
}

.menu-categories-container .menu-item a {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
    color: #151515;
    font-weight: 600;
	
	padding: 0 15px;
    height: 40px;
    display: flex;
    align-items: center;	
	
}

.menu-categories-container .menu-item a span {
	border-bottom: 1px solid transparent;
}

.menu-categories-container .menu-item.current-menu-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%), #1987FB;
    filter: drop-shadow(0px 5px 5px rgba(45, 150, 255, 0.25));
}

.menu-categories-container .menu-item.current-menu-item a {
    color: white;
}

.menu-categories-container .menu-item.current-menu-item a span {
    border-bottom: 1px solid white;
}

.tabs {
    width: max-content;
}

.tabs-categories {
    display: none;
}

.tabs-inner {
    width: max-content;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 15px;
    background: #e7e9ef;
    border-radius: 25px;
}

.space-header-search__tab {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.grid-posts, .grid-home-games {
    width: 100%;
    padding: 0 15px;
}

.grid-posts-inner {
    width: 100%;
    display: grid;
    grid-gap: clamp(10px, 2vw, 20px);
}

.grid-home-games-inner {
    width: 100%;
    display: grid;
    grid-gap: clamp(10px, 2vw, 20px);
    grid-template-columns: repeat(2, 1fr);
}

.archive-post {
    width: 100%;
    padding-bottom: 30px;
}

.archive-post-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
}

.archive-post-top {
    width: 100%;
    display: flex;
}

.archive-post-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
}

.archive-post-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56%;
    display: flex;
    overflow: hidden;
}

.archive-post-thumbnail-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.archive-post-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s;
}

.archive-post-category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 0.6em;
}

.archive-post-category a, .archive-post-category a:active {
    color: #4993EA;
    text-transform: uppercase;
    border-bottom: 1px solid #4993EA;
}

.archive-post-title {
    color: #373737;
    font-weight: 700;
    font-size: 1.25em;
    line-height: 1.2em;
    letter-spacing: 0.2px;
}

.archive-post-excerpt {
    margin-top: 1px;
    font-weight: 400;
    font-size: 0.9em;
    line-height: 1.35em;
    color: #595959;
}

.archive-post-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 10px;
    color: #757575;
}

.archive-post-author a {
    color: #757575;
    border-bottom: 1px solid #757575;
}

.home-category, .home-game {
    display: grid;
    gap: 20px;
    padding: 30px 0;
}

.home-category:first-child {
    padding-top: 0;
}

.home-category:nth-of-type(2n) {
    background: #FFF5DD;
}

.home-category-header, .home-game-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0 15px;
}

.home-category-title, .home-game-title {
    color: #4993EA;
    font-size: 1.333em;
    font-weight: 900;
    line-height: 1.45em;
    text-transform: uppercase;
}

.home-category-link, .home-game-link {
    min-width: 100px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    background: #66B6FF;
    transition: all 0.2s ease-in-out;
}

.home-category-link:hover, .home-game-link:hover {
    color: black;
    background-color: #FFD600;
}

.footer-mid {
    position: relative;
    background-color: #8ca6ff;
}

.footer-mid:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    display: block;
    background: white;
}

.footer-mid-banner {
    width: 35%;
    z-index: 2;
}

.footer-bottom {
    background: #292f43;
}

.footer-wrap {
    max-width: 1200px;
    display: grid;
    margin: 0 auto;
    padding: 30px 15px;
    gap: 20px;
}

.footer-wrap-apps {
    max-width: 1200px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 0 auto;
    padding: 30px 15px 0;
    gap: clamp(20px, 4vw, 60px);
}

.footer-apps {
    display: grid;
    grid-row-gap: clamp(1px, 1vw, 30px);
    padding-bottom: 10px;
}

.footer-apps-title {
    color: white;
    font-size: clamp(16px, 3vw, 40px);
    font-weight: bold;
}

.footer-apps-links {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-app-link {
    height: clamp(35px, 6vw, 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: all .3s;
}

.footer-app-link img {
    height: 100%;
}

.footer-row-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-row-social {
    display: grid;
    gap: 20px;
    justify-content: center;
}

.footer-row {
    display: grid;
    gap: 20px;
}

.footer-nav {
    width: 100%;
    text-align: center;
}

.footer-nav-title {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

.footer-nav-subtitle {
    margin-bottom: 10px;
    color: #8693b3a6;
    font-size: 18px;
    line-height: 120%;
}

.footer-nav-phone, .footer-nav-email {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    line-height: 24px;
}

.footer-nav-links {
    display: grid;
    justify-content: center;
}

.footer-nav-links a {
    color: #8693b3;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 120%
}

.footer-nav-links .menu-item:hover a {
    color: white;
}

.footer-nav-social-icons {
    display: flex;
    gap: 10px;
}

.footer-nav-social-icons a {
    color: white;
    font-size: 35px;
}

.footer-copy {
    color: white;
}

.author-info {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.author-logo {
    width: max-content;
    margin-top: -70px;
    border-radius: 50em;
    border: 5px solid white;
    overflow: hidden;
}

.author-socials {
    display: flex;
    gap: 10px;
}

.author-social {
    font-size: 30px;
}

.author-social_facebook {
    color: #0866ff;
}

.author-social_instagram {

  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  color: transparent;
  background-image: radial-gradient( circle farthest-corner at 28% 100%, #fcdf8f 0%, #fbd377 10%, #fa8e37 22%, #f73344 35%, transparent 65% ), linear-gradient(145deg, #3051f1 10%, #c92bb7 70%);	
	
}

.author-social_twitter {
    color: #000;
}

.author-social_youtube {
    color: #FF0000;
}

.author-description {
    color: #666;
    font-size: clamp(13px, 2vw, 16px);
    text-align: left;
}

.widget_tag_cloud a {
    color: #373737;
    font-weight: 400;
    letter-spacing: 1px;
    background-color: #FFD600 !important;
}

.widget_tag_cloud a:hover {
    background-color: #1c75d0 !important;
}

.widget_recent_entries ul li a {
    color: #373737;
    font-weight: 400;
    line-height: 1em;
    font-size: 1em;
}

#scrolltop {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    color: white !important;
    background-color: #409cfd;
    background-image: linear-gradient(180deg, rgba(120, 226, 254, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    transition: all .3s;
    box-shadow: 0 7px 8px rgba(45, 150, 255, 0.24);
}

#scrolltop svg {
    width: 100%;
}

@media screen and (min-width: 640px) {
    .grid-posts-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-home-games-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .archive-post-inner_latest {
        flex-direction: row;
    }

    .footer-row-nav {
        justify-content: space-between;
    }

    .footer-row-social {
        justify-content: flex-start;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-nav {
        width: calc((100% / 3) - 20px);
        justify-content: flex-start;
        text-align: initial;
    }
}

@media screen and (min-width: 768px) {
    .top-nav-logo-lang {
        width: 25%;
    }

    .footer-mid-banner {
        width: 25%;
    }
}

@media screen and (min-width: 769px) {
    .grid-posts-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .top-nav-menu {
        display: block;
        width: 75%;
    }

    .footer-nav {
        width: calc((100% / 4) - 20px);
    }
}

@media screen and (min-width: 1025px) {
    .grid-posts-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .tabs-categories {
        display: initial;
    }

    .grid-posts-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    /*.grid-home-games-inner {*/
    /*    grid-template-columns: repeat(4, 1fr);*/
    /*}*/
    .footer-logo, .footer-nav {
        width: calc((100% / 5) - 20px);
    }
}