/*
 Theme Name:        Summoner's Forge
 Theme URI:         https://band-it.space/portfolio
 Description:       A child theme for Neve, tailored for League of Legends account sales with a unique and engaging design.
 Version:           1.8.4
 Author:            Band-It Space
 Author URI:        https://band-it.space
 Template:          neve
 Tags:              lightweight, responsive, league-of-legends, fast-loading
 Text Domain:       summoners-forge
 Domain Path:       /assets/lang
 Tested up to:      6.4
 Requires at least: 6.2
 Requires PHP:      7.4
 License:           GNU General Public License v2.0 or later
 License URI:       https://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root {
    --card-bg-color: #f8f9fa;
    --card-border-radius: 10px;
    --card-hover-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    --text-color: #ff9800;
    --text-hover-color: rgba(255, 153, 0, 0.7);
    --heading-font-size: 1.5rem;
    --category-font-size: 1.25rem;
    --gap: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Cinzel", serif;
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cinzel", serif;
}

.sm-w {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .sm-w {
        margin: 0 10px;
    }
}

header.header {
    position: fixed;
    width: 100vw;
    z-index: 2;
}

nav.header--row.header-main.hide-on-mobile.hide-on-tablet.layout-full-contained.nv-navbar.header--row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    background-color: rgb(51 51 51 / 50%);
    backdrop-filter: blur(10px);
}

.menu-item .wrap {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item .wrap a,
.menu-item .wrap span {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.menu-item .wrap a:hover,
.menu-item .wrap span:hover {
    color: #ff9800;
}

.hfg-slot {
    display: flex;
    align-items: center;
}

.menu-mobile-toggle {
    border: none;
    padding: 10px;
    cursor: pointer;
}

button.navbar-toggle {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

button.hamburger.is-active.navbar-toggle.active {
    display: none;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #ff9800;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggle:hover .icon-bar {
    background-color: #555;
}

#header-menu-sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: var(--nv-dark-bg);
    transition: transform 0.3s ease-in-out;
}

#header-menu-sidebar.open {
    transform: translateX(0);
}

.header-menu-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-menu-sidebar-overlay.open {
    display: block;
}

#header-menu-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--nv-dark-bg);
    transition: transform 0.3s ease-in-out;
}

#header-menu-sidebar.open {
    display: block;
}

.header-menu-sidebar-overlay {
    display: none;
}

.header-menu-sidebar-overlay.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.navbar-toggle.is-active {
    background-color: var(--nv-primary-accent);
}

.row.row--wrapper {
    display: flex;
    justify-content: space-between;
}

#nv-primary-navigation-main {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#nv-primary-navigation-main .menu-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

#nv-primary-navigation-main .primary-menu-ul .menu-item a {
    font-size: 16px;
    color: var(--nv-text-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

#nv-primary-navigation-main .primary-menu-ul .menu-item a:hover {
    color: var(--nv-primary-accent);
}

#nv-primary-navigation-main .primary-menu-ul .menu-item:last-child {
    margin-right: 0;
}

.menu-item {
    padding: 10px;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    color: #e0e0e0;
}

.menu-item .menu-item-title-wrap {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.caret-wrap {
    display: inline-block;
    cursor: pointer;
}

.caret svg {
    width: 12px;
    height: 12px;
    fill: #666;
}

.caret-wrap:hover svg {
    fill: #000;
}

.menu-item-has-children {
    position: relative;
}

nav[data-show-on="desktop"] .sub-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    position: absolute;
    top: 180%;
    left: 0;
    background-color: rgba(48, 48, 48, 80%);
    border-radius: 8px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    width: max-content;
    margin: 0;
}

nav[data-show-on="mobile"] .sub-menu {
    padding: 20px;
    margin: 0;
}

nav[data-show-on="desktop"] .sub-menu.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.sub-menu .menu-item {
    width: 100%;
    padding: 8px 15px;
    font-size: 14px;
    color: #555;
}

.sub-menu .menu-item:hover {
    color: #000;
}

img.neve-site-logo.skip-lazy {
    height: auto;
    width: 50px;
}

@media (min-width: 1024px) {
    #header-menu-sidebar {
        display: none;
    }

    .header-menu-sidebar-overlay {
        display: none;
    }
}

@media (min-width: 1024px) {
    .header-main.hide-on-mobile.hide-on-tablet {
        display: block;
    }

    .header-main.hide-on-desktop {
        display: none;
    }
}

@media (max-width: 1023px) {
    .header-main.hide-on-desktop {
        display: block;
    }

    .header-main.hide-on-mobile.hide-on-tablet {
        display: none;
    }
}

.section-component {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.neve-temp-wrapper {
    height: 100vh;
    overflow: scroll;
}

.glass-card {
    border-radius: 10px;
    background-color: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Footer */

#site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
}

.site-footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: all 0.3s ease;
    width: 1200px;
}

#site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#site-footer a:hover {
    color: #ff9800;
}

#site-footer img {
    max-width: 50px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#site-footer img:hover {
    opacity: 1;
}

footer p {
    margin: 10px 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

footer p:hover {
    opacity: 1;
}

.footer-block {
    margin-bottom: 20px;
    opacity: 0.8;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-block:hover {
    opacity: 1;
}

.footer-block h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-block ul {
    list-style-type: none;
    padding: 0;
}

.footer-block li {
    margin: 5px 0;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-block li:hover {
    transform: translateX(-10px);
}

.footer-block li:nth-child(odd) {
    transition-delay: 0.2s;
}

.footer-block li:nth-child(even) {
    transition-delay: 0.4s;
}

@media (max-width: 768px) {
    .site-footer-wrap {
        flex-direction: column;
        align-items: center;
    }

    .footer-block {
        text-align: center;
        margin-bottom: 20px;
        opacity: 1;
        transform: translateY(0);
    }

    .footer-block li {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 15px;
    }

    .footer-block h4 {
        font-size: 16px;
    }

    .footer-block li {
        font-size: 14px;
    }
}

footer:hover {
    background-color: #444;
}

a.neve-skip-link.show-on-focus {
    display: none;
}

/* Base styles for the 404 page */

.error-404 {
    height: 100vh;
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

.error-404 .page-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff9800;
}

.error-404 .page-content {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 30px;
}

.error-404 .page-content p {
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .search-form {
    margin-top: 20px;
}

.error-404 a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.error-404 a:hover {
    color: #ff9800;
}

@media (max-width: 768px) {
    .error-404 .page-header h1 {
        font-size: 2em;
    }

    .error-404 .page-content {
        font-size: 1.1em;
    }

    .error-404 .page-content p {
        font-size: 1em;
        padding: 0 20px;
    }

    .error-404 a {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .error-404 .page-header h1 {
        font-size: 1.5em;
    }

    .error-404 .page-content {
        font-size: 1em;
    }

    .error-404 .page-content p {
        font-size: 0.9em;
        padding: 0 15px;
    }

    .error-404 .search-form input[type="search"] {
        width: 100%;
        padding: 10px;
        font-size: 1em;
    }

    .error-404 a {
        font-size: 1.2em;
        display: inline-block;
        margin-top: 20px;
    }
}

@media (min-width: 1200px) {
    .error-404 .page-header h1 {
        font-size: 3em;
    }

    .error-404 .page-content {
        font-size: 1.3em;
    }
}

.single-post {
    padding: 100px 0;
}



/* blog */


.sm-w.single-post p, 
.sm-w.single-post span, 
.sm-w.single-post li {
    font-family: 'Roboto', sans-serif; 
    font-size: 16px; 
    line-height: 1.6; 
    color:#c0bcbc;
}

.sm-w.single-post h1, 
.sm-w.single-post h2, 
.sm-w.single-post h3,
.sm-w.single-post h4{
	margin-bottom: 15px;
}
.sm-w.single-post h1 span, 
.sm-w.single-post h2 span, 
.sm-w.single-post h3 span,
.sm-w.single-post h4 span{
	 font-family: 'Cinzel', serif;
	  color: #fff; 
}

.sm-w.single-post p {
    margin-bottom: 20px; /* Отступ после абзацев */
}

/* Стили для таблицы */
.sm-w.single-post table {
    width: 100%;
    border-collapse: collapse; 
    margin: 20px 0; 
    font-size: 16px;
}

.sm-w.single-post table th,
.sm-w.single-post table td {
    border: 1px solid #ccc; 
    padding: 10px; 
    text-align: left; 
}

.sm-w.single-post table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.sm-w.single-post table tr:nth-child(even) {
    background-color: #f9f9f961; 
}

.sm-w.single-post ul,
.sm-w.single-post ol{
	padding-left:30px;
	margin-bottom: 15px;
	
}

.sm-w.single-post img {
	    margin: 0 auto;
    display: block;
}