/*
Theme Name: Zummo Two
Theme URI: https://effethemes.com/themes/zummo-wordpress-theme/
Author: Effe Themes
Author URI: https://effethemes.com/
Description: Zummo Two: Elevate your agency's online presence with a dark, modern aesthetic and unparalleled design flexibility. This full site editing (FSE) child theme for Zummo empowers creative agencies, designers, and businesses to craft a unique and bold digital experience. Showcase your portfolio with a sleek, contemporary look and customize every detail to bring your vision to life.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: zummo
Text Domain: zummo-two
Tags: blog, portfolio, block-styles, e-commerce, full-site-editing, two-columns, full-width-template, custom-logo, custom-menu, custom-background, editor-style, block-patterns, custom-header, translation-ready, template-editing
*/

/* ================= > General Styles < ================= */

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wp--preset--color--custom-background-primary);
  color: var(--wp--preset--color--custom-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

ul {
  list-style: none;
}

ul > li > a {
  text-decoration: none;
}

ul > li > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

:where(.wp-site-blocks) > * {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

/* ================= > Header < ================= */

.wp-block-site-title > a {
  text-decoration: none;
}

.wp-block-site-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

/* ========== ПАЛИТРА ========== */
:root{
  --c-text: #3283a3;            /* светлый текст */
  --c-blue: #2f73ff;            /* основной синий */
  --c-cyan: #29b6ff;            /* голубой акцент */
  --c-stroke: 0 0 0 1px rgba(47,115,255,.35); /* тонкий контур */
  --c-glow: 0 8px 24px -10px rgba(47,115,255,.55),
            0 0 0 3px rgba(41,182,255,.18);   /* подсветка при hover */
}

/* базовое: делаем чипы */
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content{
  display:inline-block;
  padding:10px 26px;
  border-radius:3px;
  color:var(--c-text);
  text-decoration:none;
  line-height:1;
  border-bottom:2px solid rgba(47,115,255,.35);
  /* лёгкое «стекло» на чёрном фоне */
  background:
    linear-gradient(180deg, rgba(47,115,255,.14), rgba(47,115,255,.06));
  backdrop-filter:saturate(120%) blur(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition:
    background .25s ease, border-color .25s ease,
    box-shadow .25s ease, transform .2s ease;
}

/* наведение — чуть ярче и тень-свечение */
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content:hover{
  background:
    linear-gradient(180deg, rgba(41,182,255,.22), rgba(47,115,255,.10));
	border-bottom:2px solid rgba(47,115,255,.35);
  box-shadow: var(--c-glow);
  transform: translateY(-1px);
}

/* активный пункт меню (текущая страница) — «залитая» кнопка */
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content{
  color:#96e3e7 !important;
  border-bottom:2px solid #6e00ff;
  background:
    radial-gradient(90% 120% at 10% 0%, rgba(41,182,255,.35) 0%, transparent 60%),
    linear-gradient(180deg, #000000, #243667);
  box-shadow:
    0 10px 28px -12px rgba(26,77,255,.7),
    0 0 0 2px rgba(14,56,207,.4) inset;
}

/* нажатие */
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content:active{
  transform: translateY(0);
  box-shadow: 0 4px 14px -8px rgba(47,115,255,.55);
}

/* клавиатурный фокус — чёткое синее кольцо */
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(41,182,255,.6);
}

/* плотнее сетка + выравнивание */
.wp-block-navigation__container{
  gap: .6rem;
}

/* у кого белый фон при принудительных темах — страхуемся */
@media (prefers-color-scheme: dark){
  .wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content{
    color:var(--c-text);
  }
}

/* отключаем анимации для тех, кто просил */
@media (prefers-reduced-motion: reduce){
  .wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content{
    transition: none;
    transform: none;
  }
}


.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: 0 !important;
}

.wp-block-navigation-submenu > li {
  background: var(--wp--preset--color--custom-background-secondary) !important;
  color: var(--wp--preset--color--custom-text-color);
}

.header-search-icon > div > button {
  background: transparent;
  padding: 0;
}

.header-subtitle {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.header-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  /* bottom: 0; */
  width: 100%;
  height: 6px;
  background: rgba(120, 120, 180, 0.8);
  border-radius: 4px;
  z-index: -1;
  bottom: -7px;
}

/* ================= > Hero < ================= */

.hero {
  position: relative;
  overflow: hidden;
}

/* Glow suave, sem tocar no fundo do tema */
.hero::after {
  content: "";
  position: absolute;
  top: 17%;
  left: 50%;
  width: 160%;
  height: 160px;
  transform: translateX(-50%) rotate(-8deg);
  background: radial-gradient(
    ellipse 60% 180% at 50% 50%,
    rgba(120, 120, 180, 0.69) 0%,
    rgba(80, 80, 120, 0.06) 60%,
    transparent 100%
  );
  filter: blur(80px);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}


/* ================= > Blog < ================= */

.wp-block-post-title > a:hover {
  color: var(--wp--preset--color--custom-primary) !important;
}

.wp-block-button__link,
.wp-block-search__button {
  background: var(--wp--preset--color--custom-primary);
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.wp-block-button__link:hover,
.wp-block-search__button:hover {
  opacity: 0.8;
}

input,
textarea {
  background: var(--wp--preset--color--custom-background-secondary);
  color: #fff !important;
}

/* ================= > Media Queries < ================= */

@media (max-width: 1024px) {
  .wp-block-columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .hero-button {
    justify-content: flex-start !important;
  }
}

@media (max-width: 992px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation__responsive-container-close,
  .wp-block-navigation__responsive-container-open:not(.always-shown),
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .wp-block-navigation__container {
    --navigation-layout-justification-setting: flex-start !important;
    --navigation-layout-justify: flex-start !important;
  }
}

@media (max-width: 768px) {
  .wp-block-buttons {
    flex-direction: column;
  }
}