/*
Theme Name: Hcleader Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
:root {
    --ink: #060b14;
    --card: #232c39;
    --card2: #232c39;
    --ice: #eaf3ff;
    --mute: #8b96ad;
    --line: #33404f;
    --gold: #3b82f6;
    --goldgrad: linear-gradient(135deg, #60a5fa, #2563eb);
    --frost: #4fd1ff;
    --blue: #3b82f6;
    --pink: #4fb0ef;
    --coral: #4fd1ff;
    --cyan: #33c9d6;
    --win: #34d399;
    --loss: #f0524b;
    --bw: #3b4252;
}

body.hts-virtual-page .light-back {
    display: none !important
}

.hts-wrap {
    padding: 0;
}

.hts-h3 {
    color: #fff;
}

.hts-next-vk {
    background: var(--porto-secondary-color);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.hts-ticker-wrap {
    margin: 0px 0;
}

header .header-main {
    border-bottom: 1px solid #86868633;
}

.hts-gh-teams {
    max-width: 840px;
}

.hts-game-hero-champ {
    font-weight: 400;
}

.hts-gh-name {
    max-width: 200px;
}

.hts-leader-face i {
    color: #fff;
    font-weight: 500;
    min-width: 25px;
    height: 25px;
    border: 2px solid #fff;
}

#header .main-menu>li.menu-item>a {
    border-radius: 10px;
}

#header.sticky-header .header-main.sticky {
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.0509803922);
    backdrop-filter: blur(9px);
    background-color: rgb(35 44 57 / 50%);
}

.custom-slider-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-inline: auto;
    /* заменяет margin: 0 auto, работает стабильнее */
}

/* ЛЕВАЯ ЧАСТЬ - СЛАЙДЕР */
.slider-left {
    flex: 2;
    min-width: 280px;
    height: 500px;
}

/* ПРАВАЯ ЧАСТЬ */
.static-right {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 500px;
}

.static-right .static-card {
    flex: 1;
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.static-right .static-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.static-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
}

.card-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.static-card-content h4 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    flex: 1;
}

.static-card-content .btn-more {
    display: inline-block;
    background: var(--porto-secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.static-card-content .btn-more:hover {
    background: var(--porto-secondary-color);
    transform: translateY(-2px);
}

.static-card:hover .static-card-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* КАСТОМНЫЙ СЛАЙДЕР */
.custom-slider {
    position: relative;
    background: #f5f5f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.slide a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 40px;
    /* opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease; */
}

.slide-description {
    color: #e6eaf7;
    width: 70%;
}

.slide:hover .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h3 {
    color: white;
    margin: 15px 0px 0px 0px;
    font-size: 2.3em;
    font-weight: 600;
    bottom: 14px;
    position: relative;
    width: 70%;
    text-transform: uppercase;
    line-height: normal;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: var(--porto-secondary-color);
    color: white;
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 70px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dot.active {
    background: rgba(255, 255, 255, 0.3);
}

.dot-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--porto-secondary-color);
    border-radius: 2px;
}

@media (max-width: 992px) {

    .slider-left,
    .static-right {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .slide-description {
        display: none !important;
    }

    .custom-slider-grid {
        flex-direction: column;
    }

    .slider-left {
        height: 400px;
    }

    .static-right {
        height: auto;
        gap: 15px;
    }

    .slide-content {
        padding: 20px 15px 10px;
    }

    .static-right .static-card {
        height: 250px;
    }

    .slide-content h3 {
        font-size: 23px;
        width: 90%;
    }

    .static-card-content h4 {
        font-size: 16px;
    }

    .card-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .static-card-content .btn-more {
        white-space: normal;
        font-size: 12px;
        padding: 6px 15px;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .dot {
        width: 30px;
    }

    .slider-dots {
        left: 15px;
        bottom: 15px;
    }
}

.porto-narrow-sub-menu,
.porto-narrow-sub-menu ul.sub-menu {
    border-radius: 10px;
    margin-top: 10px;
}

.nicname {
    background-color: var(--porto-secondary-color);
    border-radius: 10px;
    padding: 4px 15px;
    width: fit-content;
    margin: 0 auto;
    transform: skewX(-15deg);
    /* наклон влево */
}

.nicname a {
    color: #fff;
}

.img-thumbnail {
    background-color: transparent;
}

.members-block {
    background-color: #161C24;
    border: 1px solid #2c3849;
    border-radius: 12px;
}

.hero-team {
    background-image: url(/wp-content/uploads/2026/09/fon.webp);
    background-size: cover;
    background-position: center bottom;
}

.hero-team::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, #1a2332 0%, #1a2332 20%, rgba(255, 255, 255, 0) 60%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 70%);
    -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 30%, transparent 70%);
}


.zindex-5 {
    z-index: 5;
}

/* Контейнер контента — делаем relative и обрезаем всё лишнее */
.child-page-card-content {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* изолируем контекст наложения */
    color: #fff;
    /* базовый цвет текста */
    padding: 16px;
    /* подгоните под ваш дизайн */
}

/* Размытый фоновый слой */
.child-page-card-content .child-page-card-ambient {
    position: absolute;
    inset: -30px;
    /* выходим за края, чтобы не было светлых полос */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Самое главное — эффект ambient */
    filter: blur(28px) saturate(1.8) brightness(0.55);
    transform: scale(1.2);
    /* прячем артефакты размытия по краям */
    z-index: -1;

    transition: filter 0.4s ease, transform 0.4s ease;
    will-change: filter, transform;
    /* подсказка браузеру для плавности */
}

/* Лёгкое усиление эффекта при наведении */
.child-page-card:hover .child-page-card-content .child-page-card-ambient {
    filter: blur(24px) saturate(2) brightness(0.65);
    transform: scale(1.25);
}

/* Текст и кнопка — поверх размытого слоя */
.child-page-card-title,
.child-page-card-button {
    position: relative;
    z-index: 1;
}

/* Дополнительно: тень под текстом для читаемости на светлых картинках */
.child-page-card-title {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.unique-phone-block {
    display: inline-block;
}

.unique-phone-block__code {
    font-size: 16px;
    line-height: 1.2;
    color: #919EAB;
}

.unique-phone-block__number {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    color: #1C252E;
}

.unique-phone-block__phone-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.light-back {
    background-color: #161C24;
    border: 1px solid #2c3849;
}

.mega-menu>li.menu-item>a .tip {
    top: -15px;
    right: -5px;
    border-radius: 6px;
    padding: 5px;
}

.unique-phone-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    background: rgb(75 75 75 / 6%);
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

#header .menu-custom-block .tip:before,
.mega-menu>li.menu-item>a .tip:before {
    bottom: -2px;
    left: 5px;
}

.documents-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.documents-card-archive {
    transition: all 0.3s ease;
    background-color: #161C24;
    border: 1px solid #2c3849;
    border-radius: 12px;
    height: 100%;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.documents-card-archive .card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 18px;
    flex-direction: row;
    position: relative;
}

.documents-card-archive .doc-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
    width: 44px;
    text-align: center;
    opacity: 0.9;
}

.documents-card-archive .doc-content {
    flex: 1;
    min-width: 0;
}

.documents-card-archive .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--porto-secondary-color);
    margin: 0 0 4px 0;
    line-height: 1.3;
    word-break: break-word;
}

.documents-card-archive .card-text {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.document-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgb(255 255 255 / 7%);
    color: #495057;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px 4px 6px;
    border-radius: 20px;
    flex-shrink: 0;
    transition: background 0.2s;
    margin-left: 5px;
}

.document-count-badge .count-number {
    background: #4fd1ff;
    color: #fff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 4px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.documents-list .document-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #161C24;
    border: 1px solid #2c3849;
    transition: all 0.3s ease;
    position: relative;
}

.documents-list .doc-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(248 249 250 / 8%);
    border-radius: 12px;
    transition: background 0.3s ease;
    padding: 4px;
}

.documents-text p {
    color: #fff;
}

.documents-list .doc-icon-wrapper svg {
    width: 48px;
    height: 48px;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.documents-list .doc-info {
    flex: 1;
    min-width: 0;
}

.documents-list .doc-title {
    font-size: 18px;
    font-weight: 600;
    color: #4fd1ff;
    margin-bottom: 4px;
    word-break: break-word;
    line-height: 1.3;
}

.documents-list .doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6c757d;
    align-items: center;
}

.documents-list .doc-size {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.documents-list .doc-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f3f5;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #495057;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.documents-list .btn-download {
    flex-shrink: 0;
    background: #4fd1ff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.documents-list .btn-download svg {
    width: 16px;
    height: 16px;
}



.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    width: 100%;
    gap: 30px;
}

.child-page-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    overflow: hidden;
    background: #1c252e;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.child-page-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 11 / 10;
    overflow: hidden;
    background: var(--vrb-dark-bg);
}

.child-page-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 40px;
}

.child-page-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    padding: 22px;
}

.child-page-card-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0px 0px 10px;
    color: #fff;
}

.child-page-card-button {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    font-size: 15px;
    font-weight: 500;
    color: #4fd1ff;
    gap: 8px;
}

.child-page-card-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s;
}

#footer {
    border-top: 1px solid var(--hts-border-dark);
    border-radius: 20px 20px 0px 0px;
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.14) 0px 10px 30px;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 575px) {
 .child-pages-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 15px;
  }
	.child-page-card-title {
  font-size: 15px;
}
	.child-page-card-preview-icon {
  width: 80px !important;
}
}


/* ============================================================
   HERO-БЛОК ИГРОКА
   ============================================================ */

.hts-player-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Размытый фоновый слой */
.hts-player-hero-bg {
    position: absolute;
    inset: -40px;
    /* выходим за края */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(40px) saturate(1.8) brightness(0.45);
    transform: scale(1.25);
    z-index: -1;

    transition: filter 0.5s ease, transform 0.5s ease;
    will-change: filter, transform;
}

/* Мягкий градиент поверх размытия для читаемости текста */
.hts-player-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.45) 100%);
}

/* При наведении — чуть ярче и чётче */
.hts-player-hero:hover .hts-player-hero-bg {
    filter: blur(32px) saturate(2) brightness(0.55);
    transform: scale(1.3);
}

/* Контент hero — поверх фона */
.hts-player-hero-in {
    position: relative;
    z-index: 1;
}

/* Тень для имени — на случай светлых картинок */
.hts-player-name {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.spaser {
    height: 550px;
}

@media (max-width: 768px) {
    .block-back {
        padding: 0px;
    }

    .hts-next-vk {
        background: var(--porto-secondary-color);
        color: #1a2332 !important;
        padding: 10px 10px;
        border-radius: 10px;
        font-size: 11px;
        font-weight: 600;
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent--visible {
    transform: translateY(0);
}

.cookie-consent__container {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 18px 24px;
    background: #1c252e96;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-consent__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
}

.cookie-consent__text {
    flex: 1;
}

.cookie-consent__text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0px;
}

.cookie-consent__text p {
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.cookie-consent__text a {
    color: #4fd1ff;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent__text a:hover {
    text-decoration: none;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-consent__btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: #4fd1ff;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #1c252e;
    transform: translateY(-1px);
}

.cookie-consent__btn--accept:active {
    transform: translateY(0);
}

.cookie-consent__btn--decline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-consent__btn--decline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {

    .accordion-menu ul.sub-menu li.menu-item a {
        font-size: 13px !important;
        padding: 5px 5px 5px 15px !important;
    }

    #side-nav-panel .accordion-menu>li.menu-item a {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .accordion-menu .tip {
        border-radius: 6px;
    }

    .cookie-consent__container {
        margin: 0 20px 20px;
        padding: 16px 18px;
        flex-direction: column;
        gap: 16px;
    }

    .cookie-consent__content {
        width: 100%;
    }

    .cookie-consent__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 20px;
    }

    .cookie-consent__text strong {
        font-size: 14px;
    }

    .cookie-consent__text p {
        font-size: 12px;
    }

  .cookie-consent__actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
  }

    .cookie-consent__btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }
}

.slogan {
    width: 500px;
    height: auto;
}

.minus-title {
    margin-top: -130px;
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .minus-title {
        margin-top: -60px;
    }

    .slogan {
        width: 100%;
        height: auto;
        margin-bottom: 0px;
    }

    .spaser {
        height: 210px;
    }

    .hero-team {
        background-size: 200% auto;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .sponsor-logo .wpb_single_image.vc_align_center {
        text-align: left;
        margin-top: 20px;
    }
}

.child-page-card-preview-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 150px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}